/* ====== Tokens ====== */
:root {
  --tch-50: #F4FBFD;
  --tch-100: #E5F4F8;
  --tch-200: #BCE3EE;
  --tch-300: #9DD7E5;
  --tch-400: #7DD3E8;
  --tch-500: #5BC0D9;
  --tch-600: #3FA9C5;
  --tch-700: #2A8AA3;

  --cream-50: #FFFCF6;
  --cream-100: #FFFAF1;
  --cream-200: #FAF3E7;
  --cream-300: #F2E7D2;

  --navy-700: #1B3A5C;
  --navy-800: #14304B;
  --navy-900: #0F2A47;
  --navy-ink: #0A1F36;

  --white: #FFFFFF;
  --shadow-sm: 0 4px 12px rgba(15, 42, 71, 0.06);
  --shadow-md: 0 10px 30px rgba(15, 42, 71, 0.10);
  --shadow-lg: 0 25px 60px rgba(15, 42, 71, 0.18);
  --shadow-tch: 0 12px 40px rgba(91, 192, 217, 0.35);

  --radius-sm: 12px;
  --radius-md: 20px;
  --radius-lg: 28px;
  --radius-xl: 40px;

  --max-w: 1240px;
  --section-y: clamp(64px, 10vw, 120px);

  --font-h: 'Heebo', 'Assistant', system-ui, sans-serif;
  --font-b: 'Assistant', 'Heebo', system-ui, sans-serif;

  --ease-out: cubic-bezier(.22, 1, .36, 1);
  --ease-soft: cubic-bezier(.65, 0, .35, 1);

  --safe-top: env(safe-area-inset-top, 0px);
  --safe-bottom: env(safe-area-inset-bottom, 0px);
  --safe-left: env(safe-area-inset-left, 0px);
  --safe-right: env(safe-area-inset-right, 0px);
}

/* ====== Reset & Base ====== */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; overflow-x: clip; }
body {
  font-family: var(--font-b);
  font-size: 17px;
  line-height: 1.65;
  color: var(--navy-900);
  background: var(--cream-100);
  overflow-x: clip;
  min-height: 100vh;
  -webkit-text-size-adjust: 100%;
  -webkit-tap-highlight-color: transparent;
}
img, svg, video { display: block; max-width: 100%; height: auto; }
button { background: none; border: 0; cursor: pointer; font-family: inherit; color: inherit; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
em { font-style: normal; }

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

p { text-wrap: pretty; }

/* ====== Loader ====== */
.loader {
  position: fixed; inset: 0; z-index: 1000;
  background: var(--cream-100);
  display: grid; place-items: center;
  transition: opacity .6s var(--ease-out), visibility .6s;
}
.loader.hidden { opacity: 0; visibility: hidden; }
.loader-inner { text-align: center; }
.loader-dot {
  width: 16px; height: 16px; border-radius: 50%;
  background: var(--tch-400);
  margin: 0 auto 18px;
  animation: pulseDot 1.2s var(--ease-out) infinite;
  box-shadow: 0 0 30px var(--tch-300);
}
.loader-text {
  font-family: var(--font-h); font-weight: 800; font-size: 22px;
  color: var(--navy-900); letter-spacing: 1px;
  opacity: 0; animation: fadeIn 1s .2s forwards;
}
@keyframes pulseDot {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.5); opacity: .6; }
}
@keyframes fadeIn { to { opacity: 1; } }

/* ====== Cursor Glow ====== */
.cursor-glow {
  position: fixed;
  width: 380px; height: 380px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(125, 211, 232, 0.22) 0%, rgba(125, 211, 232, 0) 70%);
  pointer-events: none;
  transform: translate(-50%, -50%);
  z-index: 1;
  transition: opacity .25s;
  opacity: 0;
  mix-blend-mode: multiply;
  filter: blur(8px);
}
@media (hover: none) { .cursor-glow { display: none; } }

