@import url('https://fonts.googleapis.com/css2?family=PT+Serif:ital,wght@0,400;0,700;1,400&family=Inter:wght@400;500;600&display=swap');

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

:root {
  --bg: #F8F5F0;
  --bg-alt: #EDEAE3;
  --bg-dark: #1B3358;
  --primary: #1B3358;
  --primary-light: #264773;
  --accent: #C96B30;
  --accent-hover: #B05A23;
  --text: #1A1A1A;
  --text-muted: #5C5C5C;
  --text-light: #8A8A8A;
  --white: #FFFFFF;
  --border: #D8D4CE;
  --radius: 8px;
  --radius-lg: 16px;
  --shadow: 0 2px 16px rgba(27, 51, 88, 0.08);
  --shadow-md: 0 4px 28px rgba(27, 51, 88, 0.12);
  --max-w: 1120px;
  --font-serif: 'PT Serif', Georgia, serif;
  --font-sans: 'Inter', system-ui, -apple-system, sans-serif;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-sans);
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: var(--accent);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
}

/* ===================== HEADER ===================== */

.site-header {
  background: var(--bg);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
  padding: 0;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 24px;
  max-width: var(--max-w);
  margin: 0 auto;
}

.logo {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary);
  text-decoration: none;
  letter-spacing: -0.02em;
}

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

.header-cta {
  background: var(--accent);
  color: var(--white);
  padding: 10px 22px;
  border-radius: var(--radius);
  font-size: 0.875rem;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.2s;
}

.header-cta:hover {
  background: var(--accent-hover);
  text-decoration: none;
}

/* ===================== HERO ===================== */

.hero {
  background: var(--primary);
  color: var(--white);
  padding: 80px 0 0;
  overflow: hidden;
}

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

.hero-content {
  padding-bottom: 80px;
}

.hero-tag {
  display: inline-block;
  background: rgba(255,255,255,0.12);
  color: rgba(255,255,255,0.9);
  font-size: 0.8125rem;
  font-weight: 500;
  padding: 5px 14px;
  border-radius: 20px;
  margin-bottom: 24px;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.hero h1 {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4vw, 2.875rem);
  line-height: 1.2;
  font-weight: 700;
  margin-bottom: 20px;
  letter-spacing: -0.02em;
}

.hero-sub {
  font-size: 1.0625rem;
  line-height: 1.7;
  color: rgba(255,255,255,0.78);
  margin-bottom: 36px;
  max-width: 480px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.btn-primary {
  background: var(--accent);
  color: var(--white);
  padding: 14px 28px;
  border-radius: var(--radius);
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.2s, transform 0.15s;
  display: inline-block;
}

.btn-primary:hover {
  background: var(--accent-hover);
  text-decoration: none;
  transform: translateY(-1px);
}

.btn-ghost {
  color: rgba(255,255,255,0.85);
  padding: 14px 24px;
  border: 1px solid rgba(255,255,255,0.25);
  border-radius: var(--radius);
  font-size: 1rem;
  font-weight: 500;
  text-decoration: none;
  transition: background 0.2s;
}

.btn-ghost:hover {
  background: rgba(255,255,255,0.08);
  text-decoration: none;
}

.hero-image-wrap {
  position: relative;
  align-self: end;
}

.hero-image-wrap img {
  width: 100%;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  object-fit: cover;
  height: 420px;
  object-position: top;
}

.hero-stats {
  background: var(--bg);
  padding: 28px 0;
  border-bottom: 1px solid var(--border);
}

.hero-stats-inner {
  display: flex;
  gap: 0;
  justify-content: center;
}

.stat-item {
  text-align: center;
  padding: 0 48px;
  border-right: 1px solid var(--border);
}

.stat-item:last-child {
  border-right: none;
}

.stat-num {
  font-family: var(--font-serif);
  font-size: 2rem;
  font-weight: 700;
  color: var(--primary);
  line-height: 1;
  margin-bottom: 4px;
}

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

/* ===================== SECTION BASE ===================== */

section {
  padding: 80px 0;
}

.section-tag {
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent);
  margin-bottom: 12px;
}

.section-title {
  font-family: var(--font-serif);
  font-size: clamp(1.6rem, 3vw, 2.25rem);
  font-weight: 700;
  line-height: 1.2;
  color: var(--primary);
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}

.section-sub {
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--text-muted);
  max-width: 580px;
}

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

/* ===================== PROBLEM ===================== */

.problem {
  background: var(--bg-alt);
}

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

.problem-image img {
  border-radius: var(--radius-lg);
  width: 100%;
  height: 400px;
  object-fit: cover;
  object-position: center;
  box-shadow: var(--shadow-md);
}

