/* ===========================
   VKConversions - Main Styles
   =========================== */

/* Self-hosted fonts (GDPR-safe, no Google request, CSP font-src 'self') */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('/assets/fonts/inter-var.woff2') format('woff2');
}

@font-face {
  font-family: 'Playfair Display';
  font-style: italic;
  font-weight: 700;
  font-display: swap;
  src: url('/assets/fonts/playfair-display-italic.woff2') format('woff2');
}

.skip-link {
  position: absolute;
  top: -48px;
  left: 12px;
  z-index: 10000;
  padding: 10px 18px;
  background: #0d1b3e;
  color: #fff;
  font-weight: 700;
  border-radius: 0 0 10px 10px;
  text-decoration: none;
  transition: top 0.2s ease;
}

.skip-link:focus {
  top: 0;
}

:root {
  --blue: #7bb2ed;
  --blue-mid: #68a4ea;   /* logo "K" tone — brand gradient midpoint */
  --blue-deep: #5596e6;  /* logo "<" arrow tone — brand gradient end */
  --blue-dark: #1341b0;
  --blue-text: #3576c9; /* accessible blue for text on white/light backgrounds (≥3:1 large, ≥4.5:1 normal) */
  --blue-light: #e8f0fe;
  --navy: #0d1b3e;
  --gray-50: #f8fafc;
  --gray-100: #f1f5f9;
  --gray-200: #e2e8f0;
  --gray-400: #64748b; /* darkened from #94a3b8 for WCAG AA text contrast */
  --gray-600: #475569;
  --gray-800: #1e293b;
  --white: #ffffff;
  --radius: 14px;
  --radius-lg: 26px;
  --radius-pill: 999px;
  /* Signature brand gradient — light → mid → deep blue, traced from the VLK logo mark */
  --brand-gradient: linear-gradient(135deg, var(--blue) 0%, var(--blue-mid) 52%, var(--blue-deep) 100%);
  --shadow: 0 4px 24px rgba(85,150,230,0.10);
  --shadow-lg: 0 10px 40px rgba(85,150,230,0.18);
}

::selection { background: var(--blue-deep); color: var(--white); }

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', sans-serif;
  color: var(--gray-800);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { text-decoration: none; color: inherit; }
img { max-width: 100%; height: auto; display: block; }

/* ===== PAGE TRANSITIONS ===== */
body {
  opacity: 0;
  transition: opacity 0.12s ease;
}
body.page-ready { opacity: 1; }
body.page-exit  { opacity: 0; }

/* ===== NAVBAR ===== */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(12px);
  height: 68px;
}

.nav-inner {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 5%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 14px;
}

/* EN / NL language switch */
.lang-switch {
  display: flex;
  align-items: center;
  gap: 1px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.6px;
}

.lang-switch a {
  color: var(--gray-400);
  padding: 4px 7px;
  border-radius: 6px;
  transition: color 0.2s, background 0.2s;
}

.lang-switch a:hover { color: var(--navy); background: var(--gray-100); }

.lang-switch a.lang-active {
  color: var(--navy);
  background: var(--gray-100);
}

.lang-sep {
  color: var(--gray-200);
  font-weight: 300;
  font-size: 0.85rem;
  pointer-events: none;
  padding: 0 1px;
}

/* Soft gradient fade at bottom of nav */
nav::after {
  content: '';
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  height: 48px;
  background: linear-gradient(to bottom, rgba(255,255,255,0.72) 0%, rgba(255,255,255,0) 100%);
  pointer-events: none;
  z-index: -1;
}

.nav-logo {
  height: 100%;
  display: flex;
  align-items: center;
  border-radius: 0;
}

.nav-logo img {
  height: 40px;
  width: auto;
  display: block;
  object-fit: contain;
  transition: transform 0.2s cubic-bezier(0.34,1.56,0.64,1), filter 0.2s ease;
}

.nav-logo:hover img {
  transform: translateY(-1px) scale(1.02);
  filter: saturate(1.12);
}

.nav-logo span {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--navy);
  letter-spacing: -0.5px;
}

.nav-links {
  display: flex;
  gap: 36px;
  list-style: none;
  position: relative;
}

.nav-links a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--gray-600);
  transition: color 0.2s;
  padding-bottom: 4px;
}

.nav-links a:hover,
.nav-links a.active { color: var(--navy); }

/* Sliding underline indicator */
.nav-indicator {
  position: absolute;
  bottom: -4px;
  height: 2px;
  background: var(--blue);
  border-radius: 2px;
  transition: left 0.28s cubic-bezier(0.4,0,0.2,1), width 0.28s cubic-bezier(0.4,0,0.2,1), opacity 0.2s;
  pointer-events: none;
}

.nav-cta {
  background: var(--brand-gradient);
  color: var(--white) !important;
  padding: 10px 22px;
  border-radius: var(--radius-pill);
  font-size: 0.875rem;
  font-weight: 600;
  box-shadow: 0 6px 18px rgba(85,150,230,0.28);
  transition: transform 0.2s, box-shadow 0.2s, filter 0.2s;
}

.nav-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 22px rgba(19,65,176,0.32);
  filter: saturate(1.1) brightness(0.97);
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
}

.hamburger span {
  width: 24px;
  height: 2px;
  background: var(--gray-800);
  border-radius: 2px;
  transition: all 0.3s;
}

/* ===== BUTTONS ===== */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--brand-gradient);
  color: var(--white);
  min-height: 48px;
  padding: 14px 30px;
  border-radius: var(--radius-pill);
  font-size: 0.95rem;
  font-weight: 700;
  border: none;
  cursor: pointer;
  box-shadow: 0 12px 26px rgba(85,150,230,0.30);
  transition: transform 0.2s, box-shadow 0.2s, filter 0.2s;
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 34px rgba(19,65,176,0.34);
  filter: saturate(1.12) brightness(0.96);
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: var(--gray-800);
  padding: 13px 28px;
  border-radius: var(--radius-pill);
  font-size: 0.95rem;
  font-weight: 600;
  border: 2px solid var(--gray-200);
  cursor: pointer;
  transition: all 0.2s;
}

.btn-outline:hover {
  border-color: var(--blue-deep);
  color: var(--blue-deep);
  transform: translateY(-2px);
}

.btn-white {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--white);
  color: var(--blue-deep);
  min-height: 48px;
  padding: 14px 30px;
  border-radius: var(--radius-pill);
  font-size: 0.95rem;
  font-weight: 700;
  border: none;
  cursor: pointer;
  transition: all 0.2s;
}

.btn-white:hover {
  background: var(--blue-light);
  transform: translateY(-3px);
  box-shadow: 0 14px 30px rgba(13,27,62,0.12);
}

.btn-white-outline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: var(--white);
  min-height: 48px;
  padding: 14px 30px;
  border-radius: var(--radius-pill);
  font-size: 0.95rem;
  font-weight: 700;
  border: 2px solid rgba(255,255,255,0.5);
  cursor: pointer;
  transition: all 0.2s;
}

.btn-white-outline:hover {
  border-color: var(--white);
  background: rgba(255,255,255,0.1);
  transform: translateY(-3px);
  box-shadow: 0 14px 30px rgba(13,27,62,0.10);
}

/* ===== LAYOUT ===== */
.container {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 5%;
  position: relative;
  z-index: 1;
}

section { padding: 128px 0; position: relative; overflow: hidden; }

main.hero-main { position: relative; }

/* ===== GLOW SPOT UTILITIES ===== */
/* Top-right glow blob */
.glow-tr::before {
  content: '';
  position: absolute;
  top: -120px;
  right: -80px;
  width: 520px;
  height: 520px;
  background: radial-gradient(circle, rgba(123,178,237,0.15) 0%, rgba(85,150,230,0.06) 55%, transparent 72%);
  pointer-events: none;
  z-index: 0;
}

/* Bottom-left glow blob */
.glow-bl::after {
  content: '';
  position: absolute;
  bottom: -120px;
  left: -80px;
  width: 480px;
  height: 480px;
  background: radial-gradient(circle, rgba(104,164,234,0.13) 0%, rgba(85,150,230,0.05) 55%, transparent 72%);
  pointer-events: none;
  z-index: 0;
}

@keyframes blobFloat {
  0%, 100% { border-radius: 42% 58% 65% 35% / 45% 40% 60% 55%; transform: rotate(0deg); }
  50%      { border-radius: 58% 42% 40% 60% / 55% 60% 40% 45%; transform: rotate(6deg); }
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--blue-light);
  color: var(--blue);
  padding: 6px 14px;
  border-radius: 99px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.3px;
  margin-bottom: 20px;
}

h1 {
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -1.5px;
  color: var(--navy);
}

h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -1px;
  color: var(--navy);
}

h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: -0.3px;
}

.highlight { color: var(--blue); }

/* ===== CHIC TYPOGRAPHY ===== */
/* Elegant italic serif — Playfair Display. Use on highlighted key words only. */
.chic {
  font-family: 'Playfair Display', Georgia, serif;
  font-style: italic;
  font-weight: 700;
  letter-spacing: 0.2px;
}

/* Subtle golden mark — warm yellow that complements the blue palette */
.mark {
  background: linear-gradient(120deg, rgba(250,200,30,0) 0%, rgba(250,200,30,0.30) 15%, rgba(250,200,30,0.30) 85%, rgba(250,200,30,0) 100%);
  border-radius: 3px;
  padding: 0 3px;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}

.section-label {
  text-align: center;
  margin-bottom: 64px;
}