/* ====== Particles ====== */
.particles {
  position: fixed; inset: 0; pointer-events: none; z-index: 0;
  overflow: hidden;
}
.particles span {
  position: absolute;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--tch-300);
  opacity: 0;
  animation: floatParticle 18s linear infinite;
  box-shadow: 0 0 14px var(--tch-200);
}
.particles span:nth-child(1) { left: 5%; animation-delay: 0s; animation-duration: 22s; width: 6px; height: 6px; }
.particles span:nth-child(2) { left: 15%; animation-delay: 3s; animation-duration: 20s; }
.particles span:nth-child(3) { left: 25%; animation-delay: 5s; animation-duration: 24s; width: 10px; height: 10px; }
.particles span:nth-child(4) { left: 35%; animation-delay: 8s; animation-duration: 18s; }
.particles span:nth-child(5) { left: 45%; animation-delay: 2s; animation-duration: 26s; width: 5px; height: 5px; }
.particles span:nth-child(6) { left: 55%; animation-delay: 7s; animation-duration: 21s; }
.particles span:nth-child(7) { left: 65%; animation-delay: 4s; animation-duration: 19s; width: 12px; height: 12px; }
.particles span:nth-child(8) { left: 72%; animation-delay: 9s; animation-duration: 23s; }
.particles span:nth-child(9) { left: 82%; animation-delay: 1s; animation-duration: 27s; width: 7px; height: 7px; }
.particles span:nth-child(10) { left: 92%; animation-delay: 6s; animation-duration: 20s; }
.particles span:nth-child(11) { left: 10%; animation-delay: 11s; animation-duration: 25s; width: 5px; height: 5px; }
.particles span:nth-child(12) { left: 30%; animation-delay: 13s; animation-duration: 22s; }
.particles span:nth-child(13) { left: 50%; animation-delay: 10s; animation-duration: 28s; width: 9px; height: 9px; }
.particles span:nth-child(14) { left: 70%; animation-delay: 14s; animation-duration: 19s; }
.particles span:nth-child(15) { left: 88%; animation-delay: 12s; animation-duration: 24s; }
@keyframes floatParticle {
  0% { transform: translateY(110vh) scale(.6); opacity: 0; }
  10% { opacity: .9; }
  90% { opacity: .7; }
  100% { transform: translateY(-15vh) scale(1.1); opacity: 0; }
}

/* ====== Navbar ====== */
.nav {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 50;
  padding: 18px 0;
  transition: background .35s var(--ease-out), backdrop-filter .35s, padding .35s, box-shadow .35s;
}
.nav.scrolled {
  background: rgba(255, 250, 241, .85);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  padding: 12px 0;
  box-shadow: 0 1px 0 rgba(15, 42, 71, .06), var(--shadow-sm);
}
.nav-inner {
  max-width: var(--max-w); margin: 0 auto; padding: 0 24px;
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px;
}
.nav-logo {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--font-h); font-weight: 800; font-size: 19px;
  color: var(--navy-900);
}
.nav-logo-dot {
  width: 10px; height: 10px; border-radius: 50%;
  background: var(--tch-400);
  box-shadow: 0 0 0 4px rgba(125, 211, 232, .25);
  animation: pulseDot 2.4s var(--ease-out) infinite;
}
.nav-links { display: flex; gap: 28px; }
.nav-links a {
  font-weight: 600; font-size: 15px; color: var(--navy-700);
  position: relative; padding: 6px 2px;
  transition: color .25s;
}
.nav-links a::after {
  content: ''; position: absolute; bottom: 0; right: 0;
  height: 2px; width: 0; background: var(--tch-500);
  transition: width .3s var(--ease-out);
}
.nav-links a:hover { color: var(--tch-700); }
.nav-links a:hover::after { width: 100%; }

/* ====== Hero ====== */
.hero {
  position: relative;
  min-height: 100vh;
  padding: 130px 0 100px;
  background:
    radial-gradient(ellipse at top right, rgba(125, 211, 232, .18) 0%, transparent 55%),
    radial-gradient(ellipse at top left, rgba(255, 255, 255, .8) 0%, transparent 50%),
    linear-gradient(180deg, var(--cream-100) 0%, var(--cream-200) 100%);
  overflow: hidden;
}
.hero-waves {
  position: absolute; left: 0; right: 0; bottom: -2px;
  height: 70%;
  pointer-events: none;
  z-index: 0;
}
.hero-waves .wave {
  position: absolute; left: -5%; right: -5%; bottom: 0;
  width: 110%; height: 100%;
  transform-origin: bottom;
}
.wave-1 { animation: waveFloat 14s ease-in-out infinite; }
.wave-2 { animation: waveFloat 18s ease-in-out infinite reverse; opacity: .9; }
.wave-3 { animation: waveFloat 22s ease-in-out infinite; opacity: .8; }
@keyframes waveFloat {
  0%, 100% { transform: translateX(0) translateY(0); }
  50% { transform: translateX(-3%) translateY(-8px); }
}

