/* ─── Hero ─── */
.hero {
  min-height: 100vh;
  padding-top: calc(var(--nav-h) + 3rem);
  padding-bottom: 4rem;
  display: flex;
  align-items: center;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 3.5rem;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.4rem 0.9rem 0.4rem 0.45rem;
  border-radius: 999px;
  border: 1px solid var(--brand-100);
  background: var(--brand-50);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--brand-ink);
  margin-bottom: 1.5rem;
}

.hero-badge-pulse {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--emerald);
  box-shadow: 0 0 0 4px rgba(5, 150, 105, 0.12);
  animation: pulse-dot 2s ease infinite;
}

.hero h1 {
  font-size: clamp(2.5rem, 5.5vw, 3.85rem);
  font-weight: 800;
  line-height: 1.04;
  letter-spacing: -0.045em;
  color: var(--ink);
  margin-bottom: 1.35rem;
}

.hero-lead {
  font-size: 1.15rem;
  color: var(--muted);
  max-width: 33rem;
  margin-bottom: 2rem;
}

.hero-cta { display: flex; flex-wrap: wrap; gap: 0.85rem; margin-bottom: 2.5rem; }

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
}

.stat-item strong {
  display: block;
  font-size: 1.7rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--brand);
}

.stat-item span {
  font-size: 0.82rem;
  color: var(--muted);
}

/* Hero visual */
.hero-visual-wrap {
  min-width: 0;
  max-width: 100%;
}

.hero-visual {
  position: relative;
  overflow: hidden;
}

.hero-frame {
  position: relative;
  border-radius: 22px;
  border: 1px solid var(--line);
  background: var(--surface);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  transition: transform 0.6s var(--ease-out), box-shadow 0.6s;
}

.hero-visual:hover .hero-frame {
  transform: translateY(-4px);
  box-shadow: 0 36px 80px rgba(15, 23, 42, 0.18);
}

.hero-frame-glow { display: none; }

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

.float-card {
  position: absolute;
  padding: 0.75rem 1rem;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: var(--surface);
  box-shadow: var(--shadow-md);
  font-size: 0.8rem;
  min-width: 168px;
  animation: float-y 5s ease-in-out infinite;
}

.float-card--1 { top: 8%; right: -6%; animation-delay: 0s; }
.float-card--2 { bottom: 18%; left: -8%; animation-delay: -2s; }
.float-card--3 { bottom: 6%; right: 4%; animation-delay: -3.5s; }

.float-card .label {
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted-2);
  margin-bottom: 0.25rem;
}

.float-card .value { font-weight: 700; color: var(--ink); }
.float-card .value.up { color: var(--emerald); }
.float-card .value.down { color: var(--rose); }

/* ─── Bento features ─── */
.bento {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 1.15rem;
}

.bento-card {
  padding: 1.65rem;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
  position: relative;
  overflow: hidden;
  min-height: 200px;
  display: flex;
  flex-direction: column;
  transition: border-color 0.3s, transform 0.35s var(--ease-out), box-shadow 0.35s;
}

.bento-card:hover {
  border-color: var(--line-2);
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.bento-card img,
.bento-card .bento-illus {
  margin-top: 1.25rem;
}

.bento-illus {
  width: 100%;
  height: auto;
  border-radius: 12px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
}

.bento-card h3 {
  font-size: 1.08rem;
  font-weight: 700;
  color: var(--ink);
  margin: 0.9rem 0 0.45rem;
}

.bento-card p { font-size: 0.9rem; color: var(--muted); flex: 1; }

.bento-icon {
  width: 46px;
  height: 46px;
  border-radius: 13px;
  display: grid;
  place-items: center;
  background: var(--brand-50);
  color: var(--brand);
}

.bento-icon svg {
  width: 23px;
  height: 23px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.bento-span-4 { grid-column: span 4; }
.bento-span-6 { grid-column: span 6; }
.bento-span-8 { grid-column: span 8; }
.bento-span-12 { grid-column: span 12; }

.bento-wide {
  grid-column: span 8;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  align-items: center;
  min-height: 260px;
}

/* ─── Steps timeline ─── */
.timeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  position: relative;
}

.timeline::before {
  content: '';
  position: absolute;
  top: 28px;
  left: 12%;
  right: 12%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--brand-100) 15%, var(--brand-100) 85%, transparent);
}

.timeline-step {
  padding: 0 1rem;
  text-align: center;
  position: relative;
}

