:root {
  --navy: #0F1B2D;
  --navy-light: #162236;
  --navy-mid: #1C2E44;
  --white: #FFFFFF;
  --accent: #D4956A;
  --accent-hover: #C4824F;
  --accent-dim: rgba(212, 149, 106, 0.12);
  --text-dark: #1A1A2E;
  --text-muted: #64748B;
  --text-light: #94A3B8;
  --bg-light: #F8FAFC;
  --bg-warm: #FBF8F5;
  --border: #E2E8F0;
  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-display: 'Playfair Display', Georgia, serif;
  --max-width: 1200px;
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font);
  color: var(--text-dark);
  background: var(--white);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

::selection {
  background: var(--accent);
  color: var(--white);
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }

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

/* ── Icons ── */
.icon { display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; }
.icon svg { width: 100%; height: 100%; }
.icon--sm { width: 20px; height: 20px; }
.icon--md { width: 28px; height: 28px; }
.icon--lg { width: 36px; height: 36px; }
.icon--xl { width: 44px; height: 44px; }

/* ── Nav ── */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(15, 27, 45, 0.96);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.nav__inner {
  max-width: var(--max-width); margin: 0 auto; padding: 0 24px;
  display: flex; align-items: center; justify-content: space-between; height: 72px;
}

.nav__logo {
  display: flex; align-items: center; gap: 0.5rem;
  font-size: 1.15rem; font-weight: 600; color: var(--white); letter-spacing: -0.02em;
}

.nav__logo-icon {
  height: 28px; opacity: 0.9;
}

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

.nav__links { display: flex; align-items: center; gap: 32px; list-style: none; }
.nav__links a {
  color: var(--text-light); font-size: 0.9rem; font-weight: 500;
  transition: color 0.2s;
}
.nav__links a:hover { color: var(--white); }

.nav__cta {
  background: var(--accent); color: var(--white) !important;
  padding: 10px 22px; border-radius: 6px; font-weight: 600;
  transition: background 0.2s;
}
.nav__cta:hover { background: var(--accent-hover); }

.nav__hamburger {
  display: none; flex-direction: column; gap: 5px;
  cursor: pointer; background: none; border: none; padding: 4px;
}
.nav__hamburger span {
  width: 24px; height: 2px; background: var(--white); border-radius: 1px;
}

/* ── Hero ── */
.hero {
  position: relative; min-height: 100vh; display: flex; align-items: center;
  background: var(--navy); overflow: hidden;
}

.hero__bg {
  position: absolute; inset: 0;
  background: url('https://images.unsplash.com/photo-1631049307264-da0ec9d70304?w=1920&q=85') center/cover;
  opacity: 0.22;
}

.hero__overlay {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(15, 27, 45, 0.94) 0%, rgba(15, 27, 45, 0.72) 60%, rgba(15, 27, 45, 0.88) 100%);
}

.hero__content {
  position: relative; z-index: 2;
  max-width: 740px; padding: 140px 0 100px;
}

.hero__label {
  display: inline-flex; align-items: center; gap: 8px;
  color: var(--accent); font-size: 0.82rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 28px;
}
.hero__label::before {
  content: ''; display: block; width: 24px; height: 2px; background: var(--accent);
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  font-weight: 600; color: var(--white); line-height: 1.15; margin-bottom: 28px;
}

.hero__body {
  font-size: 1.1rem; color: var(--text-light); line-height: 1.85; margin-bottom: 44px;
}
.hero__body p + p { margin-top: 16px; }

.hero__cta {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--accent); color: var(--white);
  padding: 16px 32px; border-radius: 8px;
  font-weight: 600; font-size: 1rem;
  transition: background 0.2s, transform 0.15s;
}
.hero__cta:hover { background: var(--accent-hover); transform: translateY(-2px); }

/* ── Section ── */
.section { padding: 104px 0; }
.section--dark { background: var(--navy); color: var(--white); }
.section--mid { background: var(--navy-mid); color: var(--white); }
.section--light { background: var(--bg-light); }
.section--warm { background: var(--bg-warm); }
.section--white { background: var(--white); }

.section__label {
  display: inline-flex; align-items: center; gap: 8px;
  color: var(--accent); font-size: 0.78rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 16px;
}
.section__label::before {
  content: ''; display: block; width: 20px; height: 2px; background: var(--accent);
}

