/* ===================================================
   FrontSafe v3.0 — Russian Corporate Design System
   Unbounded (display) + Onest (body)
   Teal accent on white. Inspired by Yandex Cloud,
   T-Bank, Alfa-Bank, MTS.
   =================================================== */

/* ————— TOKENS ————— */
:root {
  --accent: #00d4aa;
  --accent-dark: #00b894;
  --accent-light: #e6faf5;
  --accent-glow: rgba(0, 212, 170, 0.15);
  --navy: #0c1222;
  --navy-mid: #141d33;
  --navy-soft: #1a2540;
  --white: #ffffff;
  --bg: #fafbfc;
  --bg-alt: #f3f5f7;
  --ink: #1a1f36;
  --ink-secondary: #5a6178;
  --ink-muted: #9ca3b8;
  --border: #e5e8ee;
  --border-light: #eef0f4;
  --on-dark: #e8ecf2;
  --on-dark-soft: #8e96a8;
  --font-display: 'Unbounded', sans-serif;
  --font-body: 'Onest', -apple-system, BlinkMacSystemFont, sans-serif;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-out: cubic-bezier(0.33, 1, 0.68, 1);
  --r-sm: 12px;
  --r-md: 20px;
  --r-lg: 28px;
  --r-xl: 36px;
  --r-pill: 999px;
  --sh-sm: 0 1px 3px rgba(0,0,0,0.04);
  --sh-md: 0 4px 24px rgba(0,0,0,0.06);
  --sh-lg: 0 12px 48px rgba(0,0,0,0.08);
  --sh-card: 0 2px 12px rgba(0,0,0,0.04), 0 0 0 1px rgba(0,0,0,0.03);
}


/* ————— RESET ————— */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  font-family: var(--font-body);
  background: var(--white);
  color: var(--ink);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { text-decoration: none; color: inherit; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
img { max-width: 100%; display: block; }
strong { font-weight: 600; }
em { font-style: normal; }


/* ————— LAYOUT ————— */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
}


/* ————— SECTION HEADERS ————— */
.section-header { margin-bottom: 56px; }
.section-header--center { text-align: center; }
.section-header--light h2 { color: var(--white); }
.section-header--light .section-tag { color: var(--accent); }
.section-header--light .section-desc { color: var(--on-dark-soft); }

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

.section-header h2 {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3.8vw, 2.75rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.section-header--light h2 { color: #ffffff; }

.section-desc {
  font-size: 1.05rem;
  color: var(--ink-secondary);
  margin-top: 12px;
  max-width: 520px;
  line-height: 1.6;
}

.section-header--center .section-desc {
  margin-left: auto;
  margin-right: auto;
}


/* ————— ANIMATIONS ————— */
.anim-up {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.anim-up.vis { opacity: 1; transform: none; }

.anim-section > * {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
}
.anim-section.in-view > * { opacity: 1; transform: none; }

.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.55s var(--ease), transform 0.55s var(--ease);
  transition-delay: var(--reveal-d, 0ms);
}
.reveal.is-visible { opacity: 1; transform: none; }


/* ===================================================
   NAV
   =================================================== */
#main-nav {
  position: fixed;
  top: 0; left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 1200px;
  z-index: 1000;
  transition: background 0.3s, box-shadow 0.3s, border-color 0.3s;
  border: 1px solid transparent;
  border-top: none;
  border-radius: 0 0 16px 16px;
}

#main-nav.scrolled {
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-color: var(--border);
  box-shadow: 0 4px 24px rgba(0,0,0,0.06);
}

.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 0;
}

.nav-logo-mark {
  width: 42px; height: 42px;
  background: var(--accent);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.nav-logo-mark--sm {
  width: 28px; height: 28px;
  border-radius: 8px;
}

.nav-logo-img {
  height: 180px;
  width: auto;
  object-fit: contain;
  flex-shrink: 0;
  align-self: flex-end;
  margin-bottom: -10px;
}

.nav-logo-img--footer {
  width: 20px;
  height: 20px;
  margin-right: 0;
}

.nav-brand-text {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--ink);
}

.nav-links {
  display: flex;
  gap: 4px;
  margin-left: -120px;
}

.nav-links a {
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--ink-secondary);
  padding: 8px 16px;
  border-radius: var(--r-sm);
  transition: color 0.2s, background 0.2s;
}

.nav-links a:hover {
  color: var(--ink);
  background: var(--bg-alt);
}

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

.nav-cta {
  padding: 10px 24px;
  border-radius: var(--r-sm);
  background: var(--ink);
  color: var(--white);
  font-weight: 600;
  font-size: 0.88rem;
  transition: transform 0.2s, box-shadow 0.2s;
}

.nav-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.15);
}

.nav-burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
}

.nav-burger span {
  display: block;
  width: 22px; height: 2px;
  background: var(--ink);
  border-radius: 1px;
  transition: transform 0.3s, opacity 0.3s;
}


/* ===================================================
   HERO
   =================================================== */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 100px 0 0;
  background: var(--white);
  overflow: hidden;
  position: relative;
}

.hero-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: flex-end;
  flex: 1;
}

.hero-floor {
  display: none;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px 6px 10px;
  border-radius: var(--r-pill);
  background: var(--accent-light);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--accent-dark);
  margin-bottom: 24px;
}

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

@keyframes pulse-dot {
  0%, 100% { box-shadow: 0 0 0 0 rgba(0, 212, 170, 0.4); }
  50% { box-shadow: 0 0 0 6px rgba(0, 212, 170, 0); }
}

.hero-content {
  padding-bottom: 120px;
  align-self: center;
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.03em;
  color: var(--ink);
  margin-top: -30px;
  margin-bottom: 14px;
}

.hero-sub {
  font-size: 1.1rem;
  color: var(--ink-secondary);
  line-height: 1.65;
  max-width: 480px;
  margin-bottom: 32px;
}

.hero-input-row {
  display: flex;
  gap: 0;
  max-width: 480px;
  background: var(--white);
  border: 2px solid var(--border);
  border-radius: var(--r-md);
  overflow: hidden;
  transition: border-color 0.2s;
}

.hero-input-row:focus-within {
  border-color: var(--accent);
  box-shadow: 0 0 0 4px var(--accent-glow);
}

.hero-input {
  flex: 1;
  padding: 14px 18px;
  border: none;
  outline: none;
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--ink);
  background: transparent;
}

.hero-input::placeholder { color: var(--ink-muted); }

