/* ===== Палитра по логотипу: фуксия #FF007F, сиреневый #E0BBE4, голубой #00BFFF ===== */
:root {
  --color-bg: #ffffff;
  --color-surface: #ffffff;
  --color-fuchsia: #FF007F;
  --color-lilac: #E0BBE4;
  --color-cyan: #00BFFF;
  --color-cyan-dark: #0099cc;
  --gradient-brand: linear-gradient(135deg, #FF007F 0%, #E0BBE4 100%);
  --gradient-soft: linear-gradient(135deg, rgba(255, 0, 127, 0.06) 0%, rgba(224, 187, 228, 0.12) 100%);
  --color-text: #1a1a1a;
  --color-text-muted: #555;
  --color-border: #eee;
  --font-heading: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-body: 'Open Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --transition: 0.25s ease;
  --radius: 12px;
  --radius-lg: 20px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }

/* Плавное появление секций при скролле */
.section-reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}
.section-reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  color: var(--color-text);
  background: var(--color-bg);
  position: relative;
  min-height: 100vh;
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: -1;
  background: #f8f9fa;
  pointer-events: none;
}

.container {
  width: 100%;
  max-width: 960px;
  margin: 0 auto;
  padding: 0 24px;
}

section[id] {
  scroll-margin-top: 80px;
}

/* ===== Header — как у Homebro ===== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.98);
  border-bottom: 1px solid var(--color-border);
}

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

.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--color-text);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.3rem;
  transition: opacity var(--transition), transform var(--transition);
}
.logo:hover { opacity: 0.85; transform: scale(1.02); }
.logo:focus-visible { outline: 2px solid var(--color-fuchsia); outline-offset: 2px; }

.logo-img {
  width: 40px;
  height: 40px;
  object-fit: contain;
  border-radius: 8px;
}

.nav {
  display: flex;
  align-items: center;
  gap: 24px;
}

.nav a {
  color: var(--color-text-muted);
  text-decoration: none;
  font-size: 0.95rem;
  transition: color var(--transition);
}

.nav a:hover { color: var(--color-fuchsia); }
.nav a:focus-visible { outline: 2px solid var(--color-fuchsia); outline-offset: 2px; border-radius: 4px; }

.nav-cta {
  color: var(--color-fuchsia) !important;
  font-weight: 600;
  padding: 8px 16px;
  border: 2px solid var(--color-fuchsia);
  border-radius: var(--radius);
  transition: background var(--transition), color var(--transition), transform var(--transition);
}

.nav-cta:hover {
  background: var(--color-fuchsia);
  color: white !important;
  transform: translateY(-1px);
}
.nav-cta:active { transform: translateY(0); }
.nav-cta:focus-visible { outline: 2px solid var(--color-cyan); outline-offset: 2px; }

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  background: none;
  border: none;
  cursor: pointer;
  transition: transform var(--transition);
}
.menu-toggle:hover { transform: scale(1.05); }
.menu-toggle:focus-visible { outline: 2px solid var(--color-fuchsia); outline-offset: 2px; }

.menu-toggle span {
  width: 22px;
  height: 2px;
  background: var(--color-text);
  border-radius: 1px;
  transition: transform var(--transition);
}

/* ===== Hero — плотно, без лишнего белого ===== */
.hero {
  position: relative;
  padding: 80px 0 24px;
  overflow: hidden;
  display: flex;
  align-items: center;
}

.hero .container.hero-inner {
  max-width: none;
  width: 100%;
  padding-left: 20px;
  padding-right: 20px;
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 0;
  align-items: center;
  max-width: 100%;
  margin: 0 auto;
  text-align: left;
}

.hero-content {
  min-width: 0;
  margin-left: clamp(80px, 18vw, 280px);
}

.hero-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  overflow: hidden;
}