.hero-grid {
  position: relative; z-index: 2;
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  align-items: center;
  gap: 60px;
}
@media (max-width: 900px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }
  .hero-text-col .hero-cta { justify-content: center; }
}
.hero-text-col {
  text-align: right;
}
@media (max-width: 900px) {
  .hero-text-col { text-align: center; }
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 8px 18px;
  background: var(--white);
  border: 1px solid var(--tch-200);
  border-radius: 999px;
  font-weight: 700; font-size: 13px;
  color: var(--navy-700);
  box-shadow: var(--shadow-sm);
  margin-bottom: 24px;
}
.hero-badge-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--tch-500);
  animation: pulseDot 1.8s var(--ease-out) infinite;
}
.hero-title {
  font-family: var(--font-h);
  font-weight: 900;
  font-size: clamp(36px, 5.6vw, 64px);
  line-height: 1.1;
  letter-spacing: -1px;
  margin-bottom: 24px;
  text-wrap: balance;
}
.hero-title-line { display: block; }
.hero-title-name em {
  background: linear-gradient(135deg, var(--tch-500) 0%, var(--navy-900) 80%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  background-size: 200% 200%;
  animation: gradShift 6s ease-in-out infinite;
}
@keyframes gradShift {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}
.hero-text {
  margin: 0 0 30px;
  color: var(--navy-700);
  font-size: clamp(18px, 1.7vw, 23px);
  max-width: 560px;
}
@media (max-width: 900px) { .hero-text { margin-inline: auto; } }
.hero-text p {
  margin-bottom: 12px;
  text-wrap: pretty;
}
.hero-text-highlight {
  color: var(--navy-900);
  font-weight: 600;
}
.hero-cta {
  display: flex; gap: 14px; flex-wrap: wrap;
  margin-bottom: 30px;
}

/* ====== Hero Portrait ====== */
.hero-portrait {
  position: relative;
  width: 100%;
  max-width: 440px;
  aspect-ratio: 1;
  margin: 0 auto;
}
.portrait-bg {
  position: absolute; inset: -8%;
  background: radial-gradient(circle at 35% 35%, var(--tch-200) 0%, transparent 60%);
  border-radius: 50%;
  filter: blur(20px);
  opacity: .8;
  z-index: 0;
  animation: pulseBg 6s ease-in-out infinite;
}
@keyframes pulseBg {
  0%, 100% { transform: scale(1); opacity: .8; }
  50% { transform: scale(1.06); opacity: 1; }
}
.portrait-ring {
  position: absolute; inset: 4%;
  border-radius: 50%;
  border: 2px dashed var(--tch-300);
  animation: ringSpin 40s linear infinite;
  opacity: .55;
}
@keyframes ringSpin {
  to { transform: rotate(360deg); }
}
.portrait-circle {
  position: absolute; inset: 8%;
  border-radius: 50%;
  overflow: hidden;
  background: var(--cream-100);
  box-shadow:
    0 30px 80px rgba(91, 192, 217, .35),
    0 12px 30px rgba(15, 42, 71, .15),
    inset 0 0 0 6px var(--white);
  animation: floatPortrait 7s ease-in-out infinite;
  z-index: 2;
}
.portrait-circle img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .8s var(--ease-out);
}
.portrait-circle:hover img { transform: scale(1.04); }
@keyframes floatPortrait {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}
.portrait-spark {
  position: absolute;
  width: 14px; height: 14px;
  border-radius: 50%;
  background: var(--tch-400);
  box-shadow: 0 0 18px var(--tch-300);
  z-index: 3;
}
.portrait-spark-1 { top: 6%; left: 8%; animation: sparkFloat 5s ease-in-out infinite; }
.portrait-spark-2 { top: 18%; right: -2%; width: 10px; height: 10px; background: var(--tch-300); animation: sparkFloat 6.5s ease-in-out infinite -1.5s; }
.portrait-spark-3 { bottom: 12%; left: -2%; width: 8px; height: 8px; background: var(--tch-500); animation: sparkFloat 5.8s ease-in-out infinite -3s; }
.portrait-spark-4 { bottom: 4%; right: 15%; width: 12px; height: 12px; animation: sparkFloat 7s ease-in-out infinite -2s; }
@keyframes sparkFloat {
  0%, 100% { transform: translate(0, 0); opacity: .9; }
  50% { transform: translate(8px, -10px); opacity: .5; }
}

/* ====== Buttons ====== */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 26px;
  border-radius: 999px;
  font-family: var(--font-h); font-weight: 700; font-size: 15px;
  letter-spacing: .2px;
  transition: transform .25s var(--ease-out), box-shadow .25s, background .25s, color .25s, border-color .25s;
  position: relative; overflow: hidden;
  white-space: nowrap;
}
.btn svg { transition: transform .25s; }
.btn:hover { transform: translateY(-3px); }
.btn:hover svg { transform: scale(1.1) rotate(-4deg); }
.btn:active { transform: translateY(-1px); }
.btn::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(circle at var(--mx, 50%) var(--my, 50%), rgba(255,255,255,.35) 0%, transparent 50%);
  opacity: 0; transition: opacity .3s;
}
.btn:hover::before { opacity: 1; }

