/* ===== RESET & BASE ===== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --bg: #08090f;
  --bg-2: #0d0f1a;
  --bg-3: #111322;
  --accent: #b44fff;
  --accent-2: #7c3aed;
  --accent-glow: rgba(180, 79, 255, 0.2);
  --accent-glow-strong: rgba(180, 79, 255, 0.4);
  --orange: #ff6b35;
  --orange-dark: #e55a28;
  --text: #e8e8f0;
  --text-muted: #8a8aa8;
  --text-dim: #5a5a75;
  --border: rgba(255, 255, 255, 0.08);
  --border-accent: rgba(180, 79, 255, 0.3);
  --radius: 12px;
  --radius-lg: 20px;
  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font);
  background-color: var(--bg);
  color: var(--text);
  line-height: 1.6;
  font-size: 16px;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* ===== TYPOGRAPHY ===== */
h1, h2, h3, h4 {
  line-height: 1.2;
  font-weight: 700;
}

h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.5rem); }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.6rem); }

p {
  color: var(--text-muted);
}

/* ===== LAYOUT ===== */
.container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
}

section {
  padding: 80px 0;
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: var(--radius);
  font-family: var(--font);
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: all 0.25s ease;
  white-space: nowrap;
  text-decoration: none;
}

.btn-primary {
  background: var(--orange);
  color: #fff;
}
.btn-primary:hover {
  background: var(--orange-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(255, 107, 53, 0.4);
}

.btn-accent {
  background: var(--accent);
  color: #fff;
}
.btn-accent:hover {
  background: var(--accent-2);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px var(--accent-glow-strong);
}

.btn-outline {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border);
}
.btn-outline:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.btn-lg {
  padding: 18px 42px;
  font-size: 1.1rem;
}

/* ===== HEADER ===== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 16px 0;
  transition: all 0.3s ease;
}

.site-header.scrolled {
  background: rgba(8, 9, 15, 0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  padding: 12px 0;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.logo {
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--text);
}

.logo span {
  color: var(--accent);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
  list-style: none;
}

.nav-links a {
  padding: 8px 16px;
  border-radius: 8px;
  color: var(--text-muted);
  font-size: 0.95rem;
  transition: color 0.2s;
}

.nav-links a:hover {
  color: var(--text);
}

.nav-cta {
  padding: 10px 22px;
  font-size: 0.9rem;
}

.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
}

.burger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: all 0.3s;
}

/* ===== HERO ===== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 80px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -200px;
  right: -200px;
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, var(--accent-glow) 0%, transparent 65%);
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: var(--accent-glow);
  border: 1px solid var(--border-accent);
  border-radius: 100px;
  font-size: 0.85rem;
  color: var(--accent);
  margin-bottom: 24px;
}

.hero-badge::before {
  content: '';
  width: 6px;
  height: 6px;
  background: var(--accent);
  border-radius: 50%;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

.hero h1 {
  margin-bottom: 20px;
  color: var(--text);
}

.hero h1 em {
  font-style: normal;
  color: var(--accent);
}

.hero-sub {
  font-size: 1.1rem;
  color: var(--text-muted);
  margin-bottom: 36px;
  max-width: 480px;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}

.hero-stats {
  display: flex;
  gap: 32px;
  padding-top: 32px;
  border-top: 1px solid var(--border);
}

.stat-item {
  display: flex;
  flex-direction: column;
}

.stat-num {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text);
}

.stat-label {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.hero-image-wrap {
  position: relative;
}

.hero-image-wrap img {
  width: 100%;
  border-radius: var(--radius-lg);
  object-fit: cover;
}

.hero-image-overlay {
  position: absolute;
  inset: 0;
  border-radius: var(--radius-lg);
  background: linear-gradient(
    135deg,
    transparent 60%,
    rgba(180, 79, 255, 0.15) 100%
  );
}

/* ===== SECTION HEADERS ===== */
.section-tag {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
}

.section-header {
  margin-bottom: 56px;
}

.section-header h2 {
  margin-bottom: 12px;
  color: var(--text);
}

.section-header p {
  font-size: 1.05rem;
  max-width: 560px;
}