.hero-visual-crop {
  width: 100%;
  height: min(520px, 72vh);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-visual-img {
  width: 165%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 28%;
  transition: transform var(--transition);
}
.hero-visual-img:hover {
  transform: scale(1.02);
}

.hero-title {
  margin: 0 0 4px;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: clamp(1.5rem, 3.5vw, 2.25rem);
  line-height: 1.25;
  color: var(--color-text);
  max-width: 14em;
}

.hero-subtitle {
  margin: 0 0 12px;
  font-size: clamp(1rem, 1.8vw, 1.1rem);
  color: var(--color-text-muted);
  font-weight: 500;
}

.hero-cta {
  display: flex;
  flex-wrap: nowrap;
  gap: 8px;
  margin-bottom: 12px;
}

.btn-hero {
  display: inline-block;
  padding: 14px 28px;
  background: var(--color-fuchsia);
  color: white !important;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  border-radius: var(--radius);
  border: none;
  cursor: pointer;
  white-space: nowrap;
  transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
}

.btn-hero:hover {
  background: #e60070;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 0, 127, 0.35);
}
.btn-hero:active { transform: translateY(0); box-shadow: none; }
.btn-hero:focus-visible { outline: 2px solid var(--color-cyan); outline-offset: 3px; }

.btn-hero-outline {
  display: inline-block;
  padding: 12px 26px;
  background: transparent;
  color: var(--color-fuchsia);
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  border-radius: var(--radius);
  border: 2px solid var(--color-fuchsia);
  cursor: pointer;
  white-space: nowrap;
  transition: background var(--transition), color var(--transition), transform var(--transition);
}
.btn-hero-outline:hover {
  background: rgba(255, 0, 127, 0.08);
  transform: translateY(-2px);
}
.btn-hero-outline.btn-vk {
  color: #0077FF;
  border-color: #0077FF;
}
.btn-hero-outline.btn-vk:hover {
  background: rgba(0, 119, 255, 0.08);
}
.btn-hero-outline:focus-visible { outline: 2px solid var(--color-cyan); outline-offset: 3px; }

.hero-lead {
  margin: 0;
  font-size: 0.95rem;
  color: var(--color-text-muted);
  line-height: 1.5;
  max-width: 420px;
}

/* ===== Для кого ===== */
.for-who-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 32px;
}

.for-who-item {
  text-align: center;
  padding: 24px 16px;
  border-radius: var(--radius);
  transition: transform var(--transition);
}
.for-who-item:hover { transform: translateY(-2px); }

.for-who-icon {
  display: block;
  font-size: 3rem;
  margin-bottom: 12px;
  line-height: 1;
}

.for-who-label {
  margin: 0;
  font-size: 1rem;
  color: var(--color-text-muted);
  font-weight: 500;
}

/* ===== Преимущества — 3 карточки ===== */
.benefits {
  position: relative;
  padding: 64px 0;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.6);
}

.benefits .container {
  position: relative;
  z-index: 1;
}

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

.benefit-card {
  padding: 28px 24px;
  background: white;
  border-radius: var(--radius);
  border: 1px solid var(--color-border);
  position: relative;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
  cursor: default;
}
.benefit-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.08);
  border-color: rgba(255, 0, 127, 0.2);
}
.benefit-card:focus-within { border-color: var(--color-fuchsia); box-shadow: 0 0 0 2px rgba(255, 0, 127, 0.15); }

.benefit-icon {
  display: block;
  font-size: 2rem;
  margin-bottom: 12px;
  line-height: 1;
  transition: transform var(--transition);
}
.benefit-card:hover .benefit-icon { transform: scale(1.1); }

.benefit-title {
  margin: 0 0 12px;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--color-text);
}

.benefit-text {
  margin: 0;
  font-size: 0.95rem;
  color: var(--color-text-muted);
  line-height: 1.6;
}

/* ===== Экономь время + источники ===== */
.save-time {
  position: relative;
  padding: 64px 0;
  text-align: center;
  overflow: hidden;
}

.save-time-decor {
  position: absolute;
  right: 8%;
  top: 50%;
  transform: translateY(-50%);
  font-size: 3.5rem;
  opacity: 0.1;
  pointer-events: none;
}

.stats-strip {
  padding: 32px 0;
  background: var(--gradient-soft);
  border-top: 1px solid rgba(255, 0, 127, 0.08);
  border-bottom: 1px solid rgba(255, 0, 127, 0.08);
}

.stats-strip-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 32px 48px;
}

.stat-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1rem;
  color: var(--color-text);
  padding: 8px 16px;
  border-radius: var(--radius);
  transition: background var(--transition), transform var(--transition);
}
.stat-item:hover {
  background: rgba(255, 255, 255, 0.6);
  transform: scale(1.02);
}

.stat-icon {
  font-size: 1.5rem;
  flex-shrink: 0;
}

.stat-text strong {
  color: var(--color-fuchsia);
  font-weight: 600;
}