.section-label h2 {
  margin-bottom: 12px;
  /* Default: medium → light blue diagonal */
  background: linear-gradient(125deg, #5a9de0 0%, #7bb2ed 50%, #b8d9f3 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
/* Horizontal, very airy — pale sky fade */
.section-label.grad-a h2 {
  background: linear-gradient(90deg, #7bb2ed 0%, #a8d4f5 55%, #d4ebf9 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
/* Diagonal, slightly richer — more presence */
.section-label.grad-b h2 {
  background: linear-gradient(145deg, #4a8fd4 0%, #7bb2ed 48%, #9dc8ef 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
/* Nearly flat, whisper-soft — almost white-blue */
.section-label.grad-c h2 {
  background: linear-gradient(108deg, #9dc8ef 0%, #c5dff6 60%, #e4f2fb 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.section-label p { color: var(--gray-600); font-size: 1.05rem; line-height: 1.75; max-width: 600px; margin: 0 auto; }

/* ===== CARDS ===== */
.card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: transform 0.2s, box-shadow 0.2s;
  position: relative;
  overflow: hidden;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

/* Subtle grain texture on cards */
.card::after,
.service-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='300' height='300' filter='url(%23n)'/%3E%3C/svg%3E");
  opacity: 0.035;
  mix-blend-mode: overlay;
  pointer-events: none;
  border-radius: inherit;
}

.card-icon {
  width: 48px;
  height: 48px;
  border-radius: 46% 54% 58% 42% / 50% 44% 56% 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  font-size: 1.4rem;
  transition: border-radius 0.4s ease;
}

.card:hover .card-icon,
.service-card:hover .card-icon {
  border-radius: 50%;
}

.card-icon.blue { background: var(--blue-light); }
.card-icon.navy { background: var(--brand-gradient); }

/* ===== GRID ===== */
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }

/* ===== HERO ===== */
.hero {
  min-height: 100vh;
  padding-top: 68px;
  padding-bottom: 118px;
  background: linear-gradient(160deg, #c5dff6 0%, #d4e9f9 35%, #e4f2fb 65%, #f5faff 100%);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* Noise texture */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='300' height='300' filter='url(%23n)'/%3E%3C/svg%3E");
  opacity: 0.15;
  pointer-events: none;
  z-index: 0;
}

/* Grid — fades in toward right side where the demo sits */
.hero::after {
  content: '';
  position: absolute;
  inset: -10%;
  background-image:
    linear-gradient(rgba(13,27,62,0.1) 1px, transparent 1px),
    linear-gradient(90deg, rgba(13,27,62,0.1) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 85% 80% at 68% 44%, black 5%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse 85% 80% at 68% 44%, black 5%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

.hero > .container {
  position: relative;
  z-index: 1;
}

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.03fr) minmax(420px, 0.97fr);
  gap: clamp(56px, 7vw, 96px);
  align-items: center;
}

.hero-text { max-width: 620px; }
.hero-text h1 {
  font-size: clamp(3.15rem, 6vw, 5.15rem);
  line-height: 0.98;
  letter-spacing: -2.4px;
  margin-bottom: 26px;
}
.hero-text p {
  max-width: 560px;
  font-size: clamp(1.05rem, 1.35vw, 1.2rem);
  color: var(--gray-600);
  margin-bottom: 42px;
  line-height: 1.75;
}

.hero-btns {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  align-items: center;
}

.hero .btn-primary {
  min-height: 52px;
  padding: 15px 34px;
  box-shadow: 0 16px 34px rgba(19,65,176,0.18), 0 1px 0 rgba(255,255,255,0.32) inset;
}

/* Dashboard mockup */
.hero-visual {
  position: relative;
  will-change: transform;
}

/* Organic brand-gradient blob glowing behind the mockup — echoes the logo's rounded forms */
.hero-visual::before {
  content: '';
  position: absolute;
  inset: -12% -18%;
  z-index: 0;
  border-radius: 42% 58% 65% 35% / 45% 40% 60% 55%;
  background: var(--brand-gradient);
  filter: blur(70px);
  opacity: 0.35;
  pointer-events: none;
  animation: blobFloat 16s ease-in-out infinite;
}
@media (prefers-reduced-motion: reduce) {
  .hero-visual::before { animation: none; }
}

.dashboard-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--gray-200);
  position: relative;
  z-index: 1;
}

.dashboard-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
}

.dashboard-header .title {
  font-size: 0.75rem;
  color: var(--gray-400);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.dashboard-header .badge {
  background: #dcfce7;
  color: #166534;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 99px;
}

.dashboard-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.stat-item .value {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--navy);
  letter-spacing: -1px;
}

.stat-item .label {
  font-size: 0.75rem;
  color: var(--gray-400);
  margin-top: 4px;
}

/* Hero light-blue background overrides */
.hero h1 { color: var(--navy); }
.hero-text p { color: var(--gray-600); }
.hero .eyebrow {
  background: rgba(255,255,255,0.65);
  color: var(--blue-dark);
  border: 1px solid rgba(255,255,255,0.9);
  backdrop-filter: blur(6px);
}
/* Frosted glass secondary button in hero */
.hero .btn-outline {
  background: rgba(255,255,255,0.5);
  border-color: rgba(255,255,255,0.8);
  color: var(--navy);
  backdrop-filter: blur(6px);
}
.hero .btn-outline:hover {
  background: rgba(255,255,255,0.8);
  border-color: var(--white);
  color: var(--navy);
}

/* ===== HERO DEMO WIDGET ===== */
.hero-demo {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* Answer area (top) — fixed height keeps search bar pinned */
.hero-answer {
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.5s ease, transform 0.5s ease;
  height: 290px;
  flex-shrink: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}
.hero-answer.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Search bar (bottom) */
.hero-demo-search {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(255,255,255,0.88);
  border: 1.5px solid rgba(26,86,219,0.14);
  border-radius: var(--radius-pill);
  padding: 13px 18px;
  backdrop-filter: blur(10px);
  box-shadow: 0 4px 20px rgba(0,0,0,0.07), 0 0 0 1px rgba(255,255,255,0.8);
  min-height: 50px;
  transition: border-color 0.3s, box-shadow 0.3s;
}
.hero-demo-search.active {
  border-color: rgba(26,86,219,0.3);
  box-shadow: 0 4px 20px rgba(26,86,219,0.1), 0 0 0 3px rgba(26,86,219,0.05);
}
.hero-demo-search-icon { flex-shrink: 0; }
.hero-demo-typed {
  font-size: 0.88rem;
  color: var(--gray-800);
  font-family: 'Inter', sans-serif;
  flex: 1;
}
.hero-demo-cursor {
  display: inline-block;
  width: 2px;
  height: 15px;
  background: var(--blue);
  border-radius: 1px;
  flex-shrink: 0;
  animation: cursorBlink 1s step-end infinite;
  vertical-align: middle;
}
.hero-demo-cursor.hidden { display: none; }
@keyframes cursorBlink {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0; }
}

/* Loading dots */
.hero-demo-dots {
  display: none;
  gap: 4px;
  align-items: center;
  margin-left: auto;
  flex-shrink: 0;
}
.hero-demo-dots.visible { display: flex; }
.hero-demo-dots span {
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--blue);
  opacity: 0.6;
  animation: dotPulse 1.2s ease-in-out infinite;
}
.hero-demo-dots span:nth-child(2) { animation-delay: 0.2s; }
.hero-demo-dots span:nth-child(3) { animation-delay: 0.4s; }
@keyframes dotPulse {
  0%, 80%, 100% { transform: scale(0.65); opacity: 0.35; }
  40%           { transform: scale(1);    opacity: 0.85; }
}

/* ===== HERO ANSWER CARDS ===== */
.hero-answer-card {
  background: rgba(255,255,255,0.92);
  border: 1px solid rgba(0,0,0,0.07);
  border-radius: 14px;
  padding: 15px 17px;
  box-shadow: 0 8px 36px rgba(0,0,0,0.1), 0 0 0 1px rgba(255,255,255,0.9);
  backdrop-filter: blur(12px);
}

/* Header row */
.hac-header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--gray-200);
}
.hac-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 6px rgba(34,197,94,0.7);
  animation: hacLivePulse 2s ease-in-out infinite;
  flex-shrink: 0;
}
@keyframes hacLivePulse {
  0%, 100% { box-shadow: 0 0 5px rgba(34,197,94,0.55); }
  50%       { box-shadow: 0 0 11px rgba(34,197,94,1), 0 0 16px rgba(34,197,94,0.3); }
}
.hac-title {
  font-size: 0.65rem;
  color: var(--gray-400);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  flex: 1;
}
.hac-badge {
  font-size: 0.62rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 99px;
}
.hac-badge.live { color: #16a34a; background: #dcfce7; }
.hac-badge.good { color: var(--blue-dark); background: var(--blue-light); }

/* KPI grid (dashboard type) */
.hac-kpis {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 7px;
  margin-bottom: 11px;
}
.hac-kpi {
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
  border-radius: 7px;
  padding: 9px 10px;
}
.hac-kpi-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 5px;
}
.hac-kpi-label { font-size: 0.6rem; color: var(--gray-400); font-weight: 500; }
.hac-kpi-trend {
  font-size: 0.56rem;
  font-weight: 700;
  padding: 1px 5px;
  border-radius: 3px;
}
.hac-kpi-trend.up, .hac-kpi-trend.good { color: #16a34a; background: #dcfce7; }
.hac-kpi-trend.down { color: #dc2626; background: #fee2e2; }
.hac-kpi-value {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--navy);
  letter-spacing: -0.5px;
  line-height: 1;
}

/* Bar chart (dashboard type) */
.hac-chart { border-top: 1px solid var(--gray-200); padding-top: 10px; }
.hac-chart-label {
  font-size: 0.56rem;
  color: var(--gray-400);
  font-weight: 500;
  margin-bottom: 7px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.hac-bars {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 3px;
  align-items: end;
  height: 46px;
}
.hac-bar {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  height: 100%;
  justify-content: flex-end;
}
.hac-bar-fill {
  width: 100%;
  height: 0;
  border-radius: 2px 2px 0 0;
  background: linear-gradient(to top, #1a56db, #7bb2ed);
  transition: height 0.9s cubic-bezier(0.34, 1.4, 0.64, 1);
}
.hero-answer.visible .hac-bar-fill { height: var(--h); }
.hac-bar.active .hac-bar-fill { background: linear-gradient(to top, var(--blue-dark), var(--blue)); }
.hac-bar span { font-size: 0.5rem; color: var(--gray-400); font-weight: 500; }

/* Ranking type */
.hac-ranking { display: flex; flex-direction: column; gap: 9px; }
.hac-rank-item { display: flex; align-items: center; gap: 9px; }
.hac-rank-medal { font-size: 1rem; flex-shrink: 0; width: 22px; text-align: center; }
.hac-rank-info { flex: 1; min-width: 0; }
.hac-rank-bar-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 4px;
}
.hac-rank-label { font-size: 0.76rem; font-weight: 600; color: var(--navy); }
.hac-rank-value { font-size: 0.64rem; color: var(--gray-400); font-weight: 500; }
.hac-rank-track {
  height: 5px;
  background: var(--gray-200);
  border-radius: 3px;
  overflow: hidden;
}
.hac-rank-fill {
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, #1a56db80, var(--blue));
  border-radius: 3px;
  transition: width 0.9s cubic-bezier(0.34, 1.4, 0.64, 1);
}
.hac-rank-fill.top { background: linear-gradient(90deg, var(--blue-dark), var(--blue)); }
.hero-answer.visible .hac-rank-fill { width: var(--w); }

/* Insight type */
.hac-insight-badge {
  display: inline-flex;
  align-items: center;
  background: var(--blue-light);
  color: var(--blue-dark);
  font-size: 0.63rem;
  font-weight: 700;
  padding: 3px 9px;
  border-radius: 99px;
  border: 1px solid rgba(26,86,219,0.15);
  margin-bottom: 8px;
}
.hac-insight-title {
  font-size: 0.98rem;
  font-weight: 800;
  color: var(--navy);
  letter-spacing: -0.3px;
  margin-bottom: 6px;
}
.hac-insight-body {
  font-size: 0.77rem;
  color: var(--gray-600);
  line-height: 1.55;
  margin-bottom: 11px;
}
.hac-confidence {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 9px;
}
.hac-confidence-label {
  font-size: 0.58rem;
  color: var(--gray-400);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  flex-shrink: 0;
}
.hac-confidence-track {
  flex: 1;
  height: 5px;
  background: var(--gray-200);
  border-radius: 3px;
  overflow: hidden;
}
.hac-confidence-fill {
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, var(--blue), #22c55e);
  border-radius: 3px;
  transition: width 1.1s ease 0.15s;
}
.hero-answer.visible .hac-confidence-fill { width: var(--w); }
.hac-confidence-pct { font-size: 0.68rem; font-weight: 700; color: var(--navy); flex-shrink: 0; }
.hac-tags { display: flex; flex-wrap: wrap; gap: 5px; }
.hac-tag {
  font-size: 0.6rem;
  font-weight: 600;
  padding: 2px 7px;
  background: var(--blue-light);
  color: var(--blue-dark);
  border-radius: 4px;
}

/* Audience type */
.hac-segments { display: flex; flex-direction: column; gap: 9px; }
.hac-segment-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 4px;
}
.hac-segment-label { font-size: 0.76rem; font-weight: 600; color: var(--navy); }
.hac-segment-pct { font-size: 0.68rem; font-weight: 700; color: var(--gray-600); }
.hac-segment-track {
  height: 6px;
  background: var(--gray-200);
  border-radius: 3px;
  overflow: hidden;
}
.hac-segment-fill {
  height: 100%;
  width: 0;
  border-radius: 3px;
  background: var(--c, var(--blue));
  transition: width 0.9s cubic-bezier(0.34, 1.4, 0.64, 1);
}
.hero-answer.visible .hac-segment-fill { width: var(--w); }

/* Stats/video type */
.hac-stats-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 7px;
}
.hac-stat {
  text-align: center;
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
  border-radius: 8px;
  padding: 11px 6px;
}
.hac-stat-value {
  font-size: 1.28rem;
  font-weight: 900;
  color: var(--navy);
  letter-spacing: -0.7px;
  line-height: 1;
  margin-bottom: 3px;
}
.hac-stat-label {
  font-size: 0.56rem;
  color: var(--gray-400);
  font-weight: 500;
  margin-bottom: 4px;
  line-height: 1.3;
}
.hac-stat-trend { font-size: 0.6rem; font-weight: 700; color: #16a34a; }

/* Hero Wave */
.hero-wave {
  position: absolute;
  bottom: -1px;
  left: 0;
  right: 0;
  height: 72px;
  z-index: 2;
  pointer-events: none;
}
.hero-wave svg {
  width: 100%;
  height: 100%;
  display: block;
}

/* ===== VIDEO SHOWCASE ===== */
.video-showcase { background: var(--white); padding: 92px 0 112px; }
.video-showcase::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 700px;
  height: 400px;
  background: radial-gradient(ellipse, rgba(123,178,237,0.10) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}
.video-showcase .section-label { margin-bottom: 40px; }

.video-wrapper {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: #000;
  box-shadow: 0 16px 56px rgba(0,0,0,0.13);
  cursor: pointer;
}

.video-wrapper video {
  width: 100%;
  height: auto;
  display: block;
}

.video-play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: #7bb2ed;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  box-shadow:
    0 0 0 5px rgba(255,255,255,0.22),
    0 0 28px rgba(255,255,255,0.4);
  opacity: 1;
  transition: opacity 0.5s ease, transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
  z-index: 2;
}