.section-header.centered {
  text-align: center;
}

.section-header.centered p {
  margin: 0 auto;
}

/* ===== PAIN SECTION ===== */
.pain-section {
  background: var(--bg-2);
}

.pain-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}

.pain-intro {
  max-width: 440px;
}

.pain-intro h2 {
  margin-bottom: 16px;
  color: var(--text);
}

.pain-intro p {
  margin-bottom: 24px;
}

.pain-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.pain-list li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 18px 20px;
  background: var(--bg-3);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  font-size: 0.95rem;
  color: var(--text-muted);
  transition: border-color 0.2s;
}

.pain-list li:hover {
  border-color: var(--border-accent);
}

.pain-icon {
  font-size: 1.2rem;
  flex-shrink: 0;
  margin-top: 1px;
}

/* ===== VALUE SECTION ===== */
.value-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.value-card {
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: all 0.3s ease;
}

.value-card:hover {
  border-color: var(--border-accent);
  box-shadow: 0 0 40px var(--accent-glow);
  transform: translateY(-4px);
}

.value-icon {
  width: 52px;
  height: 52px;
  background: var(--accent-glow);
  border: 1px solid var(--border-accent);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 20px;
}

.value-card h3 {
  color: var(--text);
  margin-bottom: 10px;
  font-size: 1.1rem;
}

.value-card p {
  font-size: 0.9rem;
  line-height: 1.65;
}

/* ===== PROCESS SECTION ===== */
.process-section {
  background: var(--bg-2);
}

.process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  position: relative;
}

.process-steps::before {
  content: '';
  position: absolute;
  top: 36px;
  left: calc(12.5% + 16px);
  right: calc(12.5% + 16px);
  height: 1px;
  background: linear-gradient(to right, var(--accent), transparent);
  pointer-events: none;
}

.step-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 0 20px;
  position: relative;
}

.step-num {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: var(--bg-3);
  border: 2px solid var(--border-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--accent);
  margin-bottom: 20px;
  position: relative;
  z-index: 1;
  flex-shrink: 0;
}

.step-item h3 {
  color: var(--text);
  margin-bottom: 8px;
  font-size: 1rem;
}

.step-item p {
  font-size: 0.875rem;
  line-height: 1.6;
}

/* ===== CURRICULUM SECTION ===== */
.modules-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.module-card {
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px 28px;
  display: flex;
  gap: 20px;
  align-items: flex-start;
  transition: border-color 0.2s;
}

.module-card:hover {
  border-color: var(--border-accent);
}

.module-num {
  font-size: 2rem;
  font-weight: 800;
  color: var(--border-accent);
  line-height: 1;
  flex-shrink: 0;
  min-width: 48px;
}

.module-content h3 {
  color: var(--text);
  font-size: 1rem;
  margin-bottom: 6px;
}

.module-content p {
  font-size: 0.875rem;
  line-height: 1.6;
}

/* ===== TRUST SECTION ===== */
.trust-section {
  background: var(--bg-2);
}

.trust-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.trust-image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
}

.trust-image img {
  width: 100%;
  height: 420px;
  object-fit: cover;
}

.trust-image-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(8, 9, 15, 0.6) 0%,
    transparent 60%
  );
}

