/* ============================================
   AI Site Builder — Landing Page CSS
   Design: dark hero + light sections, purple accent
   ============================================ */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --accent: #7C3AED;
  --accent-light: #A78BFA;
  --accent-glow: rgba(124,58,237,0.25);
  --dark: #0A0A0F;
  --dark-2: #0F0F1A;
  --dark-card: rgba(255,255,255,0.05);
  --dark-border: rgba(255,255,255,0.1);
  --light: #FAFAFA;
  --light-2: #F4F4F6;
  --text: #1A1A2E;
  --text-muted: #6B7280;
  --text-dim: #9CA3AF;
  --green: #10B981;
  --red-strike: #EF4444;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-display: 'Syne', 'Comfortaa', var(--font-body);
  --font-mono: 'JetBrains Mono', 'Fira Code', monospace;
  --radius: 14px;
  --radius-sm: 10px;
  --max-w: 1100px;
  --section-pad: 88px 20px;
}

html { scroll-behavior: smooth; }
body { font-family: var(--font-body); background: var(--dark); color: #fff; line-height: 1.6; -webkit-font-smoothing: antialiased; }

a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }

/* ── TYPOGRAPHY SCALE ── */
.h1 { font-family: var(--font-display); font-size: clamp(2rem, 5vw, 3.5rem); font-weight: 800; line-height: 1.1; letter-spacing: -0.02em; }
.h2 { font-family: var(--font-display); font-size: clamp(1.5rem, 3.5vw, 2.4rem); font-weight: 700; line-height: 1.15; letter-spacing: -0.01em; }
.h3 { font-size: 1.1rem; font-weight: 600; line-height: 1.3; }

/* ── LAYOUT ── */
.container { max-width: var(--max-w); margin: 0 auto; padding: 0 24px; }
.section { padding: var(--section-pad); }
.section--light { background: var(--light); color: var(--text); }
.section--light-2 { background: var(--light-2); color: var(--text); }
.section--dark { background: var(--dark-2); }