.hero-btn {
  padding: 14px 28px;
  background: var(--accent);
  color: var(--white);
  font-weight: 600;
  font-size: 0.92rem;
  white-space: nowrap;
  transition: background 0.2s;
}

.hero-btn:hover { background: var(--accent-dark); }

.hero-note {
  font-size: 0.82rem;
  color: var(--ink-muted);
  margin-top: 12px;
}



/* ————— Hero Visual ————— */
.hero-visual {
  --avatar-scale: 1;
  position: relative;
  min-height: 480px;
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
  pointer-events: auto;
}

@media (hover: hover) {
  .hero-visual:hover {
    --avatar-scale: 1.08;
  }
}

.hero-shape {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.5;
}

.hero-shape--1 {
  width: 320px; height: 320px;
  background: var(--accent);
  top: 20px; right: -20px;
  animation: float-1 8s ease-in-out infinite;
}

.hero-shape--2 {
  width: 240px; height: 240px;
  background: #66c8ff;
  bottom: 80px; left: -20px;
  animation: float-2 10s ease-in-out infinite;
}

.hero-shape--3 {
  width: 180px; height: 180px;
  background: #c791f7;
  top: 60%; right: 30%;
  animation: float-3 12s ease-in-out infinite;
}

@keyframes float-1 {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(-20px, 15px); }
}
@keyframes float-2 {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(15px, -20px); }
}
@keyframes float-3 {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(-10px, -15px); }
}


/* ————— Hero Avatar ————— */
.hero-avatar {
  position: relative;
  z-index: 2;
  width: clamp(500px, 48vw, 720px);
  max-width: none;
  height: auto;
  object-fit: contain;
  object-position: right bottom;
  transform: scale(var(--avatar-scale));
  transform-origin: center bottom;
  transition: transform 1.8s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
  filter: drop-shadow(0 16px 48px rgba(0,0,0,0.1));
  pointer-events: none;
  margin-bottom: 0;
  -webkit-mask-image: linear-gradient(to bottom, #000 60%, transparent 100%);
  mask-image: linear-gradient(to bottom, #000 60%, transparent 100%);
}

/* ————— Floating Chat Card ————— */
.hero-card-float {
  position: relative;
  z-index: 2;
  width: 340px;
  background: var(--white);
  border-radius: var(--r-lg);
  box-shadow: var(--sh-lg), 0 0 0 1px var(--border-light);
  overflow: hidden;
}

.hcf-header {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 14px 18px;
  border-bottom: 1px solid var(--border-light);
}

.hcf-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
}

.hcf-dot--green { background: var(--accent); }

.hcf-title {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--ink);
}

.hcf-msg {
  padding: 8px 14px;
  margin: 8px 14px;
  border-radius: 14px;
  font-size: 0.8rem;
  line-height: 1.45;
  max-width: 85%;
}

.hcf-msg--user {
  background: var(--bg-alt);
  color: var(--ink);
  align-self: flex-start;
  border-bottom-left-radius: 4px;
}

.hcf-msg--ai {
  background: var(--accent-light);
  color: var(--ink);
  margin-left: auto;
  border-bottom-right-radius: 4px;
}

.hcf-msg--ai strong { color: var(--accent-dark); }


/* ===================================================
   STATS
   =================================================== */
.stats-section {
  padding: 48px 0;
  background: var(--bg);
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
}

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

.stat-item { text-align: center; }

.stat-number {
  display: block;
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--accent);
  line-height: 1.1;
}

.stat-label {
  display: block;
  font-size: 0.85rem;
  color: var(--ink-muted);
  margin-top: 6px;
}


/* ===================================================
   FEATURES — BENTO GRID
   =================================================== */
/* Unified background wrapper — one bg for all mid-sections */
.unified-bg {
  background: var(--white);
  position: relative;
}

.features-section {
  padding: 140px 0 120px;
}

/* ── Bento Grid — Demo I (Alfa-Bank Premium) ── */
.bento-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 16px;
}

.bento-card {
  border-radius: 40px;
  border: none;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.45s cubic-bezier(0.19, 1, 0.22, 1), box-shadow 0.45s ease;
  cursor: default;
  padding: 0;
}
.bento-card:hover {
  transform: translateY(-8px) scale(1.01);
  box-shadow: 0 32px 80px rgba(0,0,0,0.08);
}

/* Sizes */
.bento-card--hero  { grid-column: span 7; min-height: 520px; }
.bento-card--side  { grid-column: span 5; min-height: 520px; }
.bento-card--third { grid-column: span 4; min-height: 460px; }

/* Frosted glass white blur */
.bento-card--indigo,
.bento-card--coral,
.bento-card--emerald,
.bento-card--cyan,
.bento-card--orange {
  background: rgba(255,255,255,0.55);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  border: 1px solid rgba(255,255,255,0.6);
  box-shadow: 0 8px 32px rgba(0,0,0,0.06);
}

/* Image area — takes ~70% of card */
.bento-img-area {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 32px 0;
  min-height: 0;
  position: relative;
}
.bento-img-area img {
  max-width: 100%;
  object-fit: contain;
  filter: drop-shadow(0 20px 50px rgba(0,0,0,0.2));
  transition: transform 0.6s cubic-bezier(0.19, 1, 0.22, 1);
}
.bento-card:hover .bento-img-area img {
  transform: scale(1.1) translateY(-16px);
}
.bento-card--hero .bento-img-area img { max-height: 360px; }
.bento-card--side .bento-img-area img { max-height: 320px; }
.bento-card--third .bento-img-area img { max-height: 280px; }

/* Text content */
.bento-content {
  position: relative;
  z-index: 2;
  padding: 24px 36px 36px;
}

.bento-card h3 {
  font-family: var(--font-body);
  font-size: 1.6rem;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 8px;
  line-height: 1.15;
  letter-spacing: -0.02em;
}
.bento-card--hero h3 { font-size: 1.6rem; }
.bento-card--side h3 { font-size: 1.6rem; }

.bento-card p {
  font-size: 0.95rem;
  color: #64748b;
  line-height: 1.5;
}


/* ===================================================
   CAPABILITIES — Magazine Editorial Spreads
   =================================================== */
.capabilities-section {
  padding: 80px 0 0;
}

/* Editorial Header */
.ed-header {
  text-align: center;
  padding: 40px 40px 40px;
  position: relative;
}

.ed-header::after {
  content: '';
  display: block;
  width: 60px;
  height: 2px;
  background: var(--accent);
  margin: 20px auto 0;
}