.trust-points {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.trust-point {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.trust-point-icon {
  width: 44px;
  height: 44px;
  background: var(--accent-glow);
  border: 1px solid var(--border-accent);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.trust-point h4 {
  color: var(--text);
  font-size: 0.95rem;
  margin-bottom: 4px;
}

.trust-point p {
  font-size: 0.875rem;
  line-height: 1.6;
}

/* ===== LEAD FORM SECTION ===== */
.form-section {
  position: relative;
  overflow: hidden;
}

.form-section::before {
  content: '';
  position: absolute;
  bottom: -200px;
  left: -200px;
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, var(--accent-glow) 0%, transparent 65%);
  pointer-events: none;
}

.form-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.form-text h2 {
  margin-bottom: 16px;
  color: var(--text);
}

.form-text h2 em {
  font-style: normal;
  color: var(--accent);
}

.form-text p {
  margin-bottom: 32px;
  font-size: 1.05rem;
}

.form-perks {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.form-perks li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.form-perks li::before {
  content: '✓';
  color: var(--accent);
  font-weight: 700;
  flex-shrink: 0;
}

.lead-form {
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px;
  position: relative;
  z-index: 1;
}

.lead-form h3 {
  color: var(--text);
  margin-bottom: 24px;
  font-size: 1.2rem;
}

.form-group {
  margin-bottom: 16px;
}

.form-group label {
  display: block;
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 6px;
  font-weight: 500;
}

.form-group input,
.form-group select {
  width: 100%;
  padding: 14px 16px;
  background: var(--bg-3);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--text);
  font-family: var(--font);
  font-size: 0.95rem;
  transition: border-color 0.2s;
  outline: none;
  appearance: none;
}

.form-group input::placeholder {
  color: var(--text-dim);
}

.form-group input:focus,
.form-group select:focus {
  border-color: var(--accent);
}

.form-group input.error,
.form-group select.error {
  border-color: #ff4444;
}

.form-group .field-error {
  font-size: 0.8rem;
  color: #ff4444;
  margin-top: 4px;
  display: none;
}

.form-group .field-error.visible {
  display: block;
}

.form-privacy {
  font-size: 0.8rem;
  color: var(--text-dim);
  margin-top: 12px;
  line-height: 1.5;
}

.form-privacy a {
  color: var(--text-muted);
  text-decoration: underline;
  text-decoration-color: var(--border);
}

.form-privacy a:hover {
  color: var(--accent);
}

.form-submit {
  width: 100%;
  margin-top: 20px;
}

/* ===== FAQ SECTION ===== */
.faq-list {
  max-width: 760px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color 0.2s;
}

.faq-item.open {
  border-color: var(--border-accent);
}

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 22px 24px;
  cursor: pointer;
  font-size: 0.97rem;
  font-weight: 600;
  color: var(--text);
  user-select: none;
}

.faq-question:hover {
  color: var(--accent);
}

.faq-chevron {
  font-size: 0.75rem;
  color: var(--text-muted);
  transition: transform 0.25s ease;
  flex-shrink: 0;
}

.faq-item.open .faq-chevron {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.faq-answer-inner {
  padding: 0 24px 22px;
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.7;
}

/* ===== FOOTER ===== */
.site-footer {
  background: var(--bg-2);
  border-top: 1px solid var(--border);
  padding: 48px 0 32px;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}

.footer-brand .logo {
  margin-bottom: 16px;
  display: inline-block;
}

.footer-brand p {
  font-size: 0.875rem;
  line-height: 1.65;
  max-width: 280px;
}

.footer-col h4 {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links a {
  font-size: 0.875rem;
  color: var(--text-muted);
  transition: color 0.2s;
}

.footer-links a:hover {
  color: var(--accent);
}

.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 24px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.footer-legal {
  font-size: 0.8rem;
  color: var(--text-dim);
  line-height: 1.8;
}

.footer-legal p + p {
  margin-top: 2px;
}

.footer-copy {
  font-size: 0.8rem;
  color: var(--text-dim);
  flex-shrink: 0;
}

/* ===== COOKIE BANNER ===== */
.cookie-banner {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 200;
  width: calc(100% - 48px);
  max-width: 760px;
  background: var(--bg-3);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 20px 24px;
  display: flex;
  align-items: center;
  gap: 20px;
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.5);
  transition: all 0.4s ease;
}

.cookie-banner.hidden {
  opacity: 0;
  pointer-events: none;
  transform: translateX(-50%) translateY(20px);
}

.cookie-text {
  flex: 1;
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.55;
}

.cookie-text a {
  color: var(--accent);
  text-decoration: underline;
  text-decoration-color: transparent;
  transition: text-decoration-color 0.2s;
}

.cookie-text a:hover {
  text-decoration-color: var(--accent);
}

.cookie-actions {
  display: flex;
  gap: 10px;
  flex-shrink: 0;
}

.cookie-accept {
  padding: 10px 20px;
  font-size: 0.875rem;
}

.cookie-decline {
  padding: 10px 16px;
  font-size: 0.875rem;
  background: transparent;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--text-muted);
  cursor: pointer;
  font-family: var(--font);
  transition: all 0.2s;
}

.cookie-decline:hover {
  border-color: var(--text-muted);
  color: var(--text);
}

/* ===== LEGAL PAGES ===== */
.legal-page {
  padding: 120px 0 80px;
}

.legal-page h1 {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  margin-bottom: 8px;
  color: var(--text);
}

.legal-page .legal-date {
  color: var(--text-dim);
  font-size: 0.875rem;
  margin-bottom: 48px;
}

.legal-content {
  max-width: 760px;
}

.legal-content h2 {
  font-size: 1.2rem;
  color: var(--text);
  margin: 36px 0 12px;
}

.legal-content h2:first-of-type {
  margin-top: 0;
}

.legal-content p {
  font-size: 0.925rem;
  margin-bottom: 12px;
  line-height: 1.75;
  color: var(--text-muted);
}

.legal-content ul {
  padding-left: 20px;
  margin-bottom: 12px;
}

.legal-content ul li {
  font-size: 0.925rem;
  color: var(--text-muted);
  line-height: 1.75;
  margin-bottom: 6px;
}

.legal-content a {
  color: var(--accent);
}

/* ===== SUCCESS PAGE ===== */
.success-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 40px 24px;
}