.section h2 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.5vw, 2.7rem);
  font-weight: 600; line-height: 1.2; margin-bottom: 24px;
}
.section--dark h2, .section--mid h2 { color: var(--white); }

p.lead {
  font-size: 1.05rem; color: var(--text-muted); line-height: 1.85; max-width: 680px;
}
.section--dark p.lead, .section--mid p.lead { color: var(--text-light); }

/* ── Compromise ── */
.compromise { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }

.compromise__copy p {
  color: var(--text-muted); font-size: 1.05rem; line-height: 1.8; margin-bottom: 16px;
}

.compromise__list { list-style: none; margin-top: 28px; }
.compromise__list li {
  position: relative; padding: 14px 0 14px 28px;
  border-bottom: 1px solid var(--border);
  color: var(--text-dark); font-size: 0.95rem; line-height: 1.6;
}
.compromise__list li:first-child { border-top: 1px solid var(--border); }
.compromise__list li::before {
  content: ''; position: absolute; left: 0; top: 22px;
  width: 8px; height: 8px; background: var(--accent);
  border-radius: 50%; opacity: 0.65;
}

.compromise__image {
  border-radius: 16px; overflow: hidden; aspect-ratio: 4/5;
  box-shadow: 0 32px 80px rgba(0, 0, 0, 0.12);
}
.compromise__image img { width: 100%; height: 100%; object-fit: cover; }

/* ── Case Study ── */
.case-study__header { text-align: center; margin-bottom: 60px; }
.case-study__header h2 { margin-bottom: 12px; }
.case-study__header p { color: var(--text-light); font-size: 1.05rem; }

.brand-logos {
  display: flex; align-items: center; justify-content: center;
  gap: 48px; margin-bottom: 48px; flex-wrap: wrap;
}
.brand-logos img {
  height: 40px; width: auto;
  filter: brightness(0) invert(1); opacity: 0.5;
  transition: opacity 0.2s;
}
.brand-logos img:hover { opacity: 0.8; }

/* Placeholder logos */
.brand-logos .logo-placeholder {
  height: 40px; padding: 8px 20px;
  border: 1px dashed rgba(255, 255, 255, 0.25); border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  color: var(--text-light); font-size: 0.75rem; font-weight: 600;
  letter-spacing: 0.05em; text-transform: uppercase; opacity: 0.5;
}

.quote-block {
  max-width: 840px; margin: 0 auto 64px;
  padding: 48px 56px;
  background: rgba(212, 149, 106, 0.07);
  border-left: 4px solid var(--accent);
  border-radius: 0 16px 16px 0;
}
.quote-block blockquote {
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(1.15rem, 2.2vw, 1.5rem);
  color: var(--white); line-height: 1.6; margin-bottom: 20px;
  border: none; padding: 0;
}
.quote-block cite {
  display: block; font-style: normal;
  font-family: var(--font);
  font-size: 0.9rem; color: var(--text-light);
}
.quote-block cite strong { color: var(--accent); font-weight: 600; }

.stats-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px;
}
.stat-card {
  text-align: center; padding: 44px 20px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 14px; transition: border-color 0.25s, transform 0.2s;
}
.stat-card:hover { border-color: rgba(212, 149, 106, 0.35); transform: translateY(-2px); }

.stat-card__number {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  font-weight: 600; color: var(--accent); line-height: 1; margin-bottom: 14px;
}
.stat-card__label {
  font-size: 0.8rem; font-weight: 600; color: var(--white);
  text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 10px;
}
.stat-card__desc { font-size: 0.85rem; color: var(--text-light); line-height: 1.55; }