.ed-kicker {
  font-family: 'Source Code Pro', monospace;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 20px;
  display: block;
}

.ed-header h2 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(3rem, 6vw, 5rem);
  font-weight: 900;
  letter-spacing: -0.02em;
  line-height: 1;
  font-style: normal;
  color: var(--ink);
}

/* Agent Spreads */
.spreads {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
}

.spread {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  margin-bottom: 0;
  min-height: 50vh;
  border-top: 1px solid rgba(0,0,0,0.08);
  position: relative;
}

.spread:last-child {
  border-bottom: 1px solid rgba(0,0,0,0.08);
}

.spread:nth-child(even) .spread-img { order: 2; }
.spread:nth-child(even) .spread-text { order: 1; }

/* Nudge M5 avatar left + show full body */
.spread:nth-child(5) .spread-img {
  overflow: visible;
}

.spread:nth-child(5) .spread-img img {
  transform: translateX(-40px);
}

.spread:nth-child(5):hover .spread-img img {
  transform: translateX(-40px) scale(1.02);
}

/* Image side — clip floor only, free sides */
.spread-img {
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  overflow: visible;
  padding: 0 40px 0;
  clip-path: inset(-100% -100% 0 -100%);
}

.spread-img img {
  height: 70vh;
  max-height: 620px;
  width: auto;
  object-fit: contain;
  object-position: bottom;
  filter: drop-shadow(0 20px 40px rgba(0,0,0,0.08));
  transition: transform 0.8s cubic-bezier(0.22,1,0.36,1);
  margin-top: -60px;
}

.spread:hover .spread-img img {
  transform: scale(1.02);
}

/* Watermark number behind avatar */
.spread-watermark {
  position: absolute;
  font-family: 'Playfair Display', serif;
  font-size: 45vw;
  font-weight: 900;
  opacity: 0.03;
  line-height: 1;
  pointer-events: none;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

/* Text side */
.spread-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 40px 64px;
}

