/* Google Fonts loaded async via <link rel="preload"> in HTML — no @import needed */

/* ─── Brand tokens ─────────────────────────────────────────── */
:root {
  --navy:      #150d2e;
  --navy-mid:  #1e1240;
  --lime:      #8afc76;
  --sky:       #79d8ff;
  --lavender:  #b9aeff;
  --lilac:     #d99bff;
  --pink:      #ff78d8;
  --coral:     #ff6b4a;
  --white:     #ffffff;
  --off-white: #f8f6ff;

  --grad-brand: linear-gradient(135deg, #8afc76 0%, #79d8ff 30%, #b9aeff 55%, #d99bff 70%, #ff78d8 90%);
  --grad-hero:  linear-gradient(135deg, #150d2e 0%, #1e1240 50%, #2a1560 100%);
  --grad-cta:   linear-gradient(135deg, #8afc76 0%, #79d8ff 50%, #b9aeff 100%);

  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 32px;
  --radius-xl: 48px;

  --font: 'Plus Jakarta Sans', sans-serif;
  --max-w: 1160px;
  --nav-h: 72px;

  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --ease-out:    cubic-bezier(0.16, 1, 0.3, 1);
}

/* ─── Reset ────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  background: var(--navy);
  color: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font-family: var(--font); cursor: pointer; border: none; background: none; }
input, textarea, select { font-family: var(--font); }

/* ─── Utility ──────────────────────────────────────────────── */
.container { width: 100%; max-width: var(--max-w); margin-inline: auto; padding-inline: 24px; }
.text-lime    { color: var(--lime); }
.text-sky     { color: var(--sky); }
.text-lavender{ color: var(--lavender); }
.text-pink    { color: var(--pink); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }

/* ─── Buttons ──────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 0.95rem;
  border-radius: 100px;
  padding: 14px 28px;
  transition: transform 0.25s var(--ease-spring), box-shadow 0.25s ease, opacity 0.2s ease;
  white-space: nowrap;
  position: relative;
  overflow: hidden;
}
.btn:hover { transform: translateY(-3px); }
.btn:active { transform: translateY(-1px); }

.btn-primary {
  background: var(--lime);
  color: var(--navy);
  box-shadow: 0 4px 24px rgba(138,252,118,0.35);
}
.btn-primary::after {
  content: '';
  position: absolute;
  top: 0; left: -100%;
  width: 55%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.35), transparent);
  transform: skewX(-20deg);
}
.btn-primary:hover { box-shadow: 0 8px 40px rgba(138,252,118,0.55); }
.btn-primary:hover::after { animation: btn-shimmer 0.55s ease forwards; }

@keyframes btn-shimmer {
  from { left: -100%; }
  to   { left: 160%;  }
}

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

.btn-navy {
  background: var(--navy);
  color: var(--lime);
  box-shadow: 0 4px 24px rgba(21,13,46,0.4);
}
.btn-navy:hover { box-shadow: 0 8px 32px rgba(21,13,46,0.6); }

/* ─── Navigation ───────────────────────────────────────────── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  background: rgba(21,13,46,0.5);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-bottom: 1px solid rgba(255,255,255,0.05);
  transition: background 0.4s ease, border-color 0.4s ease;
}
.nav.scrolled {
  background: rgba(21,13,46,0.92);
  border-bottom-color: rgba(255,255,255,0.08);
}
.nav-inner {
  width: 100%;
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
/* ── Logo swap on scroll ────────────────────────────────────── */
.nav-logo-wrap {
  position: relative;
  height: 38px;
  width: 265px;
  flex-shrink: 0;
  transition: width 0.38s cubic-bezier(0.4, 0, 0.2, 1);
}
.nav.scrolled .nav-logo-wrap { width: 38px; }

.nav-logo-full,
.nav-logo-mark {
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  height: 38px;
  width: auto;
  transition: opacity 0.25s ease;
}
.nav-logo-mark {
  width: 38px;
  opacity: 0;
  transition: opacity 0.25s ease 0.12s;
}
.nav.scrolled .nav-logo-full { opacity: 0; }
.nav.scrolled .nav-logo-mark { opacity: 1; }
.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}
.nav-links a {
  font-weight: 600;
  font-size: 0.9rem;
  color: rgba(255,255,255,0.65);
  transition: color 0.2s;
  position: relative;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0;
  width: 0; height: 2px;
  background: var(--grad-brand);
  border-radius: 2px;
  transition: width 0.3s var(--ease-out);
}
.nav-links a:hover,
.nav-links a.active { color: var(--white); }
.nav-links a:hover::after,
.nav-links a.active::after { width: 100%; }
.nav-cta { margin-left: 8px; padding: 10px 22px; font-size: 0.875rem; }
.nav-links a.nav-cta,
.nav-links a.nav-cta:hover { color: var(--navy); }
.nav-cta::after { display: none; }

/* Nav Dropdown */
.nav-dropdown { position: relative; }
.nav-dropdown-trigger {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  cursor: pointer;
}
.nav-dropdown-trigger svg {
  transition: transform 0.25s var(--ease-out);
  flex-shrink: 0;
  opacity: 0.65;
}
.nav-dropdown:hover .nav-dropdown-trigger svg,
.nav-dropdown.open .nav-dropdown-trigger svg { transform: rotate(180deg); opacity: 1; }
.nav-dropdown-menu {
  position: absolute;
  top: calc(100% + 14px);
  left: 50%;
  transform: translateX(-50%) translateY(-4px);
  background: rgba(21,13,46,0.97);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 14px;
  padding: 8px;
  min-width: 210px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s var(--ease-out), transform 0.2s var(--ease-out);
  z-index: 200;
}
.nav-dropdown-menu::before {
  content: '';
  position: absolute;
  bottom: 100%;
  left: 0; right: 0;
  height: 18px;
}
.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown.open .nav-dropdown-menu {
  opacity: 1;
  pointer-events: all;
  transform: translateX(-50%) translateY(0);
}
.nav-dropdown-menu a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: 8px;
  font-size: 0.875rem;
  font-weight: 600;
  color: rgba(255,255,255,0.7);
  transition: color 0.2s, background 0.2s;
  white-space: nowrap;
}
.nav-dropdown-menu a:hover { color: var(--white); background: rgba(255,255,255,0.07); }
.nav-dropdown-menu a::after { display: none !important; }
.nav-dropdown-menu .dropdown-divider { height: 1px; background: rgba(255,255,255,0.07); margin: 6px 0; }

/* ── Hamburger button ───────────────────────────────────────── */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 4px;
  background: none;
  border: none;
  cursor: pointer;
  position: relative;
  z-index: 101;
}
.nav-toggle span {
  display: block;
  width: 24px; height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── Mobile nav backdrop ────────────────────────────────────── */
.nav-backdrop {
  position: fixed;
  inset: 0;
  z-index: 98;
  background: rgba(0, 0, 0, 0.5);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  cursor: pointer;
}
.nav-backdrop.open { opacity: 1; visibility: visible; }

/* ── Mobile nav — drops down from nav bar ───────────────────── */
@media (max-width: 768px) {
  .nav-toggle { display: flex; }

  /* Panel anchored just below the nav bar, drops downward */
  .nav-links {
    position: fixed;
    top: var(--nav-h);
    left: 0;
    right: 0;
    z-index: 99;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    background: rgb(14, 8, 32);
    border-bottom: 1px solid rgba(255,255,255,0.1);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    gap: 0;
  }
  .nav-links.open { max-height: 90vh; }

  /* Top-level direct links */
  .nav-links > a {
    font-size: 1.05rem;
    font-weight: 700;
    color: rgba(255,255,255,0.78);
    text-align: left;
    padding: 16px 24px;
    border-bottom: 1px solid rgba(255,255,255,0.07);
    transition: color 0.2s, background 0.2s;
  }
  .nav-links > a:hover, .nav-links > a.active { color: var(--white); background: rgba(255,255,255,0.05); }
  .nav-links > a::after { display: none; }

  /* Book a Call CTA */
  .nav-links .nav-cta {
    align-self: flex-start;
    margin: 20px 24px 24px;
    border: none !important;
    font-size: 0.95rem !important;
    padding: 12px 28px !important;
    color: var(--navy) !important;
    background: var(--lime);
    border-bottom: none !important;
  }
  .nav-links .nav-cta:hover { background: var(--lime); color: var(--navy) !important; }

  /* Services accordion */
  .nav-dropdown {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    border-bottom: 1px solid rgba(255,255,255,0.07);
  }
  /* .nav-links .nav-dropdown-trigger gives specificity 0,2,0 — beats global .nav-links a at 0,1,1 */
  .nav-links .nav-dropdown-trigger {
    font-size: 1.05rem;
    font-weight: 700;
    color: rgba(255,255,255,0.78);
    text-align: left;
    padding: 16px 24px;
    justify-content: space-between;
    cursor: pointer;
    transition: color 0.2s, background 0.2s;
  }
  .nav-links .nav-dropdown-trigger svg { display: inline; opacity: 0.5; transition: transform 0.25s ease, opacity 0.2s; }
  .nav-links .nav-dropdown.open .nav-dropdown-trigger { color: var(--white); background: rgba(255,255,255,0.05); }
  .nav-links .nav-dropdown.open .nav-dropdown-trigger svg { transform: rotate(180deg); opacity: 1; }

  /* Reset desktop absolute positioning */
  .nav-dropdown-menu {
    position: static;
    transform: none;
    top: auto;
    left: auto;
    background: rgba(0,0,0,0.25);
    border: none;
    border-radius: 0;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    padding: 0;
    min-width: 0;
    width: 100%;
    max-height: 0;
    overflow: hidden;
    opacity: 1;
    pointer-events: none;
    transition: max-height 0.3s ease;
    display: block;
    z-index: auto;
  }
  .nav-dropdown-menu::before { display: none; }
  /* Cancel desktop :hover on touch */
  .nav-dropdown:hover .nav-dropdown-menu {
    opacity: 1; pointer-events: none; transform: none; max-height: 0;
  }
  /* Open via .open class only */
  .nav-dropdown.open .nav-dropdown-menu {
    max-height: 500px; pointer-events: all; transform: none;
  }

  /* Submenu links */
  .nav-dropdown-menu a {
    display: block;
    font-size: 0.9rem;
    font-weight: 600;
    color: rgba(255,255,255,0.55);
    text-align: left;
    padding: 12px 24px 12px 36px;
    border-radius: 0;
    white-space: normal;
    transition: color 0.2s, background 0.2s;
  }
  .nav-dropdown-menu a:hover { color: var(--white); background: rgba(255,255,255,0.05); }
  .nav-dropdown-menu a::after { display: none; }
  .nav-dropdown-menu .dropdown-divider { display: block; height: 1px; background: rgba(255,255,255,0.06); margin: 4px 0; }
}

/* ─── Page offset for fixed nav ───────────────────────────── */
.page-top { padding-top: var(--nav-h); }

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

/* Grain texture */
.hero::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)' opacity='0.055'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 2;
  opacity: 1;
}

