/* =============================================================================
   Ask the Expert — Landing Page
   ============================================================================= */

/* ─── Reset & Variables ──────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --purple: #7c3aed;
  --purple-l: #a78bfa;
  --purple-d: #5b21b6;
  --cyan: #22d3ee;
  --green: #22c55e;
  --orange: #f97316;
  --bg: #030305;
  --card: rgba(255, 255, 255, 0.03);
  --border: rgba(255, 255, 255, 0.07);
  --text: #f1f5f9;
  --muted: #64748b;
}

html { overflow-x: hidden; scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Inter', system-ui, sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.container { max-width: 1140px; margin: 0 auto; padding: 0 20px; }
@media (min-width: 768px) { .container { padding: 0 40px; } }

/* =============================================================================
   NAV
   ============================================================================= */
nav {
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  background: rgba(3, 3, 5, 0.8);
  border-bottom: 1px solid var(--border);
  left: 0; right: 0; top: 0;
  padding: 14px 0;
  position: fixed;
  z-index: 100;
}
.nav-inner { align-items: center; display: flex; justify-content: space-between; }
.nav-brand { font-size: 1.1rem; font-weight: 800; letter-spacing: -0.03em; }
.nav-brand span { color: var(--purple); }
.nav-links { align-items: center; display: flex; gap: 24px; }
.nav-links a { color: var(--muted); font-size: 0.85rem; font-weight: 600; transition: color 0.2s; }
.nav-links a:hover { color: #fff; }
.nav-cta {
  background: var(--purple) !important;
  border-radius: 10px;
  color: #fff !important;
  padding: 10px 20px;
  transition: all 0.2s;
}
.nav-cta:hover { background: var(--purple-d) !important; }

@media (max-width: 700px) {
  .nav-links a:not(.nav-cta) { display: none; }
}

/* =============================================================================
   HERO
   ============================================================================= */
.hero {
  align-items: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 100vh;
  padding: 100px 20px 60px;
  position: relative;
  text-align: center;
  overflow: hidden;
}

/* Decorative orbs */
.hero-orb {
  border-radius: 50%;
  filter: blur(100px);
  pointer-events: none;
  position: absolute;
}
.hero-orb-1 { background: rgba(124, 58, 237, 0.15); height: 700px; left: -300px; top: -200px; width: 700px; }
.hero-orb-2 { background: rgba(34, 211, 238, 0.08); bottom: -300px; height: 500px; right: -200px; width: 500px; }

.hero-content { position: relative; z-index: 1; }
.hero-badge {
  background: rgba(124, 58, 237, 0.1);
  border: 1px solid rgba(124, 58, 237, 0.3);
  border-radius: 999px;
  color: var(--purple-l);
  display: inline-flex;
  font-size: 0.78rem;
  font-weight: 700;
  gap: 6px;
  letter-spacing: 0.04em;
  margin-bottom: 28px;
  padding: 8px 22px;
}
.hero h1 {
  font-size: clamp(2.4rem, 6.5vw, 4.5rem);
  font-weight: 900;
  letter-spacing: -0.045em;
  line-height: 1.05;
  max-width: 820px;
}
.hero h1 em { color: var(--purple); font-style: normal; }
.hero-sub {
  color: var(--muted);
  font-size: clamp(1rem, 2vw, 1.2rem);
  line-height: 1.65;
  margin: 24px auto 0;
  max-width: 580px;
}
.hero-ctas {
  display: flex;
  gap: 14px;
  justify-content: center;
  margin-top: 40px;
  flex-wrap: wrap;
}
.hero-proof { color: var(--muted); font-size: 0.8rem; margin-top: 20px; }

/* =============================================================================
   BUTTONS
   ============================================================================= */
.btn-primary {
  background: var(--purple);
  border: none;
  border-radius: 14px;
  color: #fff;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 700;
  padding: 16px 36px;
  position: relative;
  overflow: hidden;
  transition: all 0.3s;
}
.btn-primary:hover {
  background: var(--purple-d);
  transform: translateY(-2px);
  box-shadow: 0 10px 40px rgba(124, 58, 237, 0.35);
}
.btn-primary::after {
  content: '';
  position: absolute;
  top: 0; left: -100%;
  width: 100%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.15), transparent);
  transition: left 0.5s;
}
.btn-primary:hover::after { left: 100%; }

.btn-ghost {
  background: transparent;
  border: 2px solid var(--border);
  border-radius: 14px;
  color: var(--text);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 700;
  padding: 14px 32px;
  transition: all 0.3s;
}
.btn-ghost:hover {
  border-color: rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.04);
}