.spread-label {
  font-family: 'Source Code Pro', monospace;
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.spread-label::before {
  content: '';
  width: 32px;
  height: 1px;
}

.spread--blue .spread-label { color: #2563eb; }
.spread--blue .spread-label::before { background: #2563eb; }
.spread--emerald .spread-label { color: #059669; }
.spread--emerald .spread-label::before { background: #059669; }
.spread--violet .spread-label { color: #7c3aed; }
.spread--violet .spread-label::before { background: #7c3aed; }
.spread--amber .spread-label { color: #d97706; }
.spread--amber .spread-label::before { background: #d97706; }
.spread--rose .spread-label { color: #e11d48; }
.spread--rose .spread-label::before { background: #e11d48; }

.spread-text h3 {
  font-family: 'Playfair Display', serif;
  font-size: 2.8rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.05;
  margin-bottom: 14px;
  color: var(--ink);
}

.spread-text p {
  font-size: 1.1rem;
  font-weight: 300;
  color: var(--ink-secondary);
  line-height: 1.8;
  max-width: 380px;
}

.spread-text p::before {
  content: '';
  display: block;
  width: 40px;
  height: 2px;
  background: var(--ink);
  margin-bottom: 20px;
  opacity: 0.15;
}

/* Colored accent dot */
.spread-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  margin-bottom: 16px;
}

.spread--blue .spread-dot { background: #2563eb; }
.spread--emerald .spread-dot { background: #059669; }
.spread--violet .spread-dot { background: #7c3aed; }
.spread--amber .spread-dot { background: #d97706; }
.spread--rose .spread-dot { background: #e11d48; }

/* Scroll animations */
.spread {
  opacity: 0;
  transform: translateY(30px);
}

.spread.visible {
  animation: spreadIn 0.8s ease forwards;
}

@keyframes spreadIn {
  to { opacity: 1; transform: translateY(0); }
}

/* More agents footer */
.more-agents {
  text-align: center;
  padding: 64px 40px 80px;
  max-width: 1200px;
  margin: 0 auto;
}

.more-agents-text {
  font-family: 'Source Code Pro', monospace;
  font-size: 0.8rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--ink-secondary);
}


/* ————— Integrations Bar ————— */
.integrations-bar {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 20px 32px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  overflow: hidden;
}

.integrations-label {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--ink-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  white-space: nowrap;
  flex-shrink: 0;
}

.integrations-marquee {
  display: flex;
  overflow: hidden;
  flex: 1;
  mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent);
}

.integrations-track {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-shrink: 0;
  animation: marquee-scroll 20s linear infinite;
  padding-right: 16px;
}

@keyframes marquee-scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-100%); }
}

.int-item {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--ink-secondary);
  white-space: nowrap;
}

.int-sep {
  width: 4px; height: 4px;
  border-radius: 50%;
  background: var(--border);
  flex-shrink: 0;
}

/* ————— Integrations Note ————— */
.integrations-note {
  display: flex;
  align-items: flex-start;
  gap: 6px;
  margin-top: 12px;
  justify-content: flex-end;
  padding-right: 32px;
}

.integrations-note-arrow {
  flex-shrink: 0;
  margin-top: -4px;
}

.integrations-note-text {
  font-size: 0.88rem;
  color: var(--ink-muted);
  font-style: italic;
  max-width: 400px;
  line-height: 1.45;
  padding-top: 38px;
}


/* ===================================================
   CHANNELS
   =================================================== */
.channels-section {
  padding: 140px 0;
}

.channels-header {
  text-align: center;
  margin-bottom: 100px;
}

.channels-header h2 {
  font-family: 'Playfair Display', serif;
  font-size: 3.4rem;
  font-weight: 800;
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}

.channels-header .section-desc {
  max-width: 460px;
  margin: 0 auto;
}

/* Alfa-style floating cards */
.ch-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.ch-card {
  border-radius: 28px;
  padding: 0 32px 40px;
  text-align: center;
  position: relative;
  overflow: visible;
  transition: transform 0.4s ease;
  background: transparent;
}

.ch-card::before {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 82%;
  border-radius: 28px;
  z-index: 0;
}

.ch-card > * { position: relative; z-index: 1; }

.ch-card:hover { transform: translateY(-6px); }

.ch-card:nth-child(1)::before { background: linear-gradient(to bottom, rgba(238,242,255,0) 0%, #eef2ff 30%); }
.ch-card:nth-child(2)::before { background: linear-gradient(to bottom, rgba(236,253,245,0) 0%, #ecfdf5 30%); }
.ch-card:nth-child(3)::before { background: linear-gradient(to bottom, rgba(254,243,199,0) 0%, #fef3c7 30%); }

.ch-card-img {
  width: 260px;
  height: 260px;
  margin: -60px auto 20px;
  position: relative;
}

.ch-card-img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 16px 32px rgba(0,0,0,0.12));
  transition: transform 0.4s ease;
}

.ch-card:hover .ch-card-img img {
  transform: scale(1.06) translateY(-4px);
}

.ch-card-tag {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 100px;
  margin-bottom: 14px;
}

.ch-card:nth-child(1) .ch-card-tag { background: #c7d2fe; color: #3730a3; }
.ch-card:nth-child(2) .ch-card-tag { background: #a7f3d0; color: #065f46; }
.ch-card:nth-child(3) .ch-card-tag { background: #fde68a; color: #92400e; }

.ch-card h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.9rem;
  font-weight: 800;
  margin-bottom: 10px;
}

.ch-card p {
  font-size: 0.92rem;
  color: #475569;
  line-height: 1.6;
}

.ch-bottom-line {
  text-align: center;
  margin-top: 56px;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #94a3b8;
}

/* Waveform */
.waveform-bars {
  display: flex;
  align-items: center;
  gap: 4px;
  height: 80px;
}

.waveform-bars span {
  width: 6px;
  background: var(--accent);
  border-radius: 3px;
  animation: wave-bar var(--wave-dur, 0.8s) ease-in-out infinite alternate;
  animation-delay: var(--wave-delay, 0s);
  height: var(--h, 50%);
}

.waveform-bars span:nth-child(1)  { --wave-delay: 0s;    --wave-dur: 0.7s; }
.waveform-bars span:nth-child(2)  { --wave-delay: 0.12s; --wave-dur: 0.9s; }
.waveform-bars span:nth-child(3)  { --wave-delay: 0.05s; --wave-dur: 0.6s; }
.waveform-bars span:nth-child(4)  { --wave-delay: 0.18s; --wave-dur: 1.1s; }
.waveform-bars span:nth-child(5)  { --wave-delay: 0.08s; --wave-dur: 0.75s; }
.waveform-bars span:nth-child(6)  { --wave-delay: 0.22s; --wave-dur: 0.95s; }
.waveform-bars span:nth-child(7)  { --wave-delay: 0.03s; --wave-dur: 0.85s; }
.waveform-bars span:nth-child(8)  { --wave-delay: 0.15s; --wave-dur: 0.65s; }
.waveform-bars span:nth-child(9)  { --wave-delay: 0.1s;  --wave-dur: 1.0s; }
.waveform-bars span:nth-child(10) { --wave-delay: 0.2s;  --wave-dur: 0.72s; }
.waveform-bars span:nth-child(11) { --wave-delay: 0.07s; --wave-dur: 0.88s; }
.waveform-bars span:nth-child(12) { --wave-delay: 0.16s; --wave-dur: 0.78s; }

@keyframes wave-bar {
  0% { transform: scaleY(0.3); opacity: 0.4; }
  50% { transform: scaleY(0.7); opacity: 0.7; }
  100% { transform: scaleY(1); opacity: 1; }
}

/* Mini Chat */
.mini-chat {
  width: 280px;
  padding: 16px;
}

.mc-msg {
  padding: 8px 12px;
  margin-bottom: 6px;
  border-radius: 12px;
  font-size: 0.78rem;
  line-height: 1.4;
  max-width: 85%;
}

.mc-msg--user {
  background: var(--white);
  color: var(--ink);
  border-bottom-left-radius: 4px;
}

.mc-msg--ai {
  background: var(--accent);
  color: var(--white);
  margin-left: auto;
  border-bottom-right-radius: 4px;
}

/* Mini Dashboard */
.mini-dash {
  width: 300px;
  height: 160px;
  display: flex;
  background: var(--white);
  border-radius: var(--r-md);
  overflow: hidden;
  box-shadow: var(--sh-sm);
  border: 1px solid var(--border-light);
}

.md-sidebar {
  width: 60px;
  background: var(--navy);
  padding: 16px 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.md-nav {
  width: 100%; height: 8px;
  border-radius: 4px;
  background: rgba(255,255,255,0.1);
}

.md-nav--active { background: var(--accent); }

.md-main { flex: 1; padding: 16px; }

.md-row {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 0;
  font-size: 0.72rem;
  color: var(--ink-secondary);
  border-bottom: 1px solid var(--border-light);
}

.md-row:last-child { border-bottom: none; }

.md-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  flex-shrink: 0;
}

.md-dot--on { background: var(--accent); }
.md-dot--off { background: var(--ink-muted); }

.md-status {
  margin-left: auto;
  font-size: 0.68rem;
  font-weight: 600;
  color: var(--accent);
}

.md-status--off { color: var(--ink-muted); }


/* ===================================================
   EVOLUTION
   =================================================== */
.evolution-section {
  padding: 100px 0 60px;
  overflow-x: clip;
}

.evo-section-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
  position: relative;
  z-index: 20;
}

/* ————— Evolution Tabs ————— */
.evo-tabs {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  margin-bottom: 64px;
}

.evo-tab {
  display: flex;
  align-items: center;
  gap: 10px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px 4px;
  transition: all 0.3s;
}

.evo-tab-circle {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 2.5px solid #00d4aa;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-body), 'Onest', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  color: #00d4aa;
  background: #fff;
  transition: all 0.35s;
  flex-shrink: 0;
}

.evo-tab.active .evo-tab-circle {
  background: #00d4aa;
  color: #fff;
  box-shadow: 0 4px 20px rgba(0, 212, 170, 0.35);
}

.evo-tab-label {
  font-size: 0.9rem;
  font-weight: 600;
  color: #94a3b8;
  transition: color 0.3s;
  white-space: nowrap;
}

.evo-tab.active .evo-tab-label {
  color: var(--ink);
}

.evo-tab-line {
  width: 72px;
  height: 2px;
  background: #a0e8d8;
  margin: 0 14px;
}

/* ————— Evolution Stage ————— */
.evo-stage-outer {
  position: relative;
  width: 100%;
  overflow: visible;
}

.evo-stage {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
  min-height: 750px;
}

/* ————— Evolution Meta Panel ————— */
.evo-meta {
  position: relative;
  z-index: 4;
  max-width: 320px;
}

.evo-timeline-badge {
  display: inline-block;
  background: #f1f5f9;
  color: var(--ink);
  font-size: 0.82rem;
  font-weight: 700;
  padding: 6px 18px;
  border-radius: 100px;
  margin-bottom: 18px;
  letter-spacing: 0.03em;
}

.evo-meta-desc {
  font-size: 1.05rem;
  color: var(--ink);
  line-height: 1.7;
  margin-bottom: 28px;
}

.evo-bar-wrap {
  margin-bottom: 8px;
}

.evo-bar-label-top {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--ink-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 8px;
}

.evo-bar-track {
  width: 100%;
  height: 8px;
  background: var(--border);
  border-radius: 100px;
  overflow: hidden;
}

.evo-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, #00d4aa, #00b894);
  border-radius: 100px;
  transition: width 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

.evo-bar-pct {
  font-size: 0.8rem;
  font-weight: 600;
  color: #00d4aa;
  margin-top: 6px;
  text-align: right;
}

/* ————— Evolution Hints ————— */
.evo-hints {
  margin-top: 28px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.evo-hint-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.4s ease, transform 0.4s ease;
}

.evo-hint-item.visible {
  opacity: 1;
  transform: translateY(0);
}

.evo-hint-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #00b894;
  margin-top: 7px;
  flex-shrink: 0;
}

.evo-hint-text {
  font-size: 0.88rem;
  color: var(--ink-muted);
  line-height: 1.5;
}

/* ————— Evolution Phone Mockup ————— */
.evo-phone-wrap {
  position: absolute;
  right: -450px;
  top: 40%;
  transform: translateY(-50%);
  width: 1250px;
  z-index: 2;
}

.evo-phone-wrap img {
  width: 100%;
  height: auto;
  display: block;
  filter: drop-shadow(0 24px 56px rgba(0,0,0,0.2));
}

/* ————— Evolution Floating Bubbles ————— */
.evo-bubbles {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 10;
  display: none;
  pointer-events: none;
}

.evo-bubbles.active {
  display: block;
}

.evo-bubble {
  position: absolute;
  padding: 14px 20px;
  border-radius: 20px;
  font-size: 0.92rem;
  line-height: 1.55;
  max-width: 280px;
  z-index: 11;
  box-shadow: 0 8px 32px rgba(0,0,0,0.08);
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.5s ease, transform 0.5s ease;
  pointer-events: none;
}

.evo-bubble.visible {
  opacity: 1;
  transform: translateY(0);
}

.evo-bubble--user {
  background: #007AFF;
  color: #fff;
  border-bottom-left-radius: 5px;
}

.evo-bubble--user::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: -6px;
  width: 14px;
  height: 14px;
  background: #007AFF;
  clip-path: polygon(100% 0, 100% 100%, 0 0);
}

.evo-bubble--ai {
  background: #E5E5EA;
  color: var(--ink);
  border: none;
  border-bottom-right-radius: 5px;
}

.evo-bubble--ai::after {
  content: '';
  position: absolute;
  bottom: 0;
  right: -6px;
  width: 14px;
  height: 14px;
  background: #E5E5EA;
  clip-path: polygon(0 0, 100% 0, 0 100%);
}

.evo-bubble--esc {
  background: #E5E5EA;
  color: var(--ink);
  border: none;
  border-bottom-right-radius: 5px;
  overflow: visible;
  margin-top: 24px;
}

.evo-bubble--esc::after {
  content: '';
  position: absolute;
  bottom: 0;
  right: -6px;
  width: 14px;
  height: 14px;
  background: #E5E5EA;
  clip-path: polygon(0 0, 100% 0, 0 100%);
}

.esc-tag {
  position: absolute;
  top: -10px;
  right: -8px;
  background: #f59e0b;
  color: #fff;
  font-size: 0.62rem;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  box-shadow: 0 2px 6px rgba(245,158,11,0.35);
  white-space: nowrap;
  margin-bottom: 0;
}

/* ————— Evolution Bubble Positions ————— */
.evo-bubbles[data-level="1"] .b1 { top: -10px;  right: 24%; }
.evo-bubbles[data-level="1"] .b2 { top: 90px;   right: 12%; }
.evo-bubbles[data-level="1"] .b3 { top: 210px;  right: 24%; }
.evo-bubbles[data-level="1"] .b4 { top: 290px;  right: 12%; }

.evo-bubbles[data-level="3"] .b1 { top: -10px;  right: 24%; }
.evo-bubbles[data-level="3"] .b2 { top: 80px;   right: 12%; }
.evo-bubbles[data-level="3"] .b3 { top: 230px;  right: 24%; }
.evo-bubbles[data-level="3"] .b4 { top: 310px;  right: 12%; }

.evo-bubbles[data-level="5"] .b1 { top: -30px;  right: 24%; }
.evo-bubbles[data-level="5"] .b2 { top: 40px;   right: 12%; }
.evo-bubbles[data-level="5"] .b3 { top: 140px;  right: 12%; }
.evo-bubbles[data-level="5"] .b4 { top: 240px;  right: 24%; }
.evo-bubbles[data-level="5"] .b5 { top: 310px;  right: 12%; }


/* ===================================================
   INDUSTRIES
   =================================================== */
.industries-section {
  padding: 140px 0;
}

.industries-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  max-width: 1100px;
  margin: 0 auto;
}

.industry-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 32px 24px;
  text-align: center;
  transition: all 0.3s var(--ease);
}

.industry-card:hover {
  border-color: var(--accent);
  box-shadow: 0 8px 32px rgba(0, 212, 170, 0.08);
  transform: translateY(-4px);
}

.industry-card--more {
  border-style: dashed;
  border-color: var(--border);
}

.industry-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ink);
}

.industry-card:hover .industry-icon { color: var(--accent); }

.industry-name {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 8px;
}

.industry-desc {
  font-size: 0.85rem;
  color: var(--ink-soft);
  line-height: 1.5;
}

.industries-cta {
  display: block;
  text-align: center;
  margin-top: 40px;
  font-size: 1rem;
  font-weight: 600;
  color: var(--accent);
  transition: color 0.2s var(--ease);
}

.industries-cta:hover { color: var(--accent-dark); }


/* ===================================================
   SECURITY
   =================================================== */
.security-section {
  padding: 140px 0 140px;
}

.security-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}

.security-grid {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.sec-item {
  display: flex;
  gap: 16px;
  padding: 20px 24px;
  background: var(--bg);
  border: 1px solid var(--border-light);
  border-radius: var(--r-md);
  transition: border-color 0.2s;
}

.sec-item:hover { border-color: var(--accent); }

.sec-icon {
  width: 40px; height: 40px;
  border-radius: var(--r-sm);
  background: var(--accent-light);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.sec-icon--blue,
.sec-icon--emerald,
.sec-icon--violet,
.sec-icon--amber,
.sec-icon--rose { background: #f0f0f0; color: #1a1f36; }


.sec-item strong {
  display: block;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 2px;
}

.sec-item p {
  font-size: 0.82rem;
  color: var(--ink-secondary);
  line-height: 1.45;
}


/* ===================================================
   CTA
   =================================================== */
.cta-section {
  padding: 120px 0;
  max-width: 1200px;
  margin: 0 auto;
  border-radius: 28px;
  background:
    linear-gradient(135deg, rgba(0, 212, 170, 0.06) 0%, rgba(108, 99, 255, 0.06) 50%, rgba(0, 180, 216, 0.06) 100%),
    url('../images/background/plufow-le-studio-X9X0MBr0tsQ-unsplash.jpg') center/cover no-repeat;
  background-blend-mode: overlay, soft-light;
}

.cta-card {
  max-width: 640px;
  margin: 0 auto;
  padding: 56px 48px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  box-shadow: var(--sh-md);
}

.cta-form { margin-top: 32px; }

.cta-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 16px;
}

.cta-field { margin-bottom: 0; }

.cta-field label {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--ink-secondary);
  margin-bottom: 6px;
}

.cta-field input {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--border);
  border-radius: var(--r-sm);
  font-family: var(--font-body);
  font-size: 0.92rem;
  color: var(--ink);
  transition: border-color 0.2s, box-shadow 0.2s;
  outline: none;
}

.cta-field input:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-glow);
}

.cta-field + .cta-field { margin-top: 0; }

.cta-submit {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 14px 28px;
  margin-top: 20px;
  background: var(--accent);
  color: var(--white);
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: var(--r-sm);
  transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
}

.cta-submit:hover {
  background: var(--accent-dark);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(0, 212, 170, 0.3);
}

.form-success {
  text-align: center;
  padding: 24px;
}

.form-success h3 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  margin-top: 12px;
  margin-bottom: 4px;
}

.form-success p {
  font-size: 0.88rem;
  color: var(--ink-secondary);
}

.form-error {
  margin-top: 16px;
  padding: 12px;
  background: #fef2f2;
  border: 1px solid #fecaca;
  border-radius: var(--r-sm);
  font-size: 0.85rem;
  color: #dc2626;
}

.form-error a { color: var(--accent); font-weight: 600; }

/* CTA step transitions */
.cta-step--hidden { display: none; }

/* CTA messengers */
.cta-messengers {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 20px;
  margin-top: 32px;
}

.cta-messenger-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 32px;
  border-radius: 60px;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  transition: transform 0.2s, box-shadow 0.2s;
}

.cta-messenger-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
}

.cta-messenger-btn--tg {
  background: #229ED9;
  color: var(--white);
}

.cta-messenger-btn--max {
  background: var(--ink);
  color: var(--white);
}

.cta-messenger-btn--max img {
  border-radius: 6px;
}

.cta-qr-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  margin-top: 12px;
}

.cta-qr-toggle {
  padding: 6px 14px;
  border: 1px solid var(--border);
  border-radius: var(--r-sm);
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--ink-muted);
  background: var(--bg-alt);
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}