.video-play-btn:hover {
  background: #5a9de0;
  transform: translate(-50%, -50%) scale(1.1);
  box-shadow:
    0 0 0 7px rgba(255,255,255,0.3),
    0 0 36px rgba(255,255,255,0.55);
}

/* Hide button while playing (JS adds this class) */
.video-wrapper.playing .video-play-btn {
  opacity: 0;
  pointer-events: none;
}
/* Reveal on hover even while playing */
.video-wrapper.playing:hover .video-play-btn {
  opacity: 1;
  pointer-events: auto;
}

.video-play-btn svg {
  width: 28px;
  height: 28px;
  display: block;
  flex-shrink: 0;
}

.video-play-btn.is-play svg { margin-left: 3px; }

/* ===== SERVICES SECTION ===== */
.service-card {
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 40px 38px;
  transition: all 0.2s;
  position: relative;
  overflow: hidden;
}

.service-card:hover {
  background: var(--white);
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

.service-card h3 { margin-bottom: 12px; }
.service-card p { color: var(--gray-600); font-size: 0.95rem; line-height: 1.75; margin-bottom: 22px; }

.service-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.service-list li {
  font-size: 0.875rem;
  color: var(--gray-600);
  display: flex;
  align-items: center;
  gap: 8px;
}

.service-list li::before {
  content: '✓';
  width: 18px;
  height: 18px;
  background: var(--blue-light);
  color: var(--blue);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.65rem;
  font-weight: 700;
  flex-shrink: 0;
}

/* ===== WHY SECTION ===== */
.why-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: start;
}

.why-left { display: flex; flex-direction: column; gap: 28px; }

.why-stat {
  background: var(--brand-gradient);
  color: var(--white);
  border-radius: var(--radius-lg);
  padding: 44px;
  position: relative;
  overflow: hidden;
}
.why-stat::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='300' height='300' filter='url(%23n)'/%3E%3C/svg%3E");
  opacity: 0.10;
  pointer-events: none;
}
.why-stat .number,
.why-stat .label,
.why-stat p { position: relative; z-index: 1; }

.why-stat .number {
  font-size: 3rem;
  font-weight: 900;
  letter-spacing: -2px;
  line-height: 1;
}

.why-stat .label {
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  opacity: 0.85;
  margin-top: 8px;
}

.why-stat p {
  font-size: 0.9rem;
  opacity: 0.9;
  margin-top: 12px;
  line-height: 1.6;
}

/* ===== PROJECTS SECTION ===== */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.project-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
  aspect-ratio: 4/3;
  background: var(--gray-200);
}

.project-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s;
}

.project-card:hover img { transform: scale(1.05); }

.project-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 20px;
  background: linear-gradient(to top, rgba(0,0,0,0.7), transparent);
  color: white;
}

.project-overlay h4 { font-size: 0.95rem; font-weight: 700; }
.project-overlay span { font-size: 0.75rem; opacity: 0.8; }

.project-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
}