.hero-bg-shape {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.hero-bg-shape::before {
  content: '';
  position: absolute;
  top: -200px; right: -200px;
  width: 700px; height: 700px;
  background: radial-gradient(circle, rgba(138,252,118,0.08) 0%, transparent 70%);
  border-radius: 50%;
}
.hero-bg-shape::after {
  content: '';
  position: absolute;
  bottom: -150px; left: -100px;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(121,216,255,0.07) 0%, transparent 70%);
  border-radius: 50%;
}
.hero-content {
  position: relative;
  z-index: 10;
  padding-block: 120px 80px;
  transform: translateZ(0);
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(138,252,118,0.1);
  border: 1px solid rgba(138,252,118,0.28);
  border-radius: 100px;
  padding: 6px 14px;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--lime);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 32px;
}
.hero-badge::before {
  content: '';
  width: 6px; height: 6px;
  background: var(--lime);
  border-radius: 50%;
  animation: badge-pulse 2.5s ease-in-out infinite;
}
@keyframes badge-pulse {
  0%,100% { opacity: 1; box-shadow: 0 0 0 0 rgba(138,252,118,0.5); }
  50%      { opacity: 0.7; box-shadow: 0 0 0 4px rgba(138,252,118,0); }
}

.hero h1 {
  font-size: clamp(2.8rem, 7vw, 5.8rem);
  font-weight: 800;
  line-height: 1.04;
  letter-spacing: -0.03em;
  margin-bottom: 24px;
}
.hero h1 span {
  background: var(--grad-brand);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  background-size: 200% 200%;
  animation: grad-shift 6s ease-in-out infinite;
}
@keyframes grad-shift {
  0%,100% { background-position: 0% 50%; }
  50%      { background-position: 100% 50%; }
}

.hero-sub {
  font-size: clamp(1.05rem, 2.2vw, 1.3rem);
  color: rgba(255,255,255,0.78);
  max-width: 560px;
  margin-bottom: 14px;
  font-weight: 600;
  line-height: 1.5;
}
.hero-snippet {
  font-size: 1rem;
  color: rgba(255,255,255,0.45);
  max-width: 480px;
  margin-bottom: 44px;
  line-height: 1.7;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
}
.hero-stats {
  display: flex;
  gap: 0;
  margin-top: 80px;
  flex-wrap: wrap;
}
.hero-stats > div {
  padding-right: 40px;
  margin-right: 40px;
  border-right: 1px solid rgba(255,255,255,0.1);
}
.hero-stats > div:last-child {
  border-right: none;
  margin-right: 0;
  padding-right: 0;
}
.hero-stat-num {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--lime);
  letter-spacing: -0.02em;
  line-height: 1;
}
.hero-stat-label {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.45);
  margin-top: 6px;
  letter-spacing: 0.01em;
}

/* ─── Section base ─────────────────────────────────────────── */
.section { padding-block: 100px; }
.section-sm { padding-block: 64px; }

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--lime);
  background: rgba(138,252,118,0.08);
  border: 1px solid rgba(138,252,118,0.2);
  border-radius: 100px;
  padding: 5px 13px;
  margin-bottom: 20px;
}
.section-label::before {
  content: '';
  width: 5px; height: 5px;
  background: var(--lime);
  border-radius: 50%;
  flex-shrink: 0;
  animation: badge-pulse 2.5s ease-in-out infinite;
}

.section-title {
  font-size: clamp(1.9rem, 4vw, 2.9rem);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.025em;
  margin-bottom: 16px;
}
.section-intro {
  font-size: 1.08rem;
  color: rgba(255,255,255,0.55);
  max-width: 560px;
  line-height: 1.75;
}
.section-header { margin-bottom: 60px; }

/* ─── Divider ──────────────────────────────────────────────── */
.divider {
  height: 1px;
  background: linear-gradient(90deg,
    transparent 0%,
    rgba(255,255,255,0.08) 25%,
    rgba(138,252,118,0.18) 50%,
    rgba(255,255,255,0.08) 75%,
    transparent 100%
  );
}

/* ─── Meet Jamie ───────────────────────────────────────────── */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}
@media (max-width: 900px) { .about-grid { grid-template-columns: 1fr; gap: 48px; } }

.about-visual { position: relative; }
.about-body {
  color: rgba(255,255,255,0.65);
  line-height: 1.85;
  margin-bottom: 20px;
}
.about-closing {
  font-weight: 700;
  color: var(--lime);
  font-size: 1rem;
  margin-bottom: 32px;
}

/* ─── Services grid ────────────────────────────────────────── */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
@media (max-width: 960px) { .services-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 580px) { .services-grid { grid-template-columns: 1fr; } }

