/* ============================================================
   CODERVAI LMS — Landing Page (LIGHT MODE)
   Brand: navy #021226 · red #dd001f · white #fefefe
   ============================================================ */

*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  /* Brand */
  --navy: #021226;
  --navy-2: #0a2348;
  --navy-3: #14305c;
  --red: #dd001f;
  --red-2: #ff2b3f;
  --red-deep: #b00019;
  --white: #fefefe;

  /* Surfaces (light) */
  --bg: #fefefe;
  --bg-soft: #f3f5fa;
  --bg-soft-2: #eceff6;
  --surface: #ffffff;
  --surface-2: #f6f8fc;
  --border: rgba(2, 18, 38, .10);
  --border-hi: rgba(2, 18, 38, .17);

  /* Text */
  --text: #021226;
  --muted: #51607a;
  --muted-2: #8691a6;

  /* Gradients & effects */
  --grad: linear-gradient(118deg, #dd001f 0%, #ff3b30 100%);
  --grad-navy: linear-gradient(135deg, #021226 0%, #0a2348 58%, #14305c 100%);
  --grad-soft: linear-gradient(135deg, rgba(221, 0, 31, .07), rgba(2, 18, 38, .05));
  --glow: 0 14px 36px rgba(2, 18, 38, .10), 0 4px 14px rgba(2, 18, 38, .06);
  --glow-red: 0 18px 46px rgba(221, 0, 31, .26);

  --radius: 20px;
  --radius-sm: 14px;
  --maxw: 1200px;
  --font: "Hind Siliguri", system-ui, -apple-system, "Segoe UI", sans-serif;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 86px;
}

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

::selection {
  background: rgba(221, 0, 31, .18);
  color: var(--navy);
}

/* Ambient light tints + grid */
.bg-ambient {
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  background:
    radial-gradient(42rem 42rem at 10% 2%, rgba(2, 18, 38, .06), transparent 60%),
    radial-gradient(40rem 40rem at 94% 6%, rgba(221, 0, 31, .07), transparent 60%),
    radial-gradient(48rem 48rem at 50% 108%, rgba(2, 18, 38, .05), transparent 60%),
    var(--bg);
}

.bg-grid {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: .6;
  background-image:
    linear-gradient(rgba(2, 18, 38, .035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(2, 18, 38, .035) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(circle at 50% 24%, #000 0%, transparent 76%);
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

ul {
  list-style: none;
}

/* ---------- Layout ---------- */
.wrap {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 22px;
}

section {
  position: relative;
  padding: 96px 0;
}

.section-tight {
  padding: 64px 0;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .13em;
  text-transform: uppercase;
  color: var(--red);
  padding: 7px 15px;
  border-radius: 999px;
  background: rgba(221, 0, 31, .07);
  border: 1px solid rgba(221, 0, 31, .18);
  margin-bottom: 18px;
}

.eyebrow::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--red);
  box-shadow: 0 0 10px rgba(221, 0, 31, .7);
}

.section-head {
  max-width: 760px;
  margin: 0 auto 56px;
  text-align: center;
}

.section-head.left {
  margin-left: 0;
  text-align: left;
}

h2.title {
  font-size: clamp(1.9rem, 4.4vw, 3rem);
  font-weight: 800;
  line-height: 1.16;
  letter-spacing: -.02em;
  color: var(--navy);
}

.section-head p {
  color: var(--muted);
  margin-top: 16px;
  font-size: 1.06rem;
}

.grad-text {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ---------- Buttons ---------- */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-weight: 700;
  font-size: 1rem;
  padding: 14px 26px;
  border-radius: 999px;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform .2s ease, box-shadow .25s ease, background .25s ease, border-color .25s;
  white-space: nowrap;
  overflow: hidden;
}

.btn-primary {
  background: var(--grad);
  color: #fff;
  box-shadow: var(--glow-red);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 24px 56px rgba(221, 0, 31, .4);
}

.btn-ghost {
  background: #fff;
  border-color: var(--border-hi);
  color: var(--navy);
  box-shadow: 0 2px 10px rgba(2, 18, 38, .05);
}

.btn-ghost:hover {
  transform: translateY(-2px);
  border-color: var(--navy);
  background: var(--surface-2);
}

.btn-lg {
  padding: 17px 34px;
  font-size: 1.08rem;
}

.btn .shine {
  position: absolute;
  top: 0;
  left: 0;
  width: 50%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .45), transparent);
  transform: translateX(-220%) skewX(-20deg);
  animation: shine 3.6s ease-in-out infinite;
}

@keyframes shine {

  0%,
  55% {
    transform: translateX(-220%) skewX(-20deg);
  }

  80%,
  100% {
    transform: translateX(420%) skewX(-20deg);
  }
}

/* ---------- Card base ---------- */
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: 0 2px 10px rgba(2, 18, 38, .04);
  transition: transform .3s cubic-bezier(.16, 1, .3, 1), box-shadow .3s ease, border-color .3s ease;
}

