/* ============================================================
   PAGE: index (Louvre teaser landing)
   Section composition: hero, problem, why, ba, reviews, stats, final-cta.
   Atomic components (.btn, .pill, .card) live in components.css.
   ============================================================ */

/* ----- HERO -------------------------------------------------- */
.hero {
  position: relative;
  min-height: 720px;
  background: #2a2a2a url('../../img/hero/woman-louvre.png') center/cover no-repeat;
  color: var(--white);
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.3) 50%, rgba(0,0,0,0) 80%);
  z-index: 1;
}
.hero-inner {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  min-height: 720px;
  padding: 140px 0 80px;
}
.hero-content { max-width: 620px; }

.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--blue);
  color: var(--white);
  padding: 8px 18px;
  border-radius: var(--radius-pill);
  font-size: var(--text-sm);
  font-weight: 600;
  margin-bottom: 28px;
}
.hero-pill::before {
  content: '';
  width: 7px; height: 7px;
  background: var(--white);
  border-radius: 50%;
}

.hero-title {
  font-family: var(--font-head);
  font-size: clamp(40px, 5.4vw, 72px);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -2px;
  margin-bottom: 24px;
}
.hero-title .accent { color: var(--blue-bright); }

.hero-sub {
  font-size: var(--text-lg);
  line-height: 1.55;
  color: rgba(255,255,255,0.92);
  max-width: 480px;
  margin-bottom: 36px;
}

.hero-cta-row {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

/* ----- PROBLEM ---------------------------------------------- */
.problem {
  padding: clamp(80px, 10vw, 120px) 0;
  background: var(--bg-soft);
}
.problem-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 64px;
}
.problem-header h2 {
  font-family: var(--font-head);
  font-size: clamp(28px, 3.6vw, 40px);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.8px;
  color: var(--ink);
}
.problem-header h2 .accent { color: var(--blue); }

.problem-grid { max-width: 1100px; margin: 0 auto; }
.problem-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.problem-tag {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 6px;
}
.problem-x {
  width: 18px; height: 18px;
  flex-shrink: 0;
  background: var(--red-soft);
  color: var(--red);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 11px;
  font-weight: 700;
}
.problem-tag-title {
  font-family: var(--font-head);
  font-size: var(--text-md);
  font-weight: 800;
  color: var(--ink);
  letter-spacing: -0.3px;
}
.problem-sub {
  font-size: var(--text-sm);
  color: var(--muted);
  line-height: 1.4;
}

/* ----- WHY -------------------------------------------------- */
.why {
  padding: clamp(80px, 10vw, 120px) 0;
  background: var(--bg);
}
.why-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 64px;
}
.why-header h2 {
  font-family: var(--font-head);
  font-size: clamp(30px, 3.8vw, 44px);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -1px;
  color: var(--ink);
}
.why-header h2 .accent { color: var(--blue); display: block; }

.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.why-tag {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 6px;
}
.why-check {
  width: 18px; height: 18px;
  flex-shrink: 0;
  background: var(--green-soft);
  color: var(--green);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
}
.why-check svg { width: 11px; height: 11px; fill: currentColor; }

.why-tag-title {
  font-family: var(--font-head);
  font-size: var(--text-md);
  font-weight: 800;
  color: var(--ink);
  letter-spacing: -0.3px;
}
.why-sub {
  font-size: var(--text-sm);
  color: var(--muted);
  line-height: 1.4;
}

/* ----- BEFORE/AFTER ----------------------------------------- */
.ba {
  padding: clamp(80px, 10vw, 120px) 0;
  background: var(--bg-soft);
}
.ba-header { text-align: center; margin-bottom: 56px; }
.ba-title {
  font-family: var(--font-head);
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -1px;
  color: var(--ink);
  margin-top: 22px;
}
.ba-title .accent { color: var(--blue); }

.ba-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  max-width: 1100px;
  margin: 0 auto 36px;
}

.ba-head {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 18px 24px;
  background: rgba(0,0,0,0.025);
}
.card-soft .ba-head { background: rgba(26, 115, 232, 0.06); }