.save-time-title {
  margin: 0 0 24px;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: clamp(1.5rem, 3vw, 1.9rem);
  color: var(--color-text);
}

.save-time .btn-primary {
  margin-bottom: 28px;
}

.save-time-desc {
  margin: 0 0 16px;
  font-size: 0.95rem;
  color: var(--color-text-muted);
}

.sources-inline {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 20px;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 0.9rem;
  color: var(--color-text-muted);
}

/* ===== Кнопка основная ===== */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  background: var(--color-fuchsia);
  color: white !important;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  border-radius: var(--radius);
  border: none;
  cursor: pointer;
  transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
}

.btn-primary:hover {
  background: #e60070;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 0, 127, 0.3);
}
.btn-primary:active { transform: translateY(0); }
.btn-primary:focus-visible { outline: 2px solid var(--color-cyan); outline-offset: 3px; }

/* ===== Диалог «Алгоритм прост» ===== */
.dialogue {
  position: relative;
  padding: 64px 0;
  background: var(--gradient-soft);
  overflow: hidden;
}

.dialogue-decor {
  position: absolute;
  font-size: 2.8rem;
  opacity: 0.08;
  pointer-events: none;
}

.dialogue-decor--l {
  top: 30%;
  left: 2%;
}

.dialogue-decor--r {
  bottom: 25%;
  right: 3%;
}

.dialogue .container {
  position: relative;
  z-index: 1;
}

.dialogue-title {
  margin: 0 0 20px;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: clamp(1.5rem, 3vw, 1.85rem);
  color: var(--color-text);
  text-align: center;
}

.dialogue-cta {
  display: block;
  width: fit-content;
  margin: 0 auto 40px;
}

.chat-flow {
  max-width: 520px;
  margin: 0 auto;
}

.chat-bubble {
  max-width: 85%;
  padding: 14px 18px;
  margin-bottom: 12px;
  border-radius: 18px;
  font-size: 0.98rem;
  line-height: 1.5;
  transition: transform var(--transition), box-shadow var(--transition);
}
.chat-bubble:hover {
  transform: scale(1.02);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
}

.chat-bot {
  margin-right: auto;
  margin-left: 0;
  background: white;
  border: 1px solid var(--color-border);
  border-bottom-left-radius: 4px;
  color: var(--color-text);
}

.chat-user {
  margin-left: auto;
  margin-right: 0;
  background: var(--color-cyan);
  color: white;
  border-bottom-right-radius: 4px;
}

/* ===== Источники ===== */
.sources {
  position: relative;
  padding: 64px 0;
  overflow: hidden;
}

.sources-decor {
  position: absolute;
  font-size: 3rem;
  opacity: 0.1;
  pointer-events: none;
}

.sources-decor--1 {
  top: 20%;
  left: 3%;
}

.sources-decor--2 {
  bottom: 20%;
  right: 5%;
}

.sources .container {
  position: relative;
  z-index: 1;
}

.section-title {
  margin: 0 0 8px;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: clamp(1.5rem, 3vw, 1.85rem);
  color: var(--color-text);
  text-align: center;
}

.section-title .title-icon {
  display: inline-block;
  margin-right: 0.25em;
  font-size: 0.9em;
  vertical-align: -0.12em;
  opacity: 0.85;
}

.section-lead {
  max-width: 560px;
  margin: 0 auto 32px;
  font-size: 1rem;
  color: var(--color-text-muted);
  text-align: center;
  line-height: 1.6;
}

.sources-tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}

.sources-tags span {
  padding: 8px 16px;
  background: white;
  border: 1px solid var(--color-border);
  border-radius: 100px;
  font-size: 0.9rem;
  color: var(--color-text-muted);
  transition: background var(--transition), border-color var(--transition), color var(--transition), transform var(--transition);
}
.sources-tags span:hover {
  background: var(--gradient-soft);
  border-color: rgba(255, 0, 127, 0.2);
  color: var(--color-text);
  transform: translateY(-2px);
}

/* ===== FAQ ===== */
.faq {
  position: relative;
  padding: 64px 0;
  background: rgba(255, 255, 255, 0.55);
  overflow: hidden;
}

.faq-decor {
  position: absolute;
  bottom: 15%;
  left: 4%;
  font-size: 3.5rem;
  opacity: 0.08;
  pointer-events: none;
}

.faq-lead {
  text-align: center;
  margin: 0 0 32px;
  color: var(--color-text-muted);
}