.card:hover {
  transform: translateY(-6px);
  border-color: var(--border-hi);
  box-shadow: var(--glow);
}

.card-glow:hover {
  box-shadow: var(--glow), 0 0 0 1px rgba(221, 0, 31, .18);
  border-color: rgba(221, 0, 31, .35);
}

/* ---------- Lumi mascot peeking in sections ---------- */
.sec-lumi {
  position: absolute;
  width: 150px;
  height: auto;
  z-index: 0;
  pointer-events: none;
  opacity: .9;
  filter: drop-shadow(0 14px 26px rgba(2, 18, 38, .14));
  animation: lumi-float 6s ease-in-out infinite;
}

.sec-lumi-tr { top: 40px; right: 24px; transform: rotate(5deg); }
.sec-lumi-tl { top: 40px; left: 24px; transform: rotate(-5deg); }
.sec-lumi-br { bottom: 40px; right: 24px; transform: rotate(-4deg); }
.sec-lumi-bl { bottom: 40px; left: 24px; transform: rotate(4deg); }

@keyframes lumi-float {
  0%, 100% { translate: 0 0; }
  50% { translate: 0 -12px; }
}

/* keep section content above the peeking mascot */
section > .wrap,
header > .wrap {
  position: relative;
  z-index: 1;
}

@media (max-width: 1180px) {
  .sec-lumi { display: none; }
}

/* ============================================================ NAVBAR */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  transition: background .3s, border-color .3s, box-shadow .3s, padding .3s;
  border-bottom: 1px solid transparent;
  padding: 15px 0;
}

.nav.scrolled {
  background: rgba(254, 254, 254, .82);
  backdrop-filter: blur(18px) saturate(150%);
  border-bottom-color: var(--border);
  box-shadow: 0 8px 30px rgba(2, 18, 38, .08);
  padding: 9px 0;
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

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

.nav-links a {
  color: var(--muted);
  font-weight: 600;
  font-size: .96rem;
  position: relative;
  transition: color .2s;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  height: 2px;
  width: 0;
  background: var(--grad);
  transition: width .25s ease;
  border-radius: 2px;
}

.nav-links a:hover {
  color: var(--navy);
}

.nav-links a:hover::after {
  width: 100%;
}

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

/* Logo image */
.logo {
  display: inline-flex;
  align-items: center;
}

.logo img {
  height: 42px;
  width: auto;
}

.nav.scrolled .logo img {
  height: 38px;
}

.foot-about .logo img {
  height: 46px;
}

.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: 0;
  cursor: pointer;
  padding: 8px;
}

.burger span {
  width: 24px;
  height: 2.5px;
  background: var(--navy);
  border-radius: 2px;
  transition: .3s;
}

.burger.open span:nth-child(1) {
  transform: translateY(7.5px) rotate(45deg);
}

.burger.open span:nth-child(2) {
  opacity: 0;
}

.burger.open span:nth-child(3) {
  transform: translateY(-7.5px) rotate(-45deg);
}

.mobile-menu {
  position: fixed;
  top: 64px;
  left: 12px;
  right: 12px;
  z-index: 99;
  background: rgba(255, 255, 255, .98);
  backdrop-filter: blur(20px);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 18px;
  display: none;
  flex-direction: column;
  gap: 6px;
  box-shadow: 0 24px 60px rgba(2, 18, 38, .18);
  transform: translateY(-12px);
  opacity: 0;
  transition: .28s;
}

.mobile-menu.open {
  display: flex;
  transform: translateY(0);
  opacity: 1;
}

.mobile-menu a {
  padding: 13px 14px;
  border-radius: 11px;
  color: var(--muted);
  font-weight: 600;
}

.mobile-menu a:hover {
  background: var(--surface-2);
  color: var(--navy);
}

.mobile-menu .btn {
  margin-top: 8px;
  justify-content: center;
}