.btn-primary {
  background: linear-gradient(135deg, var(--tch-500) 0%, var(--tch-700) 100%);
  color: var(--white);
  box-shadow: var(--shadow-tch);
}
.btn-primary:hover { box-shadow: 0 18px 50px rgba(91,192,217,.5); }

.btn-ghost {
  background: var(--white);
  color: var(--navy-900);
  border: 1.5px solid var(--tch-200);
  box-shadow: var(--shadow-sm);
}
.btn-ghost:hover {
  border-color: var(--tch-500);
  color: var(--tch-700);
  box-shadow: var(--shadow-md);
}

.btn-white {
  background: var(--white);
  color: var(--tch-700);
  box-shadow: var(--shadow-md);
}
.btn-white:hover { box-shadow: 0 18px 50px rgba(0,0,0,.18); color: var(--navy-900); }

.btn-outline-white {
  background: transparent;
  color: var(--white);
  border: 1.5px solid rgba(255,255,255,.6);
}
.btn-outline-white:hover { background: rgba(255,255,255,.15); border-color: var(--white); }

/* ====== Scroll Indicator ====== */
.scroll-indicator {
  display: inline-block;
  margin-top: 4px;
  animation: floatY 2.5s ease-in-out infinite;
}
.scroll-mouse {
  display: block;
  width: 26px; height: 42px;
  border: 2px solid var(--navy-700);
  border-radius: 14px;
  position: relative;
  opacity: .55;
}
.scroll-mouse-dot {
  position: absolute; top: 8px; left: 50%;
  width: 4px; height: 8px;
  background: var(--navy-700);
  border-radius: 2px;
  transform: translateX(-50%);
  animation: scrollDot 1.6s ease-in-out infinite;
}
@keyframes floatY {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}
@keyframes scrollDot {
  0% { opacity: 1; transform: translate(-50%, 0); }
  100% { opacity: 0; transform: translate(-50%, 12px); }
}

/* ====== Hero Divider Wave ====== */
.hero-divider {
  position: absolute; bottom: -1px; left: 0; right: 0;
  height: 80px; line-height: 0; z-index: 3;
  pointer-events: none;
}
.hero-divider svg { width: 100%; height: 100%; }

/* ====== Sections ====== */
.section {
  position: relative;
  padding: var(--section-y) 0;
}
.section-videos {
  background: var(--cream-100);
}
.section-testimonials {
  background: linear-gradient(180deg, var(--cream-200) 0%, var(--cream-100) 100%);
  position: relative;
}
.section-testimonials::before {
  content: ''; position: absolute; inset: 0;
  background-image: radial-gradient(circle, var(--tch-200) 1px, transparent 1px);
  background-size: 28px 28px;
  opacity: .15; pointer-events: none;
}
.section-head {
  text-align: center; max-width: 720px; margin: 0 auto 64px;
}
.section-eyebrow {
  display: inline-block;
  padding: 6px 14px;
  background: var(--tch-100);
  color: var(--tch-700);
  border-radius: 999px;
  font-weight: 700; font-size: 13px;
  margin-bottom: 16px;
  letter-spacing: .3px;
}
.section-title {
  font-family: var(--font-h);
  font-weight: 900; font-size: clamp(34px, 5.5vw, 56px);
  line-height: 1.1;
  margin-bottom: 16px;
  letter-spacing: -.5px;
}
.section-title em {
  background: linear-gradient(135deg, var(--tch-500), var(--tch-700));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-style: normal;
}
.section-sub {
  color: var(--navy-700);
  font-size: clamp(15px, 1.4vw, 17px);
}

.section-divider {
  position: absolute; bottom: -1px; left: 0; right: 0;
  height: 80px; line-height: 0;
  pointer-events: none;
}
.section-divider-flip svg { transform: scaleY(-1); }
.section-divider svg { width: 100%; height: 100%; }