.cta-qr-toggle:hover {
  background: var(--white);
  color: var(--ink);
}

.cta-qr-codes {
  display: flex;
  justify-content: center;
  gap: 32px;
}

.cta-qr-codes--hidden { display: none; }

.cta-qr-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--ink-muted);
}

.cta-qr-img {
  width: 140px;
  height: 140px;
  border-radius: var(--r-sm);
  object-fit: contain;
}

.cta-divider {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 24px 0;
}

.cta-divider::before,
.cta-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--border);
}

.cta-divider span {
  font-size: 0.85rem;
  color: var(--ink-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 500;
}

.cta-alt-btn {
  display: block;
  width: 100%;
  padding: 12px;
  border-radius: var(--r-sm);
  border: 1px solid var(--border);
  font-family: var(--font-body);
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--ink-secondary);
  text-align: center;
  cursor: pointer;
  background: transparent;
  transition: background 0.2s, border-color 0.2s, color 0.2s;
}

.cta-alt-btn:hover {
  background: var(--bg-alt);
  border-color: var(--ink-muted);
  color: var(--ink);
}

.cta-back-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin: 20px auto 0;
  font-size: 0.85rem;
  color: var(--ink-muted);
  background: transparent;
  border: none;
  cursor: pointer;
  font-family: var(--font-body);
  transition: color 0.2s;
}