/* ============================================================ HERO */
.hero {
  padding-top: 150px;
  padding-bottom: 60px;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(32rem 26rem at 84% 14%, rgba(221, 0, 31, .10), transparent 62%),
    radial-gradient(34rem 30rem at 8% 0%, rgba(2, 18, 38, .07), transparent 60%);
  mask-image: linear-gradient(180deg, #000 40%, transparent 100%);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.12fr .88fr;
  gap: 50px;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: .85rem;
  font-weight: 600;
  padding: 8px 16px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--border-hi);
  color: var(--navy);
  margin-bottom: 24px;
  box-shadow: 0 2px 10px rgba(2, 18, 38, .05);
}

.hero-badge .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #16a34a;
  box-shadow: 0 0 10px #16a34a;
  animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {

  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: .4;
  }
}

.hero h1 {
  font-size: clamp(2.4rem, 5.6vw, 4.1rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -.025em;
  color: var(--navy);
}

.hero .sub {
  color: var(--muted);
  font-size: 1.18rem;
  margin: 24px 0 34px;
  max-width: 560px;
}

.hero .sub b {
  color: var(--navy);
}

.hero-cta {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.hero-trust {
  margin-top: 38px;
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  color: var(--muted);
  font-size: .9rem;
}

.hero-trust .avatars {
  display: flex;
}

.hero-trust .avatars span {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  margin-left: -10px;
  border: 2px solid var(--bg);
  background: var(--grad-navy);
  display: grid;
  place-items: center;
  font-size: .8rem;
  font-weight: 700;
  color: #fff;
}

.hero-trust .avatars span:first-child {
  margin-left: 0;
}

.hero-trust .avatars span:last-child {
  background: var(--grad);
}

/* Hero visual: logo tile + floating cards */
.hero-visual {
  position: relative;
  height: 440px;
  display: grid;
  place-items: center;
}

.hero-orb {
  position: absolute;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, rgba(221, 0, 31, .28), transparent 60%),
    radial-gradient(circle at 70% 75%, rgba(2, 18, 38, .22), transparent 60%);
  filter: blur(46px);
  opacity: .9;
  animation: float-orb 7s ease-in-out infinite;
}

@keyframes float-orb {

  0%,
  100% {
    transform: translateY(0) scale(1);
  }

  50% {
    transform: translateY(-22px) scale(1.05);
  }
}

.hero-logo-tile {
  position: relative;
  z-index: 2;
  width: 296px;
  height: 296px;
  border-radius: 44px;
  background: #fff;
  display: grid;
  place-items: center;
  padding: 40px;
  box-shadow: 0 34px 80px rgba(2, 18, 38, .20), 0 0 0 1px rgba(2, 18, 38, .05), inset 0 2px 0 rgba(255, 255, 255, .9);
  animation: floaty 5.5s ease-in-out infinite;
}

.hero-logo-tile img {
  width: 100%;
}

@keyframes floaty {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-16px);
  }
}

.float-card {
  position: absolute;
  z-index: 3;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border-hi);
  border-radius: 15px;
  padding: 13px 17px;
  box-shadow: 0 16px 40px rgba(2, 18, 38, .16);
  display: flex;
  align-items: center;
  gap: 11px;
  animation: floaty 6s ease-in-out infinite;
}

.float-card .ic {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: var(--grad-soft);
  border: 1px solid var(--border-hi);
  font-size: 1.2rem;
}

.float-card b {
  font-size: 1.15rem;
  display: block;
  line-height: 1;
  color: var(--navy);
}

.float-card small {
  color: var(--muted);
  font-size: .76rem;
}

.fc-1 {
  top: 14px;
  left: -12px;
  animation-delay: .2s;
}

.fc-2 {
  top: 150px;
  right: -22px;
  animation-delay: 1.1s;
}

.fc-3 {
  bottom: 22px;
  left: 0;
  animation-delay: 2s;
}

/* ============================================================ MARQUEE */
.marquee {
  overflow: hidden;
  padding: 26px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--bg-soft);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}

.marquee-track {
  display: flex;
  gap: 56px;
  width: max-content;
  animation: scroll-x 28s linear infinite;
}

.marquee:hover .marquee-track {
  animation-play-state: paused;
}

@keyframes scroll-x {
  to {
    transform: translateX(-50%);
  }
}