/* ====== Phone Frame ====== */
.phone-frame {
  position: relative;
  width: 220px;
  aspect-ratio: 9 / 19.5;
  background: linear-gradient(145deg, #FFFFFF, #E5F4F8);
  border-radius: 36px;
  padding: 9px;
  box-shadow:
    inset 0 0 0 2px rgba(15, 42, 71, .08),
    0 18px 40px rgba(15, 42, 71, .14),
    0 4px 10px rgba(15, 42, 71, .08);
  margin: 0 auto;
  transition: transform .4s var(--ease-out), box-shadow .4s;
}
.phone-frame::before {
  content: ''; position: absolute; inset: -2px;
  border-radius: 38px;
  background: linear-gradient(135deg, var(--tch-300), transparent 40%, transparent 60%, var(--tch-200));
  z-index: -1;
  opacity: .6;
  filter: blur(12px);
  transition: opacity .4s;
}
.phone-screen {
  position: relative;
  width: 100%; height: 100%;
  background: var(--navy-900);
  border-radius: 28px;
  overflow: hidden;
  isolation: isolate;
}
.phone-screen img,
.phone-screen video {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}
.phone-notch {
  position: absolute; top: 12px; left: 50%;
  transform: translateX(-50%);
  width: 70px; height: 20px;
  background: var(--navy-ink);
  border-radius: 12px;
  z-index: 3;
}
.phone-button {
  position: absolute; right: -3px; top: 22%;
  width: 4px; height: 50px;
  background: linear-gradient(180deg, #D9E5EC, #A6BCC9);
  border-radius: 2px 0 0 2px;
}

.play-icon {
  position: absolute; inset: 0;
  display: grid; place-items: center;
  z-index: 2;
  pointer-events: none;
  transition: transform .35s var(--ease-out);
}
.play-icon svg {
  width: 56px; height: 56px;
  color: var(--white);
  background: rgba(91, 192, 217, .92);
  border-radius: 50%;
  padding: 14px;
  box-shadow: 0 12px 30px rgba(91, 192, 217, .55), 0 0 0 8px rgba(255,255,255,.18);
  transition: transform .35s var(--ease-out), background .25s;
}

/* ====== Videos Grid 4+2 centered ====== */
.videos-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 36px 24px;
  justify-items: center;
  padding: 8px;
}
.videos-grid .video-card-row2:nth-of-type(5) { grid-column: 2 / 3; }
.videos-grid .video-card-row2:nth-of-type(6) { grid-column: 3 / 4; }

@media (max-width: 1024px) {
  .videos-grid { grid-template-columns: repeat(3, 1fr); }
  .videos-grid .video-card-row2:nth-of-type(5),
  .videos-grid .video-card-row2:nth-of-type(6) { grid-column: auto; }
}
@media (max-width: 720px) {
  .videos-grid { grid-template-columns: repeat(2, 1fr); gap: 28px 16px; }
  .phone-frame { width: 180px; }
}
@media (max-width: 420px) {
  .videos-grid { grid-template-columns: 1fr; }
  .phone-frame { width: 220px; }
}

.video-card {
  display: block;
  position: relative;
  padding: 0;
  background: transparent;
  transition: transform .35s var(--ease-out);
}
.video-card .phone-screen::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(15,42,71,0) 50%, rgba(15,42,71,.45) 100%);
  z-index: 1;
  pointer-events: none;
  transition: opacity .3s;
}
.video-card:hover .phone-frame {
  transform: translateY(-10px) rotate(-1deg);
  box-shadow:
    inset 0 0 0 2px rgba(15, 42, 71, .1),
    0 30px 60px rgba(91, 192, 217, .35),
    0 8px 20px rgba(15, 42, 71, .12);
}
.video-card:hover .phone-frame::before { opacity: 1; }
.video-card:hover .play-icon { transform: scale(1.1); }
.video-card:hover .play-icon svg {
  background: var(--tch-700);
  transform: scale(1.05);
}

/* ====== Marquee strip ====== */
.marquee {
  background: linear-gradient(90deg, var(--tch-100), var(--tch-200), var(--tch-100));
  border-block: 1px solid rgba(125, 211, 232, .5);
  height: 56px;
  position: relative;
  overflow: hidden;
}

/* ====== Testimonials ====== */
.testimonials-grid {
  column-count: 3;
  column-gap: 28px;
  position: relative;
  z-index: 1;
}
@media (max-width: 980px) { .testimonials-grid { column-count: 2; } }
@media (max-width: 600px) { .testimonials-grid { column-count: 1; column-gap: 0; } }

.testimonial-card {
  break-inside: avoid;
  margin-bottom: 28px;
  padding: 28px 26px;
  border-radius: var(--radius-lg);
  background: var(--white);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--tch-100);
  transition: transform .4s var(--ease-out), box-shadow .4s, border-color .3s;
  position: relative;
  overflow: hidden;
}
.testimonial-card::before {
  content: ''; position: absolute;
  top: -40px; right: -40px;
  width: 140px; height: 140px;
  background: radial-gradient(circle, var(--tch-100) 0%, transparent 70%);
  opacity: .9;
  pointer-events: none;
}
.testimonial-card:nth-child(odd):hover { transform: translateY(-8px) rotate(-.4deg); }
.testimonial-card:nth-child(even):hover { transform: translateY(-8px) rotate(.4deg); }
.testimonial-card:hover {
  box-shadow: 0 30px 60px rgba(91, 192, 217, .25), 0 8px 20px rgba(15, 42, 71, .08);
  border-color: var(--tch-300);
}