/* ── Before / After ── */
.before-after {
  display: grid; grid-template-columns: 1fr 1fr;
  border-radius: 16px; overflow: hidden;
  box-shadow: 0 16px 64px rgba(0, 0, 0, 0.06);
}
.before-after__panel { padding: 52px 44px; }
.before-after__panel--before { background: #F1F0EE; }
.before-after__panel--after { background: var(--white); }

.before-after__tag {
  display: inline-block; font-size: 0.72rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.12em;
  padding: 5px 14px; border-radius: 4px; margin-bottom: 20px;
}
.before-after__tag--before { background: rgba(239, 68, 68, 0.1); color: #DC2626; }
.before-after__tag--after { background: rgba(34, 197, 94, 0.1); color: #16A34A; }

.before-after__panel h3 {
  font-family: var(--font-display);
  font-size: 1.35rem; color: var(--text-dark); margin-bottom: 20px; line-height: 1.3;
}
.before-after__panel p {
  font-size: 0.95rem; color: var(--text-muted); line-height: 1.8; margin-bottom: 14px;
}

/* ── Guest Story ── */
.guest-story { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
.guest-story__image {
  border-radius: 16px; overflow: hidden; aspect-ratio: 3/4;
  box-shadow: 0 32px 80px rgba(0, 0, 0, 0.1);
}
.guest-story__image img { width: 100%; height: 100%; object-fit: cover; }
.guest-story__copy h2 { margin-bottom: 24px; }
.guest-story__copy p {
  color: var(--text-muted); font-size: 1.05rem; margin-bottom: 18px; line-height: 1.85;
}

/* ── Team ── */
.team-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
.team-grid__image {
  border-radius: 16px; overflow: hidden; aspect-ratio: 4/3;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.08);
}
.team-grid__image img { width: 100%; height: 100%; object-fit: cover; }
.team-grid__copy p {
  color: var(--text-muted); font-size: 1.05rem; margin-bottom: 18px; line-height: 1.85;
}

/* ── Channels ── */
.channels-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 52px; }

.channel-card {
  background: var(--white); border: 1px solid var(--border);
  border-radius: 14px; padding: 36px 24px; text-align: center;
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
}
.channel-card:hover {
  border-color: var(--accent);
  box-shadow: 0 8px 32px rgba(212, 149, 106, 0.12);
  transform: translateY(-2px);
}
.channel-card .icon { color: var(--accent); margin: 0 auto 16px; }
.channel-card__name { font-weight: 700; font-size: 1rem; margin-bottom: 8px; color: var(--text-dark); }
.channel-card__desc { font-size: 0.85rem; color: var(--text-muted); line-height: 1.6; }

/* ── Feature Cards ── */
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; margin-top: 52px; }

.feature-card {
  padding: 36px 28px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 14px; transition: border-color 0.2s;
}
.feature-card:hover { border-color: rgba(212, 149, 106, 0.3); }
.feature-card .icon { color: var(--accent); margin-bottom: 16px; }
.feature-card h4 { font-size: 1rem; font-weight: 600; color: var(--white); margin-bottom: 10px; }
.feature-card p { font-size: 0.88rem; color: var(--text-light); line-height: 1.65; }

.feature-card--light { background: var(--white); border: 1px solid var(--border); }
.feature-card--light:hover {
  border-color: var(--accent);
  box-shadow: 0 4px 24px rgba(212, 149, 106, 0.08);
}
.feature-card--light h4 { color: var(--text-dark); }
.feature-card--light p { color: var(--text-muted); }

/* ── Integrations ── */
.integrations-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 52px; }

.integration-item {
  display: flex; align-items: center; gap: 16px;
  padding: 20px 24px;
  background: var(--white); border: 1px solid var(--border);
  border-radius: 12px; transition: border-color 0.2s, box-shadow 0.2s;
}
.integration-item:hover {
  border-color: var(--accent);
  box-shadow: 0 4px 20px rgba(212, 149, 106, 0.08);
}
.integration-item .icon { color: var(--accent); }
.integration-logo { width: 36px; height: 36px; object-fit: contain; flex-shrink: 0; }
.integration-item__name { font-weight: 600; font-size: 0.95rem; color: var(--text-dark); }
.integration-item__desc { font-size: 0.8rem; color: var(--text-muted); margin-top: 2px; }

.integration-item--open {
  background: var(--bg-light); border-style: dashed;
  grid-column: 1 / -1;
  text-align: center; justify-content: center;
}