.marquee-item {
  display: flex;
  align-items: center;
  gap: 11px;
  color: var(--muted);
  font-weight: 700;
  font-size: 1.05rem;
  white-space: nowrap;
  opacity: .75;
  transition: opacity .2s;
}

.marquee-item:hover {
  opacity: 1;
  color: var(--navy);
}

.marquee-item .ic {
  width: 34px;
  height: 34px;
  border-radius: 9px;
  background: #fff;
  border: 1px solid var(--border);
  display: grid;
  place-items: center;
  font-size: 1rem;
  color: var(--navy);
  box-shadow: 0 2px 8px rgba(2, 18, 38, .05);
}

.marquee-item img {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  object-fit: contain;
  background: #fff;
  border: 1px solid var(--border);
  padding: 4px;
  box-shadow: 0 2px 8px rgba(2, 18, 38, .05);
}

/* ============================================================ STATS (navy cards) */
.stats {
  padding: 60px 0;
}

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

.stat {
  text-align: center;
  padding: 34px 18px;
  border-radius: var(--radius);
  background: var(--grad-navy);
  color: #fff;
  position: relative;
  overflow: hidden;
  box-shadow: 0 18px 44px rgba(2, 18, 38, .22);
}

.stat::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 0%, rgba(221, 0, 31, .35), transparent 65%);
}

.stat .num {
  font-size: clamp(2rem, 4vw, 2.9rem);
  font-weight: 800;
  line-height: 1;
  position: relative;
}

.stat .lbl {
  color: rgba(255, 255, 255, .72);
  margin-top: 10px;
  font-size: .96rem;
  font-weight: 600;
  position: relative;
}

/* ============================================================ PILLARS */
.pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.pillar .ic {
  width: 58px;
  height: 58px;
  border-radius: 15px;
  display: grid;
  place-items: center;
  font-size: 1.7rem;
  background: var(--grad-soft);
  border: 1px solid var(--border-hi);
  margin-bottom: 18px;
}

.pillar h3 {
  font-size: 1.3rem;
  margin-bottom: 10px;
  color: var(--navy);
}

.pillar p {
  color: var(--muted);
}

/* ============================================================ ZERO INVESTMENT */
.compare {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--glow);
}

.compare .col {
  padding: 36px;
  background: #fff;
}

.compare .col-old {
  background: rgba(221, 0, 31, .04);
}

.compare .col-new {
  background: var(--grad-soft);
  border-left: 1px solid var(--border);
}

.compare h4 {
  font-size: 1.15rem;
  margin-bottom: 22px;
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--navy);
}

.compare ul li {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  padding: 13px 0;
  border-bottom: 1px dashed var(--border);
  color: var(--muted);
}

.compare ul li:last-child {
  border-bottom: 0;
}

.compare ul li b {
  color: var(--navy);
}

.compare .col-old .tag {
  color: var(--red);
  font-weight: 700;
}

.compare .col-new .tag {
  color: #16a34a;
  font-weight: 700;
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-top: 30px;
}

.step {
  position: relative;
}

.step .n {
  width: 46px;
  height: 46px;
  border-radius: 13px;
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 1.2rem;
  background: var(--grad);
  color: #fff;
  margin-bottom: 18px;
  box-shadow: var(--glow-red);
}

.step h4 {
  font-size: 1.2rem;
  margin-bottom: 9px;
  color: var(--navy);
}

.step p {
  color: var(--muted);
}

.step:not(:last-child)::after {
  content: "→";
  position: absolute;
  top: 10px;
  right: -16px;
  color: var(--muted-2);
  font-size: 1.4rem;
}

/* ============================================================ FEATURES TABS */
.tabs {
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.tab {
  padding: 12px 24px;
  border-radius: 999px;
  font-weight: 700;
  cursor: pointer;
  background: #fff;
  border: 1px solid var(--border-hi);
  color: var(--muted);
  transition: .25s;
  font-size: .98rem;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 2px 8px rgba(2, 18, 38, .04);
}

.tab:hover {
  color: var(--navy);
  border-color: var(--navy);
}

.tab.active {
  background: var(--grad);
  color: #fff;
  border-color: transparent;
  box-shadow: var(--glow-red);
}

.tab-panel {
  display: none;
  animation: fade-up .5s ease;
}

.tab-panel.active {
  display: block;
}

@keyframes fade-up {
  from {
    opacity: 0;
    transform: translateY(16px);
  }

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

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

.feat-card {
  padding: 24px;
}

.feat-card .ic {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  font-size: 1.4rem;
  background: var(--grad-soft);
  border: 1px solid var(--border-hi);
  margin-bottom: 15px;
}

.feat-card h4 {
  font-size: 1.12rem;
  margin-bottom: 8px;
  color: var(--navy);
}

.feat-card ul li {
  color: var(--muted);
  padding: 5px 0;
  padding-left: 24px;
  position: relative;
  font-size: .95rem;
}

.feat-card ul li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--red);
  font-weight: 800;
}