.service-card {
  background: rgba(255,255,255,0.03);
  border-radius: var(--radius-md);
  padding: 32px;
  position: relative;
  transition: transform 0.3s var(--ease-spring), box-shadow 0.3s ease;
}
.service-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--radius-md);
  padding: 1px;
  background: linear-gradient(135deg, rgba(138,252,118,0.35), rgba(121,216,255,0.12), rgba(185,174,255,0.35));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0.35;
  transition: opacity 0.35s ease;
  pointer-events: none;
}
.service-card:hover::before { opacity: 1; }
.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 64px rgba(0,0,0,0.35), 0 0 48px rgba(138,252,118,0.07);
}

.service-icon {
  width: 52px; height: 52px;
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 22px;
}
.service-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 10px;
}
.service-card p {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.5);
  line-height: 1.75;
}

/* ─── USP / differentiators ────────────────────────────────── */
.usp-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
@media (max-width: 860px) { .usp-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 540px) { .usp-grid { grid-template-columns: 1fr; } }

.usp-card {
  background: var(--navy-mid);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: var(--radius-md);
  padding: 32px;
  position: relative;
  overflow: hidden;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}
.usp-card::after {
  content: '';
  position: absolute;
  left: 0; top: 20px; bottom: 20px;
  width: 3px;
  background: var(--grad-brand);
  border-radius: 0 3px 3px 0;
  opacity: 0;
  transition: opacity 0.3s ease;
}
.usp-card:hover {
  border-color: rgba(138,252,118,0.15);
  box-shadow: 0 8px 32px rgba(0,0,0,0.2);
}
.usp-card:hover::after { opacity: 1; }

.usp-num {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--lime);
  margin-bottom: 16px;
}
.usp-card h3 { font-size: 1rem; font-weight: 700; margin-bottom: 8px; }
.usp-card p  { font-size: 0.875rem; color: rgba(255,255,255,0.5); line-height: 1.7; }

/* ─── Process steps ────────────────────────────────────────── */
.process-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  position: relative;
}
.process-steps::before {
  content: '';
  position: absolute;
  top: 28px; left: calc(33.33% - 8px); right: calc(33.33% - 8px);
  height: 2px;
  background: linear-gradient(90deg, var(--lime), var(--sky), var(--lavender));
  opacity: 0;
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 1.2s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.4s ease;
}
.process-steps.line-visible::before {
  opacity: 0.55;
  transform: scaleX(1);
}
@media (max-width: 700px) {
  .process-steps { grid-template-columns: 1fr; gap: 24px; }
  .process-steps::before { display: none; }
}
.process-step { text-align: center; }
.process-step-num {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: var(--grad-cta);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem; font-weight: 800; color: var(--navy);
  margin: 0 auto 24px;
  position: relative; z-index: 1;
  box-shadow: 0 0 0 8px rgba(138,252,118,0.08), 0 0 0 16px rgba(138,252,118,0.04);
  transition: box-shadow 0.3s ease, transform 0.3s var(--ease-spring);
}
.process-step:hover .process-step-num {
  box-shadow: 0 0 0 10px rgba(138,252,118,0.14), 0 0 0 20px rgba(138,252,118,0.06);
  transform: scale(1.08);
}
.process-step h3 { font-size: 1.05rem; font-weight: 700; margin-bottom: 8px; }
.process-step p  { font-size: 0.88rem; color: rgba(255,255,255,0.5); line-height: 1.75; }

/* ─── Testimonial ──────────────────────────────────────────── */
.testimonial-block {
  background: linear-gradient(135deg, rgba(138,252,118,0.05), rgba(121,216,255,0.05));
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: var(--radius-lg);
  padding: 56px;
  text-align: center;
  max-width: 720px;
  margin-inline: auto;
  position: relative;
}
.testimonial-quote {
  font-size: clamp(1.1rem, 2.5vw, 1.4rem);
  font-weight: 700;
  line-height: 1.65;
  color: var(--white);
  margin-bottom: 28px;
}
.testimonial-quote::before { content: '\201C'; color: var(--lime); }
.testimonial-quote::after  { content: '\201D'; color: var(--lime); }
.testimonial-attr { font-size: 0.9rem; color: rgba(255,255,255,0.45); }

/* ─── CTA banner ───────────────────────────────────────────── */
.cta-banner {
  background: var(--grad-cta);
  border-radius: var(--radius-xl);
  padding: 80px 48px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-banner::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(circle at 25% 50%, rgba(255,255,255,0.18) 0%, transparent 55%);
  pointer-events: none;
}
.cta-banner::after {
  content: '';
  position: absolute;
  top: 0; left: -200%;
  width: 80%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.12), transparent);
  transform: skewX(-15deg);
  animation: cta-shine 5s ease-in-out infinite;
  pointer-events: none;
}
@keyframes cta-shine {
  0%   { left: -200%; }
  100% { left: 200%;  }
}
.cta-banner h2 {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 14px;
  position: relative;
}
.cta-banner p {
  color: rgba(21,13,46,0.6);
  font-size: 1.05rem;
  max-width: 500px;
  margin-inline: auto;
  margin-bottom: 40px;
  position: relative;
  line-height: 1.7;
}
.cta-banner-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; position: relative; }

/* ─── Footer ───────────────────────────────────────────────── */
.footer {
  background: #0c0720;
  border-top: 1px solid rgba(255,255,255,0.06);
  padding-block: 40px 24px;
}
/* Footer — horizontal row layout */
.footer-grid {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-bottom: 36px;
}
.footer-grid > div:first-child {
  display: flex;
  align-items: center;
  gap: 20px;
  padding-bottom: 20px;
  margin-bottom: 8px;
  border-bottom: 1px solid rgba(255,255,255,0.07);
  flex-wrap: wrap;
}
.footer-logo { height: 26px; width: auto; flex-shrink: 0; }
.footer-tagline {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.3);
  line-height: 1.5;
  max-width: none;
  margin: 0;
}
.footer-col {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 0;
  padding: 7px 0;
  border-bottom: 1px solid rgba(255,255,255,0.04);
}
.footer-col h4 {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--lime);
  margin: 0;
  min-width: 120px;
  flex-shrink: 0;
  padding-right: 16px;
  line-height: 1.6;
}
.footer-col a {
  display: inline;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.42);
  margin-right: 20px;
  margin-bottom: 4px;
  transition: color 0.2s;
  white-space: nowrap;
}
.footer-col a:hover { color: var(--white); }
.footer-col p {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.3);
  margin: 0;
  margin-right: 20px;
}
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.06);
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.25);
}
/* Mobile: revert to stacked */
@media (max-width: 680px) {
  .footer-grid > div:first-child { flex-direction: column; align-items: flex-start; gap: 10px; }
  .footer-col { flex-direction: column; padding: 14px 0; }
  .footer-col h4 { min-width: auto; margin-bottom: 10px; padding-right: 0; }
  .footer-col a { display: block; margin-right: 0; margin-bottom: 6px; white-space: normal; }
}

/* ─── Page hero (inner pages) ──────────────────────────────── */
.page-hero {
  padding-block: 120px 80px;
  background: var(--grad-hero);
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute; top: -100px; right: -100px;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(138,252,118,0.09) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}
.page-hero::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)' opacity='0.045'/%3E%3C/svg%3E");
  pointer-events: none;
}
.page-hero .section-label { margin-bottom: 14px; }
.page-hero h1 {
  font-size: clamp(2rem, 5vw, 3.6rem);
  font-weight: 800;
  letter-spacing: -0.025em;
  margin-bottom: 18px;
  position: relative;
}
.page-hero p {
  font-size: 1.08rem;
  color: rgba(255,255,255,0.55);
  max-width: 540px;
  line-height: 1.75;
  position: relative;
}

/* ─── Contact form ─────────────────────────────────────────── */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 64px;
  align-items: start;
}
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }

.contact-info h2 { margin-bottom: 16px; }
.contact-info p { color: rgba(255,255,255,0.55); margin-bottom: 40px; line-height: 1.85; }