.timeline-num {
  width: 56px;
  height: 56px;
  margin: 0 auto 1.25rem;
  border-radius: 16px;
  background: var(--surface);
  border: 1px solid var(--line-2);
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 1.1rem;
  color: var(--brand);
  box-shadow: var(--shadow-sm);
  position: relative;
  z-index: 1;
}

.timeline-step h3 { font-size: 1rem; color: var(--ink); margin-bottom: 0.4rem; }
.timeline-step p { font-size: 0.86rem; color: var(--muted); }

/* ─── Modes / comparison ─── */
.modes-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  align-items: stretch;
}

.mode-card {
  padding: 2rem 1.65rem;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
  position: relative;
  transition: transform 0.35s var(--ease-out), box-shadow 0.35s, border-color 0.3s;
}

.mode-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }

.mode-card.featured {
  border-color: var(--brand);
  background:
    linear-gradient(180deg, var(--brand-50), var(--surface) 60%);
  box-shadow: var(--shadow-lg);
}

.mode-card .tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted-2);
  margin-bottom: 0.65rem;
}

.mode-card.featured .tag { color: var(--brand); }

.mode-card h3 { font-size: 1.3rem; color: var(--ink); margin-bottom: 0.5rem; letter-spacing: -0.02em; }
.mode-card > p { color: var(--muted); font-size: 0.92rem; margin-bottom: 1.25rem; }

.mode-card ul { list-style: none; font-size: 0.9rem; color: var(--text); }

.mode-card li {
  padding: 0.4rem 0 0.4rem 1.6rem;
  position: relative;
}

.mode-card li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.75rem;
  width: 14px;
  height: 8px;
  border-left: 2px solid var(--emerald);
  border-bottom: 2px solid var(--emerald);
  transform: rotate(-45deg);
}

.mode-card:not(.featured) li::before {
  border-color: var(--muted-2);
}

/* ─── Showcase split ─── */
.showcase {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.showcase-visual {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-lg);
  background: var(--surface);
}

.showcase-visual img { width: 100%; display: block; }

.showcase .section-title { margin-top: 0; }

.showcase-list { list-style: none; margin-top: 1.5rem; }

.showcase-list li {
  display: flex;
  gap: 1rem;
  padding: 1rem 0;
  border-bottom: 1px solid var(--line);
  font-size: 0.95rem;
  color: var(--muted);
}

.showcase-list li strong { display: block; color: var(--ink); margin-bottom: 0.2rem; }

.showcase-check {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: var(--emerald-50);
  color: var(--emerald);
  display: grid;
  place-items: center;
  flex-shrink: 0;
  font-size: 0.85rem;
  font-weight: 700;
}

/* ─── Pricing ─── */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  align-items: stretch;
}

.price-card {
  padding: 2rem 1.75rem;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  position: relative;
  transition: transform 0.35s var(--ease-out), box-shadow 0.35s;
}

.price-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }

.price-card.popular {
  border-color: var(--brand);
  box-shadow: var(--shadow-lg);
  transform: scale(1.03);
  z-index: 1;
}

.price-card.popular:hover { transform: scale(1.03) translateY(-4px); }

.price-popular-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  padding: 0.32rem 0.9rem;
  border-radius: 999px;
  background: var(--brand);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  box-shadow: var(--shadow-brand);
}

.price-card h3 { font-size: 1.05rem; color: var(--muted); font-weight: 600; margin-bottom: 0.25rem; }

.price-amount {
  font-size: 2.4rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  color: var(--ink);
  margin: 0.6rem 0 0.25rem;
}

.price-amount span { font-size: 0.95rem; font-weight: 500; color: var(--muted); }

.price-desc { color: var(--muted); font-size: 0.9rem; margin-bottom: 1.5rem; flex: 0 0 auto; min-height: 2.6em; }

.price-features { list-style: none; margin-bottom: 1.75rem; font-size: 0.9rem; color: var(--text); flex: 1; }

.price-features li {
  padding: 0.45rem 0 0.45rem 1.7rem;
  position: relative;
}

.price-features li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.8rem;
  width: 13px;
  height: 7px;
  border-left: 2px solid var(--emerald);
  border-bottom: 2px solid var(--emerald);
  transform: rotate(-45deg);
}

/* ─── Results / before-after ─── */
.results-compare {
  margin-bottom: 2.5rem;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-md);
  background: var(--surface);
}

.results-compare img { display: block; width: 100%; height: auto; }