/* AI tab navy panel for Lumi */
.ai-panel {
  background: var(--grad-navy);
  border-radius: var(--radius);
  display: grid;
  place-items: center;
  padding: 30px;
  position: relative;
  overflow: hidden;
  box-shadow: var(--glow);
}

.ai-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 30%, rgba(221, 0, 31, .3), transparent 62%);
}

.ai-panel img {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 360px;
  height: auto;
  filter: drop-shadow(0 16px 30px rgba(0, 0, 0, .28));
}

/* ============================================================ TECH */
.tech-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}

.tech-item {
  text-align: center;
  padding: 26px 14px;
}

.tech-item .ic {
  font-size: 2rem;
  margin-bottom: 12px;
}

.tech-item b {
  display: block;
  font-size: 1rem;
  color: var(--navy);
}

.tech-item small {
  color: var(--muted);
  font-size: .82rem;
}

/* ============================================================ CLIENTS */
.clients-logos {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.client-logo {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px 18px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 4px;
  box-shadow: 0 2px 10px rgba(2, 18, 38, .04);
  transition: transform .3s cubic-bezier(.16, 1, .3, 1), box-shadow .3s ease, border-color .3s ease;
}

.client-logo:hover {
  transform: translateY(-6px);
  border-color: rgba(221, 0, 31, .35);
  box-shadow: var(--glow), 0 0 0 1px rgba(221, 0, 31, .14);
}

.client-logo img {
  width: 100%;
  height: 72px;
  object-fit: contain;
  margin-bottom: 12px;
}

.client-logo b {
  font-size: 1.02rem;
  color: var(--navy);
  font-weight: 700;
}

.client-logo span {
  color: var(--red);
  font-size: .82rem;
  font-weight: 600;
}

.client-logo-cta {
  justify-content: center;
  background: var(--grad-soft);
  border-style: dashed;
  border-color: rgba(221, 0, 31, .3);
}

.client-logo-cta .plus {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--grad);
  color: #fff;
  font-size: 2rem;
  font-weight: 700;
  line-height: 1;
  display: grid;
  place-items: center;
  margin-bottom: 14px;
  box-shadow: var(--glow-red);
}

.placeholder-note {
  font-size: .82rem;
  color: var(--muted-2);
  font-style: italic;
}

/* ============================================================ GALLERY */
.gallery {
  position: relative;
}

.gallery-track {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  padding: 10px 4px 26px;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}

.gallery-track::-webkit-scrollbar {
  display: none;
}

.shot {
  flex: 0 0 min(560px, 82vw);
  scroll-snap-align: center;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  background: #fff;
  box-shadow: var(--glow);
}

.shot .bar {
  display: flex;
  gap: 7px;
  padding: 13px 16px;
  border-bottom: 1px solid var(--border);
  background: var(--surface-2);
}

.shot .bar span {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--border-hi);
}

.shot .bar span:nth-child(1) {
  background: #ff5f57;
}

.shot .bar span:nth-child(2) {
  background: #febc2e;
}

.shot .bar span:nth-child(3) {
  background: #28c840;
}

.shot .ph {
  aspect-ratio: 16/10;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 24px;
  background: var(--grad-soft);
  color: var(--muted);
}

.shot .ph .big {
  font-size: 2.4rem;
  margin-bottom: 10px;
}

.shot .cap {
  padding: 14px 18px;
  font-weight: 600;
  border-top: 1px solid var(--border);
  color: var(--navy);
}

.gallery-nav {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 18px;
}

.gallery-nav button {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1px solid var(--border-hi);
  background: #fff;
  color: var(--navy);
  cursor: pointer;
  font-size: 1.3rem;
  transition: .2s;
  box-shadow: 0 2px 8px rgba(2, 18, 38, .06);
}

.gallery-nav button:hover {
  background: var(--grad);
  border-color: transparent;
  color: #fff;
  transform: scale(1.08);
}