.project-placeholder.video { background: linear-gradient(135deg, #1a1a2e, #16213e); }
.project-placeholder.ads { background: linear-gradient(135deg, #0f3460, #533483); }
.project-placeholder.doc { background: linear-gradient(135deg, #1b4332, #2d6a4f); }

/* ===== CTA BANNER ===== */
.cta-banner {
  background: var(--brand-gradient);
  border-radius: var(--radius-lg);
  padding: 88px 64px;
  text-align: center;
  color: var(--white);
  position: relative;
  overflow: hidden;
  box-shadow: 0 24px 70px rgba(19,65,176,0.22);
}
.cta-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='300' height='300' filter='url(%23n)'/%3E%3C/svg%3E");
  opacity: 0.08;
  pointer-events: none;
}
.cta-banner::after {
  content: '';
  position: absolute;
  inset: 1px;
  border: 1px solid rgba(255,255,255,0.28);
  border-radius: inherit;
  pointer-events: none;
}
.cta-banner > * { position: relative; z-index: 1; }
.cta-banner h2 { color: var(--white); margin-bottom: 16px; }
.cta-banner p { font-size: 1.1rem; opacity: 0.9; margin-bottom: 36px; }
.cta-banner-btns { display: flex; justify-content: center; gap: 16px; flex-wrap: wrap; }

/* ===== FOOTER ===== */
footer {
  background: linear-gradient(165deg, var(--blue) 0%, var(--blue-mid) 28%, var(--blue-deep) 58%, var(--navy) 100%);
  color: var(--white);
  padding: 88px 0 40px;
  position: relative;
  z-index: 1;
  overflow: hidden;
}

/* Faint oversized brand-mark watermark, echoing the logo's chevron */
footer::before {
  content: '';
  position: absolute;
  bottom: -14%;
  right: -6%;
  width: 620px;
  height: 620px;
  max-width: 60vw;
  max-height: 60vw;
  background: url('/assets/img/logo.webp?v=2') no-repeat center / contain;
  opacity: 0.05;
  transform: rotate(-8deg);
  pointer-events: none;
  z-index: 0;
}

.footer-grid, .footer-bottom { position: relative; z-index: 1; }

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1.5fr 1fr 1fr;
  gap: 56px;
  margin-bottom: 56px;
  align-items: start;
}

/* Brand / Logo */
.footer-brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.footer-brand img {
  width: auto;
  height: 52px;
  display: block;
  margin-bottom: 24px;
}

.footer-brand p {
  color: rgba(255,255,255,0.78);
  font-size: 0.9rem;
  margin-top: 0;
  max-width: 260px;
  line-height: 1.65;
}

/* Columns */
.footer-col h4 {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.4px;
  color: rgba(255,255,255,0.65);
  margin-bottom: 18px;
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 0;
  margin: 0;
}

.footer-col ul li a {
  color: rgba(255,255,255,0.86);
  font-size: 0.92rem;
  text-decoration: none;
  transition: color 0.2s ease, opacity 0.2s ease;
}

.footer-col ul li a:hover {
  color: var(--white);
}

/* Newsletter */
.footer-col p {
  color: rgba(255,255,255,0.78);
  font-size: 0.9rem;
  line-height: 1.55;
  margin: 0;
}

.footer-newsletter {
  display: flex;
  gap: 8px;
  margin-top: 16px;
}

.footer-newsletter input {
  flex: 1;
  min-width: 0;
  padding: 11px 18px;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(255,255,255,0.28);
  background: rgba(255,255,255,0.10);
  color: var(--white);
  font-size: 0.85rem;
  outline: none;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.footer-newsletter input::placeholder {
  color: rgba(255,255,255,0.48);
}

.footer-newsletter input:focus {
  border-color: rgba(255,255,255,0.75);
  background: rgba(255,255,255,0.14);
}

.footer-newsletter button {
  background: var(--white);
  color: var(--blue-dark);
  border: none;
  border-radius: var(--radius-pill);
  padding: 11px 18px;
  min-width: 48px;
  cursor: pointer;
  font-size: 0.85rem;
  font-weight: 700;
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.footer-newsletter button:hover {
  background: var(--blue-dark);
  color: var(--white);
  transform: translateY(-1px);
}

/* Bottom */
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.18);
  padding-top: 26px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.62);
}

.footer-bottom p {
  margin: 0;
  color: rgba(255,255,255,0.62);
}

.footer-bottom-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px 20px;
}

.footer-link-sep {
  color: rgba(255,255,255,0.3);
}

.footer-bottom-links a {
  color: rgba(255,255,255,0.62);
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-bottom-links a:hover {
  color: var(--white);
}

.footer-bottom-links a.footer-social {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.footer-bottom-links a.footer-social svg {
  width: 18px;
  height: 18px;
  display: block;
}

/* Responsive */
@media (max-width: 900px) {
  footer {
    padding: 56px 0 28px;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }

  .footer-brand img {
    width: 150px;
  }
}

@media (max-width: 600px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }

  .footer-bottom-links {
    gap: 20px;
  }

  .footer-newsletter {
    max-width: 100%;
  }
}

/* ===== PAGE HERO ===== */
.page-hero {
  padding-top: 152px;
  padding-bottom: 96px;
  background: linear-gradient(160deg, #d4e9f9 0%, #e8f4fd 45%, #f5faff 100%);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='300' height='300' filter='url(%23n)'/%3E%3C/svg%3E");
  opacity: 0.06;
  pointer-events: none;
}
.page-hero::after {
  content: '';
  position: absolute;
  top: -18%;
  right: -10%;
  width: 420px;
  height: 380px;
  border-radius: 58% 42% 40% 60% / 55% 60% 40% 45%;
  background: var(--brand-gradient);
  filter: blur(60px);
  opacity: 0.22;
  pointer-events: none;
}
.page-hero .container { position: relative; z-index: 1; }

.page-hero h1 { margin-bottom: 16px; }
.page-hero p { color: var(--gray-600); font-size: 1.1rem; max-width: 600px; margin: 0 auto; }

/* ===== ABOUT PAGE ===== */

/* About intro 2-col grid */
.about-intro-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.about-intro-text p { color: var(--gray-600); line-height: 1.8; margin-bottom: 20px; }
.about-intro-text .divider {
  width: 48px;
  height: 3px;
  background: var(--blue);
  border-radius: 2px;
  margin: 16px 0 28px;
}
.about-facts {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.about-fact {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 24px 28px;
}
.about-fact h4 { font-size: 0.9rem; font-weight: 700; color: var(--navy); margin-bottom: 6px; }
.about-fact p { font-size: 0.875rem; color: var(--gray-600); margin: 0; }

/* Founder section */
.founder-section {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 72px;
  align-items: center;
}
.founder-img-wrap {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 3/4;
  background: var(--gray-100);
  display: flex;
  align-items: flex-end;
}
.founder-img-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #1a56db15, #0d1b3e20);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 5rem;
}
.founder-badge {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 20px 24px;
  background: rgba(13,27,62,0.85);
  backdrop-filter: blur(8px);
  color: white;
}
.founder-badge .name { font-size: 1.1rem; font-weight: 700; }
.founder-badge .role { font-size: 0.8rem; opacity: 0.7; }
.founder-text .divider {
  width: 48px;
  height: 3px;
  background: var(--blue);
  border-radius: 2px;
  margin: 16px 0 24px;
}
.founder-text p { color: var(--gray-600); line-height: 1.8; margin-bottom: 20px; }
.founder-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 28px; }
.founder-card {
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 20px;
}
.founder-card .icon { font-size: 1.4rem; margin-bottom: 8px; }
.founder-card h4 { font-size: 0.95rem; font-weight: 700; }
.founder-card p { font-size: 0.8rem; color: var(--gray-600); }

/* Mission quote block */
.mission-quote {
  background: linear-gradient(135deg, #071224 0%, #0d1b3e 100%);
  border-radius: var(--radius-lg);
  padding: 72px 64px;
  text-align: center;
  color: white;
  position: relative;
  overflow: hidden;
}
.mission-quote::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='300' height='300' filter='url(%23n)'/%3E%3C/svg%3E");
  opacity: 0.08;
  pointer-events: none;
}
.mission-quote > * { position: relative; z-index: 1; }
.mission-quote h2 { color: white; font-size: 2rem; margin-bottom: 16px; }
.mission-quote p { color: rgba(255,255,255,0.7); font-size: 1.05rem; max-width: 560px; margin: 0 auto; }

/* Process Steps (How We Work) */
.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.process-step {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
}
.process-num {
  font-size: 2.5rem;
  font-weight: 900;
  color: var(--blue);
  opacity: 0.45;
  margin-bottom: 20px;
  line-height: 1;
}
.process-step h4 { font-size: 1rem; font-weight: 700; margin-bottom: 10px; }
.process-step p { font-size: 0.875rem; color: var(--gray-600); margin: 0; line-height: 1.6; }

/* Why checklist */
.why-check-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 32px;
}
.why-check-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  font-size: 0.95rem;
  color: var(--gray-800);
  line-height: 1.5;
}
.why-check-item .check {
  width: 22px;
  height: 22px;
  background: var(--blue);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  color: white;
  flex-shrink: 0;
  margin-top: 1px;
}

/* Team Section */
.team-grid { display: flex; justify-content: center; }
.team-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.team-member {
  display: flex;
  align-items: center;
  gap: 28px;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 32px 36px;
}
.team-img {
  width: 88px;
  height: 88px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center top;
  border: 3px solid var(--blue);
  flex-shrink: 0;
}
.team-img-placeholder {
  width: 88px;
  height: 88px;
  border-radius: 50%;
  background: linear-gradient(135deg, #4a8fd4, var(--blue));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  font-weight: 700;
  color: white;
  flex-shrink: 0;
  letter-spacing: 1px;
}
.team-info h3 { font-size: 1.1rem; font-weight: 700; margin-bottom: 4px; }
.team-role { font-size: 0.875rem; color: var(--blue); font-weight: 600; display: block; margin-bottom: 8px; }
.team-info p { font-size: 0.875rem; color: var(--gray-600); margin: 0; line-height: 1.6; }

@media (max-width: 900px) {
  .about-intro-grid { grid-template-columns: 1fr; gap: 40px; }
  .process-grid { grid-template-columns: repeat(2, 1fr); }
  .team-grid-2 { grid-template-columns: 1fr; }
  .team-member { flex-direction: column; text-align: center; padding: 32px 28px; }
}

/* ===== CONTACT PAGE ===== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.8fr;
  gap: 48px;
  align-items: stretch;
}

.contact-info {
  background: linear-gradient(135deg, #071224 0%, #0d1b3e 100%);
  border: 1px solid rgba(123,178,237,0.2);
  border-radius: var(--radius-lg);
  padding: 36px;
  color: white;
  position: relative;
  overflow: hidden;
}

.contact-info::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='300' height='300' filter='url(%23n)'/%3E%3C/svg%3E");
  opacity: 0.08;
  pointer-events: none;
}

.contact-info h2,
.contact-info h3,
.contact-info .contact-item p { position: relative; z-index: 1; }

.contact-info h2,
.contact-info h3 { color: white; margin-bottom: 28px; font-size: 1.25rem; font-weight: 700; letter-spacing: -0.3px; }

.contact-info .contact-item {
  position: relative;
  z-index: 1;
}

.contact-info .contact-item h4 { color: rgba(255,255,255,0.55); }
.contact-info .contact-item p { color: rgba(255,255,255,0.88); }
.contact-info .contact-item a { color: var(--blue); }
.contact-info .contact-item .icon { background: rgba(255,255,255,0.1); }

.contact-perks {
  margin-top: 32px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  position: relative;
  z-index: 1;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.12);
}

.contact-perk {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.875rem;
  color: rgba(255,255,255,0.8);
}

.contact-perk::before {
  content: '✓';
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: rgba(123,178,237,0.25);
  color: var(--blue);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.65rem;
  font-weight: 800;
  flex-shrink: 0;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 24px;
}

.contact-item .icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--blue-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
}

.contact-item h4 { font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.5px; color: var(--gray-400); margin-bottom: 4px; }
.contact-item p { font-size: 0.95rem; font-weight: 500; }
.contact-item a { color: var(--blue); }

.social-icons {
  display: flex;
  gap: 10px;
  margin-top: 8px;
}

.social-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,0.12);
  color: rgba(255,255,255,0.85);
  transition: background 0.2s, color 0.2s;
  text-decoration: none;
}

.social-icon:hover {
  background: var(--blue);
  color: white;
}

.social-icon svg {
  width: 16px;
  height: 16px;
  display: block;
}

.contact-form {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: 0 18px 56px rgba(13,27,62,0.08);
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}

.contact-form::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--blue), #d4ebf9);
}

.contact-form form {
  display: flex;
  flex-direction: column;
  flex: 1;
}

.form-group.msg-group {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.form-group.msg-group textarea {
  flex: 1;
  min-height: 140px;
}

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--gray-800);
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid var(--gray-200);
  border-radius: 9px;
  font-family: inherit;
  font-size: 0.9rem;
  color: var(--gray-800);
  background: var(--white);
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 4px rgba(123,178,237,0.18);
}

.form-group textarea { resize: vertical; min-height: 120px; }

.consent-group {
  margin-top: 4px;
  margin-bottom: 20px;
}

.consent-label {
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr);
  align-items: start;
  gap: 11px;
  padding: 12px 14px;
  border: 1px solid var(--gray-200);
  border-radius: 10px;
  background: var(--gray-50);
  color: var(--gray-600);
  font-size: 0.86rem;
  line-height: 1.55;
  cursor: pointer;
}

.consent-label input {
  width: 17px;
  height: 17px;
  margin: 2px 0 0;
  accent-color: var(--blue-dark);
}

.consent-label span {
  display: block;
  min-width: 0;
}

.consent-label a {
  color: var(--blue-dark);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.type-buttons {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.type-btn {
  padding: 9px 18px;
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-pill);
  font-size: 0.875rem;
  font-weight: 500;
  background: var(--white);
  color: var(--gray-600);
  cursor: pointer;
  transition: all 0.2s;
}

.type-btn.active,
.type-btn:hover {
  border-color: var(--blue-dark);
  color: var(--blue-dark);
  background: var(--blue-light);
}
.type-btn:focus-visible {
  outline: 2px solid var(--blue-dark);
  outline-offset: 2px;
}

/* ===== FAQ PAGE ===== */
.faq-list { display: flex; flex-direction: column; gap: 12px; max-width: 780px; margin: 0 auto; }

.faq-item {
  background: var(--white);
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color 0.2s;
}

.faq-item.open { border-color: var(--blue); }

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 24px;
  background: none;
  border: none;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 600;
  color: var(--navy);
  cursor: pointer;
  text-align: left;
  gap: 16px;
}

.faq-arrow {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--blue-light);
  color: var(--blue);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform 0.3s, background 0.2s;
  font-size: 0.9rem;
}

.faq-item.open .faq-arrow {
  transform: rotate(180deg);
  background: var(--blue);
  color: white;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.3s;
  padding: 0 24px;
}

.faq-item.open .faq-answer {
  max-height: 500px;
  padding-bottom: 22px;
}

.faq-answer p { color: var(--gray-600); line-height: 1.7; font-size: 0.95rem; }

/* ===== SERVICES PAGE ===== */
.service-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  padding: 80px 0;
  border-bottom: 1px solid var(--gray-200);
}

.service-detail:last-of-type { border-bottom: none; }
.service-detail.reverse { direction: rtl; }
.service-detail.reverse > * { direction: ltr; }

.service-visual {
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 4/3;
  font-size: 5rem;
}

.service-detail h2 { margin-bottom: 16px; }
.service-detail p { color: var(--gray-600); line-height: 1.8; margin-bottom: 24px; }

.feature-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 32px;
}

.feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.9rem;
  color: var(--gray-600);
}

.feature-list li span:first-child {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--blue-light);
  color: var(--blue);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.65rem;
  font-weight: 800;
  flex-shrink: 0;
  margin-top: 2px;
}

/* ===== STATS ROW ===== */
.stats-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  padding: 48px 0;
  border-top: 1px solid var(--gray-200);
  border-bottom: 1px solid var(--gray-200);
}

.stat-box { text-align: center; }
.stat-box .number {
  font-size: 2.8rem;
  font-weight: 900;
  color: var(--blue);
  letter-spacing: -2px;
  line-height: 1;
}
.stat-box .desc {
  font-size: 0.875rem;
  color: var(--gray-600);
  margin-top: 6px;
}

/* ===== ANIMATIONS ===== */
.fade-in {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}
.fade-in.visible { opacity: 1; transform: translateY(0); }

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  .hero-inner,
  .founder-section,
  .service-detail,
  .contact-grid,
  .why-grid,
  .grid-2 { grid-template-columns: 1fr; }

  .hero-visual { display: none; }
  .hero {
    min-height: auto;
    padding-top: 132px;
    padding-bottom: 96px;
    justify-content: flex-start;
  }
  .hero-inner {
    gap: 0;
    align-items: start;
  }
  .hero-text {
    max-width: 700px;
  }
  .hero-text h1 {
    max-width: 680px;
    font-size: clamp(2.85rem, 8vw, 4.35rem);
    line-height: 1;
    letter-spacing: -1.9px;
  }
  .hero-text p {
    max-width: 620px;
    margin-bottom: 34px;
  }
  .service-detail.reverse { direction: ltr; }
  .service-visual { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .projects-grid,
  .grid-3 { grid-template-columns: 1fr 1fr; }
  .stats-row { grid-template-columns: repeat(3, 1fr); }
  .form-row { grid-template-columns: 1fr; }
  .founder-cards { grid-template-columns: 1fr; }
  .section-label { margin-bottom: 48px; }
  .service-detail { padding: 52px 0; gap: 40px; }
  .mission-quote { padding: 56px 40px; }
}