.success-box {
  max-width: 520px;
}

.success-icon {
  width: 80px;
  height: 80px;
  background: var(--accent-glow);
  border: 2px solid var(--border-accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  margin: 0 auto 32px;
}

.success-box h1 {
  font-size: clamp(1.6rem, 4vw, 2.2rem);
  color: var(--text);
  margin-bottom: 16px;
}

.success-box p {
  font-size: 1rem;
  margin-bottom: 32px;
  line-height: 1.7;
}

/* ===== MOBILE MENU ===== */
.mobile-menu {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 150;
  background: var(--bg);
  flex-direction: column;
  padding: 24px;
}

.mobile-menu.open {
  display: flex;
}

.mobile-menu-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 48px;
}

.mobile-close {
  background: none;
  border: none;
  cursor: pointer;
  font-size: 1.5rem;
  color: var(--text);
}

.mobile-nav-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}

.mobile-nav-links a {
  display: block;
  padding: 14px 16px;
  font-size: 1.1rem;
  color: var(--text);
  border-radius: var(--radius);
  transition: background 0.2s;
}

.mobile-nav-links a:hover {
  background: var(--bg-2);
}

.mobile-nav-cta {
  margin-top: 24px;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .value-grid {
    grid-template-columns: 1fr 1fr;
  }

  .process-steps {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }

  .process-steps::before {
    display: none;
  }
}

@media (max-width: 768px) {
  section {
    padding: 60px 0;
  }

  .nav-links,
  .nav-cta {
    display: none;
  }

  .burger {
    display: flex;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .hero-image-wrap {
    order: -1;
  }

  .hero-image-wrap img {
    height: 260px;
    object-fit: cover;
  }

  .hero-stats {
    gap: 24px;
  }

  .pain-grid {
    grid-template-columns: 1fr;
  }

  .value-grid {
    grid-template-columns: 1fr;
  }

  .process-steps {
    grid-template-columns: 1fr;
  }

  .modules-grid {
    grid-template-columns: 1fr;
  }

  .trust-grid {
    grid-template-columns: 1fr;
  }

  .form-wrap {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .lead-form {
    padding: 28px 20px;
  }

  .footer-top {
    grid-template-columns: 1fr 1fr;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }

  .footer-bottom {
    flex-direction: column;
  }

  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }

  .cookie-actions {
    width: 100%;
  }

  .cookie-accept {
    flex: 1;
  }
}

@media (max-width: 480px) {
  .footer-top {
    grid-template-columns: 1fr;
  }

  .hero-actions {
    flex-direction: column;
    align-items: flex-start;
  }

  .hero-actions .btn {
    width: 100%;
    justify-content: center;
  }
}