/* ── HEADER ── */
.lp-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  padding: 0 24px;
  height: 64px;
  display: flex; align-items: center; justify-content: space-between;
  background: rgba(10,10,15,0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  transition: background 0.3s;
}
.lp-logo { font-family: var(--font-display); font-size: 1.1rem; font-weight: 700; display: flex; align-items: center; gap: 2px; }
.lp-logo .your { color: var(--accent-light); }
.lp-logo .ai { color: #fff; }
.lp-logo .tld { color: rgba(255,255,255,0.45); font-weight: 400; }
.header-buy-btn {
  background: var(--accent);
  color: white;
  padding: 9px 20px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.875rem;
  border: none; cursor: pointer;
  transition: opacity 0.2s;
}
.header-buy-btn:hover { opacity: 0.85; }

/* ── HERO ── */
.hero {
  min-height: 100vh;
  display: flex; flex-direction: column; justify-content: center;
  padding: 100px 24px 80px;
  background: radial-gradient(ellipse 80% 60% at 50% -10%, rgba(124,58,237,0.3) 0%, transparent 70%),
              radial-gradient(ellipse 50% 40% at 80% 80%, rgba(167,139,250,0.12) 0%, transparent 60%),
              var(--dark);
  text-align: center;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 7px;
  background: rgba(124,58,237,0.2);
  border: 1px solid rgba(167,139,250,0.4);
  border-radius: 100px;
  padding: 5px 16px;
  font-size: 0.8rem; font-weight: 600; color: var(--accent-light);
  letter-spacing: 0.04em; text-transform: uppercase;
  margin-bottom: 24px;
}
.hero-title { color: #fff; margin-bottom: 20px; max-width: 760px; margin-left: auto; margin-right: auto; }
.hero-title em { font-style: normal; color: var(--accent-light); }
.hero-sub {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: rgba(255,255,255,0.6);
  max-width: 560px; margin: 0 auto 40px;
  line-height: 1.65;
}
.hero-ctas { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-bottom: 56px; }
.btn-primary {
  display: inline-flex; align-items: center; gap: 8px;
  background: linear-gradient(135deg, #7C3AED, #6D28D9);
  color: white; padding: 15px 32px;
  border-radius: 12px; font-weight: 700; font-size: 1rem;
  border: none; cursor: pointer;
  box-shadow: 0 8px 32px rgba(124,58,237,0.4);
  transition: transform 0.15s, box-shadow 0.15s;
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 40px rgba(124,58,237,0.5); }
.btn-secondary {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.18);
  color: rgba(255,255,255,0.85); padding: 15px 28px;
  border-radius: 12px; font-weight: 600; font-size: 1rem;
  cursor: pointer; transition: background 0.15s;
}
.btn-secondary:hover { background: rgba(255,255,255,0.12); }

/* Video embed */
.hero-video {
  max-width: 780px; margin: 0 auto;
  border-radius: 16px; overflow: hidden;
  border: 1px solid rgba(255,255,255,0.1);
  box-shadow: 0 40px 80px rgba(0,0,0,0.6), 0 0 0 1px rgba(124,58,237,0.2);
  background: #0F172A;
  aspect-ratio: 16/9;
  display: flex; align-items: center; justify-content: center;
  position: relative;
}
.hero-video iframe { width: 100%; height: 100%; border: 0; }
.video-placeholder {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 14px; color: rgba(255,255,255,0.4); font-size: 0.875rem;
  width: 100%; height: 100%; min-height: 300px;
}
.video-play-icon {
  width: 64px; height: 64px;
  background: rgba(124,58,237,0.25); border: 2px solid rgba(167,139,250,0.4);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
}

/* Stat row */
.hero-stats {
  display: flex; gap: 32px; justify-content: center; flex-wrap: wrap;
  margin-top: 48px;
  padding-top: 40px;
  border-top: 1px solid rgba(255,255,255,0.08);
}
.stat-item { text-align: center; }
.stat-num { font-family: var(--font-display); font-size: 1.75rem; font-weight: 800; color: #fff; }
.stat-num span { color: var(--accent-light); }
.stat-label { font-size: 0.8rem; color: rgba(255,255,255,0.45); margin-top: 2px; }

/* ── PAIN POINTS ── */
.pain-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 40px; }
.pain-card {
  background: #fff;
  border: 1px solid #E5E7EB;
  border-radius: var(--radius);
  padding: 24px;
}
.pain-card .pain-icon { font-size: 1.75rem; margin-bottom: 12px; }
.pain-card .pain-title { font-weight: 700; font-size: 0.95rem; color: var(--text); margin-bottom: 6px; }
.pain-card .pain-text { color: var(--text-muted); font-size: 0.85rem; line-height: 1.55; }
.pain-price { font-size: 1.1rem; font-weight: 800; color: var(--red-strike); }

/* ── SOLUTION ── */
.solution-section { background: var(--dark); padding: var(--section-pad); }
.solution-label {
  display: inline-block;
  background: rgba(16,185,129,0.15); border: 1px solid rgba(16,185,129,0.3);
  color: #10B981; border-radius: 6px; padding: 4px 14px;
  font-size: 0.75rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase;
  margin-bottom: 20px;
}
.solution-title { color: #fff; margin-bottom: 16px; }
.solution-title em { font-style: normal; color: var(--accent-light); }
.solution-sub { color: rgba(255,255,255,0.55); font-size: 1.1rem; max-width: 560px; }
.solution-steps { display: flex; flex-direction: column; gap: 16px; margin-top: 40px; max-width: 600px; }
.sol-step {
  display: flex; gap: 16px; align-items: flex-start;
  background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-sm); padding: 16px 20px;
}
.sol-num {
  width: 32px; height: 32px; border-radius: 50%; flex-shrink: 0;
  background: var(--accent); display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 0.85rem;
}
.sol-text { font-size: 0.9rem; color: rgba(255,255,255,0.8); line-height: 1.5; padding-top: 5px; }
.sol-text strong { color: #fff; }

/* Demo mockup */
.demo-mockup {
  background: #0F172A;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius);
  overflow: hidden;
  max-width: 680px;
  box-shadow: 0 32px 64px rgba(0,0,0,0.5);
}
.demo-topbar {
  background: #1E293B;
  padding: 10px 16px;
  display: flex; gap: 7px; align-items: center;
}
.demo-dot { width: 11px; height: 11px; border-radius: 50%; }
.demo-body { padding: 20px 24px; font-family: var(--font-mono); font-size: 0.8rem; line-height: 1.8; }

/* ── PROGRAM ── */
.program-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; margin-top: 36px; }
.module-item {
  background: #fff;
  border: 1px solid #E5E7EB;
  border-radius: var(--radius-sm);
  padding: 18px 20px;
  display: flex; gap: 14px; align-items: flex-start;
}
.module-badge {
  width: 38px; height: 38px; flex-shrink: 0;
  border-radius: 10px;
  background: linear-gradient(135deg, #F3F0FF, #EDE9FE);
  border: 1px solid #DDD6FE;
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem;
}
.module-num { font-family: var(--font-mono); font-size: 0.7rem; color: var(--accent); font-weight: 700; margin-bottom: 3px; }
.module-name { font-weight: 600; font-size: 0.9rem; color: var(--text); margin-bottom: 3px; }
.module-meta { font-size: 0.78rem; color: var(--text-muted); }
.module-item--bonus {
  border-color: rgba(124,58,237,0.3);
  background: linear-gradient(135deg, #F5F3FF, #FAF5FF);
}
.module-item--bonus .module-badge { background: linear-gradient(135deg, #7C3AED, #A78BFA); border-color: transparent; }

/* ── WHAT YOU GET ── */
.wyg-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; margin-top: 36px; }
.wyg-item {
  display: flex; gap: 14px; align-items: flex-start;
  background: var(--light); border: 1px solid #E5E7EB;
  border-radius: var(--radius-sm); padding: 18px 20px;
}
.wyg-icon { font-size: 1.5rem; flex-shrink: 0; }
.wyg-title { font-weight: 600; font-size: 0.9rem; color: var(--text); margin-bottom: 3px; }
.wyg-desc { font-size: 0.8rem; color: var(--text-muted); line-height: 1.45; }

/* ── PRICING ── */
.pricing-section { background: var(--dark); padding: var(--section-pad); }
.pricing-card {
  max-width: 460px; margin: 36px auto 0;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(167,139,250,0.3);
  border-radius: 20px;
  padding: 36px 32px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.pricing-card::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, var(--accent), var(--accent-light));
}
.pricing-badge {
  display: inline-block;
  background: rgba(16,185,129,0.15); border: 1px solid rgba(16,185,129,0.35);
  color: #10B981; border-radius: 100px; padding: 4px 14px;
  font-size: 0.75rem; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase;
  margin-bottom: 20px;
}
.price-old { font-size: 1.1rem; color: rgba(255,255,255,0.35); text-decoration: line-through; margin-bottom: 4px; }
.price-new { font-family: var(--font-display); font-size: 3rem; font-weight: 800; color: #fff; line-height: 1; }
.price-new span { font-size: 1.3rem; color: rgba(255,255,255,0.55); font-weight: 400; }
.price-discount {
  display: inline-block;
  background: rgba(239,68,68,0.15); border: 1px solid rgba(239,68,68,0.3);
  color: #F87171; border-radius: 6px; padding: 2px 10px;
  font-size: 0.8rem; font-weight: 700; margin-top: 8px; margin-bottom: 24px;
}
.pricing-features { display: flex; flex-direction: column; gap: 12px; margin-bottom: 28px; text-align: left; }
.pricing-feat {
  display: flex; gap: 10px; align-items: center;
  font-size: 0.875rem; color: rgba(255,255,255,0.8);
}
.pricing-feat svg { flex-shrink: 0; color: var(--green); }
.pricing-buy-btn {
  display: block; width: 100%;
  background: linear-gradient(135deg, #7C3AED, #6D28D9);
  color: white; padding: 16px 32px;
  border-radius: 12px; font-weight: 700; font-size: 1.05rem;
  border: none; cursor: pointer; text-align: center;
  box-shadow: 0 8px 32px rgba(124,58,237,0.4);
  transition: transform 0.15s, box-shadow 0.15s;
}
.pricing-buy-btn:hover { transform: translateY(-2px); box-shadow: 0 12px 40px rgba(124,58,237,0.5); }
.pricing-note { font-size: 0.78rem; color: rgba(255,255,255,0.35); margin-top: 14px; }

/* ── FAQ ── */
.faq-list { display: flex; flex-direction: column; gap: 0; margin-top: 36px; max-width: 720px; margin-left: auto; margin-right: auto; }
.faq-item { border-bottom: 1px solid #E5E7EB; }
.faq-item:first-child { border-top: 1px solid #E5E7EB; }
.faq-question {
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 18px 4px; cursor: pointer;
  font-weight: 600; font-size: 0.95rem; color: var(--text);
  user-select: none;
}
.faq-icon { flex-shrink: 0; width: 22px; height: 22px; border-radius: 50%; background: #F3F4F6; display: flex; align-items: center; justify-content: center; font-size: 1rem; color: var(--accent); transition: transform 0.2s; }
.faq-item.open .faq-icon { transform: rotate(45deg); }
.faq-answer { display: none; padding: 0 4px 18px; color: var(--text-muted); font-size: 0.875rem; line-height: 1.65; }
.faq-item.open .faq-answer { display: block; }

/* ── FINAL CTA ── */
.final-cta {
  background: linear-gradient(135deg, #1A0533 0%, #2D0E6B 50%, #1A0533 100%);
  padding: 88px 24px;
  text-align: center;
  position: relative; overflow: hidden;
}
.final-cta::before {
  content: '';
  position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%);
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(124,58,237,0.3) 0%, transparent 70%);
  pointer-events: none;
}
.final-cta .h2 { color: #fff; margin-bottom: 16px; position: relative; }
.final-cta .h2 em { font-style: normal; color: var(--accent-light); }
.final-cta-sub { color: rgba(255,255,255,0.6); font-size: 1.1rem; margin-bottom: 36px; position: relative; }
.final-cta .btn-primary { position: relative; }

/* ── FOOTER ── */
.lp-footer {
  background: #07070E;
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: 36px 24px;
}
.footer-inner {
  max-width: var(--max-w); margin: 0 auto;
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px;
}
.footer-copy { font-size: 0.8rem; color: rgba(255,255,255,0.3); }
.footer-links { display: flex; gap: 20px; }
.footer-links a { font-size: 0.8rem; color: rgba(255,255,255,0.35); transition: color 0.15s; }
.footer-links a:hover { color: rgba(255,255,255,0.7); }

/* ── SECTION HEADER ── */
.section-header { text-align: center; margin-bottom: 8px; }
.section-eyebrow {
  display: inline-block;
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 12px;
}
.section-header .h2 { margin-bottom: 10px; }
.section-header p { color: var(--text-muted); font-size: 1rem; max-width: 520px; margin: 0 auto; }
.section-header--light .section-eyebrow { color: var(--accent); }
.section-header--dark .h2 { color: #fff; }
.section-header--dark p { color: rgba(255,255,255,0.5); }
.section-header--dark .section-eyebrow { color: var(--accent-light); }

/* ── RESPONSIVE ── */
@media (max-width: 768px) {
  :root { --section-pad: 64px 20px; }
  .pain-grid { grid-template-columns: 1fr; }
  .program-grid { grid-template-columns: 1fr; }
  .wyg-grid { grid-template-columns: 1fr; }
  .hero-stats { gap: 20px; }
  .footer-inner { flex-direction: column; text-align: center; }
  .pricing-card { padding: 28px 22px; }
  .price-new { font-size: 2.4rem; }
}
@media (max-width: 480px) {
  .hero-ctas { flex-direction: column; align-items: center; }
  .btn-primary, .btn-secondary { width: 100%; justify-content: center; }
}