/* ============================================================ TESTIMONIALS (3D) */
.testi-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.testi {
  padding: 30px;
  border-radius: var(--radius);
  background: #fff;
  border: 1px solid var(--border);
  position: relative;
  box-shadow: var(--glow);
  transition: transform .35s cubic-bezier(.16, 1, .3, 1), box-shadow .35s;
}

.testi:hover {
  transform: translateY(-8px) rotateX(3deg) rotateY(-2deg);
  box-shadow: 0 34px 70px rgba(2, 18, 38, .18), 0 0 0 1px rgba(221, 0, 31, .14);
}

.testi .stars {
  color: #f5a623;
  margin-bottom: 14px;
  letter-spacing: 2px;
}

.testi .quote {
  font-size: 1.02rem;
  margin-bottom: 22px;
  color: var(--navy);
}

.testi .who {
  display: flex;
  align-items: center;
  gap: 13px;
}

.testi .who .ava {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--grad);
  display: grid;
  place-items: center;
  font-weight: 800;
  color: #fff;
  font-size: 1.1rem;
}

.testi .who b {
  display: block;
  color: var(--navy);
}

.testi .who small {
  color: var(--muted);
}

/* ============================================================ COMPARISON TABLE */
.cmp-wrap {
  overflow-x: auto;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  box-shadow: var(--glow);
  background: #fff;
}

table.cmp {
  width: 100%;
  border-collapse: collapse;
  min-width: 680px;
}

table.cmp th,
table.cmp td {
  padding: 16px 18px;
  text-align: center;
  border-bottom: 1px solid var(--border);
}

table.cmp th {
  font-weight: 700;
  color: var(--navy);
}

table.cmp thead th {
  background: var(--surface-2);
  font-size: .98rem;
}

table.cmp thead th.us {
  background: var(--grad);
  color: #fff;
}

table.cmp td:first-child,
table.cmp th:first-child {
  text-align: left;
  color: var(--muted);
  font-weight: 600;
}

table.cmp td {
  color: var(--muted);
}

table.cmp td.us {
  background: rgba(221, 0, 31, .05);
  color: var(--navy);
}

table.cmp tbody tr:last-child td {
  border-bottom: 0;
}

.yes {
  color: #16a34a;
  font-weight: 800;
}

.no {
  color: var(--red);
  font-weight: 800;
}

.meh {
  color: #d97706;
}

/* ============================================================ PRICING */
.price-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  align-items: stretch;
}

.price {
  padding: 32px;
  border-radius: var(--radius);
  background: #fff;
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  transition: transform .3s, box-shadow .3s, border-color .3s;
  position: relative;
  box-shadow: 0 2px 12px rgba(2, 18, 38, .05);
}

.price:hover {
  transform: translateY(-6px);
  box-shadow: var(--glow);
}

.price.featured {
  border-color: var(--red);
  border-width: 2px;
  box-shadow: var(--glow-red);
  transform: scale(1.02);
}

.price.featured:hover {
  transform: scale(1.02) translateY(-6px);
}

.price .ribbon {
  position: absolute;
  top: 18px;
  right: 18px;
  background: var(--grad);
  color: #fff;
  font-size: .74rem;
  font-weight: 800;
  padding: 5px 12px;
  border-radius: 999px;
  letter-spacing: .06em;
}

.price .plan-ic {
  font-size: 1.8rem;
  margin-bottom: 12px;
}

.price .plan-mascot {
  height: 120px;
  margin-bottom: 8px;
  display: flex;
  align-items: flex-end;
}

.price .plan-mascot img {
  height: 120px;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 12px 22px rgba(2, 18, 38, .16));
  transition: transform .35s cubic-bezier(.16, 1, .3, 1);
}

.price:hover .plan-mascot img {
  transform: translateY(-6px) scale(1.04);
}

.price h3 {
  font-size: 1.4rem;
  margin-bottom: 6px;
  color: var(--navy);
}

.price .cap {
  color: var(--muted);
  font-size: .92rem;
  margin-bottom: 18px;
}

.price .cost {
  font-size: 1.5rem;
  font-weight: 800;
  margin-bottom: 4px;
  color: var(--navy);
}

.price .cost small {
  font-size: .82rem;
  color: var(--muted);
  font-weight: 600;
}

.price .rev {
  color: var(--red);
  font-size: .86rem;
  font-weight: 700;
  margin-bottom: 22px;
}