.quote-mark {
  position: absolute;
  top: 22px; left: 22px;
  color: var(--tch-200);
  z-index: 1;
  transition: transform .4s, color .3s;
}
.testimonial-card:hover .quote-mark {
  color: var(--tch-300);
  transform: rotate(-8deg) scale(1.1);
}

.testimonial-head {
  display: flex; align-items: center; gap: 14px;
  margin-bottom: 16px;
  position: relative; z-index: 2;
}
.testimonial-avatar {
  width: 64px; height: 64px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
  background: var(--tch-100);
  box-shadow: 0 4px 14px rgba(15, 42, 71, .12), inset 0 0 0 3px var(--white);
  outline: 2px solid var(--tch-300);
  outline-offset: 2px;
  transition: transform .35s var(--ease-out);
}
.testimonial-card:hover .testimonial-avatar {
  transform: scale(1.05) rotate(-3deg);
}
.testimonial-avatar img {
  width: 100%; height: 100%;
  object-fit: cover;
}
.testimonial-meta {
  display: flex; flex-direction: column;
  gap: 2px;
}
.testimonial-name {
  font-family: var(--font-h);
  font-weight: 800; font-size: 18px;
  color: var(--navy-900);
}
.testimonial-role {
  font-size: 13px;
  color: var(--tch-700);
  font-weight: 600;
}
.testimonial-text {
  font-size: 15.5px;
  line-height: 1.75;
  color: var(--navy-700);
  position: relative; z-index: 2;
  text-wrap: pretty;
}

/* ====== CTA Section ====== */
.section-cta {
  background: linear-gradient(135deg, var(--tch-500) 0%, var(--tch-600) 50%, var(--navy-700) 110%);
  color: var(--white);
  text-align: center;
  overflow: hidden;
  position: relative;
}
.cta-waves {
  position: absolute; inset: 0;
  pointer-events: none;
}
.cta-waves svg {
  position: absolute; top: 0; left: 0; right: 0;
  width: 100%; height: 100%;
}
.cta-waves svg:nth-child(2) { transform: translateY(20px); }
.cta-inner { position: relative; z-index: 2; }
.cta-title {
  font-family: var(--font-h); font-weight: 900;
  font-size: clamp(32px, 5vw, 52px);
  line-height: 1.15;
  margin-bottom: 18px;
  letter-spacing: -.5px;
  text-wrap: balance;
}
.cta-title em {
  background: linear-gradient(135deg, var(--cream-100), var(--white));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-style: normal;
}
.cta-sub {
  font-size: clamp(16px, 1.6vw, 19px);
  max-width: 580px; margin: 0 auto 36px;
  opacity: .92;
  text-wrap: pretty;
}
.cta-buttons { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ====== Footer ====== */
.footer {
  background: var(--navy-900);
  color: var(--cream-200);
  padding: 32px 0;
}
.footer-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 18px; flex-wrap: wrap;
}
.footer-brand {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--font-h); font-weight: 800;
  color: var(--white);
}
.footer-copy {
  font-size: 13px; opacity: .8;
  display: inline-flex; align-items: center; gap: 4px;
  flex-wrap: wrap; justify-content: center;
}
.heart-beat {
  display: inline-block;
  margin: 0 4px;
  animation: heartBeat 1.6s ease-in-out infinite;
  filter: drop-shadow(0 0 6px rgba(255, 77, 109, .55));
}
@keyframes heartBeat {
  0%, 100% { transform: scale(1); }
  15% { transform: scale(1.25); }
  30% { transform: scale(1); }
  45% { transform: scale(1.18); }
  60% { transform: scale(1); }
}
.footer-social { display: flex; gap: 14px; }
.footer-social a {
  width: 38px; height: 38px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: rgba(255,255,255,.06);
  color: var(--cream-100);
  transition: background .25s, transform .25s, color .25s;
}
.footer-social a:hover {
  background: var(--tch-500); color: var(--white);
  transform: translateY(-3px);
}

/* ====== Floating WhatsApp ====== */
.float-wa {
  position: fixed; bottom: 24px; left: 24px;
  z-index: 60;
  width: 60px; height: 60px;
  border-radius: 50%;
  background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
  display: grid; place-items: center;
  box-shadow: 0 12px 30px rgba(37, 211, 102, .45), 0 4px 10px rgba(0,0,0,.2);
  transition: transform .25s var(--ease-out), box-shadow .25s;
}
.float-wa:hover { transform: scale(1.08); box-shadow: 0 18px 40px rgba(37, 211, 102, .6); }
.float-wa-icon {
  position: relative;
  z-index: 2;
  filter: drop-shadow(0 1px 2px rgba(0,0,0,.18));
}
.float-wa-pulse {
  position: absolute; inset: 0;
  border-radius: 50%;
  background: rgba(37, 211, 102, .55);
  animation: waPulse 2.2s var(--ease-out) infinite;
  z-index: 1;
}
@keyframes waPulse {
  0% { transform: scale(1); opacity: .7; }
  100% { transform: scale(1.7); opacity: 0; }
}