.btn-wa { background: #25D366 !important; }
.btn-wa:hover { background: #1da851 !important; box-shadow: 0 10px 40px rgba(37, 211, 102, 0.3); }

/* =============================================================================
   DEMO VIDEO
   ============================================================================= */
.demo-section { padding: 20px 0 100px; }
.demo-frame {
  aspect-ratio: 16/9;
  background: #000;
  border: 1px solid var(--border);
  border-radius: 24px;
  margin: 0 auto;
  max-width: 940px;
  overflow: hidden;
  box-shadow: 0 30px 100px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(255, 255, 255, 0.05);
}
.demo-frame video { width: 100%; height: 100%; object-fit: cover; }

/* =============================================================================
   SECTION HEADERS
   ============================================================================= */
.section-label {
  color: var(--purple-l);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  margin-bottom: 14px;
  text-align: center;
  text-transform: uppercase;
}
.section-title {
  font-size: clamp(1.8rem, 4vw, 3rem);
  font-weight: 900;
  letter-spacing: -0.04em;
  line-height: 1.1;
  margin-bottom: 20px;
  text-align: center;
}
.section-sub {
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.6;
  margin: 0 auto 56px;
  max-width: 550px;
  text-align: center;
}

/* =============================================================================
   HOW IT WORKS
   ============================================================================= */
.how { padding: 100px 0; }
.steps { display: grid; gap: 24px; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.step {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 22px;
  padding: 36px 28px;
  position: relative;
  overflow: hidden;
  transition: all 0.4s;
}
.step:hover { border-color: rgba(124, 58, 237, 0.3); transform: translateY(-6px); }
.step:hover .step-glow { opacity: 1; }
.step-glow {
  background: radial-gradient(circle at 50% 0%, rgba(124, 58, 237, 0.08), transparent 70%);
  height: 100%; left: 0; opacity: 0;
  position: absolute; top: 0;
  transition: opacity 0.4s; width: 100%;
}
.step-num {
  align-items: center; background: var(--purple); border-radius: 14px;
  color: #fff; display: flex; font-size: 1rem; font-weight: 900;
  height: 48px; justify-content: center; margin-bottom: 20px;
  position: relative; width: 48px;
}
.step h3 { font-size: 1.15rem; font-weight: 800; margin-bottom: 10px; position: relative; }
.step p { color: var(--muted); font-size: 0.88rem; line-height: 1.65; position: relative; }

/* =============================================================================
   FEATURES
   ============================================================================= */
.features { padding: 100px 0; }
.feat-grid { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.feat {
  background: var(--card); border: 1px solid var(--border);
  border-radius: 20px; padding: 30px 26px; transition: all 0.4s;
}
.feat:hover { border-color: rgba(255, 255, 255, 0.15); transform: translateY(-4px); }
.feat-icon { font-size: 2rem; margin-bottom: 14px; }
.feat h3 { font-size: 1.05rem; font-weight: 700; margin-bottom: 8px; }
.feat p { color: var(--muted); font-size: 0.85rem; line-height: 1.65; }

/* =============================================================================
   MARQUEE TESTIMONIALS
   ============================================================================= */
.marquee-section {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  overflow: hidden;
  padding: 28px 0;
}
.marquee-track {
  animation: marqueeScroll 40s linear infinite;
  display: flex; gap: 20px; width: max-content;
}
@keyframes marqueeScroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.marquee-item {
  background: var(--card); border: 1px solid var(--border);
  border-radius: 16px; color: var(--muted); flex-shrink: 0;
  font-size: 0.88rem; line-height: 1.5; max-width: 400px; padding: 20px 28px;
}
.marquee-item strong { color: var(--text); display: block; font-size: 0.8rem; margin-top: 8px; }

/* =============================================================================
   NUMBERS / PROOF
   ============================================================================= */
.proof { padding: 80px 0; }
.proof-grid { display: grid; gap: 32px; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); text-align: center; }
.proof-num { font-size: 3.5rem; font-weight: 900; letter-spacing: -0.05em; line-height: 1; }
.proof-label { color: var(--muted); font-size: 0.82rem; font-weight: 600; margin-top: 8px; }

/* =============================================================================
   PRICING
   ============================================================================= */
.pricing { padding: 100px 0; }
.price-grid { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); margin-top: 48px; }
.price-card {
  background: var(--card); border: 1.5px solid var(--border);
  border-radius: 24px; display: flex; flex-direction: column;
  padding: 36px 30px; transition: all 0.4s;
}
.price-card:hover { border-color: rgba(255, 255, 255, 0.12); transform: translateY(-6px); }
.price-card.featured { border-color: var(--purple); background: rgba(124, 58, 237, 0.03); }

.price-badge {
  background: var(--purple); border-radius: 8px; color: #fff; display: none;
  font-size: 0.62rem; font-weight: 800; letter-spacing: 0.08em;
  margin-bottom: 14px; padding: 4px 12px; text-transform: uppercase; width: fit-content;
}
.price-card.featured .price-badge { display: inline-block; }
.price-name { font-size: 1.3rem; font-weight: 800; }
.price-desc { color: var(--muted); font-size: 0.82rem; margin: 4px 0 18px; }
.price-amount { font-size: 2.4rem; font-weight: 900; letter-spacing: -0.04em; }
.price-amount span { color: var(--muted); font-size: 0.85rem; font-weight: 500; }
.price-users { color: var(--muted); font-size: 0.8rem; margin-top: 4px; }
.price-features {
  border-top: 1px solid var(--border); color: var(--muted); flex: 1;
  font-size: 0.82rem; line-height: 2.1; list-style: none;
  margin-top: 22px; padding-top: 22px;
}
.price-features li::before { content: '✓ '; color: var(--green); font-weight: 700; }
.price-cta {
  background: rgba(255, 255, 255, 0.05); border: 1.5px solid var(--border);
  border-radius: 14px; color: #fff; cursor: pointer; display: block;
  font-family: inherit; font-size: 0.92rem; font-weight: 700;
  margin-top: 22px; padding: 15px; text-align: center; transition: all 0.3s; width: 100%;
}
.price-cta:hover { background: rgba(255, 255, 255, 0.1); border-color: rgba(255, 255, 255, 0.2); }
.price-card.featured .price-cta { background: var(--purple); border-color: var(--purple); }
.price-card.featured .price-cta:hover { background: var(--purple-d); }

/* =============================================================================
   FAQ
   ============================================================================= */
.faq { padding: 100px 0; }
.faq-list { max-width: 700px; margin: 48px auto 0; }
.faq-item { border-bottom: 1px solid var(--border); padding: 20px 0; }
.faq-q {
  align-items: center; background: none; border: none; color: var(--text);
  cursor: pointer; display: flex; font-family: inherit; font-size: 1rem;
  font-weight: 700; gap: 12px; justify-content: space-between;
  text-align: left; width: 100%;
}
.faq-icon {
  color: var(--purple); flex-shrink: 0; font-size: 1.5rem; font-weight: 300;
  transition: transform 0.3s;
}
.faq-item.open .faq-icon { transform: rotate(45deg); }
.faq-a {
  color: var(--muted); font-size: 0.88rem; line-height: 1.7;
  max-height: 0; overflow: hidden;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.faq-item.open .faq-a { max-height: 200px; padding-top: 12px; }

/* =============================================================================
   FINAL CTA
   ============================================================================= */
.final-cta-section { padding: 60px 20px 100px; }
.final-cta {
  background: linear-gradient(135deg, rgba(124, 58, 237, 0.08), rgba(34, 211, 238, 0.04));
  border: 1px solid rgba(124, 58, 237, 0.15);
  border-radius: 28px;
  margin: 0 auto;
  max-width: 800px;
  padding: 64px 40px;
  position: relative;
  overflow: hidden;
  text-align: center;
}
.final-cta::before {
  content: ''; position: absolute;
  width: 400px; height: 400px; border-radius: 50%;
  background: radial-gradient(circle, rgba(124, 58, 237, 0.1), transparent 70%);
  top: -200px; right: -200px; pointer-events: none;
}
.final-cta h2 { font-size: clamp(1.6rem, 3.5vw, 2.5rem); font-weight: 900; letter-spacing: -0.03em; margin-bottom: 14px; position: relative; }
.final-cta h2 em { color: var(--purple); font-style: normal; }
.final-cta p { color: var(--muted); font-size: 1rem; margin-bottom: 32px; max-width: 480px; margin-left: auto; margin-right: auto; position: relative; }
.cta-buttons { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; position: relative; }

/* =============================================================================
   WHATSAPP FAB
   ============================================================================= */
.wa-fab {
  align-items: center; background: #25D366; border-radius: 50%;
  bottom: 24px; box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
  color: #fff; cursor: pointer; display: flex; height: 60px;
  justify-content: center; position: fixed; right: 24px;
  transition: all 0.3s; width: 60px; z-index: 99;
}
.wa-fab:hover { transform: scale(1.1); box-shadow: 0 8px 30px rgba(37, 211, 102, 0.5); }
.wa-fab svg { width: 28px; height: 28px; fill: #fff; }

/* =============================================================================
   FOOTER
   ============================================================================= */
footer { border-top: 1px solid var(--border); padding: 40px 0; }
.footer-inner { align-items: center; display: flex; flex-wrap: wrap; gap: 20px; justify-content: space-between; }
.footer-brand { font-size: 0.95rem; font-weight: 800; }
.footer-brand span { color: var(--purple); }
.footer-links { align-items: center; color: var(--muted); display: flex; font-size: 0.8rem; gap: 20px; flex-wrap: wrap; }
.footer-links a:hover { color: #fff; }
.footer-copy { color: var(--muted); font-size: 0.75rem; margin-top: 16px; text-align: center; width: 100%; }

/* =============================================================================
   ACCESSIBILITY
   ============================================================================= */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .marquee-track { animation: none; }
}