.contact-detail {
  display: flex; align-items: flex-start; gap: 14px;
  margin-bottom: 24px;
}
.contact-detail-icon {
  width: 42px; height: 42px; flex-shrink: 0;
  background: rgba(138,252,118,0.08);
  border: 1px solid rgba(138,252,118,0.15);
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem;
}
.contact-detail-text { font-size: 0.88rem; color: rgba(255,255,255,0.55); }
.contact-detail-text strong { display: block; color: var(--white); font-size: 0.92rem; margin-bottom: 3px; }

.form-card {
  background: rgba(255,255,255,0.03);
  border-radius: var(--radius-lg);
  padding: 40px;
  position: relative;
}
.form-card::before {
  content: '';
  position: absolute; inset: 0;
  border-radius: var(--radius-lg);
  padding: 1px;
  background: linear-gradient(135deg, rgba(138,252,118,0.25), rgba(121,216,255,0.1), rgba(185,174,255,0.2));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 540px) { .form-row { grid-template-columns: 1fr; } }
.form-group { margin-bottom: 20px; }
.form-group label {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  color: rgba(255,255,255,0.55);
  margin-bottom: 8px;
  letter-spacing: 0.01em;
}
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.09);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  color: var(--white);
  font-size: 0.93rem;
  transition: border-color 0.25s, background 0.25s, box-shadow 0.25s;
  appearance: none;
  -webkit-appearance: none;
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: rgba(255,255,255,0.2); }
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: rgba(138,252,118,0.5);
  background: rgba(138,252,118,0.04);
  box-shadow: 0 0 0 3px rgba(138,252,118,0.08);
}
.form-group select option { background: var(--navy); color: var(--white); }
.form-group textarea { resize: vertical; min-height: 120px; }
.form-submit { width: 100%; margin-top: 8px; justify-content: center; font-size: 1rem; padding: 16px; }

/* ─── Services detail ──────────────────────────────────────── */
.services-detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
@media (max-width: 680px) { .services-detail-grid { grid-template-columns: 1fr; } }

.service-detail-card {
  background: rgba(255,255,255,0.03);
  border-radius: var(--radius-md);
  padding: 36px;
  position: relative;
  transition: transform 0.3s var(--ease-spring), box-shadow 0.3s ease;
}
.service-detail-card::before {
  content: '';
  position: absolute; inset: 0;
  border-radius: var(--radius-md);
  padding: 1px;
  background: linear-gradient(135deg, rgba(138,252,118,0.3), rgba(121,216,255,0.1), rgba(185,174,255,0.3));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0.35;
  transition: opacity 0.35s ease;
  pointer-events: none;
}
.service-detail-card:hover::before { opacity: 1; }
.service-detail-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 56px rgba(0,0,0,0.3), 0 0 40px rgba(138,252,118,0.06);
}
.service-detail-card .service-icon { margin-bottom: 20px; }
.service-detail-card h3 { font-size: 1.15rem; font-weight: 700; margin-bottom: 10px; }
.service-detail-card p  { font-size: 0.88rem; color: rgba(255,255,255,0.5); line-height: 1.8; }

/* ─── Case studies / Blog cards ────────────────────────────── */
.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
@media (max-width: 900px) { .card-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .card-grid { grid-template-columns: 1fr; } }

.card {
  background: rgba(255,255,255,0.03);
  border-radius: var(--radius-md);
  overflow: hidden;
  position: relative;
  transition: transform 0.3s var(--ease-spring), box-shadow 0.3s ease;
}
.card::before {
  content: '';
  position: absolute; inset: 0;
  border-radius: var(--radius-md);
  padding: 1px;
  background: linear-gradient(135deg, rgba(138,252,118,0.3), rgba(121,216,255,0.1), rgba(185,174,255,0.3));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0.3;
  transition: opacity 0.35s ease;
  pointer-events: none;
  z-index: 1;
}
.card:hover::before { opacity: 1; }
.card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 60px rgba(0,0,0,0.3), 0 0 40px rgba(138,252,118,0.06);
}
.card-thumb {
  height: 200px;
  background: var(--grad-brand);
  position: relative;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
}
.card-thumb::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(to bottom, transparent 40%, rgba(21,13,46,0.4));
}
.card-thumb-label {
  background: rgba(21,13,46,0.75);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 100px;
  padding: 6px 14px;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--lime);
  position: relative;
  z-index: 1;
}
.card-body { padding: 26px; }
.card-tag {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--sky);
  margin-bottom: 10px;
}
.card h3 { font-size: 1.03rem; font-weight: 700; margin-bottom: 10px; line-height: 1.4; }
.card p  { font-size: 0.87rem; color: rgba(255,255,255,0.47); line-height: 1.75; }
.card-link {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 0.875rem; font-weight: 700;
  color: var(--lime); margin-top: 16px;
  transition: gap 0.2s;
}
.card-link:hover { gap: 10px; }

/* ─── Pricing ──────────────────────────────────────────────── */
.pricing-card {
  background: rgba(255,255,255,0.03);
  border-radius: var(--radius-lg);
  padding: 52px;
  text-align: center;
  max-width: 560px;
  margin-inline: auto;
  position: relative;
}
.pricing-card::before {
  content: '';
  position: absolute; inset: 0;
  border-radius: var(--radius-lg);
  padding: 1px;
  background: linear-gradient(135deg, rgba(138,252,118,0.4), rgba(121,216,255,0.15), rgba(185,174,255,0.4));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}
.pricing-card h3 { font-size: 1.3rem; font-weight: 800; margin-bottom: 12px; }
.pricing-card p  { color: rgba(255,255,255,0.5); line-height: 1.8; margin-bottom: 28px; }
.pricing-includes {
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 36px;
}
.pricing-includes li {
  display: flex; align-items: center; gap: 10px;
  font-size: 0.9rem; color: rgba(255,255,255,0.65);
}
.pricing-includes li::before {
  content: '';
  flex-shrink: 0;
  width: 18px; height: 18px;
  background: rgba(138,252,118,0.15);
  border: 1px solid rgba(138,252,118,0.3);
  border-radius: 50%;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18' fill='none'%3E%3Cpath d='M4 9l3.5 3.5 6.5-7' stroke='%238afc76' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-size: contain;
}

/* ─── Jamie photo ──────────────────────────────────────────── */
.jamie-photo-wrap { position: relative; }
.jamie-photo-wrap::before {
  content: '';
  position: absolute;
  inset: -3px;
  border-radius: calc(var(--radius-lg) + 3px);
  background: var(--grad-brand);
  z-index: 0;
}
.jamie-photo {
  position: relative; z-index: 1;
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center top;
  border-radius: var(--radius-lg);
  display: block;
}
.jamie-name-badge {
  position: absolute;
  bottom: 20px; left: 20px; z-index: 2;
  background: rgba(21,13,46,0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-md);
  padding: 12px 18px;
}
.jamie-name-badge strong { display: block; font-size: 0.95rem; font-weight: 700; }
.jamie-name-badge span   { font-size: 0.8rem; color: var(--lime); }

/* ─── About page specifics ─────────────────────────────────── */
.values-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
@media (max-width: 600px) { .values-grid { grid-template-columns: 1fr; } }
.value-card {
  background: rgba(255,255,255,0.03);
  border-radius: var(--radius-md);
  padding: 32px;
  position: relative;
}
.value-card::before {
  content: '';
  position: absolute; inset: 0;
  border-radius: var(--radius-md);
  padding: 1px;
  background: linear-gradient(135deg, rgba(138,252,118,0.25), rgba(121,216,255,0.1));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}
.value-card h3 { font-size: 1rem; font-weight: 700; margin-bottom: 8px; color: var(--lime); }
.value-card p  { font-size: 0.88rem; color: rgba(255,255,255,0.5); line-height: 1.75; }