@media (max-width: 640px) {
  .nav-links, .nav-cta { display: none; }
  .hamburger {
    display: flex;
    width: 42px;
    height: 42px;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(248,250,252,0.88);
    border: 1px solid var(--gray-100);
    transition: background 0.2s, border-color 0.2s;
  }
  .hamburger:hover {
    background: var(--blue-light);
    border-color: rgba(85,150,230,0.3);
  }
  .nav-right { gap: 8px; }
  section { padding: 78px 0; }
  .page-hero { padding-top: 112px; padding-bottom: 68px; }
  .cta-banner { padding: 48px 24px; }
  .footer-grid { grid-template-columns: 1fr; }
  .projects-grid { grid-template-columns: 1fr; }
  .grid-3 { grid-template-columns: 1fr; }
  .process-grid { grid-template-columns: 1fr; }
  h1 { font-size: 2.15rem; line-height: 1.08; letter-spacing: -1px; }
  h2 { font-size: 1.65rem; line-height: 1.15; }
  .hero {
    min-height: auto;
    padding-top: 116px;
    padding-bottom: 82px;
    text-align: left;
  }
  .hero::before { opacity: 0.10; }
  .hero::after {
    opacity: 0.45;
    background-size: 44px 44px;
    mask-image: radial-gradient(ellipse 90% 58% at 50% 20%, black 0%, transparent 72%);
    -webkit-mask-image: radial-gradient(ellipse 90% 58% at 50% 20%, black 0%, transparent 72%);
  }
  .hero .eyebrow {
    margin-bottom: 18px;
    font-size: 0.74rem;
    padding: 6px 12px;
  }
  .hero-text h1 {
    font-size: clamp(2.55rem, 12vw, 3.25rem);
    line-height: 1.02;
    letter-spacing: -1.45px;
    margin-bottom: 22px;
  }
  .hero-text p {
    font-size: 1rem;
    line-height: 1.68;
    margin-bottom: 30px;
  }
  .hero-btns {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    max-width: 310px;
  }
  .hero .btn-primary {
    width: 100%;
    min-height: 52px;
    padding: 15px 24px;
  }
  .cta-banner-btns { flex-direction: column; align-items: center; }
  .section-label { margin-bottom: 42px; }
  .section-label p { font-size: 0.98rem; }
  .video-showcase {
    padding: 74px 0 84px;
  }
  .video-showcase .section-label {
    margin-bottom: 32px;
  }
  .plive-workspace-wrap {
    margin-top: 34px;
  }
  .mission-quote { padding: 44px 24px; }
  .mission-quote h2 { font-size: 1.5rem; }
  .contact-form { padding: 24px 20px; }
  .contact-info { padding: 24px 20px; }
  .floating-actions {
    right: 18px;
    bottom: 22px;
    transform: scale(0.92);
    transform-origin: bottom right;
  }
  .why-stat { padding: 32px 24px; }
  .cta-banner p { margin-bottom: 24px; }
  .about-intro-grid { gap: 32px; }
  .why-check-list { gap: 12px; }
  .team-member { padding: 24px 20px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; gap: 12px; }
  .process-step { padding: 28px 20px; }
  .card { padding: 26px 22px; }
  .service-card { padding: 30px 24px; }
  .grid-2,
  .grid-3,
  .why-grid { gap: 22px; }
  .why-left { gap: 22px; }
  .stats-row {
    gap: 14px;
    padding: 36px 0;
  }
  .stat-box .number { font-size: 2.15rem; }
  .stat-box .desc { font-size: 0.78rem; line-height: 1.35; }
  .faq-question { padding: 18px 16px; font-size: 0.9rem; }
  .faq-answer { padding: 0 16px; }
  .faq-item.open .faq-answer { padding-bottom: 16px; }
  .footer-brand p { max-width: 100%; }
  .about-fact { padding: 20px; }
  .hero-wave { height: 40px; }
}

/* Mobile Menu */
.mobile-menu {
  display: flex;
  position: fixed;
  top: 68px;
  left: 12px;
  right: 12px;
  background: rgba(255,255,255,0.98);
  border: 1px solid rgba(226,232,240,0.95);
  border-radius: 18px;
  padding: 14px;
  z-index: 999;
  flex-direction: column;
  gap: 6px;
  box-shadow: 0 22px 54px rgba(13,27,62,0.16);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(-10px) scale(0.98);
  transform-origin: top center;
  transition: opacity 0.24s ease, transform 0.24s ease, visibility 0.24s ease;
}

.mobile-menu.open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0) scale(1);
}
.mobile-menu > a {
  font-size: 1rem;
  font-weight: 700;
  color: var(--gray-800);
  padding: 12px 14px;
  border-radius: 12px;
  border-bottom: none;
  transition: background 0.18s ease, color 0.18s ease, transform 0.18s ease;
}
.mobile-menu > a:last-child { border: none; }
.mobile-menu > a:hover,
.mobile-menu > a.active {
  color: var(--blue-dark);
  background: var(--blue-light);
  transform: translateX(2px);
}

.mobile-menu > .btn-primary {
  color: var(--white);
  margin-top: 8px !important;
  justify-content: center;
}

.mobile-menu > .btn-primary:hover {
  color: var(--white);
  background: var(--blue-dark);
  transform: translateY(-1px);
}

.hamburger[aria-expanded="true"] {
  background: var(--blue-light);
  border-color: rgba(123,178,237,0.42);
}