.pain-list {
  list-style: none;
  margin-top: 32px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.pain-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.pain-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(201, 107, 48, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}

.pain-icon svg {
  width: 16px;
  height: 16px;
  stroke: var(--accent);
  fill: none;
}

.pain-text strong {
  display: block;
  font-weight: 600;
  font-size: 0.9375rem;
  color: var(--text);
  margin-bottom: 4px;
}

.pain-text span {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ===================== HOW IT WORKS ===================== */

.how-it-works {
  background: var(--bg);
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  counter-reset: step;
}

.step-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  position: relative;
  transition: box-shadow 0.2s;
}

.step-card:hover {
  box-shadow: var(--shadow-md);
}

.step-num {
  font-family: var(--font-serif);
  font-size: 3rem;
  font-weight: 700;
  color: var(--bg-alt);
  line-height: 1;
  margin-bottom: 20px;
  display: block;
}

.step-title {
  font-weight: 600;
  font-size: 1.0625rem;
  color: var(--primary);
  margin-bottom: 10px;
}

.step-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.7;
}

/* ===================== PROGRAM ===================== */

.program {
  background: var(--bg-alt);
}

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

.program-modules {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

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

.module-item:hover {
  border-color: var(--primary);
}

.module-week {
  background: var(--primary);
  color: var(--white);
  font-size: 0.75rem;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 4px;
  white-space: nowrap;
  flex-shrink: 0;
  margin-top: 2px;
}

.module-body strong {
  display: block;
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 4px;
}

.module-body span {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.program-image img {
  border-radius: var(--radius-lg);
  width: 100%;
  height: 480px;
  object-fit: cover;
  box-shadow: var(--shadow-md);
}

/* ===================== RESULTS ===================== */

.results {
  background: var(--primary);
  color: var(--white);
}

.results .section-title {
  color: var(--white);
}

.results .section-sub {
  color: rgba(255,255,255,0.7);
}

.results .section-tag {
  color: rgba(201, 107, 48, 0.9);
}

.results-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 48px;
}

.result-card {
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  transition: background 0.2s;
}

.result-card:hover {
  background: rgba(255,255,255,0.1);
}

.result-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: rgba(201, 107, 48, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.result-icon svg {
  width: 22px;
  height: 22px;
  stroke: #E5904A;
  fill: none;
}

.result-title {
  font-weight: 600;
  font-size: 1.0625rem;
  margin-bottom: 10px;
}

.result-desc {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.65);
  line-height: 1.7;
}

/* ===================== LEAD FORM ===================== */

.lead-form-section {
  background: var(--bg);
}

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

.lead-form-info .section-sub {
  margin-bottom: 32px;
}

.form-trust-items {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.trust-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
}

.form-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow);
}

.form-title {
  font-family: var(--font-serif);
  font-size: 1.375rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 8px;
}

.form-subtitle {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 28px;
}

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

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

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

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

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

.form-submit {
  width: 100%;
  background: var(--accent);
  color: var(--white);
  padding: 15px 24px;
  border-radius: var(--radius);
  font-size: 1rem;
  font-weight: 600;
  border: none;
  cursor: pointer;
  font-family: var(--font-sans);
  transition: background 0.2s, transform 0.15s;
  margin-top: 8px;
}

.form-submit:hover {
  background: var(--accent-hover);
  transform: translateY(-1px);
}

.form-note {
  font-size: 0.8rem;
  color: var(--text-light);
  margin-top: 14px;
  text-align: center;
  line-height: 1.5;
}

/* ===================== FAQ ===================== */

.faq {
  background: var(--bg-alt);
}

.faq-list {
  max-width: 720px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}

.faq-question {
  width: 100%;
  text-align: left;
  padding: 20px 24px;
  background: none;
  border: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--primary);
  font-family: var(--font-sans);
  gap: 16px;
}

.faq-question:hover {
  background: var(--bg);
}

.faq-icon {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--bg-alt);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background 0.2s, transform 0.25s;
}

.faq-icon svg {
  width: 12px;
  height: 12px;
  stroke: var(--primary);
  fill: none;
  transition: transform 0.25s;
}

.faq-item.open .faq-icon {
  background: var(--primary);
}

.faq-item.open .faq-icon svg {
  stroke: var(--white);
  transform: rotate(45deg);
}

.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.75;
  border-top: 1px solid var(--border);
  padding-top: 16px;
}

.faq-item.open .faq-answer {
  max-height: 400px;
}

/* ===================== FOOTER ===================== */

.site-footer {
  background: var(--primary);
  color: rgba(255,255,255,0.7);
  padding: 56px 0 32px;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  margin-bottom: 32px;
}

.footer-brand .logo {
  color: var(--white);
  font-size: 1.375rem;
  display: inline-block;
  margin-bottom: 16px;
}