/* ====== Modal (Video) ====== */
.modal {
  position: fixed; inset: 0;
  background: rgba(10, 31, 54, .85);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  z-index: 200;
  display: none;
  place-items: center;
  padding: 24px;
  opacity: 0;
  transition: opacity .3s;
}
.modal.open { display: grid; opacity: 1; }
.modal-close {
  position: fixed; top: 22px; left: 22px;
  z-index: 10;
  width: 48px; height: 48px;
  border-radius: 50%;
  background: rgba(255,255,255,.12);
  color: var(--white);
  font-size: 28px; line-height: 1;
  display: grid; place-items: center;
  transition: background .2s, transform .2s;
}
.modal-close:hover { background: rgba(255,255,255,.22); transform: rotate(90deg); }

.modal-content {
  position: relative;
  max-width: 100%; max-height: 100%;
  animation: modalIn .35s var(--ease-out);
}
@keyframes modalIn {
  from { opacity: 0; transform: scale(.92); }
  to { opacity: 1; transform: scale(1); }
}
.phone-frame-large {
  width: min(360px, 90vw);
}

/* ====== Reveal animation ====== */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity .8s var(--ease-out), transform .8s var(--ease-out);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ====== Reduced motion ====== */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
  .reveal { opacity: 1; transform: none; }
  .particles { display: none; }
}

/* =================================================================
   MOBILE OPTIMIZATIONS
   ================================================================= */

/* ---- Tablet & below: structural shifts ---- */
@media (max-width: 720px) {
  .container { padding: 0 18px; }

  /* Nav: hide links, add safe-area, compact CTA */
  .nav { padding: calc(12px + var(--safe-top)) 0 12px; }
  .nav.scrolled { padding: calc(8px + var(--safe-top)) 0 8px; }
  .nav-links { display: none; }
  .nav-inner { padding: 0 18px; gap: 12px; }
  .nav-logo { font-size: 17px; }

  /* Hero */
  .hero {
    padding: calc(96px + var(--safe-top)) 0 56px;
    min-height: calc(100svh - 0px);
  }
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 28px;
    text-align: center;
  }
  /* portrait above text on mobile */
  .hero-portrait { order: -1; max-width: 260px; }
  .hero-text-col { text-align: center; }
  .hero-text-col .hero-cta { justify-content: center; }
  .hero-badge { font-size: 12px; padding: 6px 14px; margin-bottom: 18px; }
  .hero-title {
    font-size: clamp(30px, 8.4vw, 48px);
    margin-bottom: 18px;
  }
  .hero-text {
    font-size: 18.5px;
    line-height: 1.7;
    margin: 0 auto 24px;
  }
  .hero-text p { margin-bottom: 10px; }
  .hero-cta { gap: 10px; margin-bottom: 22px; }

  /* Sections */
  .section { padding: 64px 0; }
  .section-head { margin-bottom: 36px; }
  .section-title { font-size: clamp(28px, 7vw, 42px); }
  .section-sub { font-size: 14.5px; }
  .section-eyebrow { font-size: 12px; }

  /* Reels grid - 2 up on mobile */
  .videos-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 22px 14px;
    padding: 4px;
  }
  .videos-grid .video-card-row2:nth-of-type(5),
  .videos-grid .video-card-row2:nth-of-type(6) { grid-column: auto; }
  .phone-frame {
    width: min(44vw, 180px);
    border-radius: 28px;
    padding: 7px;
  }
  .phone-screen { border-radius: 22px; }
  .phone-notch { width: 54px; height: 16px; top: 9px; }
  .phone-button { height: 38px; top: 24%; }
  .play-icon svg {
    width: 44px; height: 44px;
    padding: 11px;
  }

  /* Testimonials */
  .testimonials-grid { column-count: 1; column-gap: 0; }
  .testimonial-card {
    padding: 22px 20px;
    border-radius: 22px;
    margin-bottom: 18px;
  }
  .testimonial-card::before {
    width: 110px; height: 110px;
    top: -30px; right: -30px;
  }
  .quote-mark {
    top: 16px; left: 16px;
    width: 28px; height: 28px;
    opacity: .85;
  }
  .testimonial-head { margin-bottom: 14px; gap: 12px; }
  .testimonial-avatar { width: 56px; height: 56px; outline-offset: 1px; }
  .testimonial-name { font-size: 16px; }
  .testimonial-text { font-size: 15px; line-height: 1.7; }
  .section-testimonials::before { background-size: 22px 22px; }

  /* CTA */
  .section-cta { padding: 64px 0; }
  .cta-title { font-size: clamp(26px, 7vw, 40px); }
  .cta-sub { font-size: 15.5px; margin-bottom: 28px; }

  /* Footer */
  .footer { padding: 26px 0 calc(26px + var(--safe-bottom)); }
  .footer-inner {
    flex-direction: column;
    text-align: center;
    gap: 14px;
  }
  .footer-copy { justify-content: center; font-size: 12.5px; }

  /* Floating WA */
  .float-wa {
    width: 56px; height: 56px;
    bottom: calc(18px + var(--safe-bottom));
    left: 16px;
  }
  .float-wa-icon { width: 26px; height: 26px; }
  .float-wa-pulse { animation-duration: 3s; }

  /* Modal */
  .modal { padding: calc(14px + var(--safe-top)) 12px calc(14px + var(--safe-bottom)); }
  .modal-close {
    top: calc(12px + var(--safe-top));
    left: 14px;
    width: 44px; height: 44px;
    font-size: 26px;
  }
  .phone-frame-large {
    width: min(280px, 70vw);
  }

  /* Animations - lighten load */
  .particles { display: none; }
  .portrait-ring {
    opacity: .55;
    border-width: 2.5px;
    animation: ringSpin 50s linear infinite;
  }
  .wave-1 { animation-duration: 22s; }
  .wave-2 { animation-duration: 28s; }
  .wave-3 { animation-duration: 34s; }
  .portrait-spark { display: none; }

  /* Scroll indicator hidden on small */
  .scroll-indicator { display: none; }
}