/* ─── Animations ───────────────────────────────────────────── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(30px); filter: blur(6px); }
  to   { opacity: 1; transform: translateY(0);    filter: blur(0px); }
}
.fade-up { opacity: 0; }
.fade-up.visible {
  animation: fadeUp 0.7s var(--ease-out) forwards;
}
.fade-up[data-delay="1"] { animation-delay: 0.05s; }
.fade-up[data-delay="2"] { animation-delay: 0.12s; }
.fade-up[data-delay="3"] { animation-delay: 0.19s; }
.fade-up[data-delay="4"] { animation-delay: 0.26s; }
.fade-up[data-delay="5"] { animation-delay: 0.33s; }
.fade-up[data-delay="6"] { animation-delay: 0.40s; }
.fade-up:nth-child(1).visible { animation-delay: 0s; }
.fade-up:nth-child(2).visible { animation-delay: 0.07s; }
.fade-up:nth-child(3).visible { animation-delay: 0.14s; }
.fade-up:nth-child(4).visible { animation-delay: 0.21s; }
.fade-up:nth-child(5).visible { animation-delay: 0.28s; }
.fade-up:nth-child(6).visible { animation-delay: 0.35s; }

/* ─── Calendly embed ───────────────────────────────────────── */
.calendly-embed-wrap {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.08);
  margin-top: 40px;
}
.calendly-inline-widget { min-width: 320px; height: 700px; }

/* ─── Hero orbs ────────────────────────────────────────────── */
.hero-orb {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
  will-change: transform;
}
.hero-orb-1 {
  width: 700px; height: 700px;
  background: radial-gradient(circle at center, rgba(138,252,118,0.38) 0%, rgba(138,252,118,0.08) 55%, transparent 70%);
  filter: blur(52px);
  top: -240px; left: -180px;
  animation: orb1 12s ease-in-out infinite;
}
.hero-orb-2 {
  width: 620px; height: 620px;
  background: radial-gradient(circle at center, rgba(121,216,255,0.34) 0%, rgba(121,216,255,0.07) 55%, transparent 70%);
  filter: blur(56px);
  top: 40px; right: -200px;
  animation: orb2 16s ease-in-out infinite;
}
.hero-orb-3 {
  width: 520px; height: 520px;
  background: radial-gradient(circle at center, rgba(185,174,255,0.3) 0%, rgba(185,174,255,0.06) 55%, transparent 70%);
  filter: blur(60px);
  bottom: -100px; left: 33%;
  animation: orb3 20s ease-in-out infinite;
}
.hero-orb-4 {
  width: 400px; height: 400px;
  background: radial-gradient(circle at center, rgba(255,120,216,0.28) 0%, rgba(255,120,216,0.06) 55%, transparent 70%);
  filter: blur(48px);
  top: 28%; right: 12%;
  animation: orb4 14s ease-in-out infinite;
}
@keyframes orb1 {
  0%,100% { transform: translate(0,0) scale(1);     opacity: 1; }
  33%     { transform: translate(70px,55px) scale(1.1);   opacity: 0.8; }
  66%     { transform: translate(-45px,35px) scale(0.93); opacity: 0.95; }
}
@keyframes orb2 {
  0%,100% { transform: translate(0,0) scale(1);     opacity: 1; }
  40%     { transform: translate(-60px,45px) scale(1.12); opacity: 0.85; }
  70%     { transform: translate(35px,-55px) scale(0.96); opacity: 0.95; }
}
@keyframes orb3 {
  0%,100% { transform: translate(0,0) scale(1);     opacity: 0.9; }
  50%     { transform: translate(45px,-65px) scale(1.09); opacity: 1; }
}
@keyframes orb4 {
  0%,100% { transform: translate(0,0) scale(1);     opacity: 1; }
  35%     { transform: translate(-35px,45px) scale(1.14); opacity: 0.8; }
  70%     { transform: translate(55px,-25px) scale(0.92); opacity: 0.95; }
}

@media (max-width: 768px) {
  .hero-orb-1 {
    width: 320px; height: 320px;
    top: -120px; left: -120px;
    filter: blur(50px);
    background: radial-gradient(circle at center, rgba(138,252,118,0.2) 0%, transparent 70%);
  }
  .hero-orb-2 {
    width: 280px; height: 280px;
    top: 20px; right: -120px;
    filter: blur(54px);
    background: radial-gradient(circle at center, rgba(121,216,255,0.18) 0%, transparent 70%);
  }
  .hero-orb-3 { display: none; }
  .hero-orb-4 { display: none; }
}

/* ─── Scrollbar ────────────────────────────────────────────── */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--navy); }
::-webkit-scrollbar-thumb {
  background: linear-gradient(var(--lime), var(--sky));
  border-radius: 3px;
}

/* ─── Consent Banner ───────────────────────────────────────── */
#consent-banner {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 9998;
  background: rgba(15,9,36,0.97);
  border-top: 1px solid rgba(255,255,255,0.1);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  padding: 20px 24px;
  transform: translateY(0);
  transition: transform 0.35s var(--ease-out), opacity 0.35s ease;
}
#consent-banner.hidden {
  transform: translateY(100%);
  opacity: 0;
  pointer-events: none;
}
.consent-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}
.consent-text { flex: 1; min-width: 260px; }
.consent-text strong { color: var(--white); font-size: 0.95rem; display: block; margin-bottom: 4px; }
.consent-text p {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.5);
  line-height: 1.6;
  margin: 0;
}
.consent-text a { color: var(--lime); text-decoration: underline; }
.consent-actions {
  display: flex;
  gap: 10px;
  flex-shrink: 0;
  flex-wrap: wrap;
}
.consent-btn {
  display: inline-flex;
  align-items: center;
  font-weight: 700;
  font-size: 0.82rem;
  border-radius: 100px;
  padding: 10px 20px;
  cursor: pointer;
  border: none;
  white-space: nowrap;
  transition: transform 0.2s var(--ease-spring), box-shadow 0.2s ease, opacity 0.2s;
}
.consent-btn:hover { transform: translateY(-2px); }
.consent-btn-reject {
  background: transparent;
  color: rgba(255,255,255,0.6);
  border: 1.5px solid rgba(255,255,255,0.2);
}
.consent-btn-reject:hover { color: var(--white); border-color: rgba(255,255,255,0.5); }
.consent-btn-accept {
  background: var(--lime);
  color: var(--navy);
  box-shadow: 0 4px 20px rgba(138,252,118,0.3);
}
.consent-btn-accept:hover { box-shadow: 0 6px 28px rgba(138,252,118,0.5); }
@media (max-width: 600px) {
  .consent-inner { flex-direction: column; align-items: flex-start; gap: 16px; }
  .consent-actions { width: 100%; }
  .consent-btn { flex: 1; justify-content: center; }
}


/* ═══════════════════════════════════════════════════════════════
   FEATURE ADDITIONS
   ═══════════════════════════════════════════════════════════════ */

/* ── Scroll progress bar ──────────────────────────────────────── */
#progress-bar {
  position: fixed;
  top: 0; left: 0;
  height: 3px;
  width: 0%;
  background: linear-gradient(90deg, #79d8ff, #b9aeff, #8afc76);
  z-index: 200;
  pointer-events: none;
  transition: width 0.1s linear;
}

/* ── Animated hero CTA glow pulse ─────────────────────────────── */
@keyframes cta-glow {
  0%, 100% { box-shadow: 0 0 0 0 rgba(138,252,118,0.55), 0 4px 20px rgba(0,0,0,0.25); }
  50%       { box-shadow: 0 0 0 8px rgba(138,252,118,0),  0 4px 20px rgba(0,0,0,0.25); }
}
.hero-actions .btn-primary { animation: cta-glow 2.8s ease-in-out infinite; }

/* ── Rotating hero text ───────────────────────────────────────── */
.hero-platforms-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 4px 0 28px;
  font-size: 0.9rem;
  color: rgba(255,255,255,0.45);
}
#hero-rotate {
  color: var(--lime);
  font-weight: 700;
  display: inline-block;
  transition: transform 0.35s ease, opacity 0.35s ease;
}