.faq-lead a {
  color: var(--color-fuchsia);
  font-weight: 600;
  text-decoration: none;
}

.faq-lead a:hover { text-decoration: underline; }

.faq-list {
  max-width: 640px;
  margin: 0 auto 36px;
}

.faq-item {
  margin-bottom: 12px;
  padding: 16px 20px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  background: white;
  transition: border-color var(--transition), box-shadow var(--transition), background var(--transition);
}
.faq-item:hover {
  border-color: rgba(255, 0, 127, 0.2);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
}
.faq-item[open] {
  border-color: rgba(255, 0, 127, 0.25);
  box-shadow: 0 4px 16px rgba(255, 0, 127, 0.06);
}

.faq-item-summary {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--color-text);
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  list-style: none;
  user-select: none;
  transition: color var(--transition);
}
.faq-item-summary::-webkit-details-marker { display: none; }
.faq-item-summary::after {
  content: '+';
  margin-left: auto;
  font-size: 1.2rem;
  color: var(--color-fuchsia);
  transition: transform var(--transition);
}
.faq-item[open] .faq-item-summary::after { transform: rotate(45deg); }
.faq-item-summary:hover { color: var(--color-fuchsia); }
.faq-item-summary:focus-visible { outline: 2px solid var(--color-fuchsia); outline-offset: 2px; border-radius: 4px; }

.faq-item-icon {
  font-size: 1.1rem;
  opacity: 0.8;
  flex-shrink: 0;
}

.faq-item p {
  margin: 12px 0 0;
  padding-top: 12px;
  border-top: 1px solid var(--color-border);
  font-size: 0.95rem;
  color: var(--color-text-muted);
  line-height: 1.6;
}

.faq .btn-primary {
  display: block;
  width: fit-content;
  margin: 0 auto;
}

/* ===== Footer ===== */
.footer {
  position: relative;
  padding: 32px 0;
  border-top: 1px solid var(--color-border);
  overflow: hidden;
}

.footer-pattern {
  position: absolute;
  inset: 0;
  background-image:
    repeating-linear-gradient(0deg, transparent, transparent 24px, rgba(224, 187, 228, 0.06) 24px, rgba(224, 187, 228, 0.06) 25px),
    repeating-linear-gradient(90deg, transparent, transparent 24px, rgba(224, 187, 228, 0.06) 24px, rgba(224, 187, 228, 0.06) 25px);
  pointer-events: none;
}

.footer .container {
  position: relative;
  z-index: 1;
}

.footer-text {
  margin: 0;
  font-size: 0.9rem;
  color: var(--color-text-muted);
  text-align: center;
}

.footer-text a {
  color: var(--color-fuchsia);
  text-decoration: none;
  font-weight: 500;
  transition: opacity var(--transition);
}
.footer-text a:hover { text-decoration: underline; opacity: 0.9; }
.footer-text a:focus-visible { outline: 2px solid var(--color-fuchsia); outline-offset: 2px; border-radius: 4px; }

/* ===== Mobile ===== */
@media (max-width: 900px) {
  .benefits-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .nav {
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    z-index: 100;
    flex-direction: column;
    gap: 0;
    padding: 20px;
    background: white;
    border-bottom: 1px solid var(--color-border);
    transform: translateY(-100%);
    opacity: 0;
    visibility: hidden;
    transition: transform 0.25s, opacity 0.25s, visibility 0.25s;
  }

  .nav.is-open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }

  .nav a {
    padding: 12px 0;
    border-bottom: 1px solid var(--color-border);
  }

  .nav a:last-child { border-bottom: none; }

  .menu-toggle { display: flex; }

  .hero { padding-top: 80px; padding-bottom: 24px; min-height: auto; }

  .hero-inner {
    grid-template-columns: 1fr;
    gap: 16px;
    text-align: center;
  }
  .hero-content { display: flex; flex-direction: column; align-items: center; margin-left: 0; }
  .hero-lead { margin-left: auto; margin-right: auto; padding: 0 16px; font-size: 14px; }
  .hero-cta { justify-content: center; flex-wrap: nowrap; }
  .hero-visual { order: -1; min-height: auto; justify-content: center; }
  .hero-visual-crop { height: min(280px, 35vh); }
  .hero-visual-img { max-width: 280px; max-height: 35vh; }

  .save-time-decor,
  .sources-decor,
  .faq-decor { opacity: 0.06; font-size: 2.5rem; }
  .dialogue-decor { font-size: 2rem; opacity: 0.06; }
  .title-icon { font-size: 0.8em; }

  .for-who-grid { grid-template-columns: 1fr; gap: 20px; }
  .stats-strip-inner { flex-direction: column; gap: 20px; text-align: center; }
  .stat-item { justify-content: center; }

  .benefits,
  .save-time,
  .dialogue,
  .sources,
  .faq { padding: 48px 0; }

  .chat-bubble { max-width: 92%; }
}