.hamburger[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.hamburger[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.hamburger[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ===== WAVE DIVIDERS ===== */
.wave-divider {
  overflow: hidden;
  line-height: 0;
  height: 60px;
  position: relative;
  z-index: 2;
}
.wave-divider svg {
  display: block;
  width: 200%;
  height: 100%;
  animation: waveDrift 14s linear infinite;
}
.wave-on-white { background: var(--white); }
.wave-on-gray  { background: var(--gray-50); }
@keyframes waveDrift {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ===== COOKIE BANNER ===== */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 9000;
  background: rgba(13,27,62,0.97);
  backdrop-filter: blur(14px);
  color: var(--white);
  padding: 18px 5%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  transform: translateY(100%);
  transition: transform 0.4s cubic-bezier(0.4,0,0.2,1);
  box-shadow: 0 -4px 32px rgba(0,0,0,0.18);
}
.cookie-banner.visible { transform: translateY(0); }
.cookie-banner p {
  font-size: 0.875rem;
  line-height: 1.55;
  opacity: 0.82;
  margin: 0;
  flex: 1;
  min-width: 200px;
}
.cookie-banner a { color: var(--blue); text-decoration: underline; }
.cookie-btns { display: flex; gap: 10px; flex-shrink: 0; }
.cookie-accept {
  background: var(--brand-gradient);
  color: var(--white);
  border: none;
  padding: 9px 22px;
  border-radius: var(--radius-pill);
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  font-family: inherit;
  transition: filter 0.2s;
}
.cookie-accept:hover { filter: saturate(1.15) brightness(0.96); }
.cookie-decline {
  background: transparent;
  color: rgba(255,255,255,0.65);
  border: 1px solid rgba(255,255,255,0.18);
  padding: 9px 20px;
  border-radius: var(--radius-pill);
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  font-family: inherit;
  transition: color 0.2s, border-color 0.2s;
}
.cookie-decline:hover { color: var(--white); border-color: rgba(255,255,255,0.45); }
.cookie-settings-btn {
  background: transparent;
  color: rgba(255,255,255,0.75);
  border: none;
  padding: 9px 4px;
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  font-family: inherit;
  text-decoration: underline;
  transition: color 0.2s;
}
.cookie-settings-btn:hover { color: var(--white); }
.cookie-panel {
  flex-basis: 100%;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px;
  padding-top: 14px;
  margin-top: 4px;
  border-top: 1px solid rgba(255,255,255,0.14);
}
.cookie-panel label {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  font-size: 0.85rem;
  line-height: 1.5;
  color: rgba(255,255,255,0.88);
  cursor: pointer;
  max-width: 340px;
}
.cookie-panel label input { margin-top: 3px; accent-color: var(--blue); width: 16px; height: 16px; flex-shrink: 0; }
.cookie-panel label span strong { display: block; font-weight: 600; }
.cookie-panel label span small { color: rgba(255,255,255,0.62); font-size: 0.78rem; }
.cookie-save {
  background: var(--white);
  color: var(--navy);
  border: none;
  padding: 9px 22px;
  border-radius: var(--radius-pill);
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  font-family: inherit;
}
.cookie-save:hover { background: var(--blue-light); }

/* ===== SELECTED PACKAGE BANNER (contact form) ===== */
.selected-plan-banner {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--blue-light);
  border: 1.5px solid var(--blue);
  border-radius: 10px;
  padding: 12px 16px;
  margin-bottom: 20px;
  font-size: 0.92rem;
  color: var(--navy);
}
.selected-plan-banner strong { font-weight: 700; }

/* ===== PLAN TERMS NOTE (pricing section) ===== */
.plan-terms {
  max-width: 880px;
  margin: 36px auto 0;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 24px 28px;
}
.plan-terms h3 { font-size: 0.95rem; margin-bottom: 10px; }
.plan-terms ul {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px 24px;
  font-size: 0.85rem;
  color: var(--gray-600);
  line-height: 1.6;
}
.plan-terms ul li { padding-left: 16px; position: relative; }
.plan-terms ul li::before { content: '·'; position: absolute; left: 2px; color: var(--blue-text); font-weight: 700; }
@media (max-width: 720px) { .plan-terms ul { grid-template-columns: 1fr; } }

/* ===== CALCULATOR RESULT CTA ===== */
.calc-cta {
  margin: 18px 0 4px;
  padding: 18px 20px;
  border-radius: 12px;
  background: var(--navy);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.calc-cta p { font-size: 0.92rem; line-height: 1.55; margin: 0; flex: 1; min-width: 220px; }
.calc-cta a {
  background: var(--white);
  color: var(--navy);
  font-weight: 600;
  font-size: 0.875rem;
  padding: 10px 18px;
  border-radius: 8px;
  white-space: nowrap;
  transition: background 0.2s;
}
.calc-cta a:hover { background: var(--blue-light); }

/* ===== FORM STATUS (screen-reader friendly result message) ===== */
.form-status {
  margin-top: 12px;
  font-size: 0.9rem;
  font-weight: 600;
  min-height: 1.2em;
}
.form-status.ok { color: #15803d; }
.form-status.err { color: #b91c1c; }
.consent-optional { margin-top: -8px; }

/* ===== FLOATING ACTIONS ===== */
.floating-actions {
  position: fixed;
  bottom: 32px;
  right: 32px;
  z-index: 800;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 12px;
  pointer-events: none;
}

.floating-action {
  position: relative;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--white);
  border: 1px solid rgba(255,255,255,0.12);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 14px 34px rgba(13,27,62,0.24);
  pointer-events: auto;
  font-family: inherit;
  transition: transform 0.42s cubic-bezier(0.16, 1, 0.3, 1),
              opacity 0.28s ease,
              background 0.2s ease,
              box-shadow 0.2s ease;
}

.floating-action svg {
  width: 19px;
  height: 19px;
  display: block;
}

.floating-action:hover {
  background: var(--blue-dark);
  box-shadow: 0 18px 38px rgba(19,65,176,0.28);
}

/* Hover / focus label pill to the left of each button */
.floating-action[data-label]::after {
  content: attr(data-label);
  position: absolute;
  right: calc(100% + 12px);
  top: 50%;
  transform: translateY(-50%) translateX(6px);
  background: var(--navy);
  color: var(--white);
  font-size: 0.78rem;
  font-weight: 600;
  line-height: 1;
  padding: 9px 14px;
  border-radius: 999px;
  white-space: nowrap;
  box-shadow: 0 10px 26px rgba(13,27,62,0.22);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.18s ease, transform 0.18s ease;
}

.floating-action[data-label]:hover::after,
.floating-action[data-label]:focus-visible::after {
  opacity: 1;
  transform: translateY(-50%) translateX(0);
}

.roas-fab {
  background: linear-gradient(145deg, #0d1b3e 0%, #1341b0 100%);
}

.breakeven-fab {
  background: linear-gradient(145deg, #1341b0 0%, #7bb2ed 100%);
}

.breakeven-fab:hover {
  background: linear-gradient(145deg, #1341b0 0%, #5c9fe6 100%);
}

.back-to-top {
  opacity: 0;
  transform: translateY(12px) scale(0.72);
  pointer-events: none;
}

.floating-actions.scrolled .back-to-top {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

.floating-actions.scrolled .back-to-top:hover {
  transform: translateY(-2px) scale(1);
}

/* ===========================
   PROCESS LIVE SECTION (Light)
   =========================== */

.process-live {
  background: var(--gray-50);
  padding: 96px 0 80px;
}

.plive-workspace-wrap { margin-top: 48px; }

.plive-workspace {
  background: white;
  border-radius: 16px;
  box-shadow: 0 20px 70px rgba(0,0,0,0.09), 0 4px 16px rgba(0,0,0,0.05);
  overflow: hidden;
  position: relative;
  user-select: none;
}

.plive-chrome {
  background: #f1f5f9;
  border-bottom: 1px solid var(--gray-200);
  padding: 0 16px;
  display: flex;
  align-items: center;
  gap: 10px;
  height: 44px;
  flex-shrink: 0;
}

.chrome-dots { display: flex; gap: 6px; align-items: center; }
.chrome-dot  { width: 11px; height: 11px; border-radius: 50%; flex-shrink: 0; }
.chrome-dot.cr { background: #ff5f57; }
.chrome-dot.cy { background: #febc2e; }
.chrome-dot.cg { background: #28c840; }

.chrome-url {
  background: white;
  border-radius: 6px;
  padding: 5px 12px;
  font-size: 0.7rem;
  color: var(--gray-400);
  border: 1px solid var(--gray-200);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 280px;
}

.plive-phase-pills { display: flex; gap: 3px; margin-left: auto; }

.phase-pill {
  font-size: 0.63rem;
  font-weight: 600;
  padding: 3px 9px;
  border-radius: 100px;
  color: var(--gray-400);
  background: transparent;
  letter-spacing: 0.2px;
  transition: color 0.3s, background 0.3s;
  white-space: nowrap;
}

.phase-pill.active {
  color: var(--blue-dark);
  background: rgba(19,65,176,0.08);
}

.plive-content {
  position: relative;
  height: 390px;
  overflow: hidden;
}

.plive-scene {
  position: absolute;
  inset: 0;
  padding: 20px 24px;
  opacity: 0;
  transform: translateY(14px) scale(0.985);
  transition: opacity 0.5s ease, transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
  pointer-events: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.plive-scene.active {
  opacity: 1;
  transform: none;
  pointer-events: auto;
}

.scene-toolbar {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-bottom: 13px;
  border-bottom: 1px solid var(--gray-100);
  flex-shrink: 0;
}

.scene-toolbar-title {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--gray-800);
  flex: 1;
}

.scene-btn-approve {
  font-size: 0.7rem;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  font-family: inherit;
  background: var(--blue-dark);
  color: white;
  box-shadow: 0 2px 8px rgba(19,65,176,0.25);
}

.scene-btn-secondary {
  font-size: 0.7rem;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 8px;
  border: 1px solid var(--gray-200);
  cursor: pointer;
  font-family: inherit;
  background: white;
  color: var(--gray-600);
}

.plive-cursor {
  position: absolute;
  pointer-events: none;
  z-index: 200;
  top: 50%;
  left: 50%;
  filter: drop-shadow(0 2px 5px rgba(19,65,176,0.35));
  will-change: top, left;
}

.plive-cursor.clicking { animation: cursorClickAnim 0.2s ease; }

@keyframes cursorClickAnim {
  0%   { transform: scale(1); }
  45%  { transform: scale(0.8); }
  100% { transform: scale(1); }
}

.plive-ripple {
  position: absolute;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(19,65,176,0.12);
  border: 2px solid rgba(19,65,176,0.38);
  transform: translate(-50%, -50%) scale(0);
  animation: rippleExpand 0.55s ease-out forwards;
  pointer-events: none;
  z-index: 199;
}

@keyframes rippleExpand {
  0%   { transform: translate(-50%, -50%) scale(0); opacity: 1; }
  100% { transform: translate(-50%, -50%) scale(2.8); opacity: 0; }
}

/* SCENE 0: STORYBOARD */
.sb-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  flex: 1;
}

.sb-frame {
  border: 2px solid var(--gray-200);
  border-radius: 10px;
  overflow: hidden;
  transition: border-color 0.25s, box-shadow 0.25s;
  position: relative;
  background: white;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}

.sb-frame.selected {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(123,178,237,0.22), 0 2px 8px rgba(0,0,0,0.06);
}

.sb-frame.approved {
  border-color: #22c55e;
  box-shadow: 0 0 0 3px rgba(34,197,94,0.15);
}

.sb-frame.approved::after {
  content: "\2713";
  position: absolute;
  top: 6px; right: 8px;
  color: #22c55e;
  font-size: 0.85rem;
  font-weight: 800;
}

.sb-thumb { aspect-ratio: 16/10; background: linear-gradient(135deg, var(--gray-100) 0%, var(--gray-200) 100%); }
.sb-thumb-0 { background: linear-gradient(135deg, #dbeafe 0%, #bfdbfe 100%); }
.sb-thumb-1 { background: linear-gradient(135deg, #f0f9ff 0%, #bae6fd 100%); }
.sb-thumb-2 { background: linear-gradient(135deg, #eff6ff 0%, #c7d2fe 100%); }
.sb-thumb-3 { background: linear-gradient(135deg, #eef2ff 0%, #ddd6fe 100%); }

.sb-frame-label {
  font-size: 0.65rem;
  font-weight: 600;
  color: var(--gray-600);
  padding: 6px 8px;
  text-align: center;
  background: white;
}

/* SCENE 1: PRODUCTION */
.ed-layout {
  display: grid;
  grid-template-columns: 1fr 160px;
  gap: 14px;
  flex: 1;
  min-height: 0;
}

.ed-preview-panel { position: relative; display: flex; flex-direction: column; }

.ed-preview-frame {
  background: #0a0a14;
  border-radius: 8px;
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--gray-200);
  position: relative;
}

.ed-preview-text { font-size: 0.78rem; font-weight: 800; color: white; letter-spacing: 3px; }

.ed-play-btn {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 36px; height: 36px;
  border-radius: 50%;
  background: rgba(19,65,176,0.85);
  color: white;
  border: none;
  cursor: pointer;
  font-size: 0.8rem;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 14px rgba(19,65,176,0.4);
  font-family: inherit;
}

.ed-sidebar {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 14px;
  background: var(--gray-50);
  border-radius: 10px;
  border: 1px solid var(--gray-100);
}

.ed-prop { display: flex; flex-direction: column; gap: 2px; }
.ed-prop-lbl { font-size: 0.6rem; font-weight: 700; color: var(--gray-400); text-transform: uppercase; letter-spacing: 0.5px; }
.ed-prop-val { font-size: 0.76rem; font-weight: 600; color: var(--gray-800); }

.ed-timeline {
  height: 54px;
  background: var(--gray-50);
  border-radius: 8px;
  border: 1px solid var(--gray-100);
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 6px 10px;
  position: relative;
  overflow: hidden;
  flex-shrink: 0;
}

.ed-tl-track { flex: 1; position: relative; }

.ed-clip {
  position: absolute;
  top: 1px; bottom: 1px;
  border-radius: 4px;
  background: rgba(19,65,176,0.35);
}

.ed-clip.audio-clip { background: rgba(123,178,237,0.35); }

.ed-tl-scrubber {
  position: absolute;
  top: 0; bottom: 0;
  width: 2px;
  background: #ef4444;
  left: 15%;
  border-radius: 2px;
  box-shadow: 0 0 4px rgba(239,68,68,0.5);
}

.ed-export-bar {
  height: 26px;
  background: var(--gray-100);
  border-radius: 6px;
  overflow: hidden;
  border: 1px solid var(--gray-200);
  position: relative;
  flex-shrink: 0;
  display: none;
}

.ed-export-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--blue-dark), var(--blue));
  border-radius: 6px;
}

.ed-export-lbl {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.68rem;
  font-weight: 600;
  color: var(--gray-600);
}

/* SCENE 2: LAUNCH */
.launch-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; flex: 1; }
.launch-left { display: flex; flex-direction: column; gap: 12px; }
.launch-field { display: flex; flex-direction: column; gap: 4px; }
.launch-field label { font-size: 0.62rem; font-weight: 700; color: var(--gray-400); text-transform: uppercase; letter-spacing: 0.5px; }

.launch-input {
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
  border-radius: 7px;
  padding: 8px 10px;
  font-size: 0.76rem;
  color: var(--gray-800);
  font-weight: 500;
}

.launch-toggle-row { display: flex; gap: 7px; }
.launch-toggle {
  padding: 5px 12px;
  border-radius: 6px;
  font-size: 0.7rem;
  font-weight: 700;
  background: var(--gray-100);
  color: var(--gray-400);
  border: 1px solid var(--gray-200);
}
.launch-toggle.active { background: rgba(19,65,176,0.07); color: var(--blue-dark); border-color: rgba(19,65,176,0.18); }

.launch-btn {
  background: var(--blue-dark);
  color: white;
  padding: 10px 16px;
  border-radius: 9px;
  font-size: 0.78rem;
  font-weight: 700;
  border: none;
  cursor: pointer;
  font-family: inherit;
  margin-top: auto;
  box-shadow: 0 4px 14px rgba(19,65,176,0.28);
  text-align: center;
}

.launch-right { display: flex; flex-direction: column; gap: 10px; justify-content: center; }

.launch-counter-card {
  background: white;
  border: 1px solid var(--gray-100);
  border-radius: 10px;
  padding: 12px 16px;
  display: flex;
  align-items: baseline;
  gap: 10px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}

.lcc-val { font-size: 1.3rem; font-weight: 800; color: var(--navy); font-variant-numeric: tabular-nums; min-width: 68px; line-height: 1; }
.lcc-lbl { font-size: 0.68rem; color: var(--gray-400); font-weight: 500; }

.live-badge-sm {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(22,163,74,0.08);
  border: 1px solid rgba(22,163,74,0.22);
  color: #16a34a;
  font-size: 0.68rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 100px;
}

.live-dot-sm { width: 6px; height: 6px; border-radius: 50%; background: #22c55e; animation: livePulse 1.2s ease-in-out infinite; }

/* SCENE 3: OPTIMISE */
.opt-layout { display: grid; grid-template-columns: 1fr auto; gap: 18px; flex: 1; align-items: start; }
.opt-ab { display: flex; flex-direction: column; gap: 12px; }

.opt-variant {
  background: white;
  border: 1px solid var(--gray-200);
  border-radius: 10px;
  padding: 14px 16px;
  transition: opacity 0.3s;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}

.opt-variant.paused { opacity: 0.38; }
.opt-var-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; }
.opt-var-name { font-size: 0.76rem; font-weight: 600; color: var(--gray-800); }

.opt-btn {
  font-size: 0.62rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 6px;
  border: none;
  cursor: pointer;
  font-family: inherit;
}

.opt-btn.pause { background: rgba(239,68,68,0.09); color: #dc2626; border: 1px solid rgba(239,68,68,0.18); }
.opt-btn.scale { background: rgba(34,197,94,0.09); color: #16a34a; border: 1px solid rgba(34,197,94,0.18); }
.opt-bar-row { display: flex; align-items: center; gap: 10px; }
.opt-bar-track { flex: 1; height: 9px; background: var(--gray-100); border-radius: 5px; overflow: hidden; }

.opt-bar { height: 100%; width: 0%; background: #cbd5e1; border-radius: 5px; transition: width 1.4s ease; }
.opt-bar.winner { background: linear-gradient(90deg, var(--blue-dark), var(--blue)); }
.plive-scene.active .opt-bar { width: var(--w); }
.opt-bar-stat { font-size: 0.7rem; font-weight: 700; color: var(--gray-600); min-width: 50px; text-align: right; }

.opt-kpis { display: flex; flex-direction: column; gap: 8px; }

.opt-kpi {
  text-align: center;
  background: white;
  border: 1px solid var(--gray-100);
  border-radius: 10px;
  padding: 12px 14px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
  min-width: 86px;
}

.opt-kpi-val { font-size: 1.05rem; font-weight: 800; color: var(--blue-dark); line-height: 1.2; }
.opt-kpi-lbl { font-size: 0.62rem; color: var(--gray-400); text-transform: uppercase; letter-spacing: 0.5px; margin-top: 3px; }

/* SCENE 4: RESULTS */
.res-layout { display: flex; flex-direction: column; gap: 14px; flex: 1; }
.res-metrics { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }

.res-card {
  background: white;
  border: 1px solid var(--gray-100);
  border-radius: 12px;
  padding: 16px;
  text-align: center;
  box-shadow: 0 2px 12px rgba(0,0,0,0.05);
}

.res-val { font-size: 1.9rem; font-weight: 900; color: var(--navy); line-height: 1; margin-bottom: 6px; font-variant-numeric: tabular-nums; letter-spacing: -0.5px; }
.res-lbl { font-size: 0.65rem; color: var(--gray-400); text-transform: uppercase; letter-spacing: 0.4px; margin-bottom: 5px; }
.res-trend { font-size: 0.7rem; color: #16a34a; font-weight: 600; }

.res-chart { flex: 1; background: var(--gray-50); border-radius: 10px; border: 1px solid var(--gray-100); padding: 14px 16px 8px; display: flex; flex-direction: column; }
.res-svg { width: 100%; flex: 1; overflow: visible; }

.res-line {
  fill: none;
  stroke: var(--blue-dark);
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 650;
  stroke-dashoffset: 650;
  transition: stroke-dashoffset 2.2s ease;
}

.plive-scene.active .res-line { stroke-dashoffset: 0; }

.res-fill { fill: url(#resGrad); stroke: none; opacity: 0; transition: opacity 1.5s 0.3s ease; }
.plive-scene.active .res-fill { opacity: 1; }

.res-chart-lbls { display: flex; justify-content: space-between; font-size: 0.6rem; color: var(--gray-400); margin-top: 6px; }

/* ---- Demo interaction polish ---- */
#pliveWorkspace .sb-frame,
#pliveWorkspace button,
#pliveWorkspace .launch-toggle,
#pliveWorkspace .opt-variant {
  transition: scale 0.2s ease, filter 0.2s ease, box-shadow 0.25s ease,
              background 0.25s ease, color 0.25s ease, border-color 0.25s ease, opacity 0.35s ease;
}

#pliveWorkspace .plive-hover {
  filter: brightness(1.05);
  box-shadow: 0 6px 18px rgba(19,65,176,0.16);
  scale: 1.05;
}

#pliveWorkspace .plive-press {
  scale: 0.94;
  filter: brightness(0.97);
}

.phase-pill.done { color: var(--blue); opacity: 0.55; }

.scene-btn-approve.done { background: #16a34a; box-shadow: 0 2px 10px rgba(34,197,94,0.35); }

.sb-frame.selected { animation: sbPop 0.34s cubic-bezier(0.34, 1.56, 0.64, 1); }
@keyframes sbPop { 0% { scale: 1; } 45% { scale: 1.05; } 100% { scale: 1; } }

.ed-preview-frame { overflow: hidden; }
.ed-preview-frame.playing::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, transparent 30%, rgba(255,255,255,0.13) 48%, rgba(123,178,237,0.22) 52%, transparent 70%);
  transform: translateX(-100%);
  animation: edShimmer 1.5s ease-in-out infinite;
}
@keyframes edShimmer { to { transform: translateX(100%); } }

.launch-input.typing::after {
  content: '';
  display: inline-block;
  width: 1.5px;
  height: 0.9em;
  background: var(--blue-dark);
  margin-left: 2px;
  vertical-align: -0.12em;
  animation: caretBlink 0.8s steps(1) infinite;
}
@keyframes caretBlink { 50% { opacity: 0; } }

.launch-btn.launched { background: #16a34a; box-shadow: 0 4px 16px rgba(34,197,94,0.35); }

.live-badge-sm { animation: badgeIn 0.35s cubic-bezier(0.34, 1.56, 0.64, 1); }
@keyframes badgeIn { from { opacity: 0; scale: 0.5; } to { opacity: 1; scale: 1; } }

.opt-variant.scaled { border-color: rgba(34,197,94,0.45); box-shadow: 0 0 0 3px rgba(34,197,94,0.12); }
.plive-scene.active .opt-variant.scaled .opt-bar { width: 91%; }
.opt-btn.engaged { background: rgba(34,197,94,0.22); }

.opt-kpi.bump { animation: kpiBump 0.5s cubic-bezier(0.34, 1.56, 0.64, 1); }
@keyframes kpiBump { 0% { scale: 1; } 40% { scale: 1.09; } 100% { scale: 1; } }

.plive-scene.active .res-card { animation: cardRise 0.55s cubic-bezier(0.22, 1, 0.36, 1) both; }
.plive-scene.active .res-card:nth-child(2) { animation-delay: 0.1s; }
.plive-scene.active .res-card:nth-child(3) { animation-delay: 0.2s; }
@keyframes cardRise { from { opacity: 0; translate: 0 10px; } to { opacity: 1; translate: 0 0; } }

.plive-ripple.big { width: 30px; height: 30px; border-width: 1.5px; animation-duration: 0.68s; }

@media (max-width: 900px) {
  .plive-phase-pills { display: none; }
  .plive-content { height: 470px; }
  .sb-grid { grid-template-columns: repeat(2, 1fr); }
  .ed-sidebar { display: none; }
  .ed-layout { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
  .plive-content  { height: 540px; }
  .chrome-url     { display: none; }
  .launch-layout  { grid-template-columns: 1fr; }
  .opt-layout     { grid-template-columns: 1fr; }
  .opt-kpis       { flex-direction: row; }
  .res-metrics    { grid-template-columns: 1fr; gap: 8px; }
  .plive-scene    { padding: 16px; }
}

/* ===== PLAN CARDS ===== */
.packages-section {
  isolation: isolate;
}

.packages-section .section-label {
  margin-bottom: 18px;
}

.funnel-note {
  max-width: 640px;
  margin: -2px auto 38px;
  text-align: center;
  color: var(--gray-600);
  font-size: 0.9rem;
  line-height: 1.7;
}

.plan-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  align-items: stretch;
}

.plan-card {
  background:
    radial-gradient(circle at 18% 0%, rgba(123,178,237,0.16), transparent 34%),
    linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
  border: 1px solid rgba(13,27,62,0.08);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: visible;
  box-shadow: 0 12px 36px rgba(13,27,62,0.04);
  transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s;
}

.plan-card > * {
  position: relative;
  z-index: 1;
}

.plan-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  background: linear-gradient(90deg, rgba(123,178,237,0.55), rgba(13,27,62,0.08));
  z-index: 1;
}

.plan-card:not(.featured):hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.plan-card.featured {
  background:
    radial-gradient(circle at 18% 0%, rgba(123,178,237,0.28), transparent 34%),
    radial-gradient(circle at 100% 100%, rgba(255,255,255,0.09), transparent 36%),
    linear-gradient(145deg, #071224 0%, var(--navy) 48%, #162752 100%);
  border: 1px solid rgba(123,178,237,0.25);
  box-shadow: 0 8px 48px rgba(19,65,176,0.22), 0 0 0 1px rgba(123,178,237,0.1);
  z-index: 2;
}

.plan-card.featured::before {
  height: 5px;
  background: linear-gradient(90deg, var(--blue), #d4ebf9);
}

.plan-card.featured:hover {
  box-shadow: 0 20px 64px rgba(19,65,176,0.32), 0 0 0 1px rgba(123,178,237,0.2);
}

.plan-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.7px;
  text-transform: uppercase;
  padding: 7px 13px;
  border-radius: 100px;
  width: fit-content;
}

.plan-card:not(.featured) .plan-badge {
  background: var(--blue-light);
  color: var(--blue-dark);
}

.plan-card.featured .plan-badge {
  position: absolute;
  top: -15px;
  right: 24px;
  background: #ffffff;
  color: var(--navy);
  border: 1px solid rgba(123,178,237,0.42);
  box-shadow: 0 14px 30px rgba(13,27,62,0.18);
  z-index: 4;
}

.plan-kicker {
  color: var(--blue-dark);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  line-height: 1.2;
  text-transform: uppercase;
  margin-bottom: 9px;
}

.plan-card.featured .plan-kicker {
  color: rgba(255,255,255,0.72);
}


.plan-title {
  font-size: 1.2rem;
  font-weight: 800;
  letter-spacing: -0.4px;
  color: var(--navy);
  margin-bottom: 10px;
}

.plan-card.featured .plan-title { color: #fff; }

.plan-desc {
  font-size: 0.88rem;
  line-height: 1.75;
  color: var(--gray-600);
  margin-bottom: 24px;
}

.plan-card.featured .plan-desc { color: rgba(255,255,255,0.65); }

.plan-divider {
  height: 1px;
  background: var(--gray-200);
  margin-bottom: 20px;
}

.plan-card.featured .plan-divider { background: rgba(255,255,255,0.1); }

.plan-includes-label {
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.7px;
  color: var(--gray-400);
  margin-bottom: 14px;
}

.plan-card.featured .plan-includes-label { color: rgba(255,255,255,0.4); }

.plan-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
  margin-bottom: 32px;
}

.plan-features li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.875rem;
  color: var(--gray-600);
  line-height: 1.4;
}

.plan-card.featured .plan-features li { color: rgba(255,255,255,0.82); }

.plan-check {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--blue-light);
  color: var(--blue-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.55rem;
  font-weight: 900;
  flex-shrink: 0;
  margin-top: 1px;
}

.plan-card.featured .plan-check {
  background: rgba(123,178,237,0.18);
  color: var(--blue);
}

.plan-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 48px;
  text-align: center;
  padding: 12px 24px;
  border-radius: 100px;
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: -0.1px;
  transition: all 0.2s;
  margin-top: auto;
  box-shadow: 0 12px 24px rgba(13,27,62,0.1);
}

.plan-card:not(.featured) .plan-cta {
  background: var(--navy);
  color: var(--white);
}

.plan-card:not(.featured) .plan-cta:hover {
  background: var(--blue-dark);
  transform: translateY(-1px);
}

.plan-card.featured .plan-cta {
  background: var(--white);
  color: var(--navy);
  box-shadow: 0 16px 32px rgba(0,0,0,0.22);
}

.plan-card.featured .plan-cta:hover {
  background: var(--blue-light);
  transform: translateY(-1px);
}

/* ===== PLAN HEADING OVERRIDES ===== */
.section-label.plain-h2 h2 {
  background: none;
  -webkit-text-fill-color: var(--navy);
  background-clip: unset;
  color: var(--navy);
}

.plan-word-mark {
  -webkit-text-fill-color: var(--blue);
  color: var(--blue);
}

.plan-word-grad {
  background: linear-gradient(90deg, #7bb2ed 0%, #b8d9f3 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

@media (max-width: 900px) {
  .plan-grid { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; }
}

@media (max-width: 640px) {
  .plan-card { padding: 28px 24px; }
  .funnel-note { margin-bottom: 30px; }
}

/* ===== REDUCED MOTION ===== */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  html { scroll-behavior: auto !important; }
  .fade-in { opacity: 1 !important; transform: none !important; }
  body { opacity: 1; }
}

/* ===== ROAS CALCULATOR ===== */
.calc-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 32px; align-items: start; }
.calc-card { background: var(--white); border: 1px solid var(--gray-100); border-radius: 18px; padding: 32px; box-shadow: 0 10px 34px rgba(13,27,62,0.06); }
.calc-card h2 { margin-bottom: 6px; font-size: 1.15rem; font-weight: 700; letter-spacing: -0.3px; line-height: 1.6; }
.calc-card .calc-sub { font-size: 0.85rem; color: var(--gray-400); margin-bottom: 22px; }
.calc-field { margin-bottom: 18px; }
.calc-field label { display: block; font-size: 0.85rem; font-weight: 600; color: var(--gray-600); margin-bottom: 7px; }
.calc-field input[type="number"] {
  width: 100%; padding: 12px 14px;
  border: 1.5px solid var(--gray-100); border-radius: 10px;
  font: inherit; font-size: 1rem; color: var(--gray-800);
  background: var(--gray-50);
}
.calc-field input[type="number"]:focus { outline: none; border-color: var(--blue); background: var(--white); }
.calc-results { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.calc-metric { background: var(--gray-50); border-radius: 12px; padding: 16px 10px; text-align: center; }
.calc-metric .val { font-size: 1.3rem; font-weight: 800; color: var(--blue-dark); }
.calc-metric .lbl { font-size: 0.7rem; letter-spacing: 0.05em; text-transform: uppercase; color: var(--gray-400); margin-top: 4px; }
.calc-roas { margin: 22px 0; padding: 20px; border-radius: 14px; text-align: center; background: var(--blue-light); }
.calc-roas .val { font-size: 2.2rem; font-weight: 800; color: var(--blue-dark); line-height: 1.1; }
.calc-roas .lbl { font-size: 0.8rem; font-weight: 600; color: var(--gray-600); margin-top: 4px; }
.calc-roas .note { font-size: 0.78rem; color: var(--gray-400); margin-top: 8px; }
.calc-roas.is-loss { background: #fef2f2; }
.calc-roas.is-loss .val { color: #dc2626; }
.calc-uplift { margin-top: 24px; padding-top: 22px; border-top: 1px solid var(--gray-100); }
.calc-uplift-head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 10px; }
.calc-uplift-head h3 { font-size: 0.95rem; font-weight: 700; letter-spacing: normal; color: var(--gray-800); }
.calc-uplift-head .calc-uplift-pct { font-weight: 800; color: var(--blue-dark); }
.calc-uplift input[type="range"] { width: 100%; accent-color: var(--blue-dark); cursor: pointer; }
.calc-uplift .calc-uplift-note { font-size: 0.78rem; color: var(--gray-400); margin-top: 6px; }
.calc-improved { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 16px; }
.calc-improved .calc-metric { background: #f0fdf4; }
.calc-improved .calc-metric .val { color: #16a34a; }
.calc-disclaimer { font-size: 0.78rem; color: var(--gray-400); text-align: center; margin-top: 20px; }
@media (max-width: 900px) {
  .calc-grid { grid-template-columns: 1fr; }
  .calc-results, .calc-improved { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 560px) {
  .calc-results, .calc-improved { grid-template-columns: 1fr 1fr; }
  .calc-card { padding: 22px; }
}

/* ===== PRICING PACKAGES ===== */
.plan-price {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin-bottom: 24px;
}

.plan-price-amount {
  font-size: 2.1rem;
  font-weight: 800;
  letter-spacing: -0.8px;
  line-height: 1;
  color: var(--navy);
}

.plan-price-period,
.plan-price-from {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--gray-400);
}

.plan-card.featured .plan-price-amount { color: #fff; }
.plan-card.featured .plan-price-period,
.plan-card.featured .plan-price-from { color: rgba(255,255,255,0.5); }

.plan-roas-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--blue-dark);
  margin: -12px 0 20px;
  width: fit-content;
}

.plan-roas-link:hover { text-decoration: underline; }

.plan-card.featured .plan-roas-link { color: var(--blue); }

.plan-note {
  margin-top: 14px;
  font-size: 0.78rem;
  color: var(--gray-400);
  text-align: center;
}

.plan-card.featured .plan-note { color: rgba(255,255,255,0.45); }

.audit-banner {
  margin-top: 40px;
  background: linear-gradient(135deg, var(--white) 0%, #f5faff 100%);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 32px 36px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  transition: transform 0.25s, box-shadow 0.25s;
  box-shadow: 0 14px 36px rgba(13,27,62,0.05);
}

.audit-banner:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}

.audit-banner h3 {
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: -0.3px;
  color: var(--navy);
  margin-bottom: 8px;
}

.audit-chip {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  margin-bottom: 10px;
  padding: 5px 10px;
  border-radius: 999px;
  background: var(--blue-light);
  color: var(--blue-dark);
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.audit-banner p {
  font-size: 0.9rem;
  line-height: 1.7;
  color: var(--gray-600);
  margin: 0;
  max-width: 620px;
}

.audit-banner .btn-primary {
  flex-shrink: 0;
  white-space: nowrap;
}

@media (max-width: 900px) {
  .audit-banner { flex-direction: column; align-items: flex-start; }
}

/* Anchor offset so the fixed navbar doesn't cover the packages heading */
#packages { scroll-margin-top: 96px; }



/* ===== NAV DROPDOWN (Services submenu) ===== */
.nav-links li { position: relative; }

.nav-item-dropdown > a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.nav-caret {
  width: 9px;
  height: 6px;
  flex-shrink: 0;
  transition: transform 0.25s ease;
}

.nav-item-dropdown:hover .nav-caret,
.nav-item-dropdown:focus-within .nav-caret {
  transform: rotate(180deg);
}

.nav-dropdown {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  padding-top: 18px; /* hover bridge between link and panel */
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.22s ease, transform 0.22s ease, visibility 0.22s;
  z-index: 200;
}

.nav-item-dropdown:hover .nav-dropdown,
.nav-item-dropdown:focus-within .nav-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.nav-dropdown-panel {
  min-width: 250px;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: 14px;
  box-shadow: 0 18px 48px rgba(13,27,62,0.14);
  padding: 8px;
  overflow: hidden;
}

.nav-dropdown-panel a {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 12px 14px;
  border-radius: 10px;
  transition: background 0.15s ease;
}

.nav-dropdown-panel a:hover { background: var(--gray-50); }

.nav-dd-title {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--navy);
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-dd-title .nav-dd-arrow {
  margin-left: auto;
  color: var(--gray-400);
  transition: transform 0.15s ease, color 0.15s ease;
}

.nav-dropdown-panel a:hover .nav-dd-arrow {
  transform: translateX(3px);
  color: var(--blue-dark);
}

.nav-dd-sub {
  font-size: 0.78rem;
  font-weight: 400;
  color: var(--gray-400);
}

.mobile-menu .mobile-sub {
  font-size: 0.9rem;
  color: var(--gray-600);
  padding-left: 18px;
}

/* ===== VIDEO PORTFOLIO PAGE ===== */
.pf-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 36px;
  margin-top: 56px;
}

.pf-item { display: flex; flex-direction: column; }

.pf-item.pf-wide { grid-column: 1 / -1; }

.pf-item .video-wrapper {
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.pf-item .video-wrapper:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 64px rgba(13,27,62,0.18);
}

.pf-caption {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 6px 0;
}

.pf-caption h2 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: -0.2px;
  line-height: 1.6;
}

.pf-tag {
  flex-shrink: 0;
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--blue-dark);
  background: var(--blue-light);
  padding: 4px 10px;
  border-radius: 999px;
}

/* Vertical (9:16) feature split */
.pf-vertical-split {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 64px;
  align-items: center;
  margin-top: 96px;
}

.pf-vertical-split h2 { margin-bottom: 16px; }
.pf-vertical-split .service-text > p { color: var(--gray-600); line-height: 1.8; margin-bottom: 24px; }

.pf-vertical-split .video-wrapper.portrait {
  aspect-ratio: 9 / 16;
  max-width: 340px;
  margin: 0 auto;
}

.pf-vertical-split .video-wrapper.portrait video {
  height: 100%;
  object-fit: cover;
}

@media (max-width: 900px) {
  .pf-grid { grid-template-columns: 1fr; gap: 44px; margin-top: 40px; }
  .pf-vertical-split {
    grid-template-columns: 1fr;
    gap: 40px;
    margin-top: 64px;
  }
  .pf-vertical-split .video-wrapper.portrait { max-width: 300px; }
}

/* ===== TL;DR SUMMARY BOX ===== */
.tldr-box {
  max-width: 700px;
  margin: 28px auto 0;
  padding: 16px 22px;
  background: var(--blue-light);
  border: 1px solid rgba(123,178,237,0.45);
  border-radius: 12px;
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--gray-800);
  text-align: left;
}
.tldr-box strong { color: var(--navy); }

/* Cross-document page transition — native, JS-free, immune to bfcache white screens */
@media (prefers-reduced-motion: no-preference) {
  @view-transition { navigation: auto; }
  ::view-transition-old(root) { animation-duration: 140ms; }
  ::view-transition-new(root) { animation-duration: 180ms; }
}
