@font-face {
  font-family: 'Vazirmatn';
  src: url('/fonts/Vazirmatn-Variable.ttf') format('truetype-variations'),
       url('/fonts/Vazirmatn-Variable.ttf') format('truetype');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg: #05070f;
  --bg-elevated: #0a0e1c;
  --surface: rgba(16, 22, 41, 0.6);
  --surface-solid: #0d1326;
  --border: rgba(110, 190, 255, 0.16);
  --border-strong: rgba(110, 190, 255, 0.4);
  --text: #eaf2ff;
  --text-muted: #8593b8;
  --accent: #3fd0ff;
  --accent-2: #8b7bff;
  --gradient-brand: linear-gradient(135deg, #3fd0ff 0%, #6b8cff 55%, #8b7bff 100%);
  --up: #2fe08f;
  --radius: 16px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--text);
  font-family: 'Vazirmatn', Tahoma, Arial, sans-serif;
  direction: rtl;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
ul { list-style: none; margin: 0; padding: 0; }
img { max-width: 100%; display: block; }

.container { max-width: 1140px; margin: 0 auto; padding: 0 20px; }
.section { padding: 88px 0; position: relative; }
.section-title {
  font-size: 30px;
  font-weight: 800;
  text-align: center;
  margin-bottom: 12px;
}
.section-subtitle {
  color: var(--text-muted);
  text-align: center;
  max-width: 560px;
  margin: 0 auto 56px;
  line-height: 1.9;
  font-size: 15px;
}
.gradient-text {
  background: var(--gradient-brand);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 16px;
  border-radius: 999px;
  border: 1px solid var(--border-strong);
  background: rgba(63, 208, 255, 0.08);
  font-size: 13px;
  color: var(--accent);
  font-weight: 600;
}
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  backdrop-filter: blur(6px);
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 28px;
  border-radius: 12px;
  font-weight: 700;
  font-size: 14px;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.btn-primary {
  background: var(--gradient-brand);
  color: #04121c;
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 10px 30px rgba(63, 208, 255, 0.35); }
.btn-ghost {
  background: rgba(255, 255, 255, 0.03);
  border-color: var(--border);
  color: var(--text);
}
.btn-ghost:hover { border-color: var(--border-strong); }
.btn-block { width: 100%; }

/* Background glow, decorative only */
.bg-glow {
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(600px circle at 15% 10%, rgba(63, 208, 255, 0.10), transparent 60%),
    radial-gradient(700px circle at 90% 30%, rgba(139, 123, 255, 0.10), transparent 60%),
    radial-gradient(500px circle at 50% 90%, rgba(47, 224, 143, 0.06), transparent 60%);
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(5, 7, 15, 0.75);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 18px;
}
.brand img { width: 30px; height: 30px; }
.nav-links {
  display: flex;
  gap: 30px;
  font-size: 14px;
  color: var(--text-muted);
}
.nav-links a:hover { color: var(--text); }
.header-actions { display: flex; align-items: center; gap: 12px; }
.menu-toggle { display: none; background: none; border: none; color: var(--text); font-size: 22px; cursor: pointer; }

/* Hero */
.hero { padding: 90px 0 60px; }
.hero-inner {
  display: flex;
  align-items: center;
  gap: 50px;
}
.hero-text { flex: 1 1 480px; }
.hero-text h1 {
  font-size: 44px;
  line-height: 1.35;
  font-weight: 800;
  margin: 20px 0 18px;
}
.hero-text p {
  color: var(--text-muted);
  font-size: 16px;
  line-height: 2;
  max-width: 520px;
  margin-bottom: 32px;
}
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 36px; }
.hero-stats { display: flex; gap: 34px; flex-wrap: wrap; }
.hero-stat b { display: block; font-size: 22px; font-weight: 800; }
.hero-stat span { color: var(--text-muted); font-size: 13px; }
.hero-media { flex: 1 1 380px; position: relative; text-align: center; }
.hero-media::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle, rgba(63, 208, 255, 0.25), transparent 70%);
  z-index: -1;
}
.hero-media img { width: 340px; max-width: 80%; margin: 0 auto; filter: drop-shadow(0 20px 50px rgba(63, 208, 255, 0.25)); }

