@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700;800&display=swap');

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

:root {
  --bg-deep: #0a0a0f;
  --bg-dark: #000000;
  --bg-card: #12121a;
  --bg-card2: #16161f;
  --purple: #7c3aed;
  --purple-light: #a78bfa;
  --blue-light: #60a5fa;
  --text-primary: #ffffff;
  --text-secondary: #9ca3af;
  --text-muted: #6b7280;
  --border: rgba(255,255,255,0.08);
  --border-hover: rgba(124,58,237,0.4);
}

html { scroll-behavior: smooth; }
body { font-family: 'Manrope', sans-serif; background: var(--bg-deep); color: var(--text-primary); line-height: 1.6; overflow-x: hidden; }

/* TYPOGRAPHY */
h1, h2, h3 { font-weight: 800; }
.accent { background: linear-gradient(90deg, #a78bfa, #60a5fa); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }

/* NAV */
nav { position: fixed; top: 0; left: 0; right: 0; z-index: 100; padding: 16px 32px; display: flex; align-items: center; justify-content: space-between; background: rgba(10,10,15,0.85); backdrop-filter: blur(12px); border-bottom: 1px solid var(--border); }
.nav-logo { font-size: 16px; font-weight: 700; color: #fff; text-decoration: none; }
.nav-logo span { color: #a78bfa; }
.nav-links { display: flex; gap: 28px; list-style: none; }
.nav-links a { color: var(--text-secondary); text-decoration: none; font-size: 14px; font-weight: 500; transition: color 0.2s; }
.nav-links a:hover { color: #fff; }
.nav-enroll { background: var(--purple); color: #fff !important; padding: 8px 20px; border-radius: 8px; font-weight: 600 !important; transition: opacity 0.2s !important; }
.nav-enroll:hover { opacity: 0.85; color: #fff !important; }

/* SECTIONS */
section { padding: 100px 24px; }
.section-inner { max-width: 900px; margin: 0 auto; }
.section-inner-wide { max-width: 1100px; margin: 0 auto; }
.section-heading { text-align: center; margin-bottom: 64px; }
.section-heading h2 { font-size: clamp(36px, 5vw, 52px); margin-bottom: 16px; line-height: 1.1; }
.section-heading p { color: var(--text-secondary); font-size: 16px; max-width: 540px; margin: 0 auto; line-height: 1.7; }

/* BUTTONS */
.btn-primary { background: linear-gradient(135deg, #7c3aed, #6d28d9); color: #fff; border: none; border-radius: 8px; padding: 14px 32px; font-size: 15px; font-weight: 600; font-family: inherit; cursor: pointer; transition: opacity 0.2s, transform 0.2s; text-decoration: none; display: inline-block; }
.btn-primary:hover { opacity: 0.9; transform: translateY(-1px); }
.btn-secondary { background: transparent; color: #fff; border: 1px solid rgba(255,255,255,0.25); border-radius: 8px; padding: 14px 32px; font-size: 15px; font-weight: 600; font-family: inherit; cursor: pointer; transition: border-color 0.2s, transform 0.2s; text-decoration: none; display: inline-block; }
.btn-secondary:hover { border-color: rgba(255,255,255,0.5); transform: translateY(-1px); }

/* HERO */
.hero { min-height: 100vh; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 120px 24px 80px; position: relative; overflow: hidden; }
.hero::before { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse 60% 50% at 50% 40%, rgba(88,28,220,0.22) 0%, transparent 70%), radial-gradient(ellipse 40% 30% at 20% 70%, rgba(30,20,80,0.3) 0%, transparent 60%); pointer-events: none; }
.hero-badge { display: inline-flex; align-items: center; gap: 8px; background: rgba(124,58,237,0.15); border: 1px solid rgba(124,58,237,0.35); border-radius: 999px; padding: 8px 18px; font-size: 13px; font-weight: 500; color: #c4b5fd; margin-bottom: 36px; position: relative; }
.hero h1 { font-size: clamp(52px, 8vw, 90px); line-height: 1.05; margin-bottom: 24px; position: relative; }
.hero h1 .line1 { background: linear-gradient(90deg, #a78bfa 0%, #67e8f9 100%); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.hero h1 .line2 { display: block; color: #ffffff; }
.hero-sub { font-size: 16px; color: var(--text-secondary); max-width: 480px; margin: 0 auto 40px; line-height: 1.7; }
.hero-sub em { font-style: italic; color: #d1d5db; }
.hero-btns { display: flex; gap: 16px; flex-wrap: wrap; justify-content: center; }

/* CARDS */
.cards-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
@media (max-width: 768px) { .cards-grid { grid-template-columns: 1fr; } }
@media (min-width: 769px) and (max-width: 1024px) { .cards-grid { grid-template-columns: repeat(2, 1fr); } }
.feature-card { background: var(--bg-card); border: 1px solid var(--border); border-radius: 14px; padding: 32px 28px; transition: border-color 0.3s; }
.feature-card:hover { border-color: var(--border-hover); }
.card-icon { width: 48px; height: 48px; background: rgba(124,58,237,0.18); border-radius: 10px; display: flex; align-items: center; justify-content: center; margin-bottom: 20px; }
.card-icon svg { width: 22px; height: 22px; stroke: #a78bfa; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.feature-card h3 { font-size: 17px; font-weight: 700; margin-bottom: 10px; color: #fff; }
.feature-card p { font-size: 14px; color: var(--text-secondary); line-height: 1.65; }

/* MODULES */
.module-list { display: flex; flex-direction: column; gap: 16px; }
.module-item { background: var(--bg-card); border: 1px solid var(--border); border-radius: 12px; padding: 28px 32px; display: flex; align-items: flex-start; gap: 28px; transition: border-color 0.3s; }
.module-item:hover { border-color: var(--border-hover); }
.module-num { font-size: 28px; font-weight: 800; color: rgba(124,58,237,0.5); min-width: 48px; line-height: 1; padding-top: 2px; }
.module-body h3 { font-size: 17px; font-weight: 700; margin-bottom: 6px; color: #fff; }
.module-body p { font-size: 14px; color: var(--text-secondary); margin-bottom: 10px; line-height: 1.6; }
.module-duration { font-size: 13px; color: var(--text-muted); }

/* SCHEDULE */
.schedule-list { display: flex; flex-direction: column; gap: 16px; }
.schedule-item { background: var(--bg-card); border: 1px solid var(--border); border-radius: 12px; padding: 20px 28px; display: flex; align-items: center; gap: 20px; transition: border-color 0.3s; }
.schedule-item:hover { border-color: var(--border-hover); }
.sched-module { font-size: 13px; font-weight: 600; color: #a78bfa; min-width: 72px; }
.sched-title { font-size: 16px; font-weight: 600; color: #fff; flex: 1; }
.sched-meta { display: flex; gap: 20px; align-items: center; color: var(--text-muted); font-size: 13px; }
.sched-meta span { display: flex; align-items: center; gap: 6px; }
.sched-meta svg { width: 14px; height: 14px; stroke: currentColor; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; opacity: 0.7; }

/* PRICING */
.pricing-card { background: var(--bg-card); border: 1px solid rgba(124,58,237,0.3); border-radius: 16px; padding: 48px 40px; max-width: 560px; margin: 0 auto; text-align: center; }
.pricing-orig { font-size: 14px; color: var(--text-muted); margin-bottom: 8px; }
.pricing-price { font-size: 72px; font-weight: 800; color: #fff; margin-bottom: 8px; line-height: 1; }
.pricing-tag { font-size: 14px; color: #a78bfa; margin-bottom: 36px; }
.pricing-features { list-style: none; text-align: left; margin-bottom: 36px; display: flex; flex-direction: column; gap: 14px; }
.pricing-features li { display: flex; align-items: center; gap: 12px; font-size: 15px; color: #e5e7eb; }
.pricing-features li svg { width: 16px; height: 16px; stroke: #a78bfa; fill: none; stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }
.btn-enroll { width: 100%; background: linear-gradient(135deg, #7c3aed, #6d28d9); color: #fff; border: none; border-radius: 10px; padding: 16px; font-size: 16px; font-weight: 700; font-family: inherit; cursor: pointer; transition: opacity 0.2s; margin-bottom: 14px; }
.btn-enroll:hover { opacity: 0.9; }
.pricing-note { font-size: 13px; color: var(--text-muted); }

/* FAQ */
.faq-list { display: flex; flex-direction: column; gap: 12px; max-width: 680px; margin: 0 auto; }
.faq-item { background: var(--bg-card); border: 1px solid var(--border); border-radius: 10px; overflow: hidden; }
.faq-q { width: 100%; background: none; border: none; color: #fff; font-family: inherit; font-size: 15px; font-weight: 500; text-align: left; padding: 20px 24px; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 16px; transition: background 0.2s; }
.faq-q:hover { background: rgba(255,255,255,0.03); }
.faq-chevron { width: 18px; height: 18px; stroke: var(--text-muted); fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; transition: transform 0.3s; }
.faq-item.open .faq-chevron { transform: rotate(180deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height 0.35s ease; }
.faq-item.open .faq-a { max-height: 300px; }
.faq-a-inner { padding: 16px 24px 20px; font-size: 14px; color: var(--text-secondary); line-height: 1.7; border-top: 1px solid var(--border); }

/* CTA */
.cta-section { background: radial-gradient(ellipse 80% 60% at 50% 50%, rgba(60,20,150,0.25) 0%, transparent 70%), #0a0a0f; text-align: center; border-top: 1px solid var(--border); }
.cta-section h2 { font-size: clamp(36px, 5vw, 52px); line-height: 1.1; margin-bottom: 20px; }
.cta-section p { color: var(--text-secondary); font-size: 16px; max-width: 500px; margin: 0 auto 40px; line-height: 1.7; }

/* FOOTER */
footer { background: #000; border-top: 1px solid var(--border); padding: 32px 40px; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 16px; }
.footer-copy { font-size: 13px; color: var(--text-muted); }
.footer-links { display: flex; gap: 24px; }
.footer-links a { font-size: 13px; color: var(--text-muted); text-decoration: none; transition: color 0.2s; }
.footer-links a:hover { color: #fff; }

/* PAGE HERO (non-home) */
.page-hero { padding: 160px 24px 80px; text-align: center; background: radial-gradient(ellipse 60% 40% at 50% 30%, rgba(88,28,220,0.15) 0%, transparent 70%); }
.page-hero h1 { font-size: clamp(40px, 6vw, 64px); margin-bottom: 16px; }
.page-hero p { color: var(--text-secondary); font-size: 16px; max-width: 480px; margin: 0 auto; }

/* PROSE (legal pages) */
.prose { max-width: 720px; margin: 0 auto; padding: 60px 24px 100px; }
.prose h2 { font-size: 22px; font-weight: 700; margin: 40px 0 12px; color: #fff; }
.prose p { font-size: 15px; color: var(--text-secondary); line-height: 1.8; margin-bottom: 16px; }
.prose ul { margin: 8px 0 16px 20px; }
.prose ul li { font-size: 15px; color: var(--text-secondary); line-height: 1.8; margin-bottom: 6px; }
.prose .last-updated { font-size: 13px; color: var(--text-muted); margin-bottom: 40px; }

/* FORM */
.form-group { margin-bottom: 24px; }
.form-group label { display: block; font-size: 14px; font-weight: 600; margin-bottom: 8px; color: #d1d5db; }
.form-group input, .form-group textarea, .form-group select { width: 100%; background: var(--bg-card); border: 1px solid var(--border); border-radius: 8px; padding: 12px 16px; font-size: 15px; font-family: inherit; color: #fff; transition: border-color 0.2s; resize: vertical; }
.form-group input:focus, .form-group textarea:focus { outline: none; border-color: var(--purple); }
.form-group input::placeholder, .form-group textarea::placeholder { color: var(--text-muted); }

/* ALERTS */
.alert { padding: 14px 18px; border-radius: 8px; font-size: 14px; margin-bottom: 20px; }
.alert-success { background: rgba(16,185,129,0.1); border: 1px solid rgba(16,185,129,0.3); color: #6ee7b7; }
.alert-error { background: rgba(239,68,68,0.1); border: 1px solid rgba(239,68,68,0.3); color: #fca5a5; }

/* LOADING */
.spinner { display: inline-block; width: 18px; height: 18px; border: 2px solid rgba(255,255,255,0.3); border-top-color: #fff; border-radius: 50%; animation: spin 0.7s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

@media (max-width: 640px) {
  nav { padding: 12px 16px; }
  .nav-links { display: none; }
  footer { padding: 24px 16px; flex-direction: column; text-align: center; }
  .prose { padding: 40px 16px 80px; }
}