.ba-head-icon {
  width: 28px; height: 28px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.ba-head-icon-without { background: var(--red); color: var(--white); }
.ba-head-icon-with    { background: var(--blue); color: var(--white); }
.ba-head-icon svg { width: 14px; height: 14px; fill: currentColor; }

.ba-head-label {
  font-family: var(--font-head);
  font-size: var(--text-lg);
  font-weight: 800;
  color: var(--ink);
  letter-spacing: -0.3px;
}

.ba-rows {
  padding: 8px 24px 24px;
  display: flex;
  flex-direction: column;
}
.ba-row {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 18px 0;
  border-bottom: 1px solid var(--border);
}
.card-soft .ba-row { border-color: var(--border-tinted); }
.ba-row:last-child { border-bottom: none; }

.ba-row-icon {
  width: 36px; height: 36px;
  border-radius: 50%;
  flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
}
.ba-row-icon-without { background: var(--red-soft); color: var(--red); }
.ba-row-icon-with    { background: var(--blue-soft); color: var(--blue); }
.ba-row-icon svg { width: 18px; height: 18px; fill: currentColor; }

.ba-row-title {
  font-family: var(--font-head);
  font-size: var(--text-md);
  font-weight: 800;
  color: var(--ink);
  letter-spacing: -0.2px;
  margin-bottom: 4px;
}
.ba-row-desc {
  font-size: var(--text-base);
  color: var(--slate);
  line-height: 1.5;
}

.ba-cta {
  background: var(--bg-tinted);
  border: 1px solid var(--border-tinted);
  border-radius: var(--radius-lg);
  padding: 24px 32px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  align-items: center;
  max-width: 1100px;
  margin: 0 auto;
}
.ba-cta-text { display: flex; align-items: center; gap: 16px; }
.ba-cta-icon {
  width: 48px; height: 48px;
  border-radius: 50%;
  background: var(--blue-soft);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.ba-cta-icon svg { width: 22px; height: 22px; fill: var(--blue); }
.ba-cta-title {
  font-family: var(--font-head);
  font-size: 16px;
  font-weight: 800;
  color: var(--ink);
  letter-spacing: -0.3px;
}
.ba-cta-sub {
  font-size: var(--text-base);
  color: var(--slate);
  margin-top: 2px;
}
.ba-cta-action {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 6px;
}
.ba-cta-fineprint {
  font-size: var(--text-xs);
  color: var(--slate);
}

/* ----- REVIEWS ---------------------------------------------- */
.reviews {
  padding: clamp(72px, 9vw, 100px) 0 clamp(40px, 6vw, 64px);
  background: var(--bg);
}
.reviews-bar {
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 40px;
  display: grid;
  grid-template-columns: auto 1fr 1fr 1fr;
  gap: 36px;
  align-items: center;
}
.rating-block {
  padding-right: 36px;
  border-right: 1px solid var(--border);
  text-align: center;
}
.rating-num {
  font-family: var(--font-head);
  font-size: var(--text-3xl);
  font-weight: 800;
  color: var(--ink);
  line-height: 1;
  margin-bottom: 4px;
}
.rating-stars {
  display: flex;
  gap: 2px;
  justify-content: center;
  margin-bottom: 6px;
}
.rating-stars svg { width: 14px; height: 14px; fill: var(--amber); }
.rating-from {
  font-size: var(--text-xs);
  color: var(--muted);
}

.review-item { display: flex; align-items: center; gap: 14px; }
.review-avatar {
  width: 50px; height: 50px;
  border-radius: 50%;
  flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-head);
  font-size: 18px;
  font-weight: 800;
  color: var(--white);
  letter-spacing: -0.5px;
}
.review-avatar.av-j { background: linear-gradient(135deg, #1a73e8 0%, #4285f4 100%); }
.review-avatar.av-m { background: linear-gradient(135deg, #34a853 0%, #4caf50 100%); }
.review-avatar.av-s { background: linear-gradient(135deg, #ea4335 0%, #fb6c5c 100%); }

.review-quote {
  font-family: var(--font-head);
  font-size: var(--text-base);
  font-weight: 600;
  color: var(--ink);
  line-height: 1.4;
  margin-bottom: 4px;
  letter-spacing: -0.1px;
}
.review-author {
  font-size: var(--text-xs);
  color: var(--muted);
  font-weight: 500;
}

/* ----- STATS ------------------------------------------------- */
.stats {
  padding: 24px 0 clamp(48px, 7vw, 72px);
  background: var(--bg);
}
.stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  padding: 8px 0;
}
.stat-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 0 8px;
}
.stat-icon {
  width: 44px; height: 44px;
  background: var(--blue-soft);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.stat-icon svg { width: 22px; height: 22px; fill: var(--blue); }
.stat-num {
  font-family: var(--font-head);
  font-size: var(--text-xl);
  font-weight: 800;
  color: var(--ink);
  line-height: 1;
  margin-bottom: 5px;
  letter-spacing: -0.4px;
}
.stat-label {
  font-size: var(--text-sm);
  color: var(--muted);
  font-weight: 500;
  line-height: 1.35;
}

/* ----- FINAL CTA -------------------------------------------- */
.final-cta {
  position: relative;
  margin: 0 auto;
  max-width: 1200px;
  padding: 0 32px;
}
.final-cta-inner {
  position: relative;
  background: linear-gradient(135deg, #cee0fb 0%, #b9d2f9 100%);
  border-radius: var(--radius-lg);
  padding: 56px 64px;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 40px;
  align-items: center;
}
@media (prefers-color-scheme: dark) {
  .final-cta-inner {
    background: linear-gradient(135deg, #1f3563 0%, #2a4373 100%);
  }
}
.final-cta-inner::after {
  content: '';
  position: absolute;
  right: 0; top: 0; bottom: 0;
  width: 65%;
  background: url('../../img/cta/pyramid.png') right center / cover no-repeat;
  opacity: 0.9;
  z-index: 0;
  pointer-events: none;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, rgba(0,0,0,0.4) 18%, rgba(0,0,0,0.85) 38%, #000 60%);
  mask-image: linear-gradient(90deg, transparent 0%, rgba(0,0,0,0.4) 18%, rgba(0,0,0,0.85) 38%, #000 60%);
}
.final-cta-text { position: relative; z-index: 1; }
.final-cta h2 {
  font-family: var(--font-head);
  font-size: clamp(28px, 3.4vw, 40px);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -1px;
  color: var(--ink);
  margin-bottom: 16px;
}
.final-cta h2 .accent { color: var(--blue); }
.final-cta p {
  font-size: var(--text-md);
  color: var(--slate);
  font-weight: 500;
}
.final-cta-action {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
}
.final-cta-fineprint {
  font-size: var(--text-sm);
  color: var(--slate);
  font-weight: 500;
}

/* ----- Responsive ------------------------------------------- */
@media (max-width: 1024px) {
  .hero { min-height: 620px; }
  .hero-inner { min-height: 620px; padding: 110px 0 60px; }
  .hero::before {
    background: linear-gradient(180deg, rgba(0,0,0,0.55) 0%, rgba(0,0,0,0.35) 60%, rgba(0,0,0,0.55) 100%);
  }
  .problem-grid { grid-template-columns: 1fr; gap: 28px; }
  .why-grid { grid-template-columns: 1fr; gap: 32px; }
  .reviews-bar { grid-template-columns: 1fr; padding: 28px; }
  .rating-block {
    padding-right: 0;
    padding-bottom: 24px;
    border-right: none;
    border-bottom: 1px solid var(--border);
  }
  .stats-row { grid-template-columns: repeat(2, 1fr); padding: 24px 0; }
  .final-cta-inner { grid-template-columns: 1fr; padding: 40px 32px; }
  .final-cta-inner::after { opacity: 0.25; width: 100%; }
  .final-cta-action { align-items: flex-start; }
  .ba-grid { grid-template-columns: 1fr; }
  .ba-cta { grid-template-columns: 1fr; padding: 24px; }
  .ba-cta-action { align-items: flex-start; }
}

@media (max-width: 640px) {
  .hero-title { font-size: clamp(34px, 9vw, 48px); }
  .problem-cards { grid-template-columns: 1fr; }
  .stats-row { grid-template-columns: 1fr; }
  .final-cta { padding: 0 18px; }
  .final-cta-inner { padding: 36px 24px; }
  .ba-head { padding: 16px 20px; }
  .ba-rows { padding: 4px 20px 20px; }
  .ba-cta { padding: 22px 20px; }
  .ba-cta-text { flex-direction: row; align-items: flex-start; }
}
