/* ─── Reset & Base ─────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg:      #ffffff;
  --surface: #f7f7f7;
  --border:  #e8e8e8;
  --black:   #0a0a0a;
  --text:    #1a1a1a;
  --muted:   #6b7280;
  --nav-h:   64px;
  --ease:    cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --spring:  cubic-bezier(0.34, 1.56, 0.64, 1);
  --out3:    cubic-bezier(0.16, 1, 0.3, 1);

  --g1: linear-gradient(135deg, #ff6b6b, #ff8e53, #ffd93d);
  --g2: linear-gradient(135deg, #a855f7, #ec4899, #f97316);
  --g3: linear-gradient(135deg, #06b6d4, #3b82f6, #8b5cf6);
  --g4: linear-gradient(135deg, #10b981, #06b6d4, #3b82f6);
  --g-gold: linear-gradient(135deg, #f59e0b, #d97706, #b45309);
}

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: 'Inter', system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

/* ─── Gradient text ────────────────────────────────────────── */
.grad {
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-size: 200% 200%;
  animation: gradShimmer 12s ease infinite;
}
.grad--1 { background-image: var(--g1); }
.grad--2 { background-image: var(--g2); }
.grad--3 { background-image: var(--g3); }
.grad--4 { background-image: var(--g4); }

@keyframes gradShimmer {
  0%   { background-position: 0% 50%; }
  50%  { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* Global gradient speed override — slow and smooth */
.grad, .pill, .progress-bar, .nav__cta,
.price-tab--fire.active, .price-tab--ocean.active,
.btn--fire, .btn--ocean,
.feat-badge--fire, .feat-badge--ocean,
.grad--hero {
  animation-duration: 12s;
}

/* ─── Pills ────────────────────────────────────────────────── */
.pill {
  display: inline-block;
  padding: 5px 16px;
  border-radius: 100px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 20px;
  background-size: 200%;
  animation: gradShimmer 12s ease infinite;
}
.pill--1 { background-image: var(--g1); }
.pill--2 { background-image: var(--g2); }
.pill--3 { background-image: var(--g3); }
.pill--4 { background-image: var(--g4); }

/* ─── Layout ───────────────────────────────────────────────── */
.container { max-width: 1160px; margin: 0 auto; padding: 0 32px; }
.section    { padding: 96px 0; }

.section-head { text-align: center; margin-bottom: 60px; }

.section-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.025em;
  color: var(--text);
  margin-bottom: 16px;
}

.section-sub {
  font-size: 1rem;
  line-height: 1.75;
  color: var(--muted);
  max-width: 500px;
  margin: 0 auto;
}

/* ─── Progress bar ─────────────────────────────────────────── */
.progress-bar {
  position: fixed;
  top: 0; left: 0;
  height: 3px;
  width: 100%;
  background-image: var(--g1);
  background-size: 200%;
  animation: gradShimmer 12s ease infinite;
  transform-origin: left;
  transform: scaleX(0);
  z-index: 1001;
  transition: transform 0.08s linear;
}

/* ─── Buttons ──────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 28px;
  border-radius: 8px;
  font-family: inherit;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  cursor: pointer;
  border: none;
  transition: all 0.2s var(--ease);
  position: relative;
  overflow: hidden;
  touch-action: manipulation;
}
.btn::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0.15);
  opacity: 0;
  transition: opacity 0.25s;
}
.btn:hover::after { opacity: 1; }

.btn--dark       { background: var(--black); color: #fff; }
.btn--dark:hover { background: #222; box-shadow: 0 6px 24px rgba(0,0,0,0.2); }

.btn--ghost { background: transparent; color: var(--text); border: 1.5px solid var(--border); }

/* Outline pricing button — sits alongside btn--dark in inner-cta */
.btn--outline {
  background: transparent;
  color: var(--text);
  border: 1.5px solid rgba(0,0,0,0.18);
  transition: border-color 0.2s, color 0.2s, background 0.2s, box-shadow 0.2s;
}
.btn--outline:hover {
  border-color: #a855f7;
  color: #a855f7;
  background: rgba(168,85,247,0.06);
  box-shadow: 0 4px 14px rgba(168,85,247,0.12);
}
body.dark .btn--outline { border-color: rgba(255,255,255,0.18); color: #e5e7eb; }
body.dark .btn--outline:hover { border-color: #a855f7; color: #d8b4fe; background: rgba(168,85,247,0.1); }

/* Side-by-side CTA buttons */
.inner-cta__actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}
.btn--ghost:hover { border-color: #bbb; background: var(--surface); }

/* Hero ghost (white outline on dark bg) */
.btn--white       { background: #fff; color: var(--black); }
.btn--white:hover { background: rgba(255,255,255,0.9); box-shadow: 0 8px 28px rgba(0,0,0,0.3); }

.btn--ghost-white {
  background: transparent;
  color: rgba(255,255,255,0.85);
  border: 1.5px solid rgba(255,255,255,0.2);
}
.btn--ghost-white:hover {
  border-color: rgba(255,255,255,0.6);
  background: rgba(255,255,255,0.08);
}

/* Ghost on light/colored background (hero with color gradient) */
.btn--ghost-light {
  background: rgba(255,255,255,0.4);
  color: var(--black);
  border: 1.5px solid rgba(0,0,0,0.15);
  backdrop-filter: blur(8px);
}
.btn--ghost-light:hover {
  background: rgba(255,255,255,0.65);
  border-color: rgba(0,0,0,0.25);
  box-shadow: 0 6px 20px rgba(0,0,0,0.1);
}

/* Coloured CTA buttons for pricing — green / purple / blue */
.btn--fire  { background: linear-gradient(135deg, #22c55e, #a3e635, #eab308); background-size: 200%; animation: gradShimmer 12s ease infinite; color: #1a1a1a; }
.btn--gold  { background: linear-gradient(135deg, #a855f7, #7c3aed, #ec4899); background-size: 200%; animation: gradShimmer 12s ease infinite; color: #fff; }
.btn--ocean { background: linear-gradient(135deg, #3b82f6, #06b6d4, #60a5fa); background-size: 200%; animation: gradShimmer 12s ease infinite; color: #fff; }

.btn--full { width: 100%; margin-top: 8px; }

/* ─── Nav ──────────────────────────────────────────────────── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  height: var(--nav-h);
  background: rgba(255,255,255,0.9);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s;
}
.nav.scrolled { border-bottom-color: var(--border); }

.nav__inner {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 32px;
  height: 100%;
  display: flex;
  align-items: center;
  /* 3-column: logo | centred links | right group */
  justify-content: space-between;
}

/* ─── Logo — brand anchor (most prominent in nav) ──── */
.nav__logo {
  font-size: 1.5rem;
  font-weight: 900;
  letter-spacing: -0.04em;
  color: var(--black);
  flex: 1;                      /* takes up equal space to nav__right */
}
.logo-dot  { color: #ff6b6b; display: inline-block; transition: color 0.5s; }

/* ─── Nav links — centred between logo and right group ── */
.nav__links { display: flex; align-items: center; gap: 28px; list-style: none; flex: 0 0 auto; position: relative; }

/* ─── Right-side group (CTA + toggles) ──────────────── */
.nav__right {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
}

.nav__link {
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--muted);
  letter-spacing: 0.01em;
  transition: color 0.2s;
  position: relative;
  white-space: nowrap;
}
.nav__link::after {
  content: '';
  position: absolute;
  bottom: -8px; left: 0; right: 0;
  height: 3px;
  border-radius: 3px;
  background: linear-gradient(90deg, #a855f7, #ec4899, #f97316);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.22s var(--ease), opacity 0.22s;
  opacity: 0.55;
}
.nav__link:hover { color: var(--text); }
.nav__link:hover::after { transform: scaleX(1); }

/* ─── Nav active state ───────────────────────────── */
.nav__link--active {
  color: var(--black) !important;
  font-weight: 700;
  letter-spacing: -0.01em;
}
body.dark .nav__link--active { color: #ffffff !important; }

/* ─── Sliding magic-line indicator ──────────────── */
.nav__indicator {
  position: absolute;
  bottom: 0;              /* flush with Contact button's bottom edge */
  height: 3px;
  border-radius: 3px;
  background: linear-gradient(90deg, #a855f7, #ec4899, #f97316);
  opacity: 0;
  pointer-events: none;
  transition:
    left   0.4s cubic-bezier(0.34, 1.56, 0.64, 1),
    width  0.4s cubic-bezier(0.34, 1.56, 0.64, 1),
    opacity 0.22s ease;
}

/* ─── CTA button ──────────────────────────────────── */
@keyframes ctaBorderCycle {
  0%   { box-shadow: 0 0 0 2px #a855f7, 0 0 14px rgba(168,85,247,0.45); }
  33%  { box-shadow: 0 0 0 2px #ec4899, 0 0 14px rgba(236,72,153,0.45); }
  66%  { box-shadow: 0 0 0 2px #f97316, 0 0 14px rgba(249,115,22,0.45); }
  100% { box-shadow: 0 0 0 2px #a855f7, 0 0 14px rgba(168,85,247,0.45); }
}

.nav__cta-btn {
  display: inline-flex;
  align-items: center;
  padding: 8px 20px;
  border-radius: 8px;
  background: rgba(255,255,255,0.07);
  backdrop-filter: blur(18px) saturate(160%);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  color: var(--text);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  white-space: nowrap;
  border: 1px solid rgba(255,255,255,0.45);
  box-shadow: 0 2px 12px rgba(0,0,0,0.08), inset 0 1px 0 rgba(255,255,255,0.6);
  flex-shrink: 0;
  transition: transform 0.15s var(--spring), box-shadow 0.2s ease, background 0.2s ease;
}

/* Edge glow — added by JS when contact section is in view */
.nav__cta-btn--contact {
  animation: ctaBorderCycle 4s ease infinite;
}

/* Hover: subtle lift, stays glass */
.nav__cta-btn:hover {
  background: rgba(255,255,255,0.14);
  box-shadow: 0 4px 18px rgba(0,0,0,0.1), inset 0 1px 0 rgba(255,255,255,0.6);
  transform: translateY(-1px);
}
.nav__cta-btn:active { transform: scale(0.97); }

/* ─── Nav indicator → button merge spark ─────────── */
/* Fixed overlay element created & destroyed by JS    */
.nav__merge-spark {
  position: fixed;
  pointer-events: none;
  z-index: 9999;
  background: linear-gradient(90deg, #a855f7, #ec4899, #f97316);
  will-change: left, top, width, height, border-radius, opacity;
}

body.dark .nav__cta-btn {
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.14);
  box-shadow: 0 2px 8px rgba(0,0,0,0.22), inset 0 1px 0 rgba(255,255,255,0.1);
  color: rgba(255,255,255,0.9);
}

/* ─── Mobile-only CTA list item ─────────────────────── */
.nav__cta-mobile { display: none; }

/* ─── Keep old .nav__cta for backward compat (other pages) */
.nav__cta {
  display: inline-flex;
  align-items: center;
  padding: 8px 20px;
  border-radius: 8px;
  background: var(--black);
  color: #fff !important;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  white-space: nowrap;
  border: 1.5px solid transparent;
  transition: background 0.2s, transform 0.15s var(--spring), box-shadow 0.2s;
  flex-shrink: 0;
}
.nav__cta::after { display: none; }
.nav__cta:hover {
  background: #1f1f1f;
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(0,0,0,0.18);
}
.nav__cta:active { transform: scale(0.97); }

/* Ripple that spawns at click position */
.nav-cta-ripple {
  position: absolute;
  border-radius: 50%;
  background: rgba(255,255,255,0.38);
  transform: scale(0);
  animation: navCtaRipple 0.65s cubic-bezier(0.22,1,0.36,1) forwards;
  pointer-events: none;
}
@keyframes navCtaRipple {
  to { transform: scale(1); opacity: 0; }
}

.nav__burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.nav__burger span {
  display: block; width: 22px; height: 2px;
  background: var(--black); border-radius: 2px;
  transition: all 0.3s var(--ease);
}
.nav__burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__burger.open span:nth-child(2) { opacity: 0; }
.nav__burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ─── Hero ─────────────────────────────────────────────────── */
.hero {
  padding-top: var(--nav-h);
  min-height: 100vh;
  min-height: 100svh; /* modern: excludes browser address bar on mobile */
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  background: linear-gradient(-45deg, #ffb3c1, #ffd6a5, #c9b8ff, #90e0ef, #b5ead7);
  background-size: 400% 400%;
  animation: heroGrad 28s ease infinite;
}

@keyframes heroGrad {
  0%   { background-position: 0%   50%; }
  25%  { background-position: 100% 50%; }
  50%  { background-position: 50%  0%;  }
  75%  { background-position: 100% 100%; }
  100% { background-position: 0%   50%; }
}

/* Slow gradient for hero background */
.hero { animation-duration: 22s; }

/* Hero inner grid */
.hero__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  padding-top: 40px;
  padding-bottom: 80px;
  position: relative;
  z-index: 2;
}

/* Hero text — dark on light gradient */
.hero__eyebrow {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(10,10,10,0.45);
  margin-bottom: 20px;
}
.hero__title {
  font-size: clamp(2rem, 9vw, 4.8rem);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: -0.035em;
  color: var(--black);
  margin-bottom: 24px;
  overflow: visible;
  padding-bottom: 4px;
}
.hero__sub {
  font-size: 1.05rem;
  line-height: 1.75;
  color: rgba(10,10,10,0.55);
  margin-bottom: 36px;
  max-width: 440px;
}
.hero__platforms { margin-top: 44px; }
.hero__platforms > span {
  display: block;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(10,10,10,0.35);
  margin-bottom: 8px;
}
.hero__platforms ul { display: flex; align-items: center; gap: 8px; list-style: none; }
.hero__platforms li { font-size: 0.82rem; font-weight: 600; color: rgba(10,10,10,0.45); }

/* Gradient text on hero (title line 2) */
.grad--hero {
  background: linear-gradient(135deg, #a855f7, #ec4899, #ff6b6b, #f97316);
  background-size: 300% 300%;
  animation: gradShimmer 12s ease infinite;
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero__actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* Title clip-path reveal */
.title-line {
  display: block;
  clip-path: inset(0 0 100% 0);
  transform: translateY(20px);
  transition: clip-path 0.9s var(--out3), transform 0.9s var(--out3);
  padding-bottom: 10px; /* room for descenders like g, y, p */
  margin-bottom: -10px; /* cancel out the extra spacing visually */
}
.title-line.revealed { clip-path: inset(0 0 0% 0); transform: translateY(0); }

.title-reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.title-reveal.revealed { opacity: 1; transform: translateY(0); }

/* Hero scroll cue */
.hero__scroll {
  position: absolute;
  bottom: 36px; left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  opacity: 0;
  animation: fadeIn 1s var(--ease) 1.4s forwards;
  z-index: 2;
}
.hero__scroll span {
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(10,10,10,0.3);
}
.hero__scroll-line {
  width: 1px;
  height: 44px;
  background: linear-gradient(to bottom, rgba(10,10,10,0.3), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}
@keyframes scrollPulse {
  0%, 100% { opacity: 0.3; }
  50%       { opacity: 1; }
}

/* Hero visual */
.hero__visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 560px;
}

/* Decorative glow behind the showreel */
.hero__visual::before {
  content: '';
  position: absolute;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(168,85,247,0.18) 0%, rgba(255,107,107,0.12) 40%, transparent 70%);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
  animation: glowPulse 6s ease-in-out infinite;
}

@keyframes glowPulse {
  0%, 100% { transform: translate(-50%, -50%) scale(1);   opacity: 0.8; }
  50%       { transform: translate(-50%, -50%) scale(1.1); opacity: 1;   }
}

.hero__card {
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.5);
  background: rgba(255,255,255,0.55);
  backdrop-filter: blur(16px);
  box-shadow: 0 16px 48px rgba(0,0,0,0.15), 0 0 0 1px rgba(255,255,255,0.4);
}
.hero__card--main {
  aspect-ratio: 9/16;
  height: 520px;
  width: auto;
  position: relative;
  z-index: 1;
  box-shadow: 0 32px 80px rgba(0,0,0,0.22), 0 0 0 1px rgba(255,255,255,0.5);
}

.card-placeholder {
  width: 100%; height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
}
.card-placeholder span {
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(10,10,10,0.3);
}

.play-btn {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: rgba(255,255,255,0.7);
  border: 1px solid rgba(255,255,255,0.8);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, transform 0.3s var(--spring), box-shadow 0.3s;
}
.play-btn:hover {
  background: rgba(255,255,255,0.9);
  transform: scale(1.1);
  box-shadow: 0 0 40px rgba(0,0,0,0.12);
}
.play-btn svg { width: 18px; height: 18px; color: var(--black); margin-left: 3px; }

.hero__card--sm { padding: 16px 20px; position: absolute; min-width: 150px; z-index: 2; }
.hero__card--a  { bottom: 60px; left: 16px; }
.hero__card--b  { top: 80px; right: 16px; }

.card-label { font-size: 0.65rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: rgba(10,10,10,0.45); margin-bottom: 4px; }
.card-val   { font-size: 1.4rem; font-weight: 900; letter-spacing: -0.03em; color: var(--black); line-height: 1; margin-bottom: 2px; }
.card-sub   { font-size: 0.7rem; color: rgba(10,10,10,0.4); }

/* Floating animations */
@keyframes floatA {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50%       { transform: translateY(-10px) rotate(1deg); }
}
@keyframes floatB {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50%       { transform: translateY(-14px) rotate(-1deg); }
}
.float-a { animation: floatA 5s ease-in-out infinite; }
.float-b { animation: floatB 6s ease-in-out infinite 1.5s; }

/* ─── Stats strip ──────────────────────────────────────────── */
.stats-strip {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 40px 0;
}
.stats-strip__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.stat { text-align: center; }
.stat__num {
  font-size: 2.4rem;
  font-weight: 900;
  letter-spacing: -0.04em;
  color: var(--text);
  line-height: 1;
  margin-bottom: 6px;
}
.stat__num span:last-child { font-size: 1.2rem; color: var(--muted); }
.stat__label {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}
.stat__divider { width: 1px; height: 48px; background: var(--border); }

/* ─── Services ─────────────────────────────────────────────── */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.svc-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 30px;
  position: relative;
  transition: border-color 0.3s, box-shadow 0.3s;
  overflow: hidden;
}
.svc-card:hover { border-color: #ccc; box-shadow: 0 16px 48px rgba(0,0,0,0.09); }

.svc-icon {
  width: 46px; height: 46px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  transition: transform 0.3s var(--spring);
}
.svc-card:hover .svc-icon { transform: scale(1.12) rotate(-4deg); }
.svc-icon svg { width: 22px; height: 22px; }

/* Gradient outline icons — neutral bg, gradient SVG handles color */
.svc-icon--3, .svc-icon--4, .svc-icon--re {
  background: #f8f8f8;
  border: 1px solid #efefef;
}
.svc-icon--3 svg, .svc-icon--4 svg, .svc-icon--re svg { width: 26px; height: 26px; }

.svc-title { font-size: 1.05rem; font-weight: 700; letter-spacing: -0.01em; margin-bottom: 8px; }
.svc-text  { font-size: 0.875rem; line-height: 1.7; color: var(--muted); margin-bottom: 16px; }

.svc-list { list-style: none; display: flex; flex-direction: column; gap: 7px; }
.svc-list li {
  font-size: 0.8rem; color: var(--muted);
  display: flex; align-items: center; gap: 8px;
}
.svc-list li::before {
  content: '';
  width: 4px; height: 4px;
  border-radius: 50%;
  background: #d1d5db;
  flex-shrink: 0;
}

/* mouse-follow glow */
.glow-card { overflow: hidden; }
.glow-follow {
  position: absolute;
  inset: 0;
  background: radial-gradient(280px circle at var(--gx, 50%) var(--gy, 50%), rgba(0,0,0,0.04), transparent 70%);
  opacity: 0;
  transition: opacity 0.3s;
  pointer-events: none;
  border-radius: inherit;
}
.glow-card:hover .glow-follow { opacity: 1; }

/* ─── Styles section ───────────────────────────────────────── */
.styles-section { background: var(--surface); }

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

.style-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
  transition: box-shadow 0.3s, border-color 0.3s;
}
.style-card:hover { box-shadow: 0 20px 56px rgba(0,0,0,0.1); border-color: #ccc; }

.style-img {
  aspect-ratio: 4/3;
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  position: relative; overflow: hidden;
}
.style-img span {
  font-size: 0.65rem; font-weight: 600;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: #ccc; position: relative; z-index: 1;
}
.style-overlay {
  position: absolute; inset: 0;
  opacity: 0.07;
  transition: opacity 0.4s;
  background-size: 200%;
  animation: gradShimmer 12s ease infinite;
}
.style-card:hover .style-overlay { opacity: 0.18; }
.style-overlay--1 { background-image: var(--g1); }
.style-overlay--2 { background-image: var(--g2); }
.style-overlay--3 { background-image: var(--g3); }

.style-body  { padding: 24px; }
.style-title { font-size: 1.4rem; font-weight: 900; letter-spacing: -0.03em; margin-bottom: 8px; }
.style-desc  { font-size: 0.875rem; line-height: 1.7; color: var(--muted); margin-bottom: 16px; }
.style-tags  { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; }
.style-tags li {
  font-size: 0.65rem; font-weight: 600;
  letter-spacing: 0.08em; text-transform: uppercase;
  padding: 4px 10px; border-radius: 100px;
  border: 1px solid var(--border);
  color: var(--muted); background: var(--surface);
  transition: border-color 0.2s;
}
.style-card:hover .style-tags li { border-color: #ccc; }

/* ─── Pricing tabs ─────────────────────────────────────────── */
.price-tabs-wrap {
  display: flex;
  justify-content: center;
  gap: 8px;
  padding: 8px;
  background: #efefef;
  border-radius: 100px;
  border: 1px solid #ddd;
  flex-wrap: wrap;
  margin-bottom: 52px;
  /* keep it from stretching full width */
  width: fit-content;
  margin-left: auto;
  margin-right: auto;
}

.price-tab {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  border-radius: 100px;
  font-family: inherit;
  font-size: 0.88rem;
  font-weight: 700;
  cursor: pointer;
  border: 2px solid transparent;
  background: transparent;
  color: #888;
  transition: all 0.28s var(--ease);
  position: relative;
  overflow: hidden;
  white-space: nowrap;
  touch-action: manipulation;
}
.price-tab svg { width: 17px; height: 17px; flex-shrink: 0; }
.price-tab:hover:not(.active) {
  background: rgba(255,255,255,0.7);
  color: var(--text);
  transform: translateY(-1px);
}

/* Active tab states — green-yellow / purple / blue */
.price-tab--fire.active {
  background: linear-gradient(135deg, #4ade80, #a3e635, #fde047);
  background-size: 200%;
  animation: gradShimmer 12s ease infinite;
  color: #1a1a1a;
  border-color: transparent;
  box-shadow: 0 6px 24px rgba(163,230,53,0.38);
  transform: translateY(-2px);
}
.price-tab--gold.active {
  background: linear-gradient(135deg, #a855f7, #7c3aed, #ec4899);
  background-size: 200%;
  animation: gradShimmer 12s ease infinite;
  color: #fff;
  border-color: transparent;
  box-shadow: 0 6px 24px rgba(168,85,247,0.5);
  transform: translateY(-2px);
}
.price-tab--ocean.active {
  background: linear-gradient(135deg, #3b82f6, #06b6d4, #60a5fa);
  background-size: 200%;
  animation: gradShimmer 12s ease infinite;
  color: #fff;
  border-color: transparent;
  box-shadow: 0 6px 24px rgba(59,130,246,0.45);
  transform: translateY(-2px);
}

/* Price blocks */
.price-block.hidden { display: none; }

.price-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; align-items: start; padding-top: 18px; }

.price-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 26px;
  position: relative;
  transition: border-color 0.3s, box-shadow 0.3s;
  overflow: hidden;
}
.price-card:hover { border-color: #ccc; box-shadow: 0 10px 36px rgba(0,0,0,0.08); }
.price-card--feat {
  border-color: var(--black);
  box-shadow: 0 6px 28px rgba(0,0,0,0.12);
  overflow: visible;  /* allow badge to show above card */
}
.price-card--feat:hover { box-shadow: 0 14px 44px rgba(0,0,0,0.16); }
/* keep glow clipped inside featured card */
.price-card--feat .glow-follow { border-radius: 14px; overflow: hidden; }

.feat-badge {
  position: absolute;
  top: -11px; left: 50%;
  transform: translateX(-50%);
  font-size: 0.6rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 4px 14px;
  border-radius: 100px;
  white-space: nowrap;
  color: #fff;
}
.feat-badge--fire  { background: linear-gradient(135deg, #4ade80, #a3e635, #fde047); background-size: 200%; animation: gradShimmer 12s ease infinite; color: #1a1a1a; }
.feat-badge--gold  { background: linear-gradient(135deg, #a855f7, #7c3aed, #ec4899); background-size: 200%; animation: gradShimmer 12s ease infinite; color: #fff; }
.feat-badge--ocean { background: linear-gradient(135deg, #3b82f6, #06b6d4); background-size: 200%; animation: gradShimmer 12s ease infinite; color: #fff; }

.price-top   { margin-bottom: 20px; }
.tier        { display: block; font-size: 0.68rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }
.price          { display: flex; align-items: baseline; gap: 2px; line-height: 1; margin-bottom: 6px; }
.price__curr    { font-size: 1rem; font-weight: 700; color: var(--muted); align-self: flex-start; margin-top: 6px; }
.price__num     { font-size: 3.2rem; font-weight: 900; letter-spacing: -0.04em; color: var(--text); line-height: 1; }
.per            { font-size: 0.72rem; font-weight: 500; color: var(--muted); align-self: flex-end; margin-bottom: 4px; margin-left: 2px; }
.price-desc  { font-size: 0.8rem; color: var(--muted); }

.features    { list-style: none; display: flex; flex-direction: column; gap: 9px; margin-bottom: 20px; }
.features li { display: flex; align-items: center; gap: 9px; font-size: 0.84rem; color: var(--text); }
.features li::before {
  content: ''; width: 16px; height: 16px; border-radius: 50%; flex-shrink: 0;
  background: #f0fdf4; border: 1px solid #bbf7d0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpolyline points='2,6 5,9 10,3' fill='none' stroke='%2310b981' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: center;
}
.features li.off { color: #ccc; text-decoration: line-through; text-decoration-color: #e5e7eb; }
.features li.off::before {
  background: #f9fafb; border-color: #e5e7eb;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cline x1='3' y1='3' x2='9' y2='9' stroke='%23d1d5db' stroke-width='1.5' stroke-linecap='round'/%3E%3Cline x1='9' y1='3' x2='3' y2='9' stroke='%23d1d5db' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: center;
}

.pricing-note { text-align: center; font-size: 0.85rem; color: var(--muted); margin-top: 48px; }
.pricing-note a { color: var(--text); border-bottom: 1px solid var(--border); }
.pricing-note a:hover { border-color: #999; }

/* ─── FAQ ──────────────────────────────────────────────────── */
.faq-section { background: var(--surface); }

.faq-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.faq-item {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
  transition: border-color 0.2s, box-shadow 0.2s;
  list-style: none;
}
.faq-item:hover { border-color: #ccc; box-shadow: 0 8px 28px rgba(0,0,0,0.07); }
.faq-item[open] { border-color: #ccc; box-shadow: 0 8px 28px rgba(0,0,0,0.07); }

.faq-q {
  padding: 22px 26px;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  list-style: none;
  user-select: none;
}
.faq-q::-webkit-details-marker { display: none; }
.faq-q::after {
  content: '+';
  font-size: 1.4rem;
  font-weight: 300;
  color: var(--muted);
  flex-shrink: 0;
  transition: transform 0.25s var(--ease);
  line-height: 1;
}
.faq-item[open] .faq-q::after { transform: rotate(45deg); }

.faq-a {
  padding: 0 26px 22px;
  font-size: 0.9rem;
  line-height: 1.75;
  color: var(--muted);
}

/* ─── Contact ──────────────────────────────────────────────── */
.contact-section { background: var(--surface); }

.contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 72px; align-items: start; }

.contact-details { margin-top: 32px; display: flex; flex-direction: column; gap: 18px; font-style: normal; }
.contact-item    { display: flex; flex-direction: column; gap: 3px; }
.contact-label   { font-size: 0.65rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: #8892a0; }
.contact-val     { font-size: 0.95rem; font-weight: 600; color: var(--text); transition: color 0.2s; }
a.contact-val:hover { color: #ef4444; }

.socials { display: flex; gap: 10px; margin-top: 28px; }
.socials a {
  width: 40px; height: 40px;
  border-radius: 10px;
  border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  color: var(--muted); background: var(--bg);
  transition: border-color 0.2s, color 0.2s, transform 0.25s var(--spring);
}
.socials a svg { width: 16px; height: 16px; }
.socials a:hover { border-color: #aaa; color: var(--text); transform: translateY(-3px); }

.form-wrap { background: var(--bg); border: 1px solid var(--border); border-radius: 16px; padding: 32px; }
.contact-form { display: flex; flex-direction: column; gap: 16px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group label { font-size: 0.7rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%; padding: 11px 14px;
  background: var(--surface); border: 1px solid var(--border); border-radius: 8px;
  font-family: inherit; font-size: 0.9rem; color: var(--text);
  outline: none; appearance: none; -webkit-appearance: none;
  transition: border-color 0.2s, background 0.2s, box-shadow 0.2s;
  resize: vertical;
}
.form-group input::placeholder, .form-group textarea::placeholder { color: #94a3b8; }
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  border-color: var(--black); background: var(--bg);
  box-shadow: 0 0 0 3px rgba(10,10,10,0.06);
}
.form-group select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath fill='%23aaa' d='M5 6L0 0h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center;
  background-color: var(--surface); padding-right: 36px; cursor: pointer;
}

/* ─── Footer ───────────────────────────────────────────────── */
.footer { background: var(--black); padding: 52px 0 0; }
.footer-inner {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 60px; align-items: start;
  padding-bottom: 36px;
  border-bottom: 1px solid rgba(255,255,255,0.07);
}
.footer-logo         { display: block; font-size: 1.6rem; font-weight: 900; letter-spacing: -0.03em; color: #fff; margin-bottom: 6px; }
.footer-name         { font-size: 0.8rem; font-weight: 600; color: rgba(255,255,255,0.72); margin-bottom: 3px; }
.footer-tag          { font-size: 0.75rem; color: rgba(255,255,255,0.52); font-style: italic; }
.footer-nav          { display: flex; flex-direction: column; gap: 10px; }
.footer-nav a        { font-size: 0.78rem; font-weight: 600; letter-spacing: 0.05em; text-transform: uppercase; color: rgba(255,255,255,0.62); transition: color 0.2s; }
.footer-nav a:hover  { color: #fff; }
.footer-contact-label{ font-size: 0.65rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(255,255,255,0.55); margin-bottom: 8px; }
.footer-contact a    { font-size: 0.85rem; color: rgba(255,255,255,0.75); transition: color 0.2s; }
.footer-contact a:hover { color: #fff; }
.footer-bottom       { display: flex; align-items: center; justify-content: space-between; padding: 18px 0; font-size: 0.75rem; color: rgba(255,255,255,0.52); }
.footer-bottom a:hover { color: rgba(255,255,255,0.5); }

/* ─── 3D scroll reveal ─────────────────────────────────────── */
.card-3d {
  opacity: 0;
  transform: perspective(1100px) rotateX(16deg) translateY(36px) scale(0.97);
  transition:
    opacity    0.85s var(--out3),
    transform  0.85s var(--out3);
}
/* staggered delay via CSS custom property */
.card-3d { transition-delay: var(--d, 0ms); }
.card-3d.in {
  opacity: 1;
  transform: perspective(1100px) rotateX(0deg) translateY(0) scale(1);
}

/* ─── Showreel video ───────────────────────────────────────── */
.showreel-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: inherit;
  display: block;
}

.showreel-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0,0,0,0.12);
  border-radius: inherit;
  transition: background 0.3s;
  z-index: 2;
}
.showreel-overlay:hover { background: rgba(0,0,0,0.25); }

/* ─── Style card photos ────────────────────────────────────── */
.style-img { position: relative; }
.style-img__photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  border-radius: 0;
  transition: opacity 0.4s;
}
.style-img span   { position: relative; z-index: 1; }
.style-img .style-overlay { z-index: 2; }

/* ─── Animations ───────────────────────────────────────────── */
@keyframes fadeIn  { from { opacity: 0; } to { opacity: 1; } }

/* ─── Tab panel fade ───────────────────────────────────────── */
@keyframes tabFade {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: translateY(0); }
}
.price-block:not(.hidden) { animation: tabFade 0.35s var(--ease) both; }

/* ─── Responsive ───────────────────────────────────────────── */
@media (max-width: 960px) {
  .hero__inner   { grid-template-columns: 1fr; padding-top: 60px; padding-bottom: 60px; min-height: auto; }
  .hero__visual  { display: none; }
  .services-grid { grid-template-columns: 1fr 1fr; }
  .styles-grid   { grid-template-columns: 1fr 1fr; }
  .faq-grid      { grid-template-columns: 1fr; }
  .contact-grid  { grid-template-columns: 1fr; gap: 48px; }
  .footer-inner  { grid-template-columns: 1fr; gap: 32px; }
  .stats-strip__inner { flex-wrap: wrap; justify-content: center; gap: 32px; }
  .stat__divider { display: none; }
}

@media (max-width: 640px) {
  /* ── Layout & spacing ──────────────────────────────── */
  .container    { padding: 0 18px; }
  .section      { padding: 52px 0; }
  .section-head { margin-bottom: 36px; }

  /* ── Grids → single column ─────────────────────────── */
  .services-grid { grid-template-columns: 1fr; }
  .styles-grid   { grid-template-columns: 1fr; }
  .faq-grid      { grid-template-columns: 1fr; }
  .price-grid    { grid-template-columns: 1fr; }
  .form-row      { grid-template-columns: 1fr; }

  /* ── Cards — tighter padding on small screens ──────── */
  .svc-card   { padding: 22px; }
  .price-card { padding: 20px; }
  .price__num { font-size: 2.6rem; }

  /* ── Hero — auto height, let content determine size ── */
  .hero { min-height: auto; padding-bottom: 56px; }

  /* ── Stats strip — 2×2 grid ────────────────────────── */
  .stats-strip { padding: 24px 0; }
  .stats-strip__inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    justify-items: center;
    gap: 20px;
  }
  .stat__num { font-size: 1.9rem; }

  /* ── Pricing tabs — full-width row ─────────────────── */
  .price-tabs-wrap {
    width: 100%;
    max-width: 100%;
    gap: 5px;
    border-radius: 18px;
    padding: 5px;
  }
  .price-tab {
    flex: 1;
    justify-content: center;
    padding: 10px 10px;
    font-size: 0.74rem;
    gap: 5px;
  }
  .price-tab svg { width: 14px; height: 14px; }

  /* ── Form — prevent iOS auto-zoom (needs ≥16px) ───── */
  .form-group input,
  .form-group select,
  .form-group textarea { font-size: 1rem; }

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

  /* ── Nav — mobile fullscreen overlay ───────────────── */
  .nav__links {
    position: fixed;
    inset: 0; top: var(--nav-h);
    background: rgba(255,255,255,0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 24px;
    transform: translateX(100%);
    transition: transform 0.35s var(--ease);
    z-index: 50;
    overflow-y: auto;
  }
  .nav__links.open { transform: translateX(0); }
  .nav__link  { font-size: 1.1rem; color: var(--text); touch-action: manipulation; }
  .nav__burger{ display: flex; z-index: 60; }
  .nav__cta-btn { display: none; } /* hidden at mobile — shown in burger menu instead */
  li:has(.nav__cta-btn) { display: none; } /* hide the wrapper li too */
  .nav__cta-mobile { display: list-item !important; }

  /* ── WhatsApp button — reposition for mobile chrome ── */
  .wa-float { bottom: 20px; right: 16px; width: 50px; height: 50px; }
  .wa-float svg { width: 24px; height: 24px; }
}

/* ═══════════════════════════════════════════════════════
   DARK MODE TOGGLE BUTTON
═══════════════════════════════════════════════════════ */
.theme-toggle {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(255,120,60,0.35);
  background: linear-gradient(160deg, rgba(255,94,58,0.55), rgba(255,147,51,0.45), rgba(255,200,80,0.4));
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  color: rgba(255,255,255,0.95);
  cursor: pointer;
  position: relative;
  overflow: hidden;
  flex-shrink: 0;
  transition: border-color 0.25s, box-shadow 0.3s;
  box-shadow: 0 2px 12px rgba(255,100,40,0.3), inset 0 1px 0 rgba(255,255,255,0.25);
}
.theme-toggle:hover { border-color: rgba(255,150,80,0.6); box-shadow: 0 4px 20px rgba(255,100,40,0.45), inset 0 1px 0 rgba(255,255,255,0.3); }

/* Icons sit absolutely centred and slide in/out like a horizon */
.theme-toggle svg {
  width: 16px;
  height: 16px;
  position: absolute;
  top: 50%;
  left: 50%;
  margin: -8px 0 0 -8px;
  transition: transform 0.55s cubic-bezier(0.34, 1.4, 0.64, 1), opacity 0.4s ease;
}

/* Light mode: sun centred, moon waiting below */
.icon-sun  { transform: translateY(0);    opacity: 1; }
.icon-moon { transform: translateY(28px); opacity: 0; pointer-events: none; }

/* Dark mode: moon rises to centre, sun exits above */
body.dark .icon-sun  { transform: translateY(-28px); opacity: 0; pointer-events: none; }
body.dark .icon-moon { transform: translateY(0);     opacity: 1; }

/* Smooth transition when theme switches */
body { transition: background 0.35s, color 0.35s; }

/* ═══════════════════════════════════════════════════════
   DARK MODE — GLOBAL TOKEN OVERRIDES
═══════════════════════════════════════════════════════ */
body.dark {
  --bg:      #0f0f0f;
  --surface: #1a1a1a;
  --border:  #2e2e2e;
  --text:    #ededed;
  --muted:   #9ca3af;
  --black:   #ededed;
}

/* ─── Nav — always solid black in dark mode, no colour shift ── */
body.dark .nav, body.dark .nav.scrolled { background: #0a0a0a; border-bottom-color: #1c1c1c; }
body.dark .nav__logo  { color: #fff; }
body.dark .nav__link  { color: #9ca3af; }
body.dark .nav__link:hover { color: #ededed; }
body.dark .nav__burger span { background: #ededed; }
body.dark .nav__links { background: rgba(15,15,15,0.98); -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px); }
body.dark .nav__cta {
  background: rgba(255,255,255,0.1);
  color: #fff !important;
  border-color: rgba(255,255,255,0.15);
}
body.dark .nav__cta-btn:hover {
  background: rgba(255,255,255,0.14);
  box-shadow: 0 3px 12px rgba(0,0,0,0.3), inset 0 1px 0 rgba(255,255,255,0.1);
}
body.dark .nav__cta:hover {
  background: rgba(255,255,255,0.15);
  box-shadow: 0 3px 12px rgba(0,0,0,0.3);
}

/* ─── Hero ─────────────────────────────── */
body.dark .hero {
  background: linear-gradient(-45deg, #1a0a12, #1a1000, #100a2a, #071525, #051a10);
  background-size: 400% 400%;
  animation: heroGrad 28s ease infinite;
}
body.dark .hero__eyebrow  { color: rgba(255,255,255,0.4); }
body.dark .hero__title    { color: #fff; }
body.dark .hero__sub      { color: rgba(255,255,255,0.55); }
body.dark .hero__card {
  background: rgba(255,255,255,0.07);
  border-color: rgba(255,255,255,0.1);
  box-shadow: 0 16px 48px rgba(0,0,0,0.5), 0 0 0 1px rgba(255,255,255,0.06);
}
body.dark .card-label { color: rgba(255,255,255,0.4); }
body.dark .card-val   { color: #fff; }
body.dark .card-sub   { color: rgba(255,255,255,0.3); }
body.dark .card-placeholder span { color: rgba(255,255,255,0.2); }
body.dark .play-btn   { background: rgba(255,255,255,0.12); border-color: rgba(255,255,255,0.18); }
body.dark .play-btn svg { color: #fff; }
body.dark .btn--ghost-light {
  background: rgba(255,255,255,0.08);
  color: rgba(255,255,255,0.85);
  border-color: rgba(255,255,255,0.15);
}
body.dark .btn--ghost-light:hover {
  background: rgba(255,255,255,0.14);
  border-color: rgba(255,255,255,0.3);
}
body.dark .hero__scroll span { color: rgba(255,255,255,0.25); }
body.dark .hero__scroll-line { background: linear-gradient(to bottom, rgba(255,255,255,0.25), transparent); }
body.dark .hero__visual::before {
  background: radial-gradient(circle, rgba(168,85,247,0.22) 0%, rgba(255,107,107,0.14) 40%, transparent 70%);
}

/* ─── Stats ─────────────────────────────── */
body.dark .stats-strip { border-color: #2e2e2e; }

/* ─── Services ──────────────────────────── */
body.dark .svc-card  { background: var(--surface); }
body.dark .svc-icon--3, body.dark .svc-icon--4, body.dark .svc-icon--re {
  background: #222; border-color: #333;
}

/* ─── Our Style ─────────────────────────── */
body.dark .styles-section { background: #141414; }
body.dark .style-card     { background: var(--surface); }
body.dark .style-img      { background: #222; border-color: #333; }
body.dark .style-img span { color: #555; }
body.dark .style-tags li  { background: #222; border-color: #333; color: #888; }

/* ─── Pricing ───────────────────────────── */
body.dark .price-tabs-wrap { background: #1a1a1a; border-color: #2e2e2e; }
body.dark .price-tab       { color: #999; }   /* was #666 — more visible on dark bg */
body.dark .price-tab:hover:not(.active) { background: rgba(255,255,255,0.06); color: #ccc; }
body.dark .price-card      { background: var(--surface); }
body.dark .price-card--feat { border-color: #555; }
/* Card text inside dark pricing cards */
body.dark .price__num  { color: #f1f5f9; }
body.dark .tier        { color: #94a3b8; }
body.dark .price-desc  { color: #94a3b8; }
body.dark .per         { color: #94a3b8; }
body.dark .price__curr { color: #94a3b8; }
body.dark .features li { color: rgba(255,255,255,0.82); }
body.dark .features li.off { color: #475569; }
body.dark .features li::before {
  background: #0f2318;
  border-color: #166534;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpolyline points='2,6 5,9 10,3' fill='none' stroke='%2334d399' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: center;
}
body.dark .features li.off::before {
  background: #111827;
  border-color: #1f2937;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cline x1='3' y1='3' x2='9' y2='9' stroke='%23374151' stroke-width='1.5' stroke-linecap='round'/%3E%3Cline x1='9' y1='3' x2='3' y2='9' stroke='%23374151' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: center;
}
body.dark .pricing-note { color: #64748b; }
body.dark .pricing-note a { color: #94a3b8; }

/* ─── Contact ───────────────────────────── */
body.dark .contact-section { background: #141414; }
body.dark .form-wrap       { background: var(--surface); }
body.dark .form-group input,
body.dark .form-group textarea {
  background-color: #111;
  border-color: #2e2e2e;
  color: var(--text);
}
body.dark .form-group select {
  background-color: #111;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath fill='%23666' d='M5 6L0 0h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  border-color: #2e2e2e;
  color: var(--text);
}
body.dark .form-group input:focus,
body.dark .form-group textarea:focus {
  border-color: #555;
  background-color: #1a1a1a;
  box-shadow: 0 0 0 3px rgba(255,255,255,0.05);
}
body.dark .form-group select:focus {
  border-color: #555;
  background-color: #1a1a1a;
  box-shadow: 0 0 0 3px rgba(255,255,255,0.05);
}
body.dark .form-group input::placeholder,
body.dark .form-group select::placeholder,
body.dark .form-group textarea::placeholder { color: #64748b; }
body.dark .socials a { background: var(--surface); border-color: #2e2e2e; color: #666; }
body.dark .socials a:hover { border-color: #555; color: #ededed; }
body.dark .contact-label { color: #7a8895; }
body.dark .contact-val   { color: #ededed; }
body.dark a.contact-val:hover { color: #f87171; }

/* ─── Progress bar & misc ───────────────── */
body.dark .btn--dark       { background: #fff; color: #0a0a0a; }
body.dark .btn--dark:hover { background: #e5e5e5; }
body.dark .btn--ghost      { border-color: #333; color: #aaa; }
body.dark .theme-toggle    { background: linear-gradient(160deg, rgba(30,58,95,0.6), rgba(76,29,149,0.5)); border-color: rgba(165,180,252,0.2); color: rgba(200,210,255,0.9); box-shadow: 0 2px 12px rgba(76,29,149,0.35), inset 0 1px 0 rgba(255,255,255,0.08); }
body.dark .theme-toggle:hover { border-color: rgba(165,180,252,0.4); box-shadow: 0 4px 20px rgba(76,29,149,0.5), inset 0 1px 0 rgba(255,255,255,0.12); transform: scale(1.08); }
body.dark .footer { background: #0a0a0a; }

/* ─── Dark mode: card/FAQ hover borders ─────────────────── */
body.dark .svc-card:hover,
body.dark .style-card:hover,
body.dark .price-card:hover,
body.dark .faq-item:hover,
body.dark .faq-item[open] { border-color: #555; }

/* ════════════════════════════════════════════════════
   SERVICE & STYLE CARD LINKS
════════════════════════════════════════════════════ */
.svc-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-top: 18px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text);
  text-decoration: none;
  transition: gap 0.2s;
}
.svc-link span { transition: transform 0.2s; }
.svc-link:hover { gap: 9px; }
.svc-link:hover span { transform: translateX(3px); }

.style-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-top: 14px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-decoration: none;
  transition: gap 0.2s;
}
.style-link span { transition: transform 0.2s; }
.style-link:hover { gap: 9px; }
.style-link:hover span { transform: translateX(3px); }
.style-link--1 { color: #d97706; }
.style-link--2 { color: #a855f7; }
.style-link--3 { color: #0891b2; }

/* ════════════════════════════════════════════════════
   PACKAGE BADGE (contact form)
════════════════════════════════════════════════════ */
.pkg-badge {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 18px;
  border-radius: 14px;
  margin-bottom: 22px;
  animation: badgePop 0.4s cubic-bezier(0.34,1.56,0.64,1);
}
.pkg-badge[hidden] { display: none; }
.pkg-badge__left { display: flex; flex-direction: column; gap: 1px; }
.pkg-badge__label { font-size: 0.65rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; opacity: 0.55; margin-bottom: 2px; }
.pkg-badge__name  { font-size: 0.95rem; font-weight: 800; }
.pkg-badge__price { font-size: 0.82rem; font-weight: 600; opacity: 0.7; }
.pkg-badge__clear { background: none; border: none; cursor: pointer; font-size: 1rem; opacity: 0.45; padding: 4px; line-height: 1; border-radius: 50%; transition: opacity 0.2s, background 0.2s; }
.pkg-badge__clear:hover { opacity: 1; background: rgba(0,0,0,0.08); }

/* Per-tab badge colours */
.pkg-badge--fire  { background: linear-gradient(135deg, rgba(74,222,128,0.12), rgba(253,224,71,0.12)); border: 1.5px solid rgba(163,230,53,0.4); color: #14532d; }
.pkg-badge--gold  { background: linear-gradient(135deg, rgba(168,85,247,0.12), rgba(236,72,153,0.12)); border: 1.5px solid rgba(168,85,247,0.3); color: #581c87; }
.pkg-badge--ocean { background: linear-gradient(135deg, rgba(59,130,246,0.12), rgba(139,92,246,0.12)); border: 1.5px solid rgba(59,130,246,0.3); color: #1e3a8a; }

body.dark .pkg-badge--fire  { background: linear-gradient(135deg, rgba(34,197,94,0.15), rgba(234,179,8,0.1)); border-color: rgba(163,230,53,0.25); color: #86efac; }
body.dark .pkg-badge--gold  { background: linear-gradient(135deg, rgba(168,85,247,0.15), rgba(236,72,153,0.1)); border-color: rgba(168,85,247,0.25); color: #d8b4fe; }
body.dark .pkg-badge--ocean { background: linear-gradient(135deg, rgba(59,130,246,0.15), rgba(139,92,246,0.1)); border-color: rgba(59,130,246,0.25); color: #93c5fd; }
body.dark .pkg-badge__clear:hover { background: rgba(255,255,255,0.1); }

/* ════════════════════════════════════════════════════
   SERVICE / STYLE INNER PAGES
════════════════════════════════════════════════════ */
.inner-hero {
  padding: calc(var(--nav-h) + 72px) 0 72px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
/* Inner hero text always dark regardless of mode — hero BG is always light/colourful */
.inner-hero h1 { font-size: clamp(2.2rem, 5vw, 3.8rem); font-weight: 900; letter-spacing: -0.03em; color: #0a0a0a; margin-bottom: 14px; }
.inner-hero p  { font-size: 1rem; color: rgba(10,10,10,0.6); max-width: 540px; margin: 0 auto; line-height: 1.7; }
.inner-hero .pill { margin: 0 auto 24px; }

/* Service hero gradients */
.inner-hero--reels      { background: linear-gradient(-45deg, #d1fae5, #fef9c3, #bbf7d0, #fde68a); background-size: 400% 400%; animation: heroGrad 28s ease infinite; }
.inner-hero--realestate { background: linear-gradient(-45deg, #f3e8ff, #fce7f3, #ede9fe, #fdf4ff); background-size: 400% 400%; animation: heroGrad 28s ease infinite; }
.inner-hero--social     { background: linear-gradient(-45deg, #dbeafe, #e0f2fe, #ede9fe, #d1fae5); background-size: 400% 400%; animation: heroGrad 28s ease infinite; }
.inner-hero--about      { background: linear-gradient(-45deg, #fff7ed, #fef3c7, #ffedd5, #fef9c3); background-size: 400% 400%; animation: heroGrad 28s ease infinite; }
.inner-hero--onboard    { background: linear-gradient(-45deg, #d1fae5, #e0f2fe, #d1fae5, #dcfce7); background-size: 400% 400%; animation: heroGrad 28s ease infinite; }

/* Style hero gradients */
.inner-hero--viral      { background: linear-gradient(-45deg, #fef3c7, #fde68a, #fed7aa, #fbbf24); background-size: 400% 400%; animation: heroGrad 28s ease infinite; }
.inner-hero--cinematic  { background: linear-gradient(-45deg, #fce7f3, #ede9fe, #fed7aa, #f3e8ff); background-size: 400% 400%; animation: heroGrad 28s ease infinite; }
.inner-hero--custom     { background: linear-gradient(-45deg, #d1fae5, #dbeafe, #a7f3d0, #bfdbfe); background-size: 400% 400%; animation: heroGrad 28s ease infinite; }

.inner-body { max-width: 860px; margin: 0 auto; padding: 72px 32px 96px; }
.inner-body h2 { font-size: 1.15rem; font-weight: 800; letter-spacing: -0.02em; margin: 48px 0 16px; color: var(--text); }
.inner-body h2:first-child { margin-top: 0; }
.inner-body p  { font-size: 0.95rem; line-height: 1.8; color: var(--muted); }
.inner-divider { border: none; border-top: 1px solid var(--border); margin: 0 0 40px; }

/* Deliverable grid */
.deliverables { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 16px; margin: 8px 0 32px; }
.deliverable  { display: flex; align-items: flex-start; gap: 12px; background: var(--surface); border: 1px solid var(--border); border-radius: 14px; padding: 18px 20px; }
.deliverable__icon { width: 38px; height: 38px; flex-shrink: 0; display: flex; align-items: center; justify-content: center; }
.deliverable__icon svg { width: 28px; height: 28px; }
.deliverable__body strong { display: block; font-size: 0.88rem; font-weight: 700; color: var(--text); margin-bottom: 3px; }
.deliverable__body span   { font-size: 0.8rem; color: var(--muted); line-height: 1.5; }

/* Process steps */
.process { display: flex; flex-direction: column; gap: 0; margin: 8px 0 32px; }
.process-step { display: flex; gap: 20px; align-items: flex-start; padding: 20px 0; border-bottom: 1px solid var(--border); }
.process-step:last-child { border-bottom: none; }
.process-num  { width: 32px; height: 32px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 0.75rem; font-weight: 800; flex-shrink: 0; margin-top: 2px; }
.process-step p { font-size: 0.9rem; line-height: 1.7; color: var(--muted); margin: 4px 0 0; }
.process-step strong { font-size: 0.95rem; font-weight: 700; color: var(--text); }

/* CTA strip */
.inner-cta { text-align: center; padding: 64px 32px 80px; background: var(--surface); border-top: 1px solid var(--border); }
.inner-cta h2 { font-size: clamp(1.6rem, 3vw, 2.4rem); font-weight: 900; letter-spacing: -0.03em; color: var(--text); margin-bottom: 12px; }
.inner-cta p  { font-size: 0.95rem; color: var(--muted); margin-bottom: 32px; }

/* Process num accent colours */
.process-num--fire     { background: linear-gradient(135deg,#22c55e,#eab308); color: #1a1a1a; }
.process-num--gold     { background: linear-gradient(135deg,#a855f7,#ec4899); color: #fff; }
.process-num--ocean    { background: linear-gradient(135deg,#3b82f6,#8b5cf6); color: #fff; }
.process-num--viral    { background: linear-gradient(135deg,#f59e0b,#ef4444); color: #fff; }
.process-num--cinematic{ background: linear-gradient(135deg,#ec4899,#a855f7); color: #fff; }
.process-num--custom   { background: linear-gradient(135deg,#06b6d4,#10b981); color: #fff; }

@media (max-width: 640px) {
  .inner-hero { padding: calc(var(--nav-h) + 36px) 0 40px; }
  .inner-body { padding: 40px 18px 64px; }
  .inner-cta  { padding: 40px 18px 56px; }
  .inner-cta h2 { font-size: clamp(1.4rem, 6vw, 2.4rem); }
  .inner-cta__actions { flex-direction: column; align-items: stretch; }
  .inner-cta__actions .btn { justify-content: center; }
  .deliverables { grid-template-columns: 1fr; }
}

/* ─── Style page floating arrow navigation ──────────────── */
/* Arrows float absolutely inside .inner-hero, centred vertically */
.style-nav__arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  align-items: center;
  gap: 7px;
  color: rgba(10,10,10,0.42);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  text-decoration: none;
  transition: color 0.22s ease, transform 0.22s var(--spring);
}
.style-nav__arrow--prev {
  left: 36px;
  flex-direction: row;
}
.style-nav__arrow--next {
  right: 36px;
  flex-direction: row-reverse;
}
.style-nav__arrow svg {
  width: 18px; height: 18px;
  flex-shrink: 0;
}
.style-nav__arrow:hover { color: rgba(10,10,10,0.82); }
.style-nav__arrow--prev:hover { transform: translateY(-50%) translateX(-5px); }
.style-nav__arrow--next:hover { transform: translateY(-50%) translateX(5px); }
/* Arrows sit on top of the always-light colourful hero — keep dark text in both themes */
body.dark .style-nav__arrow { color: rgba(10,10,10,0.45); }
body.dark .style-nav__arrow:hover { color: rgba(10,10,10,0.9); }

/* mobile: keep absolute but collapse to icon-only at the edges */
@media (max-width: 640px) {
  .style-nav__arrow--prev { left: 12px; }
  .style-nav__arrow--next { right: 12px; }
  .style-nav__arrow span  { display: none; }
  .style-nav__arrow svg   { width: 22px; height: 22px; }
}

.style-nav__ghost {
  visibility: hidden;
  pointer-events: none;
}

/* keep old .inner-page-switcher styles harmless in case any other page uses them */
.inner-page-switcher { display: none; }

/* ═══════════════════════════════════════════════════════
   EXTRA-SMALL PHONES  ≤ 480px
═══════════════════════════════════════════════════════ */
@media (max-width: 480px) {
  /* Tighter container */
  .container { padding: 0 16px; }

  /* Section title */
  .section-title { font-size: clamp(1.7rem, 8vw, 2.4rem); }

  /* Hero */
  .hero__inner { padding-top: 40px; padding-bottom: 40px; }
  .hero__sub   { font-size: 0.95rem; }
  .hero__actions { flex-direction: column; align-items: stretch; }
  .hero__actions .btn { justify-content: center; }

  /* Stats — keep 2×2 but even tighter */
  .stats-strip__inner { gap: 14px; }
  .stat__num   { font-size: 1.7rem; }
  .stat__label { font-size: 0.64rem; }

  /* Pricing tabs — hide SVG icons to save space */
  .price-tab { padding: 9px 8px; font-size: 0.7rem; }
  .price-tab svg { display: none; }

  /* Pricing cards */
  .price__num { font-size: 2.3rem; }

  /* FAQ */
  .faq-q { padding: 16px 18px; font-size: 0.88rem; }
  .faq-a { padding: 0 18px 16px; }

  /* Process steps */
  .process-step { gap: 14px; }

  /* Inner hero */
  .inner-hero { padding: calc(var(--nav-h) + 28px) 0 32px; }
  .inner-hero h1 { font-size: clamp(1.8rem, 9vw, 3rem); }
  .inner-hero p  { font-size: 0.9rem; padding: 0 16px; }

  /* Footer */
  .footer-inner { gap: 24px; }
  .footer { padding: 36px 0 0; }
}

/* Full-card clickable links (svc-card & style-card) */
.svc-card  { cursor: pointer; }
.style-card { cursor: pointer; }
.svc-link::before,
.style-link::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
  border-radius: 14px;
}
/* Keep text content above the invisible overlay */
.svc-card > *:not(.svc-link),
.style-body > *:not(.style-link) { position: relative; z-index: 1; }

/* ─── Showcase video ───────────────────────────────────────── */
.showcase-video-wrap {
  width: 100%;
  max-width: 170px;
  margin: 0 auto 32px;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid var(--border);
  background: #111;
  aspect-ratio: 9/16;
  display: flex;
  align-items: center;
  justify-content: center;
}
.showcase-video {
  width: 100%; height: 100%;
  display: block; object-fit: cover;
}
.showcase-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0;
  padding: 0;
  color: #666;
  text-align: center;
  width: 100%;
  height: 100%;
}
.showcase-placeholder .play-ring {
  width: 72px; height: 72px; flex-shrink: 0;
  border-radius: 50%;
  border: 2px solid rgba(255,255,255,0.18);
  display: flex; align-items: center; justify-content: center;
}
.showcase-placeholder .play-ring svg { width: 28px !important; height: 28px !important; max-width: 28px; max-height: 28px; margin-left: 4px; opacity: 0.35; }

/* ════════════════════════════════════════════════════
   CONTRACT PAGE
════════════════════════════════════════════════════ */

/* Hero gradient */
.inner-hero--contract {
  background: linear-gradient(-45deg, #ede9fe, #ddd6fe, #e0e7ff, #f0fdf4);
  background-size: 400% 400%;
  animation: heroGrad 28s ease infinite;
}

/* Contract wrapper — narrow readable column */
.contract-wrap {
  max-width: 780px;
  margin: 0 auto;
  padding: 64px 32px 96px;
}

/* Section blocks */
.contract-section {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 32px 36px;
  margin-bottom: 24px;
}
.contract-section-head {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 24px;
}
.contract-section-num {
  width: 30px; height: 30px;
  border-radius: 50%;
  background: linear-gradient(135deg, #a855f7, #6366f1);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 800;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.contract-section-title {
  font-size: 0.88rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text);
}

/* Form grid inside contract */
.contract-grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.contract-grid-3 { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 16px; }
@media (max-width: 600px) {
  .contract-grid-2 { grid-template-columns: 1fr; }
  .contract-grid-3 { grid-template-columns: 1fr; }
  .contract-wrap   { padding: 40px 20px 72px; }
  .contract-section{ padding: 24px 20px; }
}

/* Service radio cards */
.service-options { display: grid; grid-template-columns: repeat(3,1fr); gap: 12px; }
@media (max-width: 600px) { .service-options { grid-template-columns: 1fr; } }

.service-option { display: none; }
.service-option-label {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 18px 12px;
  border-radius: 14px;
  border: 1.5px solid var(--border);
  background: var(--surface);
  cursor: pointer;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--muted);
  text-align: center;
  transition: border-color 0.2s, color 0.2s, box-shadow 0.2s, background 0.2s;
}
.service-option-label:hover { border-color: #a855f7; color: var(--text); }
.service-option:checked + .service-option-label {
  border-color: #a855f7;
  background: rgba(168,85,247,0.08);
  color: #a855f7;
  box-shadow: 0 0 0 3px rgba(168,85,247,0.15);
}
.service-option-icon {
  font-size: 1.5rem;
  line-height: 1;
}

/* Platform checkboxes */
.platform-options { display: flex; flex-wrap: wrap; gap: 8px; }
.platform-check { display: none; }
.platform-label {
  padding: 6px 16px;
  border-radius: 100px;
  border: 1.5px solid var(--border);
  background: var(--surface);
  font-size: 0.76rem;
  font-weight: 600;
  color: var(--muted);
  cursor: pointer;
  transition: border-color 0.2s, color 0.2s, background 0.2s;
}
.platform-label:hover { border-color: #6366f1; color: var(--text); }
.platform-check:checked + .platform-label {
  border-color: #6366f1;
  background: rgba(99,102,241,0.1);
  color: #6366f1;
}

/* Terms scroll box */
.terms-box {
  height: 280px;
  overflow-y: auto;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 24px;
  font-size: 0.82rem;
  line-height: 1.8;
  color: var(--muted);
  scroll-behavior: smooth;
}
.terms-box h4 { font-size: 0.78rem; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; color: var(--text); margin: 18px 0 6px; }
.terms-box h4:first-child { margin-top: 0; }
.terms-box::-webkit-scrollbar { width: 5px; }
.terms-box::-webkit-scrollbar-track { background: transparent; }
.terms-box::-webkit-scrollbar-thumb { background: var(--border); border-radius: 10px; }

/* Signature pad */
.sig-pad-wrap {
  border: 1.5px dashed var(--border);
  border-radius: 14px;
  background: var(--surface);
  overflow: hidden;
  position: relative;
}
.sig-pad-wrap canvas { display: block; width: 100%; height: 160px; touch-action: none; user-select: none; -webkit-user-select: none; cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='32' height='32' viewBox='0 0 32 32'%3E%3Cpath d='M25 2L30 7L11 26L6 21Z' fill='%237c3aed' stroke='%233b0764' stroke-width='0.8' stroke-linejoin='round'/%3E%3Cpath d='M6 21L11 26L4 30Z' fill='%234c1d95' stroke='%233b0764' stroke-width='0.8' stroke-linejoin='round'/%3E%3Cpath d='M24 2L22 4L27 9L30 7Z' fill='%235b21b6' stroke='%233b0764' stroke-width='0.6'/%3E%3Cpath d='M27 4L29 6L12 23L10 21Z' fill='white' opacity='0.2'/%3E%3C/svg%3E") 4 29, crosshair; }
.sig-pad-label {
  position: absolute;
  bottom: 10px; left: 50%;
  transform: translateX(-50%);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  opacity: 0.5;
  pointer-events: none;
  white-space: nowrap;
}
.sig-actions { display: flex; gap: 10px; margin-top: 10px; align-items: center; }
.sig-clear {
  padding: 6px 16px;
  border-radius: 8px;
  font-size: 0.75rem;
  font-weight: 600;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--muted);
  cursor: pointer;
  transition: border-color 0.2s, color 0.2s;
}
.sig-clear:hover { border-color: #ef4444; color: #ef4444; }
.sig-typed { flex: 1; }

/* Agreement checkboxes */
.agree-row {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
}
.agree-row:last-of-type { border-bottom: none; }
.agree-row input[type="checkbox"] {
  width: 18px; height: 18px; flex-shrink: 0;
  accent-color: #a855f7;
  margin-top: 2px;
  cursor: pointer;
}
.agree-row label { font-size: 0.85rem; color: var(--text); line-height: 1.6; cursor: pointer; }
.agree-row label a { color: #a855f7; text-decoration: underline; }

/* Submit button — full width gradient */
.contract-submit {
  width: 100%;
  padding: 16px;
  border-radius: 14px;
  border: none;
  background: linear-gradient(-45deg, #a855f7, #6366f1, #ec4899, #a855f7);
  background-size: 300% 300%;
  animation: gradShimmer 12s ease infinite;
  color: #fff;
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s, opacity 0.2s;
  box-shadow: 0 6px 28px rgba(168,85,247,0.4);
  margin-top: 8px;
}
.contract-submit:hover { transform: translateY(-2px); box-shadow: 0 10px 36px rgba(168,85,247,0.55); }
.contract-submit:active { transform: scale(0.98); }
.contract-submit:disabled { opacity: 0.5; cursor: not-allowed; transform: none; }

/* Success state */
.contract-success {
  display: none;
  text-align: center;
  padding: 64px 32px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 20px;
  margin-bottom: 24px;
}
.contract-success.visible { display: block; }
.contract-success__icon {
  width: 72px; height: 72px;
  border-radius: 50%;
  background: linear-gradient(135deg, #a855f7, #6366f1);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 24px;
  box-shadow: 0 8px 28px rgba(168,85,247,0.4);
}
.contract-success__icon svg { width: 32px; height: 32px; color: #fff; }
.contract-success h2 { font-size: 1.6rem; font-weight: 900; letter-spacing: -0.03em; color: var(--text); margin-bottom: 12px; }
.contract-success p  { font-size: 0.95rem; color: var(--muted); margin-bottom: 28px; }
.contract-print-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  border-radius: 100px;
  border: 1.5px solid var(--border);
  background: var(--surface);
  color: var(--text);
  font-size: 0.85rem;
  font-weight: 700;
  cursor: pointer;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.contract-print-btn:hover { border-color: #a855f7; box-shadow: 0 4px 16px rgba(168,85,247,0.2); }

/* Dark mode tweaks for contract */
body.dark .contract-section { background: var(--surface); }
body.dark .terms-box { background: #111; }
body.dark .sig-pad-wrap { background: #111; }
body.dark .sig-pad-wrap canvas { background: #111; }

/* Print styles */
@media print {
  .nav, .footer, .progress-bar, .inner-hero,
  .contract-submit, .sig-clear, .contract-print-btn,
  .inner-cta, .sig-pad-wrap canvas + * { display: none !important; }
  body { background: #fff !important; color: #000 !important; }
  .contract-section { border: 1px solid #ccc !important; break-inside: avoid; }
  .contract-wrap { padding: 0 !important; max-width: 100% !important; }
  .contract-success { break-inside: avoid; }
  .sig-pad-wrap { border: 1px solid #ccc !important; }
}

/* ── WhatsApp floating button ─────────────────────────── */
.wa-float {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 56px;
  height: 56px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  text-decoration: none;
  border: 1px solid rgba(255,255,255,0.3);
  box-shadow: 0 4px 24px rgba(37,211,102,0.55), inset 0 1px 0 rgba(255,255,255,0.35);
  z-index: 998;
  transition: transform 0.2s var(--spring), box-shadow 0.2s;
}
.wa-float svg { width: 28px; height: 28px; }
.wa-float:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 32px rgba(37,211,102,0.7), inset 0 1px 0 rgba(255,255,255,0.35);
}

/* ─── Form email validation ─────────────────────────── */
.form-group input.input--error {
  border-color: #ef4444 !important;
  box-shadow: 0 0 0 3px rgba(239,68,68,0.14) !important;
  color: var(--text);
}
.input-error-msg {
  font-size: 0.72rem;
  font-weight: 600;
  color: #ef4444;
  margin-top: 5px;
  display: none;
  align-items: center;
  gap: 5px;
}
.input-error-msg.visible { display: flex; }
.input-error-msg svg { width: 13px; height: 13px; flex-shrink: 0; }

