@font-face{
    font-family: "Vazirmatn";
    src: url("../fonts/Vazirmatn/Vazirmatn-Regular.woff2") format("woff2");
    font-weight: normal;
    font-style: normal;
}

:root {
  --bg-dark: #0b0f1a;
  --bg-light: #11162a;
  --primary: #6cf2c2;
  --secondary: #7aa2ff;
  --text: #eaeaf0;
  --muted: #a1a1b3;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Vazirmatn", sans-serif;
  background: radial-gradient(circle at top, #121a3a, var(--bg-dark));
  color: var(--text);
  line-height: 1.8;
}

/* HERO */
.hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 4rem 6%;
  gap: 3rem;
}

.hero-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero h1 {
  font-size: 3rem;
  font-weight: 800;
}

.hero h1 span {
  color: var(--primary);
  text-shadow: 0 0 20px rgba(108, 242, 194, 0.6);
}

.subtitle {
  margin-top: 1rem;
  font-size: 1.2rem;
  color: var(--muted);
}

.highlight {
  margin-top: 1.5rem;
  font-size: 1.1rem;
  color: var(--secondary);
}

.cta-buttons {
  margin-top: 2rem;
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
}

.btn {
  padding: 0.8rem 1.6rem;
  border-radius: 10px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  cursor: pointer;
}

.btn.primary {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: #000;
}

.btn.primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(122, 162, 255, 0.4);
}

.btn.secondary {
  border: 1px solid var(--secondary);
  color: var(--secondary);
}

.btn.secondary:hover {
  background: var(--secondary);
  color: #000;
}

.hero-image {
  flex: 1;
  text-align: center;
}

.hero-image img {
    width: 400px;
    height: auto;
  max-width: 100%;
  border-radius: 20px;
  box-shadow: 0 0 40px rgba(122, 162, 255, 0.25);
}

/* FEATURES */
.features {
  padding: 4rem 6%;
  background: var(--bg-light);
}

.features h2 {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 3rem;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 1.5rem;
}

.feature-card {
  background: rgba(255, 255, 255, 0.03);
  border-radius: 16px;
  padding: 1.8rem;
  border: 1px solid rgba(255, 255, 255, 0.06);
  transition: all 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 0 30px rgba(108, 242, 194, 0.2);
}

.feature-card h3 {
  margin-bottom: 0.8rem;
  font-size: 1.2rem;
}

/* FOOTER */
.footer {
  padding: 1.5rem 6rem;
  font-size: 1rem;
  color: var(--muted);
  background: #0a0e18;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.footer-enamad a img{
  width: 100px;
  height: auto;
}

/* RESPONSIVE */
@media (max-width: 900px) {
  .hero {
    flex-direction: column-reverse;
    text-align: center;
  }

  .cta-buttons {
    justify-content: center;
  }

  .hero h1 {
    font-size: 2.4rem;
  }

  .footer {
    flex-direction: column;
    gap: 30px;
  }
}


/* *************************************************************** */


/* MODAL OVERLAY */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(5, 8, 20, 0.8);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: all 0.3s ease;
  z-index: 999;
}

.modal-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

/* MODAL BOX */
.modal {
  background: linear-gradient(180deg, #11162a, #0b0f1a);
  border-radius: 20px;
  padding: 2.5rem;
  width: 90%;
  max-width: 420px;
  position: relative;
  box-shadow: 0 0 40px rgba(108, 242, 194, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.08);
  animation: modalFade 0.4s ease;
}

@keyframes modalFade {
  from {
    transform: translateY(20px) scale(0.95);
    opacity: 0;
  }
  to {
    transform: translateY(0) scale(1);
    opacity: 1;
  }
}

.modal h2 {
  text-align: center;
  margin-bottom: 0.5rem;
  color: var(--primary);
}

.modal-subtitle {
  text-align: center;
  font-size: 0.95rem;
  color: var(--muted);
  margin-bottom: 2rem;
}

/* CONTACT INFO */
.contact-info {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.contact-item {
  background: rgba(255, 255, 255, 0.03);
  padding: 1rem;
  border-radius: 12px;
  font-size: 0.95rem;
}

.contact-item span {
  display: block;
  color: var(--muted);
  margin-bottom: 0.3rem;
}

.contact-item a {
  color: var(--secondary);
  text-decoration: none;
}

.contact-item a:hover {
  text-decoration: underline;
}

/* CLOSE BUTTON */
.modal-close {
  position: absolute;
  top: 14px;
  left: 14px;
  background: none;
  border: none;
  font-size: 1.8rem;
  color: var(--muted);
  cursor: pointer;
  transition: color 0.2s ease;
}

.modal-close:hover {
  color: var(--primary);
}


/* *************************************************************** */

/* PLATFORM SECTION */

.platform-btn{
  width: 100%;
  margin-top: 3rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  padding: 0.9rem 1.8rem;
  border-radius: 999px;
  font-weight: 700;
  text-decoration: none;
  color: #000;
  position: relative;
  overflow: hidden;

  background: linear-gradient(135deg,#ff7a18,#ffb347);
  
  box-shadow: 
  0 0 10px rgba(108,242,194,.6),
  0 0 30px rgba(122,162,255,.4);

  transition: all .35s ease;
}

/* glow animation */

@keyframes glowMove{
  0%{transform:rotate(0deg)}
  100%{transform:rotate(360deg)}
}

.platform-btn:hover{
  transform: translateY(-4px) scale(1.04);
  box-shadow:
  0 0 20px rgba(108,242,194,.9),
  0 0 50px rgba(122,162,255,.6);
}

/* TEXT */

.platform-text{
  font-size:1rem;
}

/* NEW BADGE */

.new-badge{
  background:#ff0000;
  color:#fff;
  font-size:.75rem;
  padding:4px 10px;
  border-radius:20px;
  font-weight:800;
  letter-spacing:.5px;

  animation:pulseBadge 1.8s infinite;
}

/* pulse animation */

@keyframes pulseBadge{

  0%{
    transform:scale(1);
    box-shadow:0 0 0 0 rgba(255,0,0,.7);
  }

  70%{
    transform:scale(1.1);
    box-shadow:0 0 0 12px rgba(255,61,113,0);
  }

  100%{
    transform:scale(1);
    box-shadow:0 0 0 0 rgba(255,61,113,0);
  }

}

/* *************************************************************** */