.footer-brand p {
  font-size: 0.875rem;
  line-height: 1.7;
  max-width: 300px;
  color: rgba(255,255,255,0.6);
}

.footer-col h4 {
  color: var(--white);
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 18px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

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

.footer-links a {
  color: rgba(255,255,255,0.6);
  font-size: 0.9rem;
  text-decoration: none;
  transition: color 0.2s;
}

.footer-links a:hover {
  color: var(--white);
  text-decoration: none;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 24px;
  flex-wrap: wrap;
}

.footer-legal {
  font-size: 0.8125rem;
  color: rgba(255,255,255,0.45);
  line-height: 1.8;
}

.footer-legal strong {
  color: rgba(255,255,255,0.6);
}

/* ===================== COOKIE BANNER ===================== */

.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--white);
  border-top: 2px solid var(--border);
  z-index: 1000;
  padding: 20px 24px;
  box-shadow: 0 -4px 24px rgba(0,0,0,0.1);
  display: none;
}

.cookie-banner.visible {
  display: block;
}

.cookie-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}

.cookie-text {
  font-size: 0.875rem;
  color: var(--text-muted);
  flex: 1;
  min-width: 200px;
}

.cookie-text a {
  color: var(--primary);
  text-decoration: underline;
}

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

.cookie-accept {
  background: var(--primary);
  color: var(--white);
  padding: 9px 22px;
  border-radius: var(--radius);
  border: none;
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  font-family: var(--font-sans);
  transition: background 0.2s;
}

.cookie-accept:hover {
  background: var(--primary-light);
}

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

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

/* ===================== LEGAL PAGES ===================== */

.legal-page {
  min-height: 100vh;
  background: var(--bg);
}

.legal-header {
  background: var(--primary);
  padding: 48px 0;
  margin-bottom: 60px;
}

.legal-header h1 {
  font-family: var(--font-serif);
  font-size: 2rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: -0.02em;
}

.legal-header p {
  color: rgba(255,255,255,0.65);
  margin-top: 8px;
  font-size: 0.9375rem;
}

.legal-content {
  max-width: 760px;
  margin: 0 auto;
  padding: 0 24px 80px;
}

.legal-content h2 {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--primary);
  margin-top: 40px;
  margin-bottom: 14px;
}

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

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

.legal-content ul {
  margin: 12px 0 14px 24px;
}

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

.legal-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--primary);
  font-weight: 500;
  font-size: 0.9rem;
  margin-bottom: 36px;
}

.legal-back:hover {
  text-decoration: underline;
}

/* ===================== SUCCESS PAGE ===================== */

.success-page {
  min-height: 100vh;
  background: var(--bg);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 40px 24px;
  text-align: center;
}

.success-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 60px 48px;
  max-width: 520px;
  width: 100%;
  box-shadow: var(--shadow-md);
}

.success-icon {
  width: 72px;
  height: 72px;
  background: rgba(201, 107, 48, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 28px;
}

.success-icon svg {
  width: 36px;
  height: 36px;
  stroke: var(--accent);
  fill: none;
}

.success-title {
  font-family: var(--font-serif);
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 14px;
}

.success-text {
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 32px;
}

.success-back {
  display: inline-block;
  background: var(--primary);
  color: var(--white);
  padding: 12px 28px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.9375rem;
  text-decoration: none;
  transition: background 0.2s;
}

.success-back:hover {
  background: var(--primary-light);
  text-decoration: none;
}

/* ===================== SCROLL ANIMATIONS ===================== */

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

.reveal.visible {
  opacity: 1;
  transform: none;
}

/* ===================== RESPONSIVE ===================== */

@media (max-width: 900px) {
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .hero-image-wrap img {
    height: 300px;
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  }

  .hero-content {
    padding-bottom: 48px;
  }

  .problem-grid,
  .lead-form-wrap,
  .program-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .problem-image,
  .program-image {
    order: -1;
  }

  .problem-image img,
  .program-image img {
    height: 260px;
  }

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

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

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

  .hero-stats-inner {
    flex-wrap: wrap;
    gap: 8px;
  }

  .stat-item {
    padding: 16px 24px;
    flex: 1 1 140px;
    border-right: none;
    border-bottom: 1px solid var(--border);
  }
}

@media (max-width: 580px) {
  section {
    padding: 56px 0;
  }

  .hero {
    padding: 56px 0 0;
  }

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

  .footer-inner {
    grid-template-columns: 1fr;
    gap: 36px;
  }

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

  .hero-actions {
    flex-direction: column;
  }

  .btn-primary, .btn-ghost {
    text-align: center;
  }

  .cookie-inner {
    flex-direction: column;
    align-items: stretch;
  }

  .cookie-actions {
    justify-content: flex-end;
  }

  .success-card {
    padding: 40px 24px;
  }
}