/* ---- Phone (< 480px): tighter ---- */
@media (max-width: 480px) {
  .container { padding: 0 16px; }
  .nav-inner { padding: 0 16px; }

  .hero { padding: calc(86px + var(--safe-top)) 0 48px; }
  .hero-portrait { max-width: 220px; }
  .hero-title { font-size: clamp(28px, 9vw, 40px); margin-bottom: 16px; }
  .hero-text { font-size: 17.5px; }

  /* Full-width CTA buttons stacked */
  .hero-cta {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }
  .hero-cta .btn { width: 100%; justify-content: center; }
  .btn {
    padding: 14px 22px;
    font-size: 15px;
    min-height: 48px;
  }

  /* Reels: even smaller frame, still 2 up */
  .phone-frame { width: min(42vw, 160px); padding: 6px; border-radius: 24px; }
  .phone-screen { border-radius: 19px; }
  .phone-notch { width: 46px; height: 14px; top: 8px; }
  .videos-grid { gap: 18px 12px; }
  .play-icon svg { width: 38px; height: 38px; padding: 9px; }

  /* Testimonials slimmer */
  .testimonial-card { padding: 20px 18px; }
  .testimonial-avatar { width: 50px; height: 50px; }
  .testimonial-name { font-size: 15.5px; }
  .testimonial-text { font-size: 14.5px; }

  /* CTA buttons full width */
  .cta-buttons {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }
  .cta-buttons .btn { width: 100%; justify-content: center; }
  .cta-title { font-size: clamp(24px, 7.5vw, 36px); }

  /* Sections tighter */
  .section { padding: 54px 0; }
  .section-head { margin-bottom: 30px; }
}

/* ---- Tiny phones (< 360px): nuclear-tight ---- */
@media (max-width: 360px) {
  .container { padding: 0 14px; }
  .hero-title { font-size: 26px; }
  .hero-portrait { max-width: 200px; }
  .phone-frame { width: 44vw; }
}

/* ---- Landscape phone: compact hero ---- */
@media (max-height: 500px) and (orientation: landscape) {
  .hero {
    padding: calc(80px + var(--safe-top)) 0 40px;
    min-height: auto;
  }
  .hero-portrait { max-width: 180px; }
  .scroll-indicator { display: none; }
}

/* ---- Touch devices: kill 3D tilt residue & hover-only effects ---- */
@media (hover: none) {
  .video-card:hover .phone-frame { transform: none; box-shadow: inherit; }
  .video-card:hover .play-icon { transform: none; }
  .video-card:hover .play-icon svg { background: rgba(91, 192, 217, .92); transform: none; }
  .testimonial-card:hover { transform: none; box-shadow: var(--shadow-md); border-color: var(--tch-100); }
  .testimonial-card:hover .testimonial-avatar { transform: none; }
  .testimonial-card:hover .quote-mark { transform: none; color: var(--tch-200); }
  .btn:hover { transform: none; }
}