.cta-back-btn:hover {
  color: var(--accent-dark);
}

/* Consent checkbox — shared across CTA + voice demo */
.cta-consent,
.vdemo-consent,
.contact-consent {
  margin-top: 12px;
}

/* Consent gate — centered above interactive elements */
.cta-consent--gate {
  margin: 24px auto 8px;
  text-align: center;
  display: flex;
  justify-content: center;
}

/* Disabled / gated state for CTA interactive elements */
.cta-gated {
  transition: opacity 0.3s ease;
}
.cta-gated.is-locked {
  opacity: 0.45;
  user-select: none;
}
.cta-gated-el[disabled],
a.cta-gated-el[tabindex="-1"] {
  cursor: not-allowed;
}

/* Consent shake animation */
@keyframes consentShake {
  0%, 100% { transform: translateX(0); }
  15% { transform: translateX(-6px); }
  30% { transform: translateX(6px); }
  45% { transform: translateX(-4px); }
  60% { transform: translateX(4px); }
  75% { transform: translateX(-2px); }
  90% { transform: translateX(2px); }
}
.cta-consent--shake {
  animation: consentShake 0.5s ease;
}
.cta-consent--shake .cta-consent-label {
  color: #e74c3c;
}
.cta-consent--shake .cta-consent-label input {
  outline: 2px solid #e74c3c;
  outline-offset: 2px;
  border-radius: 3px;
}

.cta-consent-label,
.vdemo-consent-label,
.contact-consent-label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.82rem;
  color: var(--ink-secondary);
  cursor: pointer;
  line-height: 1.4;
}