.price ul {
  margin-bottom: 26px;
}

.price ul li {
  padding: 8px 0 8px 26px;
  position: relative;
  color: var(--muted);
}

.price ul li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--red);
  font-weight: 800;
}

.price .btn {
  margin-top: auto;
  justify-content: center;
}

.rev-note {
  margin-top: 28px;
  text-align: center;
  color: var(--muted);
  font-size: .95rem;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}

.rev-flow {
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 26px;
}

.rev-flow .pill {
  padding: 12px 20px;
  border-radius: 14px;
  background: #fff;
  border: 1px solid var(--border);
  font-weight: 600;
  color: var(--muted);
  box-shadow: 0 2px 8px rgba(2, 18, 38, .04);
}

.rev-flow .pill b {
  color: var(--navy);
}

/* ============================================================ FAQ */
.faq-list {
  max-width: 820px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: #fff;
  overflow: hidden;
  transition: border-color .25s, box-shadow .25s;
  box-shadow: 0 2px 8px rgba(2, 18, 38, .04);
}

.faq-item.open {
  border-color: rgba(221, 0, 31, .3);
  box-shadow: 0 10px 30px rgba(2, 18, 38, .08);
}

.faq-q {
  width: 100%;
  text-align: left;
  background: none;
  border: 0;
  color: var(--navy);
  cursor: pointer;
  padding: 20px 24px;
  font-size: 1.05rem;
  font-weight: 600;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  font-family: inherit;
}

.faq-q .chev {
  transition: transform .3s;
  color: var(--red);
  font-size: 1.3rem;
  flex-shrink: 0;
}

.faq-item.open .chev {
  transform: rotate(45deg);
}

.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height .35s ease;
}

.faq-a p {
  padding: 0 24px 22px;
  color: var(--muted);
}

/* ============================================================ CTA (navy band) */
.cta-box {
  border-radius: 28px;
  padding: 56px;
  border: 1px solid rgba(255, 255, 255, .10);
  position: relative;
  overflow: hidden;
  background: var(--grad-navy);
  box-shadow: 0 30px 70px rgba(2, 18, 38, .28);
}

.cta-box::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(40rem 30rem at 82% -20%, rgba(221, 0, 31, .35), transparent 60%);
}

.cta-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 44px;
  align-items: center;
  position: relative;
}

.cta-grid .eyebrow {
  background: rgba(221, 0, 31, .2);
  color: #ff8a8a;
  border-color: rgba(255, 255, 255, .18);
}

.cta-grid h2 {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  line-height: 1.15;
  color: #fff;
}

.cta-grid p {
  color: rgba(255, 255, 255, .74);
  margin-top: 14px;
}

.cta-contacts {
  margin-top: 26px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.cta-contacts a {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #fff;
  font-weight: 600;
}

.cta-contacts a .ic {
  width: 42px;
  height: 42px;
  border-radius: 11px;
  background: rgba(255, 255, 255, .1);
  border: 1px solid rgba(255, 255, 255, .16);
  display: grid;
  place-items: center;
  font-size: 1.2rem;
  transition: .2s;
}

.cta-contacts a:hover .ic {
  background: var(--grad);
  border-color: transparent;
}

.form {
  background: #fff;
  border-radius: 20px;
  padding: 30px;
  box-shadow: 0 20px 50px rgba(2, 18, 38, .25);
}

.form label {
  display: block;
  font-size: .88rem;
  font-weight: 600;
  margin-bottom: 7px;
  color: var(--muted);
}

.form .field {
  margin-bottom: 16px;
}

.form input,
.form select,
.form textarea {
  width: 100%;
  padding: 13px 15px;
  border-radius: 12px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  color: var(--navy);
  font-family: inherit;
  font-size: 1rem;
  transition: border-color .2s;
}

.form input::placeholder {
  color: var(--muted-2);
}

.form input:focus,
.form select:focus,
.form textarea:focus {
  outline: none;
  border-color: var(--red);
}

.form .btn {
  width: 100%;
  justify-content: center;
  margin-top: 6px;
}

/* ============================================================ SOCIAL */
.social-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.social-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 24px;
}

.social-card img {
  width: 52px;
  height: 52px;
  object-fit: contain;
}

.social-card b {
  display: block;
  font-size: 1.1rem;
  color: var(--navy);
}

.social-card small {
  color: var(--muted);
}