/* ── Exit intent popup ────────────────────────────────────────── */
#exit-popup {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}
#exit-popup.active { opacity: 1; visibility: visible; }
#exit-popup-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.72);
  backdrop-filter: blur(5px);
}
#exit-popup-box {
  position: relative;
  background: linear-gradient(135deg, #150d2e, #1e1440);
  border: 1px solid rgba(138,252,118,0.25);
  border-radius: var(--radius-md);
  padding: 52px 48px 44px;
  max-width: 500px;
  width: 90%;
  text-align: center;
  z-index: 1;
  box-shadow: 0 32px 80px rgba(0,0,0,0.55), 0 0 80px rgba(138,252,118,0.05);
}
#exit-popup-close {
  position: absolute;
  top: 16px; right: 20px;
  background: none;
  border: none;
  color: rgba(255,255,255,0.35);
  font-size: 1.5rem;
  cursor: pointer;
  line-height: 1;
  transition: color 0.2s;
  padding: 4px;
}
#exit-popup-close:hover { color: var(--white); }
#exit-popup-box .popup-icon {
  width: 56px; height: 56px;
  background: rgba(138,252,118,0.1);
  border: 1px solid rgba(138,252,118,0.22);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}
#exit-popup-box h2 { font-size: 1.65rem; margin-bottom: 12px; }
#exit-popup-box p  { color: rgba(255,255,255,0.62); line-height: 1.65; margin-bottom: 28px; font-size: 0.97rem; }
#exit-popup-box .popup-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
#exit-popup-dismiss { cursor: pointer; }

/* ── Floating mobile CTA ──────────────────────────────────────── */
#mobile-cta {
  display: none;
}
@media (max-width: 768px) {
  #mobile-cta {
    display: block;
    position: fixed;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%) translateY(90px);
    z-index: 88;
    opacity: 0;
    transition: transform 0.45s cubic-bezier(0.34,1.56,0.64,1), opacity 0.3s ease;
    pointer-events: none;
  }
  #mobile-cta.visible {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
    pointer-events: all;
  }
  #mobile-cta a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--lime);
    color: var(--navy);
    font-weight: 800;
    font-size: 0.95rem;
    padding: 14px 28px;
    border-radius: 100px;
    text-decoration: none;
    white-space: nowrap;
    box-shadow: 0 8px 32px rgba(138,252,118,0.4), 0 2px 10px rgba(0,0,0,0.35);
  }
}

/* ── Sticky CTA strip (desktop only) ─────────────────────────── */
#sticky-cta {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 87;
  background: rgba(21,13,46,0.97);
  border-top: 1px solid rgba(138,252,118,0.18);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  padding: 13px 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  transform: translateY(100%);
  transition: transform 0.4s cubic-bezier(0.4,0,0.2,1);
}
#sticky-cta.visible { transform: translateY(0); }
#sticky-cta p { color: rgba(255,255,255,0.7); font-size: 0.88rem; margin: 0; }
#sticky-cta p strong { color: var(--white); }
.sticky-cta-actions { display: flex; gap: 10px; flex-shrink: 0; }
#sticky-cta-close {
  background: none;
  border: none;
  color: rgba(255,255,255,0.25);
  font-size: 1.3rem;
  cursor: pointer;
  padding: 0 0 0 8px;
  line-height: 1;
  transition: color 0.2s;
}
#sticky-cta-close:hover { color: rgba(255,255,255,0.6); }
@media (max-width: 768px) { #sticky-cta { display: none !important; } }

/* ── Testimonial carousel ─────────────────────────────────────── */
.testimonial-carousel { position: relative; overflow: hidden; }
.testimonial-track {
  display: flex;
  transition: transform 0.5s cubic-bezier(0.4,0,0.2,1);
}
.testimonial-slide { min-width: 100%; }
.testimonial-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 28px;
}
.testimonial-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.18);
  border: none;
  cursor: pointer;
  padding: 0;
  transition: background 0.3s, transform 0.3s;
}
.testimonial-dot.active { background: var(--lime); transform: scale(1.35); }
.testimonial-btn {
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 50%;
  width: 38px; height: 38px;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  color: rgba(255,255,255,0.55);
  font-size: 1rem;
  transition: background 0.2s, color 0.2s;
  flex-shrink: 0;
}
.testimonial-btn:hover { background: rgba(255,255,255,0.13); color: var(--white); }

/* ── Table of contents ────────────────────────────────────────── */
.toc-wrap {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-left: 3px solid var(--lime);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  padding: 20px 24px;
  margin-bottom: 40px;
}
.toc-wrap h4 {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--lime);
  margin-bottom: 12px;
  font-weight: 700;
}
.toc-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 7px; }
.toc-list li a {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.58);
  text-decoration: none;
  transition: color 0.2s;
  display: flex;
  align-items: center;
  gap: 8px;
}
.toc-list li a::before {
  content: '';
  width: 4px; height: 4px;
  border-radius: 50%;
  background: var(--lime);
  opacity: 0.45;
  flex-shrink: 0;
}
.toc-list li a:hover { color: var(--white); }

/* ── Related articles ─────────────────────────────────────────── */
.related-posts { display: grid; grid-template-columns: repeat(3,1fr); gap: 16px; margin-top: 24px; }
.related-post-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-md);
  padding: 22px;
  text-decoration: none;
  display: block;
  transition: border-color 0.25s, transform 0.25s;
}
.related-post-card:hover { border-color: rgba(138,252,118,0.28); transform: translateY(-3px); }
.related-post-tag {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--lime);
  margin-bottom: 8px;
  display: block;
}
.related-post-card h4 { font-size: 0.9rem; color: var(--white); line-height: 1.45; margin: 0; }
@media (max-width: 640px) { .related-posts { grid-template-columns: 1fr; } }

/* ─── Client Logo Marquee ──────────────────────────────────── */
.logo-marquee-wrap {
  padding: 36px 0;
  border-top: 1px solid rgba(255,255,255,0.07);
  border-bottom: 1px solid rgba(255,255,255,0.07);
  background: rgba(255,255,255,0.018);
  overflow: hidden;
}
.logo-marquee-label {
  text-align: center;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: rgba(255,255,255,0.28);
  margin-bottom: 24px;
}
.logo-marquee {
  overflow: hidden;
  position: relative;
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 12%, black 88%, transparent 100%);
  mask-image: linear-gradient(to right, transparent 0%, black 12%, black 88%, transparent 100%);
}
.logo-marquee-track {
  display: flex;
  align-items: center;
  gap: 72px;
  width: max-content;
  animation: marquee-scroll 30s linear infinite;
}
.logo-marquee-wrap:hover .logo-marquee-track {
  animation-play-state: paused;
}
.logo-marquee-item {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}
.logo-marquee-item img {
  height: 34px;
  width: auto;
  max-width: 180px;
  object-fit: contain;
  filter: brightness(0) invert(1);
  mix-blend-mode: screen;
  opacity: 0.42;
  transition: opacity 0.25s ease;
}
.logo-marquee-item img:hover { opacity: 0.78; }
/* Logos with dark backgrounds — use screen blend without brightness invert */
.logo-marquee-item img.logo-screen { filter: none; }
/* Logos with white backgrounds — invert to white then screen out the bg */
.logo-marquee-item img.logo-invert { filter: invert(1); }
/* Badge/square logos need a larger height to match visual weight of wide wordmarks */
.logo-marquee-item img.logo-lg { height: 64px; }
@keyframes marquee-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
  .logo-marquee-track { animation: none; }
}

/* ═══════════════════════════════════════════════════════════════
   DESIGN ENHANCEMENTS v2
   1. Noise texture  2. Split text  3. Card tilt  4. Gradient border  5. Stagger
   ═══════════════════════════════════════════════════════════════ */