.cta-consent-label input,
.vdemo-consent-label input,
.contact-consent-label input {
  margin-top: 2px;
  accent-color: var(--accent);
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

.cta-consent-label a,
.vdemo-consent-label a,
.contact-consent-label a {
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.cta-consent-label a:hover,
.vdemo-consent-label a:hover,
.contact-consent-label a:hover {
  color: var(--accent-dark);
}


.cta-consent-text {
  font-size: 0.78rem;
  color: var(--ink-muted);
  text-align: center;
  display: block;
}

.cta-consent-text a {
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.cta-consent-text a:hover {
  color: var(--accent-dark);
}

/* Voice demo CTA gate */
.vdemo-cta-gated { transition: opacity 0.3s ease; }
.vdemo-cta-gated.is-locked { opacity: 0.45; user-select: none; }
.vdemo-cta-gated-el[disabled],
a.vdemo-cta-gated-el[tabindex="-1"] { cursor: not-allowed; }
.vdemo-consent--shake {
  animation: consentShake 0.5s ease;
}
.vdemo-consent--shake .vdemo-consent-label {
  color: #e74c3c;
}
.vdemo-consent--shake .vdemo-consent-label input {
  outline: 2px solid #e74c3c;
  outline-offset: 2px;
  border-radius: 3px;
}

/* ===================================================
   VOICE DEMO MODAL
   =================================================== */
.vdemo-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(0,0,0,0.5);
  backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
}

.vdemo-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.vdemo-modal {
  background: var(--white);
  border-radius: var(--r-xl);
  padding: 40px;
  max-width: 520px;
  width: 90%;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  box-shadow: var(--sh-lg);
}

.vdemo-close {
  position: absolute;
  top: 16px; right: 16px;
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--bg-alt);
  font-size: 1.2rem;
  color: var(--ink-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}

.vdemo-close:hover { background: var(--border); }

.vdemo-hidden { display: none !important; }

.vdemo-step h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.vdemo-sub {
  font-size: 0.88rem;
  color: var(--ink-secondary);
  margin-bottom: 16px;
}

.vdemo-progress {
  height: 6px;
  background: var(--border);
  border-radius: 3px;
  overflow: hidden;
  margin-bottom: 20px;
}

.vdemo-bar {
  height: 100%;
  width: 0%;
  background: var(--accent);
  border-radius: 3px;
  transition: width 0.3s var(--ease);
}

.vdemo-checklist { display: flex; flex-direction: column; gap: 8px; }

.vdemo-check {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.88rem;
  color: var(--ink-secondary);
  padding: 8px 0;
}

.vdemo-check.done { color: var(--accent); }
.vdemo-check.done .vdemo-check-icon { color: var(--accent); }

.vdemo-actions {
  display: flex;
  gap: 12px;
  margin-top: 24px;
}

.vdemo-btn {
  padding: 12px 24px;
  border-radius: var(--r-sm);
  font-size: 0.88rem;
  font-weight: 600;
  transition: all 0.2s;
}

.vdemo-btn--primary {
  background: var(--accent);
  color: var(--white);
}

.vdemo-btn--primary:hover { background: var(--accent-dark); }

.vdemo-btn--ghost {
  border: 1px solid var(--border);
  color: var(--ink-secondary);
}

.vdemo-btn--ghost:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.vdemo-badge {
  display: inline-block;
  padding: 4px 12px;
  background: var(--accent-light);
  color: var(--accent);
  font-size: 0.82rem;
  font-weight: 600;
  border-radius: var(--r-pill);
}

.vdemo-fields {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 8px;
}

.vdemo-label {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--ink-secondary);
  margin-top: 8px;
}

.vdemo-input {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--border);
  border-radius: var(--r-sm);
  font-family: var(--font-body);
  font-size: 0.92rem;
  color: var(--ink);
  outline: none;
  transition: border-color 0.2s;
}

.vdemo-input:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-glow);
}

.vdemo-step-badge {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent);
  margin-bottom: 8px;
}

.vdemo-step-subtitle {
  font-size: 0.88rem;
  color: var(--ink-secondary);
  margin-bottom: 20px;
}

.vdemo-players {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.vdemo-player-card {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  border: 1px solid #e8edf3;
  border-radius: 18px;
  background: #ffffff;
  padding: 22px 24px;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.vdemo-player-card:hover {
  border-color: #d0d8e4;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
}

.vdemo-player-card.playing {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(0, 212, 170, 0.12), 0 4px 20px rgba(0, 212, 170, 0.08);
}

.vdemo-play-btn {
  flex: 0 0 56px;
  width: 56px; height: 56px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--white);
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background 0.2s;
}

.vdemo-play-btn:hover { background: var(--accent-dark); }

.vdemo-player-card.playing .vdemo-play-btn {
  background: var(--accent);
  color: #041313;
}

.vdemo-player-body { flex: 1; min-width: 0; }

.vdemo-player-title {
  margin: 0 0 4px;
  color: #0f172a;
  font-weight: 700;
  font-size: 0.92rem;
  letter-spacing: 0.01em;
}

.vdemo-waveform {
  display: flex;
  align-items: center;
  gap: 3px;
  margin: 8px 0 12px;
  height: 18px;
}

.vdemo-waveform-dot {
  width: 4px;
  border-radius: 2px;
  background: #cbd5e1;
  transition: height 0.08s ease-out, background 0.25s ease;
}

.vdemo-player-card.playing .vdemo-waveform-dot {
  background: var(--accent);
}

.vdemo-player-text {
  margin: 0;
  color: #475569;
  font-size: 0.9rem;
  line-height: 1.55;
  font-style: italic;
}

.vdemo-player-text::before {
  content: '\201C';
  color: #94a3b8;
  font-size: 1.1em;
}

.vdemo-player-text::after {
  content: '\201D';
  color: #94a3b8;
  font-size: 1.1em;
}

.vdemo-lead-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.vdemo-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.vdemo-form-field label {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--ink-secondary);
  margin-bottom: 6px;
}

.vdemo-form-field input,
.vdemo-form-field select {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--border);
  border-radius: var(--r-sm);
  font-family: var(--font-body);
  font-size: 0.92rem;
  outline: none;
  transition: border-color 0.2s;
}

.vdemo-form-field input:focus,
.vdemo-form-field select:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-glow);
}

.vdemo-form-submit {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 14px;
  background: var(--accent);
  color: var(--white);
  font-weight: 600;
  font-size: 0.92rem;
  border-radius: var(--r-sm);
  margin-top: 8px;
  transition: background 0.2s;
}

.vdemo-form-submit:hover { background: var(--accent-dark); }