/* Logos / trust strip */
.trust-strip {
  padding: 30px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.trust-strip .container {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  gap: 20px;
  color: var(--text-muted);
  font-size: 14px;
  text-align: center;
}
.trust-strip b { color: var(--text); }

/* Features */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
}
.feature-card { padding: 30px 24px; text-align: center; }
.feature-icon {
  width: 54px; height: 54px; border-radius: 16px; margin: 0 auto 18px;
  display: flex; align-items: center; justify-content: center; font-size: 24px;
  background: rgba(63, 208, 255, 0.1); border: 1px solid var(--border);
}
.feature-card h3 { font-size: 16px; margin: 0 0 10px; }
.feature-card p { color: var(--text-muted); font-size: 13.5px; line-height: 1.9; margin: 0; }

/* Pricing */
.pricing-toggle {
  display: flex;
  justify-content: center;
  margin-bottom: 46px;
}
.pricing-toggle-inner {
  display: flex;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 4px;
  font-size: 13px;
}
.pricing-toggle-inner span {
  padding: 8px 20px;
  border-radius: 999px;
  cursor: pointer;
  color: var(--text-muted);
}
.pricing-toggle-inner span.active { background: var(--gradient-brand); color: #04121c; font-weight: 700; }
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: stretch;
}
.price-card {
  padding: 34px 28px;
  display: flex;
  flex-direction: column;
  position: relative;
}
.price-card.featured {
  border-color: var(--border-strong);
  background: linear-gradient(180deg, rgba(63, 208, 255, 0.08), rgba(16, 22, 41, 0.6));
  transform: scale(1.03);
}
.price-card .badge { position: absolute; top: -14px; right: 50%; transform: translateX(50%); white-space: nowrap; }
.price-card h3 { font-size: 18px; margin: 6px 0 6px; }
.price-card .price-desc { color: var(--text-muted); font-size: 13px; margin-bottom: 22px; }
.price-value { font-size: 34px; font-weight: 800; margin-bottom: 4px; }
.price-value span { font-size: 13px; color: var(--text-muted); font-weight: 400; }
.price-old { color: var(--text-muted); font-size: 13px; text-decoration: line-through; margin-bottom: 22px; }
.price-features { margin: 0 0 28px; display: flex; flex-direction: column; gap: 13px; }
.price-features li { display: flex; align-items: center; gap: 10px; font-size: 13.5px; color: var(--text-muted); }
.price-features li b { color: var(--text); font-weight: 400; }
.price-features .check { color: var(--up); flex-shrink: 0; }

/* Testimonials */
.testi-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}
.testi-card { padding: 28px; }
.testi-stars { color: #ffcb45; font-size: 14px; margin-bottom: 14px; letter-spacing: 2px; }
.testi-card p { color: var(--text-muted); font-size: 14px; line-height: 2; margin-bottom: 22px; }
.testi-author { display: flex; align-items: center; gap: 12px; }
.testi-avatar {
  width: 42px; height: 42px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: var(--gradient-brand); color: #04121c; font-weight: 800; font-size: 14px;
}
.testi-author b { display: block; font-size: 13.5px; }
.testi-author span { color: var(--text-muted); font-size: 12px; }

/* FAQ */
.faq-list { max-width: 760px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }
.faq-item {
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--surface);
  padding: 4px 22px;
}
.faq-item summary {
  cursor: pointer;
  padding: 18px 0;
  font-weight: 700;
  font-size: 14.5px;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: '+'; font-size: 20px; color: var(--accent); font-weight: 400; }
.faq-item[open] summary::after { content: '−'; }
.faq-item p { color: var(--text-muted); font-size: 13.5px; line-height: 1.95; margin: 0 0 20px; }

/* CTA band */
.cta-band {
  border-radius: 24px;
  padding: 60px 40px;
  text-align: center;
  background: linear-gradient(135deg, rgba(63, 208, 255, 0.12), rgba(139, 123, 255, 0.12));
  border: 1px solid var(--border-strong);
}
.cta-band h2 { font-size: 26px; margin: 0 0 14px; }
.cta-band p { color: var(--text-muted); margin: 0 0 28px; font-size: 14.5px; }