/* ── 1. Noise / grain texture ───────────────────────────────── */
.hero::after,
.cta-banner::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url('../public/noise.png');
  background-repeat: repeat;
  background-size: 128px 128px;
  opacity: 0.038;
  pointer-events: none;
  z-index: 2;
  border-radius: inherit;
}
.hero { position: relative; }

/* ── 2. Hero heading entrance ────────────────────────────────── */
/* Gradient on the accent span — preserved without word-splitting */
.hero h1 span {
  background: var(--grad-brand);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ── 3. 3D card tilt ────────────────────────────────────────── */
.card {
  transform-style: preserve-3d;
  will-change: transform;
  position: relative;
}
.card-shine {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.4s ease;
  z-index: 3;
}

/* ── 4. Animated gradient border on primary CTA buttons ─────── */
@property --btn-angle {
  syntax: '<angle>';
  initial-value: 0deg;
  inherits: false;
}
.btn-primary {
  position: relative;
  z-index: 0;
}
.btn-primary::before {
  content: '';
  position: absolute;
  inset: -2px;
  border-radius: calc(var(--radius-sm) + 2px);
  background: conic-gradient(
    from var(--btn-angle),
    #8afc76  0deg,
    #79d8ff  100deg,
    #b9aeff  170deg,
    #d99bff  220deg,
    #ff78d8  270deg,
    #8afc76  360deg
  );
  --btn-angle: 0deg;
  animation: btn-border-spin 6s linear infinite;
  opacity: 0;
  transition: opacity 0.35s ease;
  z-index: -1;
}
.btn-primary:hover::before { opacity: 1; }
/* Always-on subtle glow on the hero CTA */
.hero .btn-primary::before { opacity: 0.55; }
.hero .btn-primary:hover::before { opacity: 1; }
@keyframes btn-border-spin {
  to { --btn-angle: 360deg; }
}

/* ── 5. Staggered grid reveal ───────────────────────────────── */
/* Individual children get a CSS var set by JS for their delay  */
.fade-up { transition-delay: var(--stagger-delay, 0ms); }

/* ═══════════════════════════════════════════════════════════════
   DESIGN v3: Bento Grid · Custom Cursor · Text Scramble
   ═══════════════════════════════════════════════════════════════ */

/* ── Bento Grid ─────────────────────────────────────────────── */
.bento-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: 220px 180px 160px;
  gap: 14px;
}
.bento-tile {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-md);
  padding: 32px 28px;
  position: relative;
  overflow: hidden;
  transition: border-color 0.3s ease, transform 0.3s ease;
}
.bento-tile:hover {
  border-color: rgba(255,255,255,0.16);
  transform: translateY(-2px);
}
/* Inner glow on hover */
.bento-tile::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 0%, rgba(138,252,118,0.06) 0%, transparent 70%);
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
}
.bento-tile:hover::before { opacity: 1; }

/* Grid placement */
.bento-main   { grid-column: 1 / 3; grid-row: 1 / 3; }
.bento-stat-a { grid-column: 3;     grid-row: 1; }
.bento-stat-b { grid-column: 4;     grid-row: 1; }
.bento-wide   { grid-column: 3 / 5; grid-row: 2; }
.bento-feat-a { grid-column: 1 / 3; grid-row: 3; }
.bento-feat-b { grid-column: 3;     grid-row: 3; }
.bento-feat-c { grid-column: 4;     grid-row: 3; }

/* Main tile content */
.bento-main-label {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--lime);
  margin-bottom: 20px;
  display: block;
}
.bento-main h3 {
  font-size: 1.9rem;
  font-weight: 800;
  line-height: 1.15;
  color: var(--white);
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}
.bento-main p {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.52);
  line-height: 1.75;
  max-width: 380px;
  margin: 0;
}
/* Decorative gradient orb inside main tile */
.bento-main::after {
  content: '';
  position: absolute;
  width: 260px; height: 260px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(138,252,118,0.12) 0%, transparent 70%);
  bottom: -80px; right: -60px;
  pointer-events: none;
}

/* Stat tiles */
.bento-stat-num {
  font-size: 2.6rem;
  font-weight: 800;
  background: var(--grad-brand);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin-bottom: 8px;
  display: block;
}
.bento-stat-label {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 4px;
}
.bento-stat-sub {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.35);
  line-height: 1.4;
}

/* Wide platform tile */
.bento-wide { display: flex; align-items: center; gap: 24px; }
.bento-wide-num {
  font-size: 3.2rem;
  font-weight: 800;
  background: var(--grad-brand);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  flex-shrink: 0;
}
.bento-wide-right { flex: 1; min-width: 0; }
.bento-wide-label { font-size: 0.9rem; font-weight: 700; color: var(--white); margin-bottom: 12px; }
.bento-pills { display: flex; flex-wrap: wrap; gap: 6px; }
.bento-pill {
  font-size: 0.7rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 100px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  color: rgba(255,255,255,0.65);
  letter-spacing: 0.03em;
}

/* Feature tiles */
.bento-feat-a {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 24px 28px;
}
.bento-feat-icon {
  width: 44px; height: 44px;
  border-radius: var(--radius-sm);
  background: rgba(138,252,118,0.1);
  border: 1px solid rgba(138,252,118,0.2);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}
.bento-feat-text strong {
  display: block;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 4px;
}
.bento-feat-text span {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.45);
  line-height: 1.5;
}
.bento-feat-b, .bento-feat-c {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  padding: 22px 24px;
}
.bento-feat-b .bento-feat-icon,
.bento-feat-c .bento-feat-icon { margin-bottom: 8px; }

@media (max-width: 900px) {
  .bento-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: auto;
  }
  /* Reset ALL grid-row values so nothing overlaps at 2-col layout */
  .bento-main   { grid-column: 1 / 3; grid-row: auto; }
  .bento-stat-a { grid-column: auto;  grid-row: auto; }
  .bento-stat-b { grid-column: auto;  grid-row: auto; }
  .bento-wide   { grid-column: 1 / 3; grid-row: auto; }
  .bento-feat-a { grid-column: 1 / 3; grid-row: auto; }
  .bento-feat-b { grid-column: auto;  grid-row: auto; }
  .bento-feat-c { grid-column: auto;  grid-row: auto; }
}
@media (max-width: 560px) {
  /* Reset ALL explicit grid placements so items flow naturally */
  .bento-grid {
    grid-template-columns: 1fr;
    grid-template-rows: auto !important;
    gap: 10px;
  }
  .bento-main,
  .bento-stat-a,
  .bento-stat-b,
  .bento-wide,
  .bento-feat-a,
  .bento-feat-b,
  .bento-feat-c {
    grid-column: 1 !important;
    grid-row: auto !important;
  }
  .bento-main h3 { font-size: 1.5rem; }
  /* Wide tile: stack number and pills vertically */
  .bento-wide { flex-direction: column; align-items: flex-start; gap: 10px; }
  .bento-wide-num { font-size: 2.4rem; }
  /* Feature A is a flex row — keep that layout but constrain */
  .bento-feat-a { padding: 20px 20px; }
}

/* Custom cursor removed — native cursor restored */

/* ── Section title fade-in ───────────────────────────────────── */
.section-title-anim {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.55s ease, transform 0.55s cubic-bezier(0.25, 1, 0.5, 1);
}
.section-title-anim.section-title-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ═══════════════════════════════════════════════════════════════
   DESIGN v4: Hero gradient · Glassmorphism · Card shimmer ·
               Ambient glow · Page transitions · Mouse parallax
   + FULL MOBILE OVERHAUL
   ═══════════════════════════════════════════════════════════════ */