.results-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.result-card {
  padding: 0.75rem 0.75rem 1.35rem;
  border-radius: 18px;
  border: 1px solid var(--line);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
  transition: border-color 0.25s, transform 0.25s, box-shadow 0.25s;
}

.result-card:hover {
  border-color: var(--line-2);
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.result-card img {
  width: 100%;
  height: auto;
  margin-bottom: 1rem;
  border-radius: 12px;
}

.result-card h3 { font-size: 1.05rem; color: var(--ink); margin-bottom: 0.35rem; padding-inline: 0.6rem; }
.result-card p { font-size: 0.88rem; color: var(--muted); line-height: 1.5; padding-inline: 0.6rem; }
.result-card strong { color: var(--emerald); }

.honest-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 1.1rem;
  padding: 0.45rem 0.95rem;
  border-radius: 999px;
  border: 1px solid var(--amber-50);
  background: var(--amber-50);
  color: var(--amber);
  font-size: 0.8rem;
  font-weight: 600;
}

.honest-badge::before {
  content: '';
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--amber);
}

/* ─── Download card ─── */
.download-card {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 1.5rem 2rem;
  align-items: center;
  padding: 2rem 2.25rem;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
}

.download-card-icon {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  background: var(--brand-50);
  color: var(--brand);
  flex-shrink: 0;
}

.download-card-title {
  font-size: clamp(1.25rem, 2.5vw, 1.55rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--ink);
  margin-bottom: 0.45rem;
}

.download-card-desc {
  color: var(--muted);
  font-size: 0.98rem;
  line-height: 1.6;
  max-width: 52ch;
}

.download-card-action {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.55rem;
  flex-shrink: 0;
}

.download-card-meta {
  font-size: 0.78rem;
  color: var(--muted-2);
}

@media (max-width: 900px) {
  .download-card {
    grid-template-columns: 1fr;
    text-align: center;
    padding: 1.75rem 1.35rem;
  }

  .download-card-icon {
    margin-inline: auto;
  }

  .download-card-desc {
    max-width: none;
  }

  .download-card-action {
    width: 100%;
  }

  .download-card-action .btn {
    width: 100%;
  }
}

/* ─── CTA ─── */
.cta-section { padding: 2rem 0 6rem; }

.cta-box {
  position: relative;
  padding: 4rem 2rem;
  border-radius: 28px;
  text-align: center;
  overflow: hidden;
  background: var(--gradient-cta);
  box-shadow: var(--shadow-lg);
}

.cta-box-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(600px 300px at 80% -10%, rgba(255, 255, 255, 0.18), transparent 60%),
    radial-gradient(500px 260px at 10% 120%, rgba(255, 255, 255, 0.12), transparent 60%);
}

.cta-box > *:not(.cta-box-bg) { position: relative; z-index: 1; }

.cta-box h2 {
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #fff;
  margin-bottom: 0.85rem;
}

.cta-box h2 .text-gradient {
  background: linear-gradient(90deg, #f5c99a, #fff);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.cta-box p {
  color: rgba(255, 255, 255, 0.85);
  max-width: 500px;
  margin: 0 auto 1.75rem;
  font-size: 1.05rem;
}

.cta-actions { display: flex; flex-wrap: wrap; gap: 0.85rem; justify-content: center; }

.cta-contacts-extra {
  margin-top: 1.25rem;
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.75);
  text-align: center;
}

.cta-contacts-extra a {
  color: #fff;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.cta-contacts-extra a:hover { opacity: 0.9; }

.cta-box .btn-primary {
  background: #fff;
  color: var(--ink);
  border-color: transparent;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.2);
}

.cta-box .btn-primary:hover {
  background: #faf8f5;
  transform: translateY(-2px);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.24);
}

.cta-box .btn-outline {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.4);
  color: #fff;
  box-shadow: none;
}

.cta-box .btn-outline:hover {
  background: rgba(255, 255, 255, 0.16);
  border-color: #fff;
  color: #fff;
}

@media (max-width: 1024px) {
  .hero-grid,
  .showcase,
  .bento-wide { grid-template-columns: 1fr; }

  .float-card { display: none; }

  .bento-span-4,
  .bento-span-6,
  .bento-span-8,
  .bento-span-12,
  .bento-wide { grid-column: span 12; }

  .timeline { grid-template-columns: 1fr; gap: 2rem; }
  .timeline::before { display: none; }

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

  .price-card.popular { transform: none; }
  .price-card.popular:hover { transform: translateY(-4px); }
}