/* Footer */
.site-footer { border-top: 1px solid var(--border); padding: 60px 0 26px; }
.footer-grid {
  display: grid;
  grid-template-columns: 2fr repeat(3, 1fr);
  gap: 30px;
  margin-bottom: 40px;
}
.footer-about p { color: var(--text-muted); font-size: 13px; line-height: 1.95; margin: 14px 0 0; max-width: 280px; }
.footer-col h4 { font-size: 14px; margin: 0 0 16px; }
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col a { color: var(--text-muted); font-size: 13px; }
.footer-col a:hover { color: var(--accent); }
.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 22px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  color: var(--text-muted);
  font-size: 12.5px;
}

/* Content pages (about/contact/terms/privacy/blog/careers/checkout) */
.page-hero { padding: 64px 0 20px; text-align: center; }
.page-hero h1 { font-size: 34px; font-weight: 800; margin: 16px 0 12px; }
.page-hero p { color: var(--text-muted); max-width: 560px; margin: 0 auto; line-height: 1.9; }
.prose { max-width: 760px; margin: 0 auto; color: var(--text-muted); line-height: 2.1; font-size: 14.5px; }
.prose h2 { color: var(--text); font-size: 19px; margin: 36px 0 12px; }
.prose h2:first-child { margin-top: 0; }
.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  max-width: 900px;
  margin: 0 auto;
}
.contact-card { padding: 28px; text-align: center; }
.contact-card .feature-icon { margin: 0 auto 16px; }
.contact-card h3 { font-size: 15px; margin: 0 0 8px; }
.contact-card p, .contact-card a { color: var(--text-muted); font-size: 13.5px; margin: 0; }
.contact-card a:hover { color: var(--accent); }
.blog-grid, .careers-list {
  display: grid;
  gap: 18px;
  max-width: 860px;
  margin: 0 auto;
}
.blog-grid { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.blog-card { padding: 26px; }
.blog-card .badge { margin-bottom: 14px; }
.blog-card h3 { font-size: 15.5px; margin: 0 0 10px; line-height: 1.7; }
.blog-card p { color: var(--text-muted); font-size: 13px; line-height: 1.9; margin: 0 0 14px; }
.blog-card span { color: var(--text-muted); font-size: 12px; }
.career-card {
  padding: 22px 26px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.career-card h3 { font-size: 15px; margin: 0 0 6px; }
.career-card p { color: var(--text-muted); font-size: 13px; margin: 0; }
.checkout-wrap {
  display: flex;
  gap: 30px;
  max-width: 860px;
  margin: 0 auto;
  align-items: flex-start;
  flex-wrap: wrap;
}
.checkout-summary { flex: 1 1 320px; padding: 30px; }
.checkout-summary h3 { font-size: 17px; margin: 0 0 4px; }
.checkout-summary .price-value { margin: 14px 0; }
.checkout-next { flex: 1 1 320px; padding: 30px; }
.checkout-next h3 { font-size: 16px; margin: 0 0 14px; }
.checkout-step { display: flex; gap: 12px; margin-bottom: 18px; }
.checkout-step-num {
  width: 26px; height: 26px; border-radius: 50%; flex-shrink: 0;
  background: var(--gradient-brand); color: #04121c; font-weight: 800; font-size: 12.5px;
  display: flex; align-items: center; justify-content: center;
}
.checkout-step p { margin: 0; color: var(--text-muted); font-size: 13.5px; line-height: 1.8; }
.checkout-step b { color: var(--text); }

@media (max-width: 860px) {
  .hero-inner { flex-direction: column-reverse; text-align: center; }
  .hero-text p { margin-inline: auto; }
  .hero-actions, .hero-stats { justify-content: center; }
  .pricing-grid { grid-template-columns: 1fr; }
  .price-card.featured { transform: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .nav-links {
    display: none;
    position: absolute;
    top: 72px;
    right: 0;
    left: 0;
    background: rgba(5, 7, 15, 0.97);
    border-bottom: 1px solid var(--border);
    flex-direction: column;
    gap: 0;
    padding: 8px 0;
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 14px 20px; }
  .menu-toggle { display: block; }
}

@media (max-width: 480px) {
  .hero-text h1 { font-size: 32px; }
  .section { padding: 60px 0; }
  .footer-grid { grid-template-columns: 1fr; }
}