.vdemo-success {
  text-align: center;
  padding: 24px;
  color: var(--accent);
  font-weight: 600;
}


/* ===================================================
   FOOTER
   =================================================== */
.site-footer {
  padding: 40px 0 32px;
  margin: 0 auto;
  max-width: 1200px;
  border: none;
  border-top: 1px solid var(--border-light);
  background: var(--white);
  color: var(--ink);
}

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

.footer-nav {
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
}

.footer-nav a {
  font-size: 0.88rem;
  color: var(--ink);
  text-decoration: none;
  transition: color 0.2s;
}

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

.footer-legal-links {
  display: flex;
  flex-direction: column;
  gap: 8px;
  text-align: right;
}

.footer-legal-links a {
  font-size: 0.82rem;
  color: var(--ink-muted);
  text-decoration: none;
  transition: color 0.2s;
}

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

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  padding-top: 20px;
}

.footer-company {
  display: flex;
  flex-direction: column;
  gap: 2px;
  font-size: 0.78rem;
  color: var(--ink-muted);
  opacity: 0.7;
}

.footer-copy {
  font-size: 0.78rem;
  color: var(--ink-muted);
  opacity: 0.7;
}

/* Legacy classes kept for compatibility */
.footer-inner { display: flex; align-items: center; gap: 16px; }
.footer-logo-big { width: 40px; height: 40px; object-fit: contain; flex-shrink: 0; }
.footer-brand { display: flex; align-items: center; gap: 8px; font-size: 0.85rem; color: var(--ink-muted); }
.footer-links { display: flex; gap: 24px; flex-wrap: wrap; margin-left: auto; }
.footer-links a { font-size: 0.82rem; color: var(--ink-muted); transition: color 0.2s; }
.footer-links a:hover { color: var(--accent); }


/* ===================================================
   RESPONSIVE
   =================================================== */
@media (max-width: 1024px) {
  .hero { justify-content: center; padding: 100px 0 0; }
  .hero-inner { grid-template-columns: 1fr; text-align: center; align-items: center; }
  .hero-visual { display: none; }
  .hero-floor { display: none; }
  .hero-sub { margin-left: auto; margin-right: auto; }
  .hero-input-wrap { margin: 0 auto; }
  .hero-input-row { margin: 0 auto; }
  .hero-note { text-align: center; }
  .hero-badge { margin-left: auto; margin-right: auto; }

  .bento-grid { grid-template-columns: repeat(2, 1fr); }
  .bento-card--hero { grid-column: span 2; min-height: 400px; }
  .bento-card--side { grid-column: span 2; min-height: 400px; }
  .bento-card--third { grid-column: span 1; min-height: 380px; }

  .spread { grid-template-columns: 1fr 1fr; min-height: 70vh; }

  .security-layout { grid-template-columns: 1fr; gap: 40px; }
  .channels-layout { grid-template-columns: 1fr; gap: 40px; }
  .channels-visual-wrap { min-height: auto; }
  .industries-grid { grid-template-columns: repeat(3, 1fr); }
  .evo-phone-wrap { width: 360px; right: -40px; }
  .evo-bubbles { left: 320px; right: 280px; }
}

@media (max-width: 768px) {
  .container { padding: 0 20px; }

  .nav-inner { padding: 0 20px; }
  .nav-links { display: none; }
  .nav-burger { display: flex; }
  .nav-cta { padding: 8px 16px; font-size: 0.82rem; }

  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 72px; left: 0; right: 0;
    background: var(--white);
    border-bottom: 1px solid var(--border);
    padding: 16px 20px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.06);
  }

  .hero { min-height: auto; padding: 100px 0 48px; }
  .hero-inner { padding: 0 20px; }
  .hero h1 { font-size: 1.6rem; letter-spacing: -0.02em; }
  .hero-sub { font-size: 0.95rem; }
  .hero-badge { font-size: 0.75rem; padding: 5px 12px 5px 8px; }
  .hero-input-row { flex-direction: column; }
  .hero-input { font-size: 0.9rem; }
  .hero-btn { padding: 14px; font-size: 0.9rem; }

  .stats-grid { grid-template-columns: 1fr 1fr; gap: 24px; }
  .stat-number { font-size: 1.6rem; }

  .bento-grid { grid-template-columns: 1fr; }
  .bento-card--hero { grid-column: span 1; min-height: 360px; }
  .bento-card--side { grid-column: span 1; min-height: 360px; }
  .bento-card--third { grid-column: span 1; min-height: 340px; }

  .spread { grid-template-columns: 1fr; min-height: auto; }
  .spread:nth-child(even) .spread-img { order: 0; }
  .spread:nth-child(even) .spread-text { order: 0; }
  .spread-text { padding: 40px 24px; }
  .spread-text h3 { font-size: 2rem; }
  .spread-img img { height: 50vh; max-height: 400px; }
  .ed-header h2 { font-size: 2.5rem; }

  .channels-layout { grid-template-columns: 1fr; gap: 24px; }

  .evo-phone-wrap { display: none; }
  .evo-meta { max-width: 100%; }
  .evo-bubbles {
    position: relative;
    left: auto;
    right: auto;
    min-height: 400px;
    margin-top: 36px;
  }
  .evo-bubble { max-width: 300px; }
  .evo-stage { min-height: auto; padding: 0 24px; }
  .evo-tab-line { width: 40px; }
  .evo-section-inner { padding: 0 24px; }

  .industries-grid { grid-template-columns: repeat(2, 1fr); }

  .cta-card { padding: 32px 24px; }
  .cta-form-row { grid-template-columns: 1fr; }
  .cta-messengers { flex-direction: column; align-items: center; }
  .cta-qr-codes { flex-direction: column; gap: 16px; }

  .integrations-bar { flex-direction: column; text-align: center; }

  .vdemo-modal { padding: 28px; }
  .vdemo-form-row { grid-template-columns: 1fr; }

  .security-heading h2 { font-size: 1.5rem; }

  .footer-inner { flex-wrap: wrap; justify-content: center; text-align: center; gap: 12px; }
  .footer-links { margin-left: 0; justify-content: center; gap: 12px 20px; }
  .footer-links a { font-size: 0.8rem; }
  .footer-top { flex-direction: column; align-items: center; text-align: center; }
  .footer-nav { justify-content: center; }
  .footer-legal-links { text-align: center; }
  .footer-bottom { flex-direction: column; align-items: center; text-align: center; gap: 12px; }
}