/* ── App Showcase ── */
.app-showcase { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
.app-showcase__copy h2 { margin-bottom: 24px; }
.app-showcase__copy p {
  color: var(--text-light); font-size: 1.05rem; line-height: 1.85; margin-bottom: 20px;
}

.app-features { list-style: none; margin-top: 32px; }
.app-features li {
  display: flex; align-items: flex-start; gap: 16px;
  padding: 16px 0; border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.app-features li:first-child { border-top: 1px solid rgba(255, 255, 255, 0.06); }
.app-features .icon { color: var(--accent); margin-top: 2px; }
.app-features__text h4 {
  font-size: 0.95rem; font-weight: 600; color: var(--white); margin-bottom: 4px;
}
.app-features__text p {
  font-size: 0.85rem; color: var(--text-light); line-height: 1.6; margin-bottom: 0;
}

.app-showcase__mockups {
  display: flex; gap: 24px; justify-content: center; align-items: center;
}

.phone-mockup {
  width: 180px;
  border-radius: 28px;
  border: 3px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(255, 255, 255, 0.05);
  overflow: hidden;
  transform: translateY(30px);
}
.phone-mockup img {
  width: 100%; height: auto; display: block;
}
.phone-mockup--main {
  width: 210px;
  transform: translateY(-20px);
  border-color: rgba(212, 149, 106, 0.25);
  box-shadow: 0 32px 80px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(212, 149, 106, 0.1);
}
.phone-mockup:first-child { transform: translateY(40px); }
.phone-mockup:last-child { transform: translateY(20px); }

/* ── Dashboard ── */
/* ── Animated Dashboard ── */
.dash-mock {
  background: #f8fafc;
  border-radius: 16px;
  padding: 24px 28px 28px;
  margin: 40px 0 0;
  overflow: hidden;
  position: relative;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.dash-mock.visible {
  opacity: 1;
  transform: translateY(0);
}
/* Top bar */
.dash-mock__bar {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid #e2e8f0;
}
.dash-mock__bar-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: #cbd5e1;
}
.dash-mock__bar-dot--g { background: #22c55e; }
.dash-mock__bar-title {
  font-size: 0.82rem;
  font-weight: 600;
  color: #334155;
  letter-spacing: 0.02em;
}
.dash-mock__bar-period {
  margin-left: auto;
  font-size: 0.72rem;
  color: #94a3b8;
  background: #f1f5f9;
  padding: 4px 10px;
  border-radius: 6px;
  border: 1px solid #e2e8f0;
}
/* KPI row */
.dash-kpis {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-bottom: 22px;
}
.dash-kpi {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  padding: 16px 18px;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.4s ease, transform 0.4s ease;
}
.dash-kpi.visible {
  opacity: 1;
  transform: translateY(0);
}
.dash-kpi__label {
  font-size: 0.62rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #94a3b8;
  margin-bottom: 4px;
}
.dash-kpi__value {
  font-size: 1.5rem;
  font-weight: 700;
  color: #1e293b;
  font-variant-numeric: tabular-nums;
}
.dash-kpi__change {
  font-size: 0.65rem;
  font-weight: 500;
  margin-top: 4px;
}
.dash-kpi__change--up { color: #22c55e; }
.dash-kpi__change--down { color: #ef4444; }
/* Charts row */
.dash-charts {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 14px;
  margin-bottom: 22px;
}
.dash-chart-card {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  padding: 18px;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}
.dash-chart-card.visible {
  opacity: 1;
  transform: translateY(0);
}
.dash-chart-card__title {
  font-size: 0.62rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #94a3b8;
  margin-bottom: 14px;
}
/* Bar chart */
.dash-bars {
  display: flex;
  align-items: flex-end;
  gap: 8px;
  height: 120px;
  padding-top: 4px;
}
.dash-bar-col {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  height: 100%;
  justify-content: flex-end;
}
.dash-bar {
  width: 100%;
  max-width: 36px;
  background: #6366f1;
  border-radius: 4px 4px 0 0;
  height: 0;
  transition: height 0.8s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.dash-bar-label {
  font-size: 0.55rem;
  color: #94a3b8;
  margin-top: 6px;
  white-space: nowrap;
}
/* Line chart (SVG) */
.dash-line-svg {
  width: 100%;
  height: 120px;
}
.dash-line-path {
  fill: none;
  stroke: #6366f1;
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 500;
  stroke-dashoffset: 500;
  transition: stroke-dashoffset 2s ease-in-out;
}
.dash-line-path.visible {
  stroke-dashoffset: 0;
}
.dash-line-area {
  fill: url(#lineGrad);
  opacity: 0;
  transition: opacity 1.5s ease 0.5s;
}
.dash-line-area.visible {
  opacity: 0.3;
}
.dash-line-dot {
  fill: #6366f1;
  r: 0;
  transition: r 0.3s ease;
}
.dash-line-dot.visible {
  r: 3.5;
}
/* Bottom row: donut + horizontal bars */
.dash-bottom {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 14px;
}
/* Donut */
.dash-donut-wrap {
  display: flex;
  align-items: center;
  gap: 16px;
}
.dash-donut {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  position: relative;
  background: conic-gradient(
    #6366f1 0deg 0deg,
    #a78bfa 0deg 0deg,
    #c4b5fd 0deg 0deg,
    #e879f9 0deg 0deg,
    #f97316 0deg 0deg,
    #e2e8f0 0deg 360deg
  );
  transition: background 1.5s ease;
  flex-shrink: 0;
}
.dash-donut::after {
  content: '';
  position: absolute;
  inset: 22px;
  background: #fff;
  border-radius: 50%;
}
.dash-donut-legend {
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.dash-donut-legend__item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.62rem;
  color: #64748b;
}
.dash-donut-legend__dot {
  width: 8px;
  height: 8px;
  border-radius: 2px;
  flex-shrink: 0;
}
/* Horizontal bars */
.dash-hbars {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.dash-hbar-row {
  display: flex;
  align-items: center;
  gap: 10px;
}
.dash-hbar-label {
  font-size: 0.58rem;
  color: #64748b;
  width: 140px;
  flex-shrink: 0;
  text-align: right;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.dash-hbar-track {
  flex: 1;
  height: 16px;
  background: #f1f5f9;
  border-radius: 4px;
  overflow: hidden;
}
.dash-hbar-fill {
  height: 100%;
  border-radius: 4px;
  width: 0;
  transition: width 1s cubic-bezier(0.34, 1.2, 0.64, 1);
}
/* QA panel */
.dash-qa-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 18px;
}
.dash-qa-item {
  text-align: center;
  padding: 14px 8px;
  background: #f8fafc;
  border-radius: 8px;
  border: 1px solid #e2e8f0;
}
.dash-qa-item__value {
  font-size: 1.6rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}
.dash-qa-item__value--green { color: #22c55e; }
.dash-qa-item__value--amber { color: #f59e0b; }
.dash-qa-item__value--blue { color: #6366f1; }
.dash-qa-item__label {
  font-size: 0.6rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #94a3b8;
  margin-top: 4px;
}
.dash-qa-bar-section {
  display: flex;
  align-items: center;
  gap: 12px;
}
.dash-qa-bar-label {
  font-size: 0.68rem;
  font-weight: 600;
  color: #64748b;
  white-space: nowrap;
}
.dash-qa-bar-track {
  flex: 1;
  height: 22px;
  background: #f1f5f9;
  border-radius: 6px;
  overflow: hidden;
  position: relative;
}
.dash-qa-bar-fill {
  height: 100%;
  border-radius: 6px;
  background: linear-gradient(90deg, #22c55e, #4ade80);
  width: 0;
  transition: width 1.2s cubic-bezier(0.34, 1.2, 0.64, 1);
}
.dash-qa-bar-pct {
  position: absolute;
  right: 8px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 0.65rem;
  font-weight: 700;
  color: #166534;
}
/* Replay */
.dash-replay {
  display: none;
  margin: 20px auto 0;
  background: transparent;
  border: 1px solid rgba(212, 149, 106, 0.4);
  color: var(--accent);
  padding: 8px 20px;
  border-radius: 6px;
  font-size: 0.8rem;
  cursor: pointer;
  transition: background 0.2s;
  text-align: center;
}
.dash-replay-wrap {
  text-align: center;
}
.dash-replay:hover {
  background: rgba(212, 149, 106, 0.1);
}
/* Responsive */
@media (max-width: 768px) {
  .dash-kpis { grid-template-columns: repeat(2, 1fr); }
  .dash-charts { grid-template-columns: 1fr; }
  .dash-bottom { grid-template-columns: 1fr; }
  .dash-hbar-label { width: 100px; }
}
@media (max-width: 480px) {
  .dash-mock { padding: 16px; }
  .dash-kpis { gap: 8px; }
  .dash-kpi { padding: 12px; }
  .dash-kpi__value { font-size: 1.2rem; }
}

.dashboard-features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 48px; }

.dashboard-feature {
  padding: 28px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 12px; transition: border-color 0.2s;
}
.dashboard-feature:hover { border-color: rgba(212, 149, 106, 0.25); }
.dashboard-feature .icon { color: var(--accent); margin-bottom: 14px; }
.dashboard-feature h4 { font-size: 0.95rem; font-weight: 600; color: var(--white); margin-bottom: 8px; }
.dashboard-feature p { font-size: 0.85rem; color: var(--text-light); line-height: 1.65; }

/* ── CTA Section ── */
.cta-section { background: var(--navy); padding: 120px 0; text-align: center; }
.cta-section h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 2.9rem);
  color: var(--white); margin-bottom: 40px;
}

.chyma-block {
  max-width: 640px; margin: 0 auto 48px;
  padding: 44px 48px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px; text-align: left;
}
.chyma-block__logo {
  display: flex; align-items: center; margin-bottom: 24px;
}
.chyma-block__logo img {
  height: 32px; width: auto;
  filter: brightness(0) invert(1); opacity: 0.8;
}
.chyma-block__logo .logo-placeholder {
  height: 32px; padding: 6px 16px;
  border: 1px dashed rgba(255, 255, 255, 0.25); border-radius: 6px;
  display: flex; align-items: center;
  color: var(--text-light); font-size: 0.72rem; font-weight: 600;
  letter-spacing: 0.05em; text-transform: uppercase; opacity: 0.6;
}
.chyma-block p {
  font-size: 1rem; color: var(--text-light); line-height: 1.8; margin-bottom: 14px;
}
.chyma-block p:last-child { margin-bottom: 0; }

/* ── Mid-page CTA ── */
.mid-cta {
  padding: 48px 0;
  background: var(--navy);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.mid-cta__text {
  color: var(--white);
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 500;
  margin-bottom: 20px;
}
.mid-cta__button {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--accent); color: var(--white);
  padding: 14px 36px; border-radius: 8px;
  font-weight: 600; font-size: 0.95rem;
  transition: background 0.2s, transform 0.15s;
  text-decoration: none;
}
.mid-cta__button:hover { background: var(--accent-hover); transform: translateY(-2px); }

.cta-button {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--accent); color: var(--white);
  padding: 18px 44px; border-radius: 8px;
  font-weight: 600; font-size: 1.05rem;
  transition: background 0.2s, transform 0.15s;
  border: none; cursor: pointer;
}
.cta-button:hover { background: var(--accent-hover); transform: translateY(-2px); }

/* ── Footer ── */
.footer {
  background: #0A1320; padding: 48px 0; text-align: center;
  border-top: 1px solid rgba(255, 255, 255, 0.04);
}
.footer p { color: var(--text-muted); font-size: 0.85rem; }
.footer a { color: var(--accent); }

/* ── Chat Demo ── */
.chat-demo { max-width: 960px; margin: 0 auto; }

.chat-demo__panels {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  justify-items: center;
  transition: grid-template-columns 0.6s ease;
}
.chat-demo__panels.dual {
  grid-template-columns: 1fr 1fr;
}

.chat-demo__col {
  width: 100%;
  max-width: 420px;
}

.chat-demo__col--staff {
  opacity: 0;
  transform: translateX(40px);
  transition: opacity 0.6s ease, transform 0.6s ease;
  pointer-events: none;
  max-height: 0;
  overflow: hidden;
}
.chat-demo__col--staff.visible {
  opacity: 1;
  transform: translateX(0);
  pointer-events: auto;
  max-height: 800px;
}

.chat-demo__label {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-muted);
  margin-bottom: 12px;
  text-align: center;
}

.chat-window {
  background: #0F1B2D;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.15), 0 0 0 1px rgba(255,255,255,0.06);
  display: flex;
  flex-direction: column;
}

.chat-window__header {
  background: #162236;
  padding: 16px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.chat-window__header--staff {
  background: #1a2744;
}

.chat-window__header-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.chat-window__avatar {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  flex-shrink: 0;
}
.chat-window__avatar--hotel {
  background: linear-gradient(135deg, #2563EB, #1D4ED8);
  color: #fff;
}
.chat-window__avatar--staff {
  background: linear-gradient(135deg, var(--accent), var(--accent-hover));
  color: #fff;
}

.chat-window__title {
  font-size: 0.85rem;
  font-weight: 600;
  color: #e8ecf2;
}
.chat-window__status {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.7rem;
  color: var(--text-light);
}
.chat-window__dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #22C55E;
  display: inline-block;
}
.chat-window__dot--translate {
  background: var(--accent);
  animation: pulse-dot 2s ease infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

.chat-window__context {
  background: rgba(212,149,106,0.08);
  border-bottom: 1px solid rgba(212,149,106,0.15);
  padding: 14px 20px;
  font-size: 0.75rem;
  color: var(--text-light);
  line-height: 1.6;
}
.staff-context__row + .staff-context__row { margin-top: 2px; }

.chat-window__body {
  min-height: 380px;
  max-height: 420px;
  overflow-y: auto;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  scroll-behavior: smooth;
}
.chat-window__body::-webkit-scrollbar { width: 4px; }
.chat-window__body::-webkit-scrollbar-thumb {
  background: rgba(255,255,255,0.1);
  border-radius: 2px;
}

.chat-window__input {
  padding: 14px 20px;
  border-top: 1px solid rgba(255,255,255,0.06);
  font-size: 0.8rem;
  color: #475569;
  min-height: 46px;
}
/* English annotation for viewer — fades away */
.chat-msg__en {
  font-size: 0.65rem;
  color: rgba(148, 163, 184, 0.75);
  font-style: italic;
  margin-top: 4px;
  padding-right: 4px;
  animation: annotation-fade 5s ease-in forwards;
}
.chat-msg--guest .chat-msg__en {
  text-align: right;
}
.chat-msg--agent .chat-msg__en,
.chat-msg--staff .chat-msg__en {
  text-align: left;
}
@keyframes annotation-fade {
  0%, 60% { opacity: 1; }
  100% { opacity: 0; }
}

.chat-window__input-text.active {
  color: #e2e8f0;
}
.chat-window__input-text.active::after {
  content: '';
  display: inline-block;
  width: 2px;
  height: 1em;
  background: var(--accent);
  margin-left: 2px;
  vertical-align: text-bottom;
  animation: blink-cursor 0.7s step-end infinite;
}
@keyframes blink-cursor {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}

/* Chat messages */
.chat-msg {
  display: flex;
  flex-direction: column;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.35s ease, transform 0.35s ease;
}
.chat-msg--visible {
  opacity: 1;
  transform: translateY(0);
}

.chat-msg--agent, .chat-msg--staff { align-items: flex-start; }
.chat-msg--guest { align-items: flex-end; }
.chat-msg--system { align-items: center; }

.chat-msg__sender {
  font-size: 0.65rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 4px;
  padding: 0 4px;
}
.chat-msg--agent .chat-msg__sender { color: #60A5FA; }
.chat-msg--staff .chat-msg__sender { color: #F59E0B; }
.chat-msg--guest .chat-msg__sender { color: var(--accent); }

.chat-msg__bubble {
  max-width: 85%;
  padding: 10px 16px;
  border-radius: 16px;
  font-size: 0.82rem;
  line-height: 1.55;
  position: relative;
}

.chat-msg--agent .chat-msg__bubble {
  background: #1C2E44;
  color: #e2e8f0;
  border-bottom-left-radius: 4px;
}
.chat-msg--staff .chat-msg__bubble {
  background: #1C2E44;
  color: #e2e8f0;
  border-bottom-left-radius: 4px;
}
.chat-msg--guest .chat-msg__bubble {
  background: var(--accent);
  color: #fff;
  border-bottom-right-radius: 4px;
}

.chat-msg--system .chat-msg__bubble {
  background: rgba(255,255,255,0.06);
  color: var(--text-light);
  font-size: 0.72rem;
  padding: 8px 16px;
  border-radius: 20px;
  max-width: 100%;
}
.chat-msg--system .chat-msg__bubble--join {
  background: rgba(34,197,94,0.12);
  color: #4ADE80;
  border: 1px solid rgba(34,197,94,0.2);
}

.chat-msg__translate {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.62rem;
  color: #94A3B8;
  margin-top: 4px;
  padding: 0 4px;
  opacity: 0;
  transition: opacity 0.3s ease 0.2s;
}
.chat-msg--visible .chat-msg__translate { opacity: 1; }
.chat-msg__translate svg {
  width: 12px;
  height: 12px;
}

/* Typing indicator */
.chat-typing {
  display: flex;
  align-items: flex-start;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.25s ease, transform 0.25s ease;
}
.chat-typing--visible {
  opacity: 1;
  transform: translateY(0);
}
.chat-typing--agent, .chat-typing--staff { align-items: flex-start; }
.chat-typing--guest { align-items: flex-end; flex-direction: column; }

.chat-typing__dots {
  display: flex;
  gap: 4px;
  padding: 12px 18px;
  border-radius: 16px;
  background: #1C2E44;
}
.chat-typing--guest .chat-typing__dots {
  background: rgba(212,149,106,0.4);
}

.chat-typing__dots span {
  width: 6px;
  height: 6px;
  background: #64748B;
  border-radius: 50%;
  animation: typing-bounce 1.4s ease infinite;
}
.chat-typing--guest .chat-typing__dots span {
  background: rgba(255,255,255,0.6);
}
.chat-typing__dots span:nth-child(2) { animation-delay: 0.2s; }
.chat-typing__dots span:nth-child(3) { animation-delay: 0.4s; }

@keyframes typing-bounce {
  0%, 60%, 100% { transform: translateY(0); }
  30% { transform: translateY(-4px); }
}

/* Replay button */
.chat-demo__replay {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 32px auto 0;
  padding: 10px 24px;
  background: transparent;
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--text-muted);
  font-family: var(--font);
  font-size: 0.85rem;
  font-weight: 500;
  cursor: pointer;
  transition: border-color 0.2s, color 0.2s;
}
.chat-demo__replay:hover {
  border-color: var(--accent);
  color: var(--accent);
}
.chat-demo {
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* ── Animations ── */
.fade-up {
  opacity: 0; transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.fade-up.visible {
  opacity: 1; transform: translateY(0);
}

/* ── Responsive ── */
@media (max-width: 1024px) {
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .dashboard-features { grid-template-columns: repeat(2, 1fr); }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .integrations-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .chat-demo__panels.dual { grid-template-columns: 1fr; }
  .chat-demo__col { max-width: 100%; }
  .chat-window__body { min-height: 320px; max-height: 380px; }

  .nav__links { display: none; }
  .nav__links.open {
    display: flex; flex-direction: column;
    position: absolute; top: 72px; left: 0; right: 0;
    background: rgba(15, 27, 45, 0.98);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    padding: 1rem 24px; gap: 0;
  }
  .nav__links.open li { padding: 0.5rem 0; }
  .nav__hamburger { display: flex; }

  .hero__content { padding: 120px 0 80px; }
  .compromise { grid-template-columns: 1fr; gap: 40px; }
  .compromise__image { order: -1; aspect-ratio: 16/9; }
  .before-after { grid-template-columns: 1fr; }
  .guest-story { grid-template-columns: 1fr; gap: 40px; }
  .guest-story__image { order: -1; aspect-ratio: 16/9; }
  .team-grid { grid-template-columns: 1fr; gap: 40px; }
  .team-grid__image { aspect-ratio: 16/9; }
  .channels-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: 1fr; }
  .dashboard-features { grid-template-columns: 1fr; }
  .feature-grid { grid-template-columns: 1fr; }
  .integrations-grid { grid-template-columns: 1fr; }
  .app-showcase { grid-template-columns: 1fr; gap: 48px; }
  .app-showcase__mockups { order: -1; }
  .section { padding: 72px 0; }
  .chyma-block { padding: 28px 24px; }
  .brand-logos { gap: 28px; }
  .brand-logos img { height: 28px; }
}

@media (max-width: 480px) {
  .channels-grid { grid-template-columns: 1fr; }
  .hero h1 { font-size: 2rem; }
  .before-after__panel { padding: 32px 24px; }
  .quote-block { padding: 32px 28px; }
  .phone-mockup { width: 110px; transform: translateY(20px); }
  .phone-mockup--main { width: 130px; transform: translateY(-10px); }
  .phone-mockup:first-child { transform: translateY(25px); }
  .phone-mockup:last-child { transform: translateY(15px); }
  .app-showcase__mockups { gap: 12px; }
}