/* ===== V2 Hero + Modal ===== */
.hero-v2 .hero-inner {
  grid-template-columns: minmax(0, 1fr) minmax(320px, 390px);
  gap: clamp(20px, 3vw, 44px);
}

.hero-v2 .hero-content {
  margin-left: clamp(20px, 8vw, 140px);
}

.hero-v2 .hero-title {
  max-width: 13ch;
  letter-spacing: -0.01em;
}

.hero-v2 .hero-subtitle {
  font-weight: 600;
}

.hero-phone {
  width: min(100%, 356px);
  border-radius: 42px;
  overflow: hidden;
  border: 8px solid #151b2a;
  background: linear-gradient(180deg, #1e2538 0%, #131a28 100%);
  box-shadow: 0 26px 58px rgba(20, 26, 39, 0.34);
  position: relative;
  margin-left: auto;
}

.hero-phone::before,
.hero-phone::after {
  content: '';
  position: absolute;
  left: -10px;
  width: 4px;
  border-radius: 999px;
  background: #2f3850;
}

.hero-phone::before { top: 110px; height: 46px; }
.hero-phone::after { top: 165px; height: 62px; }

.hero-phone-notch {
  width: 40%;
  height: 17px;
  margin: 11px auto 7px;
  border-radius: 999px;
  background: #0a0f1a;
}

.hero-phone-screen {
  background: linear-gradient(180deg, #fcfdff 0%, #f6f8fc 100%);
  border-radius: 28px;
  padding: 12px;
  height: 560px;
  overflow: hidden;
  position: relative;
  margin: 0 7px 7px;
  border: 1px solid rgba(198, 208, 226, 0.5);
}

.hero-phone-status {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #273047;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  padding: 0 16px 10px;
}

.hero-phone-status-icons {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.status-signal {
  width: 14px;
  height: 10px;
  border-bottom: 2px solid #344057;
  border-left: 2px solid #344057;
  border-radius: 0 0 0 2px;
}

.status-wifi {
  width: 12px;
  height: 10px;
  border: 2px solid #344057;
  border-top-color: transparent;
  border-left-color: transparent;
  transform: rotate(45deg);
  border-radius: 0 0 2px 0;
}

.status-battery {
  position: relative;
  width: 20px;
  height: 10px;
  border: 1.8px solid #344057;
  border-radius: 3px;
  padding: 1px;
}

.status-battery::after {
  content: '';
  position: absolute;
  right: -3px;
  top: 2px;
  width: 2px;
  height: 4px;
  border-radius: 1px;
  background: #344057;
}

.status-battery-level {
  display: block;
  width: 68%;
  height: 100%;
  border-radius: 2px;
  background: #344057;
}

.hero-app-top { margin-bottom: 8px; }
.hero-app-title { margin: 0; font-size: 0.78rem; font-weight: 700; color: #5d6678; }

.hero-app-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 10px;
}

.hero-app-chip {
  display: inline-flex;
  align-items: center;
  padding: 5px 10px;
  font-size: 0.74rem;
  border-radius: 999px;
  background: #f4f6fb;
  color: #586074;
  border: 1px solid #e1e6f0;
}

.hero-app-chip-active {
  background: rgba(255, 0, 127, 0.1);
  border-color: rgba(255, 0, 127, 0.25);
  color: #c10062;
}

.hero-app-card {
  background: #fff;
  border: 1px solid #e4e9f3;
  border-radius: 14px;
  padding: 12px;
}

.hero-app-card + .hero-app-card { margin-top: 8px; }
.hero-app-card-muted { opacity: 0.9; }
.hero-app-card-date { margin: 0 0 6px; font-size: 0.78rem; color: #697286; }
.hero-app-card-title { margin: 0 0 5px; font-family: var(--font-heading); font-size: 0.94rem; line-height: 1.35; color: #1f2430; }
.hero-app-card-meta { margin: 0; font-size: 0.78rem; color: #6b7384; }

.hero-phone-home-indicator {
  position: absolute;
  left: 50%;
  bottom: 8px;
  transform: translateX(-50%);
  width: 34%;
  height: 4px;
  border-radius: 999px;
  background: rgba(28, 35, 52, 0.26);
}

.hero-highlights {
  width: min(100%, 356px);
  margin: 10px 0 0 auto;
  display: grid;
  gap: 6px;
}

.hero-highlight {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 7px 10px;
  border-radius: 999px;
  border: 1px solid #dce2ed;
  background: #fff;
  color: #495268;
  font-size: 0.82rem;
  font-weight: 600;
}

/* Chat block cleanup */
.dialogue .chat-flow {
  max-width: 760px;
  margin: 0 auto;
  background: rgba(255, 255, 255, 0.5);
  border: 1px solid rgba(255, 0, 127, 0.08);
  border-radius: 20px;
  padding: 14px;
}

.dialogue .chat-bubble {
  width: fit-content;
  max-width: 78%;
  padding: 10px 14px;
  margin-bottom: 10px;
  font-size: 0.95rem;
  line-height: 1.45;
  box-shadow: 0 3px 12px rgba(33, 41, 57, 0.05);
}

.dialogue .chat-user {
  background: linear-gradient(135deg, #ff0b8a 0%, #d9006c 100%);
  color: #fff;
}

/* Channel modal */
.channel-modal[hidden] { display: none; }
.channel-modal { position: fixed; inset: 0; z-index: 220; }
.channel-modal-backdrop { position: absolute; inset: 0; background: rgba(16, 20, 30, 0.45); backdrop-filter: blur(2px); }
.channel-modal-card {
  position: relative;
  z-index: 1;
  width: min(460px, calc(100% - 32px));
  margin: max(40px, 8vh) auto 0;
  background: #fff;
  border-radius: 20px;
  border: 1px solid var(--color-border);
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.22);
  padding: 20px;
}
.channel-modal-card h3 { margin: 0 0 8px; font-family: var(--font-heading); font-size: 1.35rem; }
.channel-modal-card p { margin: 0 0 14px; color: var(--color-text-muted); font-size: 0.95rem; }
.channel-modal-actions { display: grid; gap: 8px; }
.channel-option { width: 100%; text-align: center; }
.channel-modal-close {
  margin-top: 10px;
  display: inline-flex;
  border: none;
  background: transparent;
  color: var(--color-text-muted);
  font-size: 0.9rem;
  cursor: pointer;
  text-decoration: underline;
}

@media (max-width: 768px) {
  .hero-v2 .hero-content { margin-left: 0; }
  .hero-phone,
  .hero-highlights { width: min(356px, 100%); margin-left: auto; margin-right: auto; }
  .hero-phone-screen { height: 500px; }
  .dialogue .chat-bubble { max-width: 88%; font-size: 0.93rem; }
}

/* ===== Stable Redesign Baseline ===== */
.hero-new {
  padding: 108px 0 52px;
}

.hero-new-inner {
  max-width: 1180px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 420px);
  align-items: center;
  gap: clamp(24px, 4vw, 56px);
}

.hero-new-content {
  max-width: 620px;
}

.hero-kicker {
  display: inline-block;
  margin: 0 0 14px;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-fuchsia);
  background: rgba(255, 0, 127, 0.08);
}

.hero-new-title {
  margin: 0 0 14px;
  font-family: var(--font-heading);
  font-size: clamp(1.9rem, 4vw, 3rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.hero-new-subtitle {
  margin: 0 0 20px;
  color: var(--color-text-muted);
  font-size: 1.05rem;
  line-height: 1.6;
  max-width: 56ch;
}

.hero-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
}

.hero-proof-item {
  display: inline-flex;
  align-items: center;
  padding: 7px 12px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--color-border);
  font-size: 0.9rem;
  color: var(--color-text-muted);
}

.hero-actions {
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
}

.hero-new-visual {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
}

.hero-phone {
  width: min(100%, 390px);
  margin-left: auto;
  border-radius: 36px;
  overflow: hidden;
  border: 7px solid #1f2430;
  background: #1f2430;
  box-shadow: 0 24px 56px rgba(31, 36, 48, 0.28);
}

.hero-phone-notch {
  width: 44%;
  height: 18px;
  margin: 10px auto 6px;
  border-radius: 999px;
  background: #0f131b;
}

.hero-phone-status {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #e9edf6;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  padding: 0 16px 8px;
}

.hero-phone-screen {
  background: #f7f9fd;
  border-radius: 24px;
  padding: 12px;
  height: 470px;
  overflow: hidden;
  position: relative;
}

.hero-phone-content {
  animation: heroPhoneFeed 10s ease-in-out infinite;
  will-change: transform;
}

@keyframes heroPhoneFeed {
  0%, 18% { transform: translateY(0); }
  34%, 62% { transform: translateY(-84px); }
  78%, 100% { transform: translateY(0); }
}

@media (prefers-reduced-motion: reduce) {
  .hero-phone-content {
    animation: none;
  }
}

.hero-app-top {
  display: flex;
  align-items: center;
  margin-bottom: 8px;
}

.hero-app-title {
  margin: 0;
  font-size: 0.77rem;
  color: #5d6678;
  font-weight: 600;
}

.hero-app-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 10px;
}

.hero-app-chip {
  display: inline-flex;
  align-items: center;
  padding: 5px 10px;
  font-size: 0.74rem;
  border-radius: 999px;
  background: #f4f6fb;
  color: #586074;
  border: 1px solid #e1e6f0;
}

.hero-app-chip-active {
  background: rgba(255, 0, 127, 0.1);
  border-color: rgba(255, 0, 127, 0.25);
  color: #c10062;
}

.hero-app-card {
  background: #fff;
  border: 1px solid #e4e9f3;
  border-radius: 14px;
  padding: 12px;
}

.hero-app-card + .hero-app-card {
  margin-top: 8px;
}

.hero-app-card-muted {
  opacity: 0.88;
}

.hero-app-card-date {
  margin: 0 0 6px;
  font-size: 0.78rem;
  color: #697286;
}

.hero-app-card-title {
  margin: 0 0 5px;
  font-family: var(--font-heading);
  font-size: 0.94rem;
  line-height: 1.35;
  color: #1f2430;
}

.hero-app-card-meta {
  margin: 0;
  font-size: 0.78rem;
  color: #6b7384;
}

.hero-phone-home-indicator {
  position: absolute;
  left: 50%;
  bottom: 8px;
  transform: translateX(-50%);
  width: 34%;
  height: 4px;
  border-radius: 999px;
  background: rgba(28, 35, 52, 0.26);
}

.hero-highlights {
  width: min(100%, 390px);
  display: grid;
  gap: 6px;
}

.hero-highlight {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 7px 10px;
  border-radius: 999px;
  border: 1px solid #dce2ed;
  background: #fff;
  color: #495268;
  font-size: 0.82rem;
  font-weight: 600;
}

.benefits-new {
  padding: 60px 0;
}

.benefits-new-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.benefit-new-card {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: 16px;
  padding: 20px;
}

.benefit-new-card h3 {
  margin: 0 0 10px;
  font-family: var(--font-heading);
  font-size: 1.1rem;
}

.benefit-new-card p {
  margin: 0;
  color: var(--color-text-muted);
  font-size: 0.95rem;
}

.benefit-new-icon {
  display: inline-flex;
  margin-bottom: 10px;
  font-size: 1.5rem;
}

.how-new {
  padding: 60px 0;
  background: var(--gradient-soft);
}

.how-chat {
  max-width: 760px;
  margin: 0 auto;
  background: rgba(255, 255, 255, 0.48);
  border: 1px solid rgba(255, 0, 127, 0.08);
  border-radius: 20px;
  padding: 14px;
}

.how-chat-bubble {
  width: fit-content;
  max-width: 78%;
  border-radius: 16px;
  padding: 10px 14px;
  margin-bottom: 10px;
  font-size: 0.95rem;
  line-height: 1.45;
  border: 1px solid transparent;
  box-shadow: 0 3px 12px rgba(33, 41, 57, 0.05);
}

.how-chat-bubble-bot {
  margin-right: auto;
  background: #fff;
  color: #2e3340;
  border-color: #e4e9f3;
  border-bottom-left-radius: 6px;
}

.how-chat-bubble-user {
  margin-left: auto;
  background: linear-gradient(135deg, #ff0b8a 0%, #d9006c 100%);
  color: #fff;
  border-bottom-right-radius: 6px;
}

.how-new-cta {
  margin-top: 22px;
  text-align: center;
}

.sources-new {
  padding: 60px 0;
}

.channel-modal[hidden] {
  display: none;
}

.channel-modal {
  position: fixed;
  inset: 0;
  z-index: 200;
}

.channel-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(16, 20, 30, 0.45);
  backdrop-filter: blur(2px);
}

.channel-modal-card {
  position: relative;
  z-index: 1;
  width: min(460px, calc(100% - 32px));
  margin: max(40px, 8vh) auto 0;
  background: #fff;
  border-radius: 20px;
  border: 1px solid var(--color-border);
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.22);
  padding: 20px;
}

.channel-modal-card h3 {
  margin: 0 0 8px;
  font-family: var(--font-heading);
  font-size: 1.35rem;
}

.channel-modal-card p {
  margin: 0 0 14px;
  color: var(--color-text-muted);
  font-size: 0.95rem;
}

.channel-modal-actions {
  display: grid;
  gap: 8px;
}

.channel-option {
  width: 100%;
  text-align: center;
}

.channel-modal-close {
  margin-top: 10px;
  display: inline-flex;
  border: none;
  background: transparent;
  color: var(--color-text-muted);
  font-size: 0.9rem;
  cursor: pointer;
  text-decoration: underline;
}

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

  .hero-new-content {
    max-width: none;
    text-align: center;
  }

  .hero-proof,
  .hero-actions {
    justify-content: center;
  }

  .hero-phone,
  .hero-highlights {
    margin-right: auto;
  }

  .hero-new-visual {
    align-items: center;
  }
}

@media (max-width: 768px) {
  .hero-new {
    padding: 84px 0 42px;
  }

  .hero-new-inner {
    gap: 14px;
  }

  .hero-new-visual {
    order: -1;
  }

  .hero-phone,
  .hero-highlights {
    width: min(390px, 100%);
  }

  .hero-phone-screen {
    height: 420px;
  }

  .hero-new-title {
    font-size: clamp(1.8rem, 8vw, 2.2rem);
  }

  .hero-new-subtitle {
    font-size: 1rem;
    width: calc(100% - 32px);
    margin-left: auto;
    margin-right: auto;
    padding-left: 0;
    padding-right: 0;
  }

  .benefits-new-grid {
    grid-template-columns: 1fr;
  }

  .how-chat-bubble {
    max-width: 88%;
    font-size: 0.93rem;
  }
}

/* ===== Hero: Infinite Feed ===== */
.hero-feed {
  width: min(100%, 390px);
  margin-left: auto;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid #dde4f0;
  background: #fff;
  box-shadow: 0 18px 42px rgba(20, 26, 39, 0.12);
}

.hero-feed-head {
  padding: 10px 14px;
  border-bottom: 1px solid #eef2f8;
  font-size: 0.85rem;
  font-weight: 700;
  color: #5a6478;
  background: linear-gradient(180deg, #ffffff 0%, #fafbfd 100%);
}

.hero-feed-window {
  height: 420px;
  overflow: hidden;
  position: relative;
}

.hero-feed-window::before,
.hero-feed-window::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  height: 34px;
  z-index: 1;
  pointer-events: none;
}

.hero-feed-window::before {
  top: 0;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0));
}