/* ============================================================ FOOTER */
footer {
  border-top: 1px solid var(--border);
  padding: 60px 0 30px;
  background: var(--bg-soft);
}

.foot-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 36px;
  margin-bottom: 40px;
}

.foot-about p {
  color: var(--muted);
  margin-top: 16px;
  max-width: 320px;
}

.foot-col h5 {
  font-size: .82rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--muted-2);
  margin-bottom: 16px;
}

.foot-col a {
  display: block;
  color: var(--muted);
  padding: 6px 0;
  transition: color .2s;
}

.foot-col a:hover {
  color: var(--red);
}

.foot-social {
  display: flex;
  gap: 12px;
  margin-top: 20px;
}

.foot-social a {
  width: 40px;
  height: 40px;
  border-radius: 11px;
  border: 1px solid var(--border-hi);
  background: #fff;
  display: grid;
  place-items: center;
  transition: .2s;
  box-shadow: 0 2px 8px rgba(2, 18, 38, .05);
}

.foot-social a:hover {
  transform: translateY(-3px);
  box-shadow: var(--glow);
}

.foot-social img {
  width: 22px;
  height: 22px;
}

/* Giant brand wordmark ending (auto-fits full width via SVG) */
.brand-end {
  padding-top: 32px;
  margin-bottom: 0;
  line-height: 0;
  user-select: none;
  overflow: hidden;
}

.brand-end img {
  display: block;
  width: 100%;
  height: auto;
  /* dissolve bottom edge into bg */
  -webkit-mask-image: linear-gradient(to bottom, black 0%, black 38%, rgba(0, 0, 0, .6) 62%, transparent 100%);
  mask-image: linear-gradient(to bottom, black 0%, black 38%, rgba(0, 0, 0, .6) 62%, transparent 100%);
}

.foot-bottom {
  border-top: 1px solid var(--border);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  color: var(--muted-2);
  font-size: .9rem;
}

.foot-bottom a {
  color: var(--muted-2);
}

.foot-bottom a:hover {
  color: var(--red);
}

/* ============================================================ SCROLL REVEAL */
.reveal {
  opacity: 0;
  transform: translateY(34px);
  transition: opacity .7s cubic-bezier(.16, 1, .3, 1), transform .7s cubic-bezier(.16, 1, .3, 1);
}

.reveal.in {
  opacity: 1;
  transform: none;
}

.reveal.d1 {
  transition-delay: .08s;
}

.reveal.d2 {
  transition-delay: .16s;
}

.reveal.d3 {
  transition-delay: .24s;
}

.reveal.d4 {
  transition-delay: .32s;
}

/* Sticky mobile CTA */
.sticky-cta {
  position: fixed;
  bottom: 16px;
  left: 16px;
  right: 16px;
  z-index: 90;
  display: none;
}

.sticky-cta .btn {
  width: 100%;
  justify-content: center;
  box-shadow: 0 16px 40px rgba(221, 0, 31, .45);
}

/* ============================================================ RESPONSIVE */
@media (max-width: 980px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    height: 360px;
    margin-top: 10px;
  }

  .pillars,
  .feat-grid,
  .testi-grid,
  .price-grid,
  .social-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .clients-logos,
  .tech-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .foot-grid {
    grid-template-columns: 1fr 1fr;
  }

  .cta-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .nav-links {
    display: none;
  }

  .nav-cta .btn-desktop {
    display: none;
  }

  .burger {
    display: flex;
  }

  section {
    padding: 70px 0;
  }

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

  .pillars,
  .feat-grid,
  .testi-grid,
  .price-grid,
  .social-grid,
  .compare,
  .steps {
    grid-template-columns: 1fr;
  }

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

  .compare .col-new {
    border-left: 0;
    border-top: 1px solid var(--border);
  }

  .step:not(:last-child)::after {
    display: none;
  }

  .price.featured {
    transform: none;
  }

  .price.featured:hover {
    transform: translateY(-6px);
  }

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

  .foot-grid {
    grid-template-columns: 1fr;
  }

  .cta-box {
    padding: 32px 22px;
  }

  .sticky-cta {
    display: block;
  }

  .hero {
    padding-top: 120px;
  }

  .hero .sub {
    font-size: 1.05rem;
  }

  .float-card {
    padding: 10px 13px;
  }

  .float-card b {
    font-size: 1rem;
  }
}

@media (prefers-reduced-motion: reduce) {

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}