/* ── 1. Animated hero background gradient ───────────────────── */
/* Subtle colour-shifting layer above the static hero gradient  */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(138,252,118,0.05) 0%,
    rgba(121,216,255,0.07) 25%,
    rgba(185,174,255,0.05) 55%,
    rgba(255,120,216,0.04) 80%,
    rgba(138,252,118,0.05) 100%
  );
  background-size: 400% 400%;
  animation: hero-bg-shift 14s ease-in-out infinite;
  pointer-events: none;
  z-index: 1;
}
@keyframes hero-bg-shift {
  0%   { background-position: 0% 50%; }
  50%  { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}
@media (prefers-reduced-motion: reduce) {
  .hero::before { animation: none; }
}

/* ── 2. Glassmorphism card upgrade ──────────────────────────── */
.card {
  backdrop-filter: blur(12px) saturate(130%);
  -webkit-backdrop-filter: blur(12px) saturate(130%);
}

/* ── 3. Card thumb shimmer ──────────────────────────────────── */
.card-thumb::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    transparent 20%,
    rgba(255,255,255,0.15) 50%,
    transparent 80%
  );
  transform: translateX(-120%);
  animation: card-shimmer 3.8s ease-in-out infinite;
  z-index: 2;
  pointer-events: none;
}
@keyframes card-shimmer {
  0%, 55% { transform: translateX(-120%); }
  80%      { transform: translateX(120%);  }
  100%     { transform: translateX(120%);  }
}
@media (prefers-reduced-motion: reduce) {
  .card-thumb::before { animation: none; }
}

/* ── 4. Ambient cursor glow ─────────────────────────────────── */
#cursor-glow {
  position: fixed;
  width: 500px; height: 500px;
  top: 0; left: 0;
  pointer-events: none;
  z-index: 1;
  background: radial-gradient(
    circle,
    rgba(138,252,118,0.065) 0%,
    rgba(121,216,255,0.032) 35%,
    transparent 65%
  );
  border-radius: 50%;
  transform: translate(-50%, -50%);
  will-change: left, top;
  mix-blend-mode: screen;
}
@media (pointer: coarse) { #cursor-glow { display: none !important; } }
@media (prefers-reduced-motion: reduce) { #cursor-glow { display: none !important; } }

/* ── 5. Page transitions ────────────────────────────────────── */
/*
   IMPORTANT: We use opacity ONLY — never transform on <body>.
   A body transform breaks position:fixed children (nav, popups,
   sticky CTA, consent banner) by making them fixed to the body
   transform context instead of the viewport.
*/
@keyframes page-fade-in {
  from { opacity: 0; }
  to   { opacity: 1; }
}
body { animation: page-fade-in 0.4s ease both; }
body.page-fade-out {
  opacity: 0 !important;
  transition: opacity 0.25s ease !important;
  pointer-events: none !important;
}
@media (prefers-reduced-motion: reduce) {
  body { animation: none; }
  body.page-fade-out { transition: none !important; }
}

/* ═══════════════════════════════════════════════════════════════
   MOBILE / RESPONSIVE OVERHAUL
   Fixes: hero stats overflow · CTA padding · bento layout ·
          button stacking · marquee · footer · page heroes
   ═══════════════════════════════════════════════════════════════ */

/* Global overflow guard — prevents horizontal scrollbar */
html, body { overflow-x: hidden; max-width: 100%; }
* { min-width: 0; }

/* ── Mobile: 600px and below ────────────────────────────────── */
@media (max-width: 600px) {
  /* Hero */
  .hero-content { padding-block: 96px 52px; }

  .hero h1 { letter-spacing: -0.02em; }

  .hero-platforms-row {
    flex-wrap: wrap;
    font-size: 0.83rem;
    gap: 5px;
    line-height: 1.65;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }
  .hero-actions .btn { justify-content: center; text-align: center; }

  /* Hero stats — grid layout prevents border overflow */
  .hero-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
    margin-top: 40px;
  }
  .hero-stats > div {
    padding-right: 10px;
    margin-right: 10px;
    flex: unset;
  }
  .hero-stat-num   { font-size: 1.55rem; }
  .hero-stat-label { font-size: 0.7rem; line-height: 1.35; margin-top: 4px; }

  /* Section spacing */
  .section    { padding-block: 68px; }
  .section-sm { padding-block: 44px; }
  .section-header { margin-bottom: 36px; }

  /* CTA banner */
  .cta-banner { padding: 48px 22px; border-radius: var(--radius-lg); }
  .cta-banner-actions {
    flex-direction: column;
    align-items: center;
    gap: 12px;
  }
  .cta-banner-actions .btn { width: 100%; max-width: 280px; justify-content: center; }

  /* Testimonial */
  .testimonial-block { padding: 32px 20px; }
  .testimonial-quote { font-size: 1.05rem; }

  /* Bento grid */
  .bento-main h3 { font-size: 1.5rem; }
  .bento-wide    { flex-wrap: wrap; gap: 14px; }
  .bento-wide-num { font-size: 2.4rem; }

  /* Client logo marquee */
  .logo-marquee-item img        { height: 26px; }
  .logo-marquee-item img.logo-lg { height: 44px; }
  .logo-marquee-track { gap: 44px; }

  /* Footer */
  .footer { padding-block: 48px 24px; }
  .footer-bottom {
    flex-direction: column;
    text-align: center;
    gap: 8px;
  }

  /* Page hero (inner pages) */
  .page-hero { padding-block: 96px 52px; }

  /* Pricing */
  .pricing-card { padding: 36px 22px; }

  /* Contact / form */
  .form-card { padding: 28px 20px; }

  /* Cards */
  .usp-card           { padding: 24px; }
  .service-card       { padding: 24px; }
  .service-detail-card { padding: 24px; }

  /* Calendly widget */
  .calendly-inline-widget { height: 600px; min-width: 280px; }

  /* About page buttons row */
  .about-text > div[style*="display:flex"],
  .about-text > div[style*="display: flex"] {
    flex-wrap: wrap;
  }

  /* Consent banner */
  #consent-banner { padding: 16px 18px; }
}

/* ── Very small screens: ≤ 390px (iPhone SE etc.) ───────────── */
@media (max-width: 390px) {
  .container { padding-inline: 16px; }

  .hero h1  { font-size: clamp(2.2rem, 11vw, 2.6rem); }
  .hero-badge { font-size: 0.65rem; padding: 5px 10px; }
  .section-label { font-size: 0.66rem; }
  .section-title { font-size: clamp(1.6rem, 9vw, 2rem); }

  /* Stack stats vertically */
  .hero-stats { grid-template-columns: 1fr; gap: 14px; }
  .hero-stats > div {
    padding-right: 0;
    margin-right: 0;
    border-right: none;
    padding-bottom: 14px;
    border-bottom: 1px solid rgba(255,255,255,0.07);
  }
  .hero-stats > div:last-child { border-bottom: none; padding-bottom: 0; }

  /* Bento */
  .bento-grid { gap: 8px; }
  .bento-main h3 { font-size: 1.35rem; }
  .bento-stat-num { font-size: 2.1rem; }

  /* Footer */
  .footer-grid { gap: 28px; }

  /* Exit popup */
  #exit-popup-box { padding: 36px 18px 28px; }
  #exit-popup-box h2 { font-size: 1.35rem; }

  /* Testimonial block */
  .testimonial-block { padding: 28px 16px; }

  /* CTA banner */
  .cta-banner { padding: 40px 16px; }
}

/* ── Tablet: 601px – 900px tweaks ──────────────────────────── */
@media (min-width: 601px) and (max-width: 900px) {
  /* Bento grid 2-col: make stat tiles equal height and readable */
  .bento-stat-a, .bento-stat-b { min-height: 140px; }
  .bento-main h3 { font-size: 1.65rem; }

  /* CTA banner */
  .cta-banner { padding: 64px 36px; }
}

/* ── Nav: prevent logo from overflowing on narrow screens ───── */
@media (max-width: 380px) {
  .nav-logo-wrap { width: 220px; }
  .nav.scrolled .nav-logo-wrap { width: 34px; }
  .nav-logo-full { height: 32px; }
  .nav-logo-mark { height: 32px; width: 32px; }
}