.hero-feed-window::after {
  bottom: 0;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0.95));
}

.hero-feed-track {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 10px;
  animation: heroFeedScroll 20s linear infinite;
}

.hero-feed-item {
  background: #fff;
  border: 1px solid #e4e9f3;
  border-radius: 12px;
  padding: 10px 11px;
}

.hero-feed-date {
  margin: 0 0 5px;
  font-size: 0.78rem;
  color: #6d7688;
}

.hero-feed-item h3 {
  margin: 0 0 5px;
  font-family: var(--font-heading);
  font-size: 0.95rem;
  line-height: 1.35;
  color: #202633;
}

.hero-feed-meta {
  margin: 0;
  font-size: 0.79rem;
  color: #6d7688;
}

@keyframes heroFeedScroll {
  from { transform: translateY(0); }
  to { transform: translateY(-50%); }
}

@media (prefers-reduced-motion: reduce) {
  .hero-feed-track {
    animation: none;
  }
}

@media (max-width: 960px) {
  .hero-feed,
  .hero-highlights {
    margin-left: auto;
    margin-right: auto;
  }
}

@media (max-width: 768px) {
  .hero-feed,
  .hero-highlights {
    width: min(390px, 100%);
  }

  .hero-feed-window {
    height: 360px;
  }
}
