﻿/* =============================================
   Website Factory — styles.css
   Template: BaseX (adapted for multi-business use)
   Primary colour: teal #16C7C0 (Pixel Borough brand) in config.
   ============================================= */

/* ---- Custom Properties ---- */
:root {
  /* ── Brand palette (Pixel Borough) ── */
  /* Light surfaces */
  --white:        #FFFFFF;   /* light section bg            */
  --ice-grey:     #F4F7F9;   /* alt sections, cards         */
  --cool-grey:    #E4EBF0;   /* hovers, dividers            */
  --teal-tint:    #E0F7F5;   /* soft accent bg              */

  /* Dark surfaces */
  --near-black:   #0E1419;   /* hero, footer, nav           */
  --deep-slate:   #1B2630;   /* dark cards on dark          */
  --navy:         #15324A;   /* secondary dark bg           */

  /* Accents */
  --teal:         #128C87;   /* PRIMARY accent — CTAs, links (muted) */
  --teal-glow:    #4FC9C3;   /* glows, highlights            */
  --electric-blue:#4D7CFE;   /* SECONDARY accent             */
  --violet:       #8B5CF6;   /* tertiary pop, gradients      */
  --coral-orange: #FF8A4C;   /* rare warm CTA / badges       */

  /* Metal & text */
  --silver:       #C7CDD2;   /* metallic accents, headings on dark */
  --steel-grey:   #8A929A;   /* borders, muted UI           */
  --ink:          #1A2128;   /* body text on light          */
  --slate-muted:  #5C6770;   /* secondary text              */

  /* ── Legacy aliases mapped onto the palette above ── */
  --teal-mid:     #0C726E;   /* darker teal for depth/gradients */
  --teal-dark:    #06504D;   /* deep teal                   */
  --silver-hi:    #E6E8EA;
  --silver-mid:   var(--silver);
  --gunmetal:     #505558;

  --primary:      var(--teal);
  --primary-dark: color-mix(in srgb, var(--teal), #000 18%);
  --primary-glow: color-mix(in srgb, var(--teal), transparent 60%);
  --dark:         #1B2630;   /* content sections — lifted off pure black */
  --dark-2:       #243240;   /* dark cards on dark — a step lighter      */
  --cream:        var(--teal-tint);
  --cream-2:      color-mix(in srgb, var(--teal), #fff 86%);
  --silver-bg:    var(--ice-grey);
  --text:         var(--ink);
  --text-muted:   var(--slate-muted);
  --border:       rgba(26, 33, 40, 0.10);
  --shadow:       0 4px 20px rgba(0, 0, 0, 0.07);
  --shadow-md:    0 8px 32px rgba(0, 0, 0, 0.1);
  --shadow-lg:    0 16px 56px rgba(0, 0, 0, 0.14);
  --radius:       18px;
  --radius-sm:    10px;
  --font-display: 'Playfair Display', Georgia, serif;
  --font-body:    'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --transition:   all 0.28s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ---- Reset ---- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html { scroll-behavior: smooth; overflow-x: hidden; max-width: 100%; }
body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--silver-bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  max-width: 100%;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
h1, h2, h3, h4 {
  font-family: var(--font-display);
  line-height: 1.2;
  color: var(--dark);
}

/* ---- Layout ---- */
.container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ---- Section Helpers ---- */
.section-label {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--primary);
  margin-bottom: 14px;
}
.section-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  margin-bottom: 16px;
}
.section-desc {
  font-size: 1rem;
  color: var(--text-muted);
  max-width: 540px;
}
.section-header {
  text-align: center;
  margin-bottom: 56px;
}
.section-header .section-desc {
  margin: 0 auto;
}
.section-sub {
  font-size: 1rem;
  color: var(--text-muted);
  max-width: 480px;
  margin: 14px auto 0;
  line-height: 1.75;
}

/* ====================================================
   BUTTONS
   ==================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 15px 34px;
  border-radius: 50px;
  font-family: var(--font-body);
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  cursor: pointer;
  transition: var(--transition);
  border: 2px solid transparent;
  white-space: nowrap;
}

.btn-primary {
  background: var(--primary);
  color: var(--white);
  border-color: var(--primary);
}
.btn-primary:hover {
  background: var(--primary-dark);
  border-color: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px var(--primary-glow);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.55);
}
.btn-outline:hover {
  background: var(--white);
  color: var(--primary);
  border-color: var(--white);
  transform: translateY(-2px);
}

.btn-outline-light {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.35);
}
.btn-outline-light:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.7);
  transform: translateY(-2px);
}

.btn-white {
  background: var(--white);
  color: var(--dark);
  border-color: var(--white);
}
.btn-white:hover {
  background: var(--cream);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

/* ====================================================
   NAVIGATION
   ==================================================== */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 22px 0;
  /* transparent at top so it blends into the hero, just a soft scrim for legibility */
  background: linear-gradient(180deg, rgba(8, 16, 24, 0.34) 0%, rgba(8, 16, 24, 0) 100%);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  transition: background 0.45s ease, padding 0.4s ease, box-shadow 0.45s ease, backdrop-filter 0.45s ease, transform 0.4s ease;
}
/* Slide fully out of view when scrolling down */
.navbar.nav-hidden { transform: translateY(-100%); }
.navbar.scrolled {
  /* frosted dark once you scroll off the hero */
  background: rgba(13, 24, 33, 0.82);
  backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  padding: 12px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.28);
}

/* Nav links: white over the hero, stay white on the dark scrolled bar */
.nav-link { color: rgba(255, 255, 255, 0.9); }
.nav-link::after { background: var(--white); }
.navbar.scrolled .nav-link { color: rgba(255, 255, 255, 0.9); }
.navbar.scrolled .nav-link::after { background: var(--teal-glow); }
.navbar.scrolled .nav-link:hover { color: #fff; }
.navbar.scrolled .nav-toggle span { background: var(--white); }

/* CTA stays a teal pill in both states */
.navbar .nav-cta { background: var(--primary); color: #fff !important; }
.navbar .nav-cta:hover { background: var(--primary-dark); color: #fff !important; }

/* Logo crossfade: full white wordmark on desktop → compact white mark on tablet & below.
   Container is sized by the active logo's true aspect ratio so the wide wordmark
   (1900×359) never overflows into the menu. */
/* Generic container (used by the other pages' .logo-full / .logo-mark) */
.nav-logo { position: relative; display: block; width: auto; height: auto; }

/* Home page only: 3-state white/colour crossfade, sized to each logo's true ratio.
   Scoped via :has() so it never touches the other pages' logos. */
.nav-logo:has(.nav-logo-img) { width: auto; height: clamp(34px, 3.6vw, 44px); aspect-ratio: 1900 / 359; }
.nav-logo .nav-logo-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; object-position: left center; transition: opacity 0.5s ease; }
.nav-logo .nav-logo-full { opacity: 1; }
.nav-logo .nav-logo-mark { opacity: 0; }
.nav-logo .nav-logo-scrolled { opacity: 0; }
/* Phone size: swap the full wordmark for the compact square mark */
@media (max-width: 600px) {
  .nav-logo:has(.nav-logo-img) { height: clamp(40px, 9vw, 48px); aspect-ratio: 1347 / 1168; }
  .nav-logo .nav-logo-full { opacity: 0; }
  .nav-logo .nav-logo-mark { opacity: 1; }
}
/* Once the dark bar appears on scroll → coloured full wordmark, all widths */
.navbar.scrolled .nav-logo:has(.nav-logo-img) { height: clamp(34px, 3.6vw, 44px); aspect-ratio: 1900 / 359; }
.navbar.scrolled .nav-logo-full { opacity: 0; }
.navbar.scrolled .nav-logo-mark { opacity: 0; }
.navbar.scrolled .nav-logo-scrolled { opacity: 1; }

.nav-container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: inline-flex;
  align-items: center;
}

.nav-logo img {
  height: clamp(34px, 3.6vw, 44px);
  width: auto;
}
.logo-mark { display: none; }


.nav-menu {
  display: flex;
  align-items: center;
  gap: 36px;
}

.nav-link {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.88rem;
  font-weight: 500;
  letter-spacing: 0.025em;
  transition: color 0.2s;
  position: relative;
}
.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0;
  width: 0; height: 2px;
  background: var(--primary);
  transition: width 0.25s ease;
  border-radius: 2px;
}
.nav-link:hover { color: var(--white); }
.nav-link:hover::after { width: 100%; }

.nav-cta {
  background: var(--primary);
  color: var(--white) !important;
  padding: 10px 26px;
  border-radius: 50px;
  font-weight: 600;
  transition: var(--transition);
}
.nav-cta::after { display: none; }
.nav-cta:hover {
  background: var(--primary-dark);
  transform: translateY(-1px);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 6px;
  z-index: 10;
}
.nav-toggle span {
  display: block;
  width: 24px; height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: var(--transition);
}

/* ====================================================
   HERO
   ==================================================== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  position: relative;
  overflow: visible;
  background: var(--dark);
  padding-bottom: 240px;
}

/* Hero image background — client screenshot fades in behind the hero */
.hero-img-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center top;
  filter: blur(36px) brightness(0.5) saturate(1.2);
  transform: scale(1.16);
  opacity: 0;
  transition: opacity 0.6s ease, filter 0.6s ease, transform 0.6s ease;
  z-index: 0;
  pointer-events: none;
}

/* ── Logo fallback background ── */
.hero-logo-bg {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 32px;
  opacity: 0;
  transition: opacity 0.6s ease;
  z-index: 0;
  pointer-events: none;
}
.hero-logo-bg img {
  width: min(200px, 38%);
  opacity: 0.12;
  animation: logoBgPulse 3.5s ease-in-out infinite;
  filter: brightness(0) invert(1);
}
@keyframes logoBgPulse {
  0%, 100% { opacity: 0.10; transform: scale(1);    }
  50%       { opacity: 0.18; transform: scale(1.04); }
}
.hero-logo-text {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  text-align: center;
}
.hero-logo-coming-badge {
  display: inline-block;
  padding: 5px 16px;
  border-radius: 100px;
  background: rgba(22,199,192,0.15);
  border: 1px solid rgba(22,199,192,0.35);
  color: var(--teal);
  font-family: 'Inter', sans-serif;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.hero-logo-coming-name {
  margin: 0;
  color: rgba(255,255,255,0.7);
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.2rem, 2.5vw, 1.8rem);
  font-weight: 600;
  letter-spacing: 0.01em;
}

/* Default video backdrop. The 36px blur is baked into the source file rather
   than applied here: a CSS blur on a playing video is a full-viewport Gaussian
   convolution recomputed every frame, and the result can never be cached
   because the source pixels change 24x a second. brightness/saturate stay in
   CSS — those are cheap per-pixel ops and keep the look tunable. */
.hero-vid-bg {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  filter: brightness(0.5) saturate(1.2);
  transform: scale(1.16);
  opacity: 0;
  transition: opacity 0.6s ease, filter 0.6s ease, transform 0.6s ease;
  z-index: 0;
  pointer-events: none;
}

/* Sharp original, crossfaded in on reveal. Starts at a small blur so the
   handover still reads as a focus pull rather than a hard cut; opacity is
   driven from script.js, which only loads this once Peek is first clicked. */
.hero-vid-sharp {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  filter: blur(8px) brightness(0.92) saturate(1.05);
  transform: scale(1.06);
  opacity: 0;
  transition: opacity 0.6s ease, filter 0.6s ease, transform 0.6s ease;
  z-index: 0;
  pointer-events: none;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 55% 55% at 12% 78%, rgba(199,205,210,0.08) 0%, transparent 60%),
    linear-gradient(160deg, #1B2F45 0%, #1B2630 52%, #111A22 100%);
  z-index: 0;
}

/* Subtle dot-grid overlay */
.hero-grid-overlay {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 36px 36px;
  z-index: 1;
  pointer-events: none;
}

/* Hero wash — colour tint that changes per active card */
.hero-wash {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1.4s ease, background 1.4s ease;
  z-index: 1;
  pointer-events: none;
}

/* Glow orbs */
.hero-orb {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(100px);
  z-index: 1;
  transition: background 1.4s ease;
}
.hero-orb--1,
.hero-orb--2 { display: none; }

/* Announcement pill */
.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.14);
  color: rgba(255,255,255,0.8);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  padding: 7px 18px;
  border-radius: 50px;
  margin-bottom: 22px;
  backdrop-filter: blur(6px);
  animation: fadeUp 0.8s ease 0.1s both;
}

/* Decorative rings */
.hero-decor {
  position: absolute;
  right: -60px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 1;
  pointer-events: none;
}
.hero-pizza-ring {
  position: absolute;
  top: 50%; left: 50%;
  border-radius: 50%;
  border: 1px solid color-mix(in srgb, var(--primary), transparent 85%);
  transform: translate(-50%, -50%);
  animation: ringPulse 4s ease-in-out infinite;
}
.ring-1 {
  width: 520px; height: 520px;
  animation-delay: 0s;
}
.ring-2 {
  width: 700px; height: 700px;
  animation-delay: 1s;
  border-color: color-mix(in srgb, var(--primary), transparent 92%);
}
@keyframes ringPulse {
  0%, 100% { transform: translate(-50%, -50%) scale(1); opacity: 1; }
  50% { transform: translate(-50%, -50%) scale(1.03); opacity: 0.6; }
}

.hero-pizza-emoji {
  font-size: 18rem;
  line-height: 1;
  filter: drop-shadow(0 24px 48px rgba(0,0,0,0.5));
  animation: heroPizzaFloat 7s ease-in-out infinite;
  opacity: 0.18;
}
@keyframes heroPizzaFloat {
  0%, 100% { transform: translateY(0) rotate(-5deg); }
  50% { transform: translateY(-20px) rotate(-3deg); }
}

.hero-content {
  position: absolute;
  top: 44%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 3;
  text-align: center;
  max-width: 640px;
  width: 100%;
  padding: 0 24px;
}

/* Soft cinematic vignette — moods the shot without hiding the video/screenshot */
.hero-text-scrim {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background:
    radial-gradient(ellipse 75% 65% at 50% 38%, transparent 45%, rgba(6, 10, 16, 0.38) 100%),
    linear-gradient(180deg, rgba(6, 10, 16, 0.35) 0%, transparent 22%, transparent 78%, rgba(6, 10, 16, 0.30) 100%);
  transition: opacity 0.6s ease;
}
.hero.hero-revealed .hero-text-scrim { opacity: 0; }

/* No card behind the hero copy — text sits directly on the blurred backdrop,
   with a soft shadow for contrast. Fades out (not collapses) when the live
   site is revealed, so the toggle button below never jumps position. */
.hero-content-inner {
  animation: heroPanelFloat 7s ease-in-out infinite;
  opacity: 1;
  margin-bottom: 22px;
  transition: opacity 0.4s ease;
}
@keyframes heroPanelFloat {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-8px); }
}
@media (prefers-reduced-motion: reduce) {
  .hero-content-inner { animation: none; }
}

.hero.hero-revealed .hero-content-inner {
  opacity: 0;
  pointer-events: none;
}

.hero-reveal-btn {
  --reveal-shift: 0px;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 11px 22px;
  border-radius: 100px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: rgba(255, 255, 255, 0.9);
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  cursor: pointer;
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  /* translate carries the big "travel down to the carousel" move; transform
     stays free for the small hover lift so the two never fight over one property */
  translate: 0 var(--reveal-shift);
  transition: background 0.25s ease, border-color 0.25s ease, transform 0.25s ease,
              translate 0.65s cubic-bezier(.16, .84, .44, 1);
}
.hero-reveal-btn:hover {
  background: rgba(255, 255, 255, 0.16);
  border-color: rgba(255, 255, 255, 0.4);
  transform: translateY(-2px);
}
.hero-reveal-btn .hero-reveal-icon { font-size: 0.95rem; }

/* Full clarity on reveal — no blur, and no leftover overscan from the
   default state's blur-edge compensation, so it's actually sharp.
   Images un-blur in place (a static blur is cached, so it's cheap). Video
   can't: its blur is baked into the file, so .hero-vid-sharp is crossfaded
   over the top instead — see the hero:reveal handler in script.js. */
.hero.hero-revealed .hero-img-bg {
  filter: blur(0px) brightness(0.92) saturate(1.05);
  transform: scale(1.0);
}
.hero.hero-revealed .hero-vid-sharp {
  filter: blur(0px) brightness(0.92) saturate(1.05);
  transform: scale(1.0);
}

/* ── Hero Intro — the H1/subtitle/CTA block that sits below the banner ── */
.hero-intro {
  background: var(--white);
  padding: 96px 0 88px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
/* light intro */
.hero-intro-title { color: var(--ink) !important; }
.hero-intro-title span {
  background: linear-gradient(90deg, var(--teal) 0%, var(--teal-mid) 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.hero-intro-sub { color: var(--slate-muted) !important; }
.hero-intro .btn-outline { color: var(--teal); border-color: rgba(22,199,192,0.5); }
.hero-intro .btn-outline:hover { background: var(--teal); color: var(--white); border-color: var(--teal); }
.hero-intro::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 60% at 50% 0%, rgba(95,233,226,0.06) 0%, transparent 70%);
  pointer-events: none;
}
.hero-intro::after {
  content: '';
  position: absolute;
  bottom: 0; left: 50%;
  transform: translateX(-50%);
  width: 48px; height: 2px;
  background: linear-gradient(90deg, transparent, rgba(95,233,226,0.4), transparent);
}
.hero-intro .container {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.hero-intro-label {
  margin-bottom: 22px;
}
.hero-intro-title {
  font-size: clamp(2.4rem, 5vw, 4rem) !important;
  text-align: center !important;
  margin-bottom: 24px !important;
  max-width: 820px;
}
.hero-intro-sub {
  text-align: center !important;
  margin: 0 0 44px !important;
  max-width: 560px;
}
.hero-intro-actions {
  justify-content: center !important;
  margin-bottom: 0 !important;
}

.hero-eyebrow {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: #5FE9E2;
  margin-bottom: 20px;
  animation: fadeUp 0.8s ease 0.3s both;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.1rem, 4vw, 3.4rem);
  font-weight: 700;
  color: var(--white);
  line-height: 1.16;
  margin-bottom: 0;
  letter-spacing: -0.02em;
  text-shadow: 0 2px 28px rgba(0, 0, 0, 0.55), 0 1px 4px rgba(0, 0, 0, 0.7);
  animation: fadeUp 0.8s ease 0.5s both;
}

/* Tagline block — drawn-in underline + a short quote, revealed together
   once the title finishes typing (see el._twAnimateTo's onDone callback) */
.hero-tagline-wrap {
  margin-top: 22px;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.hero-tagline-wrap.visible {
  opacity: 1;
  transform: none;
}
.hero-underline {
  display: block;
  width: 64px;
  height: 3px;
  margin: 0 auto 18px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--teal-glow), #C7CDD2);
  transform: scaleX(0);
  transition: transform 0.7s cubic-bezier(.16, .84, .44, 1) 0.1s;
}
.hero-tagline-wrap.visible .hero-underline {
  transform: scaleX(1);
}
.hero-tagline {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(1rem, 1.6vw, 1.15rem);
  color: rgba(255, 255, 255, 0.62);
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.5);
}
@media (prefers-reduced-motion: reduce) {
  .hero-underline { transition: none; }
}

.hero-subtitle {
  color: rgba(255, 255, 255, 0.6);
  font-size: clamp(1rem, 2vw, 1.15rem);
  max-width: 460px;
  margin: 0 0 48px;
  line-height: 1.8;
  animation: fadeUp 0.8s ease 0.7s both;
}

.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 64px;
  animation: fadeUp 0.8s ease 0.9s both;
}
.hero-btn-main {
  font-size: 1rem;
  padding: 14px 28px;
  display: inline-flex;
  align-items: center;
}

.hero-scroll-nudge {
  color: rgba(255,255,255,0.45);
  font-size: 0.88rem;
  letter-spacing: 0.06em;
  animation: fadeUp 0.8s ease 1.1s both;
  margin-top: 8px;
}

.hero-badges {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  flex-wrap: wrap;
  animation: fadeUp 0.8s ease 1.1s both;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 16px;
  padding: 14px 0;
  display: inline-flex;
  backdrop-filter: blur(6px);
}

.hero-badge {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 28px;
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.82rem;
}
.hero-badge span { font-size: 1.2rem; }
.hero-badge strong { display: block; color: var(--white); font-size: 0.9rem; margin-bottom: 1px; }
.hero-badge small { display: block; color: rgba(255,255,255,0.45); font-size: 0.72rem; }

.hero-badge-divider {
  width: 1px;
  height: 36px;
  background: rgba(255,255,255,0.1);
}

.hero-scroll {
  position: absolute;
  bottom: 36px; left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  color: rgba(255,255,255,0.3);
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  z-index: 2;
  cursor: pointer;
  text-decoration: none;
}
.scroll-line {
  width: 1px; height: 44px;
  background: linear-gradient(to bottom, color-mix(in srgb, var(--primary), transparent 20%), transparent);
  animation: scrollPulse 2.5s ease-in-out infinite;
}
@keyframes scrollPulse {
  0%, 100% { opacity: 0.4; transform: scaleY(0.8); transform-origin: top; }
  50% { opacity: 1; transform: scaleY(1); }
}

/* Shared hero / section animation */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(28px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ====================================================
   ABOUT
   ==================================================== */
.about { padding: 120px 0; background: var(--white); }

/* Typewriter stage — vertically centred in its own block */
.about-tw-stage {
  min-height: 30vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 40px 0 60px;
}
.about-tw-stage .about-title {
  max-width: 820px;
}

/* Body content below — hidden until typing finishes */
.about-body-content {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity 0.75s ease, transform 0.75s ease;
  pointer-events: none;
}
.about-body-content.visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 90px; align-items: center; }
[data-about-reveal] { opacity: 0; transform: translateY(18px); transition: opacity 0.55s ease, transform 0.55s ease; }
[data-about-reveal].about-visible { opacity: 1; transform: none; }
[data-about-reveal][data-reveal-delay].about-visible { transition-delay: 0.15s; }
.about-title { font-family: var(--font-display); font-size: clamp(2rem, 4vw, 3rem); font-weight: 800; color: var(--dark); line-height: 1.18; margin-bottom: 10px; }
.about-title em { font-style: italic; font-weight: 400; color: var(--primary); }

/* Word-by-word blur reveal — each word fades up and sharpens into focus,
   staggered via inline transition-delay set in JS */
.about-word-reveal .word {
  display: inline-block;
  opacity: 0;
  filter: blur(12px);
  transform: translateY(16px);
  transition: opacity 0.65s ease, filter 0.65s ease, transform 0.65s ease;
}
.about-word-reveal.in-view .word {
  opacity: 1;
  filter: blur(0);
  transform: none;
}
@media (prefers-reduced-motion: reduce) {
  .about-word-reveal .word { transition: none; filter: none; }
}

/* Typewriter heading */
.tw-cursor {
  display: inline-block;
  width: 3px;
  background: var(--teal);
  margin-left: 3px;
  border-radius: 2px;
  vertical-align: baseline;
  animation: twBlink 0.75s step-end infinite;
}
.tw-cursor.tw-done {
  animation: twBlink 0.75s step-end infinite;
  opacity: 0;
  transition: opacity 1.2s ease 1.5s;
}
@keyframes twBlink {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0; }
}
.about-subtitle { font-size: 1rem; color: var(--text-muted); margin-bottom: 12px; line-height: 1.6; }
.about-body { font-size: 1rem; color: var(--text-muted); line-height: 1.8; }
.about-principles { display: flex; flex-direction: column; }
.about-principle {
  display: grid;
  grid-template-columns: 36px 1fr;
  gap: 18px;
  padding: 22px 0;
  border-bottom: 1px solid var(--border);
  align-items: start;
}
.about-principle:first-child { border-top: 1px solid var(--border); }
.about-principle-num {
  font-family: var(--font-display);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--teal);
  padding-top: 4px;
}
.about-principle-title {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 5px;
}
.about-principle-desc { font-size: 0.88rem; color: var(--text-muted); line-height: 1.75; }
.about-types { display: flex; flex-direction: column; }
.about-type { padding: 28px 0; }
.about-type + .about-type { border-top: 1px solid var(--border); }
.about-type-tag { display: inline-block; font-size: 0.7rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; padding: 3px 11px; border-radius: 999px; margin-bottom: 10px; }
.about-type-tag--static { background: var(--cream-2); color: var(--text-muted); border: 1px solid var(--border); }
.about-type-tag--dynamic { background: color-mix(in srgb, var(--primary), #fff 88%); color: var(--primary); border: 1px solid color-mix(in srgb, var(--primary), transparent 72%); }
.about-type-name { font-family: var(--font-display); font-size: 1.15rem; font-weight: 700; color: var(--dark); margin-bottom: 6px; }
.about-type-name--dynamic { color: var(--primary); }
.about-type-desc { font-size: 0.9rem; color: var(--text-muted); line-height: 1.75; }
.about-read-more {
  margin-top: 28px;
  align-self: flex-start;
  background: transparent;
  color: var(--primary) !important;
  border-color: var(--primary) !important;
}
.about-read-more:hover {
  background: var(--primary) !important;
  color: #fff !important;
  border-color: var(--primary) !important;
}
@media (max-width: 768px) { .about-grid { grid-template-columns: 1fr; gap: 2.5rem; } .about-types { display: none; } .about { padding: 80px 0; } }

/* ---- About dark section overrides ---- */
.about-atmosphere {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
}
/* Softness comes from the gradient falloff, not filter: blur().
   These are already smooth radial blobs, so a 100px blur added little but cost
   a lot: combined with the scale() in the keyframes it forced a full
   re-rasterise + re-blur every frame, three times over, for as long as the
   section was on screen. Multi-stop gradients give the same diffuse look for
   free, and with the filter gone the GPU can just scale a cached texture. */
.about-aurora {
  position: absolute;
  border-radius: 50%;
  opacity: 0.65;
  will-change: transform;
}
.about-aurora--a {
  width: 820px; height: 820px;
  top: -320px; left: -260px;
  background: radial-gradient(circle,
    rgba(79, 201, 195, 0.40) 0%,
    rgba(79, 201, 195, 0.22) 32%,
    rgba(79, 201, 195, 0.07) 58%,
    transparent 78%);
  animation: auroraDriftA 24s ease-in-out infinite alternate;
}
.about-aurora--b {
  width: 760px; height: 760px;
  bottom: -320px; right: -240px;
  background: radial-gradient(circle,
    rgba(77, 124, 254, 0.21) 0%,
    rgba(77, 124, 254, 0.12) 34%,
    rgba(77, 124, 254, 0.04) 60%,
    transparent 80%);
  animation: auroraDriftB 28s ease-in-out infinite alternate;
}
.about-aurora--c {
  width: 660px; height: 660px;
  top: 38%; left: 55%;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle,
    rgba(142, 221, 217, 0.15) 0%,
    rgba(142, 221, 217, 0.08) 36%,
    rgba(142, 221, 217, 0.03) 62%,
    transparent 80%);
  animation: auroraDriftC 32s ease-in-out infinite alternate;
}
@keyframes auroraDriftA { from { transform: translate(0, 0) scale(1); } to { transform: translate(70px, 50px) scale(1.12); } }
@keyframes auroraDriftB { from { transform: translate(0, 0) scale(1); } to { transform: translate(-60px, -40px) scale(1.08); } }
@keyframes auroraDriftC { from { transform: translate(-50%, -50%) scale(1); } to { transform: translate(-44%, -56%) scale(1.15); } }

.about-mote {
  position: absolute;
  left: var(--x);
  top: var(--y);
  width: var(--size);
  height: var(--size);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(142, 221, 217, 0.9), rgba(79, 201, 195, 0.15) 60%, transparent 75%);
  opacity: 0;
  animation: moteDrift var(--dur) ease-in-out var(--delay) infinite;
}
@keyframes moteDrift {
  0%   { opacity: 0;    transform: translateY(0) scale(0.6); }
  12%  { opacity: 0.7; }
  50%  { opacity: 0.9;  transform: translateY(calc(var(--rise) * -1)) scale(1); }
  88%  { opacity: 0.15; }
  100% { opacity: 0;    transform: translateY(calc(var(--rise) * -1.8)) scale(0.7); }
}

@media (prefers-reduced-motion: reduce) {
  .about-aurora, .about-mote { animation: none !important; }
}

.about .container { position: relative; z-index: 1; }
.about .section-label { color: var(--teal) !important; opacity: 1 !important; }
.about .about-title { color: rgba(255,255,255,0.95) !important; }
.about .tw-cursor { background: var(--teal); }
.about .about-grid {
  grid-template-columns: 1fr !important;
  gap: 52px !important;
}
.about .about-text {
  max-width: 580px;
  margin: 0 auto;
  text-align: center;
}
.about .about-subtitle { color: rgba(255,255,255,0.40) !important; }
.about .about-body    { color: rgba(255,255,255,0.62) !important; }
.about .about-principles {
  display: grid !important;
  flex-direction: unset !important;
  grid-template-columns: repeat(3, 1fr) !important;
  gap: 0 !important;
  border: 1px solid rgba(255,255,255,0.08) !important;
  border-radius: 14px !important;
  overflow: hidden !important;
}
.about .about-principle {
  display: block !important;
  padding: 36px 32px !important;
  border: none !important;
  background: rgba(255,255,255,0.02) !important;
  transition: background 0.3s ease !important;
}
.about .about-principle:first-child { border-top: none !important; }
.about .about-principle + .about-principle {
  border-left: 1px solid rgba(255,255,255,0.08) !important;
}
.about .about-principle:hover { background: rgba(79,201,195,0.06) !important; }
.about .about-principle-num {
  display: block;
  margin-bottom: 16px;
  color: var(--teal);
  font-size: 0.65rem;
  letter-spacing: 0.1em;
}
.about .about-principle-title { color: rgba(255,255,255,0.90) !important; font-size: 1rem; }
.about .about-principle-desc  { color: rgba(255,255,255,0.48) !important; }
@media (max-width: 768px) {
  .about .about-principles { grid-template-columns: 1fr !important; }
  .about .about-principle + .about-principle {
    border-left: none !important;
    border-top: 1px solid rgba(255,255,255,0.08) !important;
  }
}

.features-footer-cta { text-align: center; margin-top: 36px; }

/* ====================================================
   FEATURES
   ==================================================== */
.features { padding: 110px 0; background: var(--ice-grey); border-top: 1px solid var(--cool-grey); }
.features .section-title { color: var(--ink); }
.features .section-title em { font-style: italic; background: linear-gradient(90deg, var(--teal), var(--teal-mid)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.features .section-label { color: var(--teal); }
.features .section-sub { color: var(--slate-muted); max-width: 480px; margin: 14px auto 0; line-height: 1.75; }
.features-footer-cta .btn-outline { color: var(--teal); border-color: rgba(22,199,192,0.5); }
.features-footer-cta .btn-outline:hover { background: var(--teal); color: #fff; border-color: var(--teal); }

.features-cards { display: flex; gap: 10px; max-width: 820px; margin: 0 auto; align-items: stretch; min-height: 300px; }

.feat-card { border-radius: 16px; border: 1px solid var(--cool-grey); background: var(--white); box-shadow: 0 6px 24px rgba(26,33,40,0.06); display: flex; flex-direction: column; overflow: hidden; cursor: pointer; position: relative; flex: 1; transition: flex 0.5s cubic-bezier(0.4,0,0.2,1), border-color 0.3s ease, background 0.3s ease, box-shadow 0.3s ease; }
.feat-card--featured { background: var(--teal-tint); border-color: rgba(22,199,192,0.4); }
.feat-card.feat-active { flex: 1; cursor: default; }
.feat-card--default.feat-active { border-color: var(--steel-grey); background: var(--white); box-shadow: 0 12px 36px rgba(26,33,40,0.10); }
.feat-card--featured.feat-active { border-color: rgba(22,199,192,0.7); background: var(--teal-tint); box-shadow: 0 12px 36px rgba(22,199,192,0.18); }
.feat-card.feat-inactive { flex: 0 0 68px; cursor: pointer; opacity: 0.6; }
.feat-card.feat-inactive:hover { opacity: 0.85; }

.feat-pop-strip { background: linear-gradient(90deg,#0A6E6A,#0E9B96); color: #fff; text-align: center; font-size: 0.6rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; padding: 6px 12px; flex-shrink: 0; }
.feat-card.feat-inactive .feat-pop-strip { display: none; }

.feat-tab { display: none; flex-direction: column; align-items: center; justify-content: center; padding: 1.25rem 0.4rem; gap: 10px; flex: 1; }
.feat-card.feat-inactive .feat-tab { display: flex; }

.feat-pop-side { display: none; font-size: 0.56rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--teal-mid); writing-mode: vertical-rl; transform: rotate(180deg); white-space: nowrap; }
.feat-card.feat-inactive .feat-pop-side { display: block; }

.feat-tab-icon { font-size: 1.3rem; width: 38px; height: 38px; border-radius: 10px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.feat-tab-label { font-size: 0.66rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; white-space: nowrap; color: var(--slate-muted); writing-mode: vertical-rl; transform: rotate(180deg); }
.feat-card--featured .feat-tab-label { color: var(--teal-mid); }
.feat-tab-arr { font-size: 0.58rem; color: var(--steel-grey); writing-mode: vertical-rl; transform: rotate(180deg); }

.feat-full { padding: 1.75rem; display: flex; flex-direction: column; flex: 1; transition: opacity 0.2s ease; }
.feat-card.feat-inactive .feat-full { opacity: 0; pointer-events: none; position: absolute; inset: 0; }

.feat-icon-wrap { font-size: 1.3rem; width: 42px; height: 42px; border-radius: 11px; display: flex; align-items: center; justify-content: center; margin-bottom: 0.85rem; flex-shrink: 0; }
.feat-icon--default { background: var(--cool-grey); border: 1px solid var(--border); }
.feat-icon--featured { background: rgba(22,199,192,0.15); border: 1px solid rgba(22,199,192,0.28); }

.feat-tag { display: inline-block; font-size: 0.6rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; padding: 3px 10px; border-radius: 999px; margin-bottom: 0.5rem; }
.feat-tag--default { background: var(--cool-grey); color: var(--slate-muted); border: 1px solid var(--border); }
.feat-tag--featured { background: rgba(22,199,192,0.14); color: var(--teal-mid); border: 1px solid rgba(22,199,192,0.3); }

.feat-title { font-family: var(--font-display); font-size: 1.15rem; font-weight: 700; color: var(--ink); margin-bottom: 0.4rem; }
.feat-desc { font-size: 0.82rem; color: var(--slate-muted); line-height: 1.65; margin-bottom: 0.9rem; }
.feat-card--featured .feat-desc { color: var(--slate-muted); }

.feat-pts { list-style: none; display: flex; flex-direction: column; gap: 6px; margin-bottom: 0.9rem; }
.feat-pts li { display: flex; align-items: flex-start; gap: 8px; font-size: 0.8rem; color: var(--slate-muted); line-height: 1.45; }
.feat-pts li::before { content: '✓'; color: var(--teal); font-size: 0.62rem; margin-top: 2px; flex-shrink: 0; }
.feat-card--featured .feat-pts li { color: var(--slate-muted); }
.feat-card--featured .feat-pts li::before { color: var(--teal); }

.feat-click-prompt { display: flex; align-items: center; justify-content: center; gap: 6px; margin-top: auto; padding-top: 0.75rem; border-top: 1px solid var(--border); font-size: 0.72rem; font-weight: 600; color: var(--slate-muted); letter-spacing: 0.04em; animation: featPromptPulse 2.5s ease-in-out infinite; }
.feat-card--featured .feat-click-prompt { border-top-color: rgba(22,199,192,0.25); color: var(--teal-mid); }
.feat-card.feat-active .feat-click-prompt { display: none; }
.feat-prompt-icon { animation: featBounce 2.5s ease-in-out infinite; }
@keyframes featBounce { 0%,100% { transform: translateY(0); } 50% { transform: translateY(3px); } }
@keyframes featPromptPulse { 0%,100% { opacity: 0.55; } 50% { opacity: 1; } }

.feat-extra { max-height: 0; overflow: hidden; opacity: 0; transition: max-height 0.5s cubic-bezier(0.4,0,0.2,1) 0.05s, opacity 0.3s ease 0.1s; }
.feat-card.feat-active .feat-extra { max-height: 400px; opacity: 1; }
.feat-extra-inner { padding-top: 1.1rem; margin-top: 1.1rem; border-top: 1px solid var(--border); }
.feat-card--featured .feat-extra-inner { border-top-color: rgba(22,199,192,0.25); }
.feat-extra-label { font-size: 0.6rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--slate-muted); margin-bottom: 0.65rem; }
.feat-card--featured .feat-extra-label { color: var(--teal-mid); }

.feat-extra-pts { list-style: none; display: flex; flex-direction: column; gap: 7px; margin-bottom: 1.25rem; }
.feat-extra-pts li { display: flex; align-items: flex-start; gap: 8px; font-size: 0.8rem; color: var(--slate-muted); line-height: 1.5; }
.feat-extra-pts li::before { content: '→'; color: var(--teal); font-size: 0.62rem; margin-top: 2px; flex-shrink: 0; }
.feat-card--featured .feat-extra-pts li { color: var(--slate-muted); }
.feat-card--featured .feat-extra-pts li::before { color: var(--teal); }

.feat-cta { display: block; width: 100%; text-align: center; padding: 12px !important; border-radius: 10px !important; font-size: 0.85rem !important; font-weight: 700 !important; cursor: pointer; border: none !important; }
.feat-cta--default { background: var(--ink) !important; color: #fff !important; }
.feat-cta--default:hover { background: #2A3742 !important; transform: translateY(-1px); }
.feat-cta--featured { background: var(--primary) !important; color: #fff !important; }
.feat-cta--featured:hover { background: #0E9B96 !important; transform: translateY(-1px); }

@media (max-width: 768px) {
  .features { padding: 80px 0; }
  .features-cards { flex-direction: column; max-width: 480px; min-height: unset; }
  .feat-card.feat-inactive { flex: unset; opacity: 1; }
  .feat-card.feat-inactive .feat-tab { display: none; }
  .feat-card.feat-inactive .feat-full { opacity: 1; pointer-events: all; position: static; }
  .feat-card.feat-inactive .feat-pop-strip { display: block; }
}

/* ====================================================
   SERVICES HERO
   ==================================================== */
.services-hero {
  padding: 150px 0 90px;
  background: linear-gradient(150deg, #1B2630 0%, #1B2630 40%, #0A6E6A 75%, #0E9B96 100%);
  text-align: center;
  position: relative;
  overflow: hidden;
}
/* Decorative glow orbs */
.services-hero-orb {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(80px);
  opacity: 0.35;
}
.services-hero-orb--1 {
  width: 520px; height: 520px;
  background: radial-gradient(circle, #16C7C0 0%, transparent 70%);
  top: -160px; right: -80px;
}
.services-hero-orb--2 {
  width: 400px; height: 400px;
  background: radial-gradient(circle, #0E9B96 0%, transparent 70%);
  bottom: -120px; left: -60px;
  opacity: 0.25;
}
.services-hero-orb--3 {
  width: 300px; height: 300px;
  background: radial-gradient(circle, #5FE9E2 0%, transparent 70%);
  top: 40%; left: 50%;
  transform: translate(-50%, -50%);
  opacity: 0.08;
}
.services-hero-label {
  color: #5FE9E2;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-bottom: 18px;
}
.services-hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 5.5vw, 3.6rem);
  font-weight: 900;
  color: #fff;
  margin-bottom: 20px;
  line-height: 1.12;
  letter-spacing: -0.01em;
}
.services-hero-title em {
  font-style: italic;
  background: linear-gradient(90deg, #5FE9E2, #C7CDD2);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.services-hero-sub {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.6);
  max-width: 520px;
  margin: 0 auto 36px;
  line-height: 1.8;
}
.services-hero-badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-bottom: 52px;
}
.services-hero-badges span {
  display: flex;
  align-items: center;
  gap: 7px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.14);
  color: rgba(255,255,255,0.88);
  border-radius: 50px;
  padding: 9px 20px;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  transition: background 0.2s ease, border-color 0.2s ease;
  backdrop-filter: blur(6px);
}
.services-hero-badges span:hover {
  background: rgba(255,255,255,0.12);
  border-color: rgba(95,233,226,0.45);
}
.services-hero-badges span svg {
  color: #5FE9E2;
  flex-shrink: 0;
}
/* Stat strip */
.services-hero-stats {
  display: inline-flex;
  align-items: center;
  gap: 0;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 16px;
  padding: 18px 36px;
  backdrop-filter: blur(8px);
}
.services-hero-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0 28px;
}
.services-hero-stat strong {
  font-size: 1.55rem;
  font-weight: 800;
  color: #fff;
  font-family: var(--font-display);
  line-height: 1;
  margin-bottom: 4px;
}
.services-hero-stat span {
  font-size: 0.72rem;
  color: rgba(255,255,255,0.5);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 600;
}
.services-hero-stat-divider {
  width: 1px;
  height: 36px;
  background: rgba(255,255,255,0.12);
  flex-shrink: 0;
}

/* ====================================================
   SERVICES / MENU
   ==================================================== */
.menu-section {
  padding: 80px 0 120px;
  background: var(--silver-bg);
}

.menu-tabs {
  display: flex;
  justify-content: center;
  gap: 6px;
  flex-wrap: wrap;
  margin: 0 auto 56px;
  background: rgba(14,155,150,0.07);
  border-radius: 20px;
  padding: 6px;
  width: fit-content;
  border: 1px solid rgba(22,199,192,0.1);
}

.tab-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  padding: 16px 32px;
  border-radius: 14px;
  border: 2px solid transparent;
  background: transparent;
  color: var(--text-muted);
  cursor: pointer;
  transition: all 0.22s ease;
  min-width: 140px;
}
.tab-label {
  font-size: 0.95rem;
  font-weight: 700;
  font-family: var(--font-body);
  color: var(--dark);
  transition: color 0.2s;
}
.tab-sub {
  font-size: 0.72rem;
  font-weight: 500;
  color: var(--text-muted);
  font-family: var(--font-body);
}
.tab-btn:hover {
  background: rgba(255,255,255,0.7);
  border-color: rgba(22,199,192,0.2);
}
.tab-btn.active {
  background: #fff;
  border-color: rgba(22,199,192,0.45);
  box-shadow: 0 4px 20px rgba(14,155,150,0.14), 0 0 0 1px rgba(22,199,192,0.18);
  transform: translateY(-1px);
}
.tab-btn.active .tab-label { color: var(--primary); }
.tab-btn.active .tab-sub   { color: rgba(14,155,150,0.65); }

/* ── Geometric tab icons (triangle family — matches register page) ── */
.tab-geo {
  width: 42px; height: 42px; position: relative;
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.tab-btn:hover .tab-geo  { transform: scale(1.1); }
.tab-btn.active .tab-geo { transform: scale(1.06); }

.tab-geo .ring   { position: absolute; inset: 0;   border: 1.5px solid rgba(22,199,192,0.32); border-radius: 50%; }
.tab-geo .ring-2 { position: absolute; inset: 6px; border: 1.5px solid rgba(22,199,192,0.16); border-radius: 50%; }
.tab-geo .tri {
  position: absolute; top: 50%; left: 50%;
  width: 17px; height: 16px;
  transform: translate(-50%, -52%);
  background: linear-gradient(135deg, #5FE9E2, #16C7C0);
  clip-path: polygon(50% 0%, 100% 100%, 0% 100%);
  filter: drop-shadow(0 0 4px rgba(22,199,192,0.35));
}
.tab-geo .ball {
  position: absolute; width: 5px; height: 5px; border-radius: 50%;
  background: #16C7C0; top: 3px; left: 50%; margin-left: -2.5px;
  box-shadow: 0 0 6px #16C7C0;
  transform-origin: 2.5px 18px;
}

@keyframes triGlow {
  0%, 100% { filter: drop-shadow(0 0 4px rgba(22,199,192,0.35)); }
  50%       { filter: drop-shadow(0 0 11px rgba(22,199,192,0.85)); }
}

.tab-geo-starter  .tri  { animation: triGlow 2.6s ease-in-out infinite; }
.tab-geo-business .ring { animation: geoSpinRing 7s linear infinite; }
.tab-geo-business .tri  { animation: triGlow 2.6s ease-in-out infinite; }
.tab-geo-custom   .ring   { animation: geoSpinRing 5s linear infinite; }
.tab-geo-custom   .ring-2 { animation: geoSpinRing 8s linear infinite reverse; }
.tab-geo-custom   .tri    { animation: triGlow 2.6s ease-in-out infinite; }
.tab-geo-custom   .ball   { animation: geoOrbitDot 5s linear infinite; }

.tab-btn.active .tab-geo .tri {
  background: linear-gradient(135deg, #5FE9E2, #16C7C0);
  filter: drop-shadow(0 0 8px rgba(22,199,192,0.7));
  animation-duration: 1.6s;
}
.tab-btn.active .tab-geo-starter .tri { animation: triGlow 1.4s ease-in-out infinite; }
.tab-btn.active .tab-geo .ring   { border-color: rgba(22,199,192,0.6); animation-duration: 2.4s; }
.tab-btn.active .tab-geo .ring-2 { border-color: rgba(22,199,192,0.3); animation-duration: 3.6s; }
.tab-btn.active .tab-geo .ball   { background: #16C7C0; box-shadow: 0 0 7px rgba(22,199,192,0.8); animation-duration: 2.4s; }

.menu-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

/* ── Glow pulse keyframes per tier (soft blur only — outline handles the ring) ── */
@keyframes glow-base {
  0%, 100% { box-shadow: 0 0 14px 4px rgba(148,163,184,0.22), 0 4px 24px rgba(148,163,184,0.12); }
  50%       { box-shadow: 0 0 34px 10px rgba(148,163,184,0.42), 0 6px 40px rgba(148,163,184,0.22); }
}
@keyframes glow-managed {
  0%, 100% { box-shadow: 0 0 14px 4px rgba(22,199,192,0.2),  0 4px 24px rgba(14,155,150,0.12); }
  50%       { box-shadow: 0 0 36px 12px rgba(22,199,192,0.4), 0 6px 44px rgba(14,155,150,0.22); }
}
@keyframes glow-priority {
  0%, 100% { box-shadow: 0 0 14px 4px rgba(245,158,11,0.2),  0 4px 24px rgba(245,158,11,0.12); }
  50%       { box-shadow: 0 0 36px 12px rgba(245,158,11,0.42), 0 6px 44px rgba(245,158,11,0.22); }
}
@keyframes glow-advanced {
  0%, 100% { box-shadow: 0 0 14px 4px rgba(80,85,88,0.22),  0 4px 24px rgba(80,85,88,0.12); }
  50%       { box-shadow: 0 0 38px 12px rgba(80,85,88,0.44), 0 6px 46px rgba(80,85,88,0.24); }
}
@keyframes glow-custom {
  0%, 100% { box-shadow: 0 0 14px 4px rgba(13,148,136,0.2),  0 4px 24px rgba(13,148,136,0.12); }
  50%       { box-shadow: 0 0 36px 12px rgba(13,148,136,0.42), 0 6px 44px rgba(13,148,136,0.22); }
}

/* ── Card base ── */
.pizza-card {
  border-radius: var(--radius);
  border: 1.5px solid var(--border);
  background: var(--white);
  transition: outline-color 0.3s ease, border-color 0.3s ease;
  position: relative;
  display: flex;
  flex-direction: column;
  box-shadow: 0 2px 12px rgba(0,0,0,0.04);
  outline: 2px solid transparent;
  outline-offset: 0px;
  overflow: hidden;
}
.pizza-card:hover {
  box-shadow: none;
}
.pizza-card.hidden { display: none; }

/* Tier accent bar at top of each card */
.card-tier-bar {
  height: 8px;
  width: 100%;
  background: var(--border);
  flex-shrink: 0;
  border-radius: var(--radius) var(--radius) 0 0;
  overflow: hidden;
}
.tier-base:hover     .card-tier-bar { box-shadow: 0 3px 12px rgba(148,163,184,0.5); }
.tier-managed:hover  .card-tier-bar { box-shadow: 0 3px 14px rgba(14,155,150,0.45); }
.tier-priority:hover .card-tier-bar { box-shadow: 0 3px 14px rgba(245,158,11,0.55); }
.tier-advanced:hover .card-tier-bar { box-shadow: 0 3px 14px rgba(22,199,192,0.55); }
.tier-custom:hover   .card-tier-bar { box-shadow: 0 3px 14px rgba(13,148,136,0.55); }
.tier-base     .card-tier-bar { background: linear-gradient(90deg, #94a3b8, #cbd5e1); }
.tier-managed  .card-tier-bar { background: linear-gradient(90deg, var(--primary), #16C7C0); }
.tier-priority .card-tier-bar { background: linear-gradient(90deg, #f59e0b, #fbbf24); }
.tier-advanced .card-tier-bar { background: linear-gradient(90deg, #505558, #C7CDD2); }
.tier-custom   .card-tier-bar { background: linear-gradient(90deg, #0d9488, #34d399); }

/* Tier outline ring (follows border-radius perfectly) + pulsing glow animation on hover */
.tier-base:hover     { border-color: #94a3b8 !important; outline-color: #94a3b8 !important; animation: glow-base     1.6s ease-in-out infinite; }
.tier-managed:hover  { border-color: #16C7C0 !important; outline-color: #16C7C0 !important; animation: glow-managed  1.6s ease-in-out infinite; }
.tier-priority:hover { border-color: #f59e0b !important; outline-color: #f59e0b !important; animation: glow-priority 1.6s ease-in-out infinite; }
.tier-advanced:hover { border-color: #505558 !important; outline-color: #505558 !important; animation: glow-advanced 1.6s ease-in-out infinite; }
.tier-custom:hover   { border-color: #0d9488 !important; outline-color: #0d9488 !important; animation: glow-custom   1.6s ease-in-out infinite; }

/* Popular ribbon — side flag */
.card-popular-ribbon {
  position: absolute;
  top: 18px;
  right: 0;
  background: linear-gradient(135deg, #0A6E6A, #0E9B96);
  color: #fff;
  font-size: 0.64rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 5px 15px 5px 13px;
  border-radius: 4px 0 0 4px;
  box-shadow: -2px 3px 10px rgba(14,155,150,0.22);
  pointer-events: none;
  z-index: 20;
}
.card-popular-ribbon.ribbon-own {
  background: linear-gradient(135deg, #475569, #64748b);
  box-shadow: -2px 3px 10px rgba(71,85,105,0.22);
}

/* Tier label pill */
.card-tier-label {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 4px 13px;
  border-radius: 20px;
  margin-bottom: 10px;
  background: #f1f5f9;
  color: #64748b;
  border: 1px solid #e2e8f0;
}
.tier-managed  .card-tier-label { background: #D6F1F2; color: #0A6E6A; border-color: #A0D8D9; }
.tier-priority .card-tier-label { background: #fef3c7; color: #92400e; border-color: #fde68a; }
.tier-advanced .card-tier-label { background: #E6E8EA; color: #5b21b6; border-color: #ddd6fe; }
.tier-custom   .card-tier-label { background: #d1fae5; color: #065f46; border-color: #6ee7b7; }

.card-title {
  font-size: 1.18rem;
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 4px;
  line-height: 1.25;
}
.card-tagline {
  font-size: 0.83rem;
  color: var(--text-muted);
  margin-bottom: 16px;
  line-height: 1.6;
  padding-bottom: 14px;
  border-bottom: 1px solid #f1f5f9;
}
.card-price {
  display: block;
  background: #f8fafc;
  border: 1.5px solid #e2e8f0;
  border-radius: 12px;
  padding: 12px 16px;
  margin-bottom: 16px;
  font-size: 0.88rem;
  color: var(--text-muted);
  font-weight: 500;
  transition: background 0.22s ease, border-color 0.22s ease;
}
/* Tier-tinted price block on hover */
.tier-base:hover     .card-price { background: #f1f5f9; border-color: #cbd5e1; }
.tier-managed:hover  .card-price { background: #EBF9FA; border-color: #A0D8D9; }
.tier-priority:hover .card-price { background: #fffbeb; border-color: #fde68a; }
.tier-advanced:hover .card-price { background: #f5f3ff; border-color: #ddd6fe; }
.tier-custom:hover   .card-price { background: #f0fdf4; border-color: #86efac; }
.card-price strong {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--primary);
  font-family: var(--font-display);
  transition: color 0.22s ease;
  display: inline-block;
}
.tier-priority:hover .card-price strong { color: #d97706; }
.tier-advanced:hover .card-price strong { color: #505558; }
.tier-custom:hover   .card-price strong { color: #0d9488; }
.card-price span { font-size: 0.85rem; font-weight: 500; }
.card-price-was {
  font-size: 0.95rem;
  color: #94a3b8;
  text-decoration: line-through;
  margin-right: 6px;
  font-weight: 600;
}
.card-price-save {
  display: inline-block;
  background: #fef3c7;
  color: #92400e;
  border: 1px solid #fcd34d;
  font-size: 0.64rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  padding: 2px 9px;
  border-radius: 20px;
  vertical-align: middle;
  margin-left: 6px;
  position: relative;
  top: -1px;
}
.card-offer-banner {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #fef6e0;
  border: 1.5px solid #f6c662;
  color: #92400e;
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  padding: 9px 14px;
  border-radius: 10px;
  margin-bottom: 14px;
}

.card-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0;
  margin: 0 0 20px;
  flex: 1;
  border: 1px solid #f0f4fb;
  border-radius: 12px;
  overflow: hidden;
}
.card-features li {
  font-size: 0.84rem;
  color: var(--text);
  font-weight: 500;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 9px 12px;
  border-bottom: 1px solid #f0f4fb;
}
.card-features li:last-child { border-bottom: none; }
.card-features li:nth-child(even) { background: #fafcff; }
.card-features li::before {
  content: '✓';
  color: #22c55e;
  font-weight: 800;
  flex-shrink: 0;
  font-size: 0.8rem;
  margin-top: 1px;
}
.card-features li.feature-bonus::before   { content: '★'; color: var(--primary); }
.card-features li.feature-priority::before { content: '⚡'; font-size: 0.75rem; }
.card-features li.feature-backend::before  { content: '⚙'; color: #505558; }
/* Tinted rows for special feature types */
.card-features li.feature-bonus    { background: #EBF9FA !important; }
.card-features li.feature-priority { background: #fffbeb !important; }
.card-features li.feature-backend  { background: #f5f3ff !important; }

.pizza-card-body {
  padding: 22px 22px 22px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
/* Subtle tier-tinted gradient on card body top */
.tier-managed  .pizza-card-body { background: linear-gradient(180deg, #f0f7ff 0%, #ffffff 28%); }
.tier-priority .pizza-card-body { background: linear-gradient(180deg, #fffdf0 0%, #ffffff 28%); }
.tier-advanced .pizza-card-body { background: linear-gradient(180deg, #faf8ff 0%, #ffffff 28%); }
.tier-custom   .pizza-card-body { background: linear-gradient(180deg, #f0fdf9 0%, #ffffff 28%); }

/* Card image area */
.pizza-card-img {
  font-size: 3rem;
  text-align: center;
  min-height: 140px;
  padding: 30px 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-bottom: 1px solid rgba(0,0,0,0.07);
  position: relative;
  overflow: hidden;
}
/* Layered glow rings behind emoji */
.pizza-card-img::before {
  content: '';
  position: absolute;
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background: rgba(255,255,255,0.45);
  pointer-events: none;
  z-index: 0;
}
.pizza-card-img::after {
  content: '';
  position: absolute;
  width: 148px;
  height: 148px;
  border-radius: 50%;
  background: rgba(255,255,255,0.18);
  pointer-events: none;
  z-index: 0;
}
.pizza-card-img span {
  position: relative;
  z-index: 1;
  filter: drop-shadow(0 3px 10px rgba(0,0,0,0.15));
}
.pizza-card:hover .pizza-card-img { transform: none; }

/* Tier-specific icon area backgrounds */
.tier-base     .pizza-card-img { background: linear-gradient(135deg, #f1f5f9 0%, #94a3b8 100%); }
.tier-managed  .pizza-card-img { background: linear-gradient(135deg, #D6F1F2 0%, #16C7C0 100%); }
.tier-priority .pizza-card-img { background: linear-gradient(135deg, #fef3c7 0%, #f59e0b 100%); }
.tier-advanced .pizza-card-img { background: linear-gradient(135deg, #E6E8EA 0%, #505558 100%); }
.tier-custom   .pizza-card-img { background: linear-gradient(135deg, #d1fae5 0%, #0d9488 100%); }

/* Legacy class fallbacks */
.pizza-card-img.ecommerce { background: linear-gradient(135deg, #F0FDF4 0%, #22c55e 100%); }
.pizza-card-img.other     { background: linear-gradient(135deg, #FFF7ED 0%, #f97316 100%); }

/* Card actions */
.card-actions {
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
  margin-top: auto;
}

.read-more-btn {
  background: #f8fafc;
  border: 1.5px solid #e2e8f0;
  color: var(--text);
  border-radius: 50px;
  padding: 9px 18px;
  font-size: 0.83rem;
  font-weight: 600;
  font-family: var(--font-body);
  cursor: pointer;
  transition: var(--transition);
}
.read-more-btn:hover {
  border-color: var(--primary);
  color: var(--primary);
  background: #EBF9FA;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(14,155,150,0.1);
}

/* Legacy badge classes — kept for compat */
.pizza-card-bundle-badge { display: none; }
.pizza-card-locked {
  opacity: 0.55;
  pointer-events: none;
  user-select: none;
  filter: grayscale(0.4);
}
.pizza-card-lock-badge {
  position: absolute;
  top: 14px; right: 14px;
  z-index: 2;
  background: rgba(15,23,42,0.82);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 20px;
}

/* Category-specific legacy backgrounds */
.pizza-card-img.core       { background: linear-gradient(135deg, #EEF2FF 0%, #C7D2FE 100%); }
.pizza-card-img.languages  { background: linear-gradient(135deg, #F0FDF4 0%, #BBF7D0 100%); }
.pizza-card-img.islamic    { background: linear-gradient(135deg, #FFF7ED 0%, #FED7AA 100%); }
.pizza-card-img.homeschool { background: linear-gradient(135deg, #F0F9FF 0%, #BAE6FD 100%); }

/* Price legacy */
.price {
  font-weight: 700;
  color: var(--primary);
  font-size: 0.97rem;
  white-space: nowrap;
  flex-shrink: 0;
}
.tag {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 50px;
  font-size: 0.73rem;
  font-weight: 600;
  background: var(--cream-2);
  color: var(--text-muted);
}
.tag-hot { background: #fce4ec; color: #b71c1c; }

/* Responsive grid */
@media (max-width: 900px) {
  .menu-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .menu-grid { grid-template-columns: 1fr; }
  .menu-tabs { gap: 10px; }
  .tab-btn { min-width: 110px; padding: 12px 18px; }
}


/* ====================================================
   CTA / ORDER
   ==================================================== */
.order-section {
  padding: 120px 0;
  background: var(--dark);
}
.order-section .section-label { color: var(--primary); }
.order-section .section-title { color: var(--white); }

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

.order-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius);
  padding: 52px 32px 44px;
  text-align: center;
  position: relative;
  transition: var(--transition);
}
.order-card:hover {
  background: rgba(255,255,255,0.07);
  border-color: var(--primary-glow);
  transform: translateY(-5px);
}
.order-card-featured {
  background: var(--primary);
  border-color: var(--primary);
}
.order-card-featured:hover {
  background: var(--primary-dark);
  border-color: var(--primary-dark);
}

.order-popular {
  position: absolute;
  top: -14px; left: 50%;
  transform: translateX(-50%);
  background: var(--white);
  color: var(--primary);
  padding: 5px 18px;
  border-radius: 50px;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  white-space: nowrap;
}

.order-icon { font-size: 2.8rem; margin-bottom: 20px; }
.order-card h3 {
  font-size: 1.5rem;
  color: var(--white);
  margin-bottom: 12px;
}
.order-card p {
  color: rgba(255,255,255,0.6);
  font-size: 0.9rem;
  line-height: 1.65;
  margin-bottom: 32px;
}

/* ====================================================
   HOW IT WORKS
   ==================================================== */
.how-it-works {
  padding: 120px 0;
  background: var(--ice-grey);
  border-top: 1px solid var(--cool-grey);
  position: relative;
  overflow: hidden;

  /* ── Colour tokens (light theme) ── */
  --hiw-accent:        var(--teal);
  --hiw-accent-dim:    rgba(22,199,192,0.10);
  --hiw-accent-border: rgba(22,199,192,0.22);
  --hiw-accent-hover:  var(--white);
  --hiw-accent-glow:   rgba(22,199,192,0.16);
  --hiw-card-bg:       var(--white);
  --hiw-card-border:   var(--cool-grey);
}
/* #why-us alternates onto a white surface, cards go ice-grey */
#why-us.how-it-works { background: var(--white); }
#why-us .hiw-step-card { background: var(--ice-grey); }
.how-it-works .hiw-step-card { box-shadow: 0 4px 18px rgba(26,33,40,0.06); }
.how-it-works::before {
  content: '';
  position: absolute;
  width: 700px; height: 700px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(22,199,192,0.09) 0%, transparent 70%);
  top: -280px; right: -180px;
  pointer-events: none;
}
.how-it-works::after {
  content: '';
  position: absolute;
  width: 500px; height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(22,199,192,0.06) 0%, transparent 70%);
  bottom: -200px; left: -150px;
  pointer-events: none;
}

/* ── Header ── */
.hiw-header {
  text-align: center;
  margin-bottom: 72px;
  position: relative;
  z-index: 1;
}
.hiw-label,
.hiw-title,
.hiw-subtitle {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}
.hiw-header.hiw-header--visible .hiw-label {
  opacity: 0.85;
  transform: translateY(0);
  transition-delay: 0s;
}
.hiw-header.hiw-header--visible .hiw-title {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.14s;
}
.hiw-header.hiw-header--visible .hiw-subtitle {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.26s;
}
@media (prefers-reduced-motion: reduce) {
  .hiw-label, .hiw-title, .hiw-subtitle {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}
.hiw-label {
  color: var(--hiw-accent) !important;
}
.hiw-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4.5vw, 3.2rem);
  font-weight: 900;
  color: var(--ink);
  line-height: 1.2;
  margin-bottom: 16px;
}
.hiw-title em {
  font-style: italic;
  background: linear-gradient(95deg, var(--teal) 0%, var(--teal-mid) 95%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hiw-subtitle {
  color: var(--slate-muted);
  font-size: 1rem;
  max-width: 480px;
  margin: 0 auto;
  line-height: 1.7;
}

/* ── Steps grid ── */
.hiw-steps {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 24px;
  position: relative;
  margin-bottom: 72px;
  z-index: 1;
}
/* Connector line removed */

/* ── Step card ── */
.hiw-step-card {
  background: var(--hiw-card-bg);
  border: 1px solid var(--hiw-card-border);
  border-radius: 20px;
  padding: 36px 32px 32px;
  display: flex;
  flex-direction: column;
  position: relative;
  z-index: 1;
  /* Entrance – starts hidden */
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity      0.55s ease,
    transform    0.55s ease,
    background   0.25s ease,
    border-color 0.25s ease,
    box-shadow   0.25s ease;
}
.hiw-step-card.hiw-visible {
  opacity: 1;
  transform: translateY(0);
}
/* Stagger */
.hiw-step-card:nth-child(1) { transition-delay: 0.08s; }
.hiw-step-card:nth-child(2) { transition-delay: 0.22s; }
.hiw-step-card:nth-child(3) { transition-delay: 0.36s; }
/* Hover lift + glow */
.hiw-step-card:hover {
  background: var(--hiw-accent-hover);
  border-color: var(--hiw-accent-border);
  box-shadow:
    0 0 0 1px var(--hiw-accent-border),
    0 8px 40px var(--hiw-accent-glow);
  transform: translateY(-5px);
}
.hiw-step-card.hiw-visible:hover {
  transform: translateY(-5px);
}

/* ── Card image ── */
.hiw-card-img-wrap {
  position: relative;
  width: 100%;
  height: 200px;
  border-radius: 12px;
  overflow: hidden;
  flex-shrink: 0;
  margin-bottom: 24px;
}
.hiw-card-img-wrap .reel-pixels {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 4;
}
.hiw-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}

/* ── Icon box ── */
.hiw-icon-box {
  width: 64px; height: 64px;
  border-radius: 16px;
  background: var(--hiw-accent-dim);
  border: 1px solid var(--hiw-accent-border);
  color: var(--hiw-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 28px;
  flex-shrink: 0;
  transition: transform 0.25s ease, background 0.25s ease;
}
.hiw-step-card:hover .hiw-icon-box {
  transform: scale(1.08);
  background: rgba(22,199,192,0.2);
}

/* ── Card text ── */
.hiw-card-title {
  font-family: var(--font-display);
  font-size: 1.18rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 12px;
  line-height: 1.3;
}
.hiw-card-desc {
  color: var(--slate-muted);
  font-size: 0.93rem;
  line-height: 1.8;
  flex: 1;
  margin-bottom: 28px;
}
.hiw-inline-link {
  color: var(--hiw-accent);
  text-decoration: none;
  white-space: nowrap;
}
.hiw-inline-link:hover { text-decoration: underline; }

/* ── Step foot label ── */
.hiw-card-foot {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--hiw-accent);
  background: var(--hiw-accent-dim);
  border: 1px solid var(--hiw-accent-border);
  border-radius: 30px;
  padding: 6px 16px;
  margin-top: auto;
  align-self: flex-start;
}

/* ── CTA ── */
.hiw-cta {
  text-align: center;
  margin-top: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  position: relative;
  z-index: 1;
}
.hiw-btn-secondary {
  border-color: rgba(22,199,192,0.5) !important;
  color: var(--teal) !important;
  border-radius: 50px !important;
  padding: 15px 36px !important;
}
.hiw-btn-secondary:hover {
  background: var(--primary) !important;
  border-color: var(--primary) !important;
  color: #fff !important;
}
.hiw-btn {
  background: var(--primary) !important;
  color: #fff !important;
  font-weight: 700 !important;
  padding: 16px 40px !important;
  border-radius: 50px !important;
  font-size: 1rem;
  box-shadow: 0 8px 26px rgba(22,199,192,0.3);
  border: none !important;
}
.hiw-btn:hover {
  background: var(--primary-dark) !important;
  transform: translateY(-3px);
  box-shadow: 0 14px 36px rgba(22,199,192,0.4) !important;
}

@media (max-width: 768px) {
  .how-it-works { padding: 80px 0; }
  .hiw-steps {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .hiw-steps::before { display: none; }
  .hiw-step-card { padding: 28px 24px; }
  /* Remove stagger on mobile so cards don't pop in sequentially below fold */
  .hiw-step-card:nth-child(1),
  .hiw-step-card:nth-child(2),
  .hiw-step-card:nth-child(3) { transition-delay: 0s; }
}

/* ── Timeline ─────────────────────────────────────────── */
.hiw-timeline {
  max-width: 680px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
}
.hiw-tl-item {
  display: flex;
  gap: 28px;
  align-items: flex-start;
}
.hiw-tl-marker {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex-shrink: 0;
  padding-top: 4px;
}
.hiw-tl-dot {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--primary);
  border: 3px solid #e4eaf4;
  box-shadow: 0 0 0 4px rgba(14,155,150,0.12);
  flex-shrink: 0;
}
.hiw-tl-dot--final {
  background: linear-gradient(135deg, #16C7C0, #0E9B96);
  box-shadow: 0 0 0 5px rgba(22,199,192,0.15);
}
.hiw-tl-line {
  width: 2px;
  flex: 1;
  min-height: 60px;
  background: linear-gradient(to bottom, #e4eaf4, #f0f4fb);
  margin: 8px 0;
}
.hiw-tl-body {
  padding-bottom: 48px;
  flex: 1;
}
.hiw-tl-week {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--primary);
  background: rgba(14,155,150,0.07);
  border: 1px solid rgba(14,155,150,0.12);
  border-radius: 20px;
  padding: 4px 12px;
  margin-bottom: 12px;
}
.hiw-tl-body h3 {
  font-size: 1.08rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 8px;
}
.hiw-tl-body p {
  font-size: 0.93rem;
  color: var(--text-muted);
  line-height: 1.75;
}

/* ── FAQ ──────────────────────────────────────────────── */
.hiw-faq {
  max-width: 760px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.hiw-faq-item {
  border-bottom: 1px solid var(--border);
  padding: 0;
}
.hiw-faq-item:first-child {
  border-top: 1px solid var(--border);
}
.hiw-faq-item summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 4px;
  font-size: 1rem;
  font-weight: 600;
  color: var(--dark);
  user-select: none;
}
.hiw-faq-item summary::-webkit-details-marker { display: none; }
.hiw-faq-item summary::after {
  content: '+';
  font-size: 1.4rem;
  font-weight: 300;
  color: var(--primary);
  transition: transform 0.25s ease;
  flex-shrink: 0;
}
.hiw-faq-item[open] summary::after {
  content: '−';
}
.hiw-faq-item p {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.8;
  padding: 0 4px 22px;
}
.hiw-faq-item p a {
  color: var(--primary);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}



/* ====================================================
   TESTIMONIALS
   ==================================================== */
.testimonials {
  padding: 120px 0;
  background: var(--silver-bg);
}

.testimonials .section-title em {
  font-style: italic;
  color: var(--primary);
}

.overall-rating {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 22px;
}
.stars { font-size: 1.5rem; letter-spacing: 3px; }
.rating-score {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--dark);
}
.rating-source {
  font-size: 0.82rem;
  color: var(--text-muted);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  align-items: start;
}

.testimonial-card {
  background: #f8fafc;
  border-radius: var(--radius);
  padding: 40px 36px;
  border: 1.5px solid #e4eaf4;
  transition: box-shadow 0.25s ease, border-color 0.25s ease;
  position: relative;
}
.testimonial-card:hover {
  box-shadow: 0 12px 40px rgba(14,155,150,0.1);
  border-color: #c7d9f5;
}
.testimonial-card--featured {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
}
.testimonial-card--featured p,
.testimonial-card--featured .t-stars,
.testimonial-card--featured .reviewer { color: rgba(255,255,255,0.85); }
.testimonial-card--featured .reviewer small { color: rgba(255,255,255,0.55); }
.testimonial-card--featured .testimonial-quote { color: rgba(255,255,255,0.2); }
.testimonial-card--featured .testimonial-avatar {
  background: rgba(255,255,255,0.15);
  color: #fff;
  border-color: rgba(255,255,255,0.2);
}

.testimonial-quote {
  font-family: var(--font-display);
  font-size: 5rem;
  line-height: 0.8;
  color: #e4eaf4;
  margin-bottom: 12px;
  font-weight: 900;
}
.t-stars {
  font-size: 0.95rem;
  letter-spacing: 2px;
  margin-bottom: 16px;
}
.testimonial-card p {
  font-size: 0.95rem;
  line-height: 1.78;
  color: var(--text);
  margin-bottom: 28px;
}
.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
}
.testimonial-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--cream-2);
  border: 2px solid #e4eaf4;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--primary);
  flex-shrink: 0;
}
.reviewer {
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--dark);
}
.reviewer small {
  display: block;
  font-size: 0.76rem;
  font-weight: 400;
  color: var(--text-muted);
}

/* ====================================================
   FIND US
   ==================================================== */
/* ====================================================
   CONTACT
   ==================================================== */
.contact-section {
  padding: 100px 0 120px;
  background: var(--silver-bg);
}
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 80px;
  align-items: start;
}

/* Left column */
.contact-info-title {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 2.8vw, 2.1rem);
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 12px;
}
.contact-info-sub {
  color: var(--text-muted);
  font-size: 0.97rem;
  line-height: 1.75;
  margin-bottom: 36px;
}
.contact-info-cards {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 36px;
}
.contact-info-card {
  display: flex;
  align-items: center;
  gap: 16px;
  background: var(--cream);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 18px 22px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.contact-info-card:hover {
  border-color: var(--primary);
  box-shadow: 0 4px 18px rgba(14,155,150,0.1);
}
.contact-info-icon {
  font-size: 1.5rem;
  flex-shrink: 0;
}
.contact-info-card strong {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  margin-bottom: 3px;
}
.contact-info-card a,
.contact-info-card span {
  font-size: 0.96rem;
  color: var(--dark);
  font-weight: 500;
  text-decoration: none;
}
.contact-info-card a:hover { color: var(--primary); }
.contact-reassurance {
  background: color-mix(in srgb, var(--primary), #fff 92%);
  border-left: 3px solid var(--primary);
  border-radius: 0 12px 12px 0;
  padding: 16px 20px;
}
.contact-reassurance p {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin: 0;
}

/* Right column — form */
.contact-form-wrap {
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: 20px;
  padding: 44px 40px;
  box-shadow: var(--shadow);
}
.contact-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.contact-form-group {
  display: flex;
  flex-direction: column;
  gap: 7px;
  margin-bottom: 20px;
}
.contact-form-group label {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--dark);
  letter-spacing: 0.01em;
}
.contact-form-group input,
.contact-form-group select,
.contact-form-group textarea {
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--dark);
  background: var(--cream);
  border: 1.5px solid var(--border);
  border-radius: 10px;
  padding: 12px 16px;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  resize: none;
  width: 100%;
  box-sizing: border-box;
}
.contact-form-group input::placeholder,
.contact-form-group textarea::placeholder {
  color: var(--text-muted);
  opacity: 0.7;
}
.contact-form-group input:focus,
.contact-form-group select:focus,
.contact-form-group textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(14,155,150,0.1);
  background: var(--white);
}
.contact-form-group select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%239ca3af' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 40px;
  cursor: pointer;
}
.contact-submit {
  width: 100%;
  justify-content: center;
  font-size: 1rem;
  padding: 15px 28px;
  margin-top: 4px;
}

@media (max-width: 900px) {
  .contact-grid { grid-template-columns: 1fr; gap: 48px; }
  .contact-form-wrap { padding: 32px 24px; }
}
@media (max-width: 560px) {
  .contact-form-row { grid-template-columns: 1fr; }
}

/* ====================================================
   FOOTER
   ==================================================== */
.footer {
  background: linear-gradient(135deg, #1B2630 0%, #0B1117 100%);
  color: rgba(255,255,255,0.74);
  padding: 80px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 56px;
  border-bottom: 1px solid rgba(255,255,255,0.10);
}

.footer-logo {
  display: block;
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 900;
  color: var(--white);
  letter-spacing: 0.06em;
  margin-bottom: 18px;
}
.footer-logo-link {
  display: inline-block;
  margin-bottom: 18px;
}
.footer-logo-img {
  height: clamp(40px, 5vw, 56px);
  width: auto;
  display: block;
}
.footer-brand p {
  font-size: 0.9rem;
  line-height: 1.75;
  margin-bottom: 28px;
}

.social-links {
  display: flex;
  gap: 10px;
}
.social-links a {
  width: 40px; height: 40px;
  background: rgba(255,255,255,0.08);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  transition: var(--transition);
}
.social-links a:hover {
  background: #fff;
  color: var(--teal-mid);
  transform: translateY(-3px);
}

.footer-col h4 {
  color: var(--white);
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 22px;
  font-family: var(--font-body);
}
.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.footer-col li {
  font-size: 0.9rem;
  line-height: 1;
}
.footer-col a:hover { color: var(--white); }

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 0;
  font-size: 0.8rem;
  flex-wrap: wrap;
  gap: 8px;
}

/* ====================================================
   HERO REEL — 3-D "around the world" marquee banner
   Sits inside .hero at the bottom, bleeds edge-to-edge
   ==================================================== */
.hero-reel {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  /* soft scrim so the background keeps showing through behind the reel */
  padding-top: 64px;
  background: linear-gradient(180deg, transparent 0%, rgba(4, 10, 24, 0.28) 55%, rgba(4, 10, 24, 0.55) 100%);
  z-index: 5;
  pointer-events: none; /* let scroll-arrow clicks pass through */
}

/* Hero info bar — shows active card name */
.hero-info { text-align: center; margin-bottom: 12px; pointer-events: none; }
.hero-info-inner { display: inline-block; padding: 6px 16px; border-radius: 100px; font-size: 0.68rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: rgba(79, 201, 195, 0.95); background: rgba(0, 0, 0, 0.38); border: 1px solid rgba(255, 255, 255, 0.08); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); transition: opacity 0.4s ease; }

/* Reel stage — positioning context so arrows can flank the centred reel */
.reel-stage { position: relative; }

/* Prev / next arrows */
.reel-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 6;
  width: 46px; height: 46px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.38);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(79, 201, 195, 0.95);
  cursor: pointer;
  pointer-events: all;
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  transition: background 0.25s ease, transform 0.25s ease, color 0.25s ease;
}
.reel-arrow:hover { background: rgba(0, 0, 0, 0.6); color: #fff; }
.reel-arrow:active { transform: translateY(-50%) scale(0.92); }
.reel-arrow svg { width: 24px; height: 24px; }
.reel-arrow--prev { left: calc(50% - 372px); }
.reel-arrow--next { right: calc(50% - 372px); }
/* On tablet & below, hide arrows — users swipe the reel instead */
@media (max-width: 1024px) { .reel-arrow { display: none; } }

/* Reel wrap — JS-driven slide */
.reel-wrap { overflow: hidden; padding: 4px 0; pointer-events: all; max-width: 680px; margin: 0 auto; touch-action: pan-y; -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 24%, #000 76%, transparent 100%); mask-image: linear-gradient(90deg, transparent 0%, #000 24%, #000 76%, transparent 100%); }
.reel-track { display: flex; gap: 0; transition: transform 1.1s cubic-bezier(0.4,0,0.2,1); will-change: transform; }
.reel-track.instant { transition: none !important; }
.reel-track.instant .reel-card { transition: none !important; }

/* Reel cards */
/* Coverflow: side cards hinge back in 3D, focused card sits flat & sharp */
.reel-card { flex: 0 0 190px; margin: 0 -14px; border-radius: 10px; overflow: hidden; border: 1.5px solid rgba(255,255,255,0.09); cursor: pointer; transition: border-color 0.5s ease, transform 0.75s cubic-bezier(0.22,1,0.36,1), box-shadow 0.6s ease, opacity 0.6s ease, filter 0.6s ease; flex-shrink: 0; transform-origin: center center; opacity: 0.5; }

/* Far cards — deep in the stack, hinged hard and dimmed back */
.reel-card:has(~ .reel-card.active) { transform: perspective(1300px) translateZ(-90px) rotateY(42deg) scale(0.82); transform-origin: right center; opacity: 0.32; filter: brightness(0.55) saturate(0.9); }
.reel-card.active ~ .reel-card        { transform: perspective(1300px) translateZ(-90px) rotateY(-42deg) scale(0.82); transform-origin: left center;  opacity: 0.32; filter: brightness(0.55) saturate(0.9); }

/* Immediate neighbours — prominent, gently angled, sitting just behind the focus */
.reel-card:has(+ .reel-card.active) { transform: perspective(1300px) translateZ(-30px) rotateY(30deg) scale(0.9); transform-origin: right center; opacity: 0.72; filter: brightness(0.82); z-index: 2; }
.reel-card.active + .reel-card       { transform: perspective(1300px) translateZ(-30px) rotateY(-30deg) scale(0.9); transform-origin: left center;  opacity: 0.72; filter: brightness(0.82); z-index: 2; }

/* the focused card — flat, full size, lifted toward the viewer */
.reel-card.active { border-color: var(--accent, #5FE9E2) !important; box-shadow: 0 0 0 1px var(--accent, #5FE9E2), 0 26px 60px rgba(0,0,0,0.65), 0 0 40px -8px var(--accent, #5FE9E2) !important; transform: perspective(1300px) translateZ(60px) rotateY(0deg) scale(1) !important; transform-origin: center center; opacity: 1 !important; filter: none !important; position: relative; z-index: 3; cursor: pointer; }
.reel-card:not(.active):hover { opacity: 0.92 !important; filter: brightness(0.98) !important; }

/* Reel card chrome */
.reel-bar { background: #0E1419; border-bottom: 1px solid rgba(255,255,255,0.07); padding: 6px 10px; display: flex; align-items: center; gap: 7px; }
.reel-dots { display: flex; gap: 3px; }
.reel-dots i { width: 7px; height: 7px; border-radius: 50%; display: block; }
.reel-dots i:nth-child(1) { background: #ff5f57; }
.reel-dots i:nth-child(2) { background: #febc2e; }
.reel-dots i:nth-child(3) { background: #28c840; }
.reel-url { font-size: 0.58rem; color: rgba(255,255,255,0.28); font-family: monospace; background: rgba(255,255,255,0.05); border-radius: 4px; padding: 2px 7px; flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.reel-body { position: relative; aspect-ratio: 16/10; overflow: hidden; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 5px; }
/* Pixel-grid hover overlay (drawn by script.js) */
.reel-pixels { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 4; }
.reel-body img:not(.reel-ph-logo) { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.reel-ph-icon { font-size: 1.5rem; opacity: 0.55; }
.reel-ph-logo { width: 48px; height: auto; opacity: 0.25; filter: brightness(0) invert(1); }
.reel-ph-text { display: inline-block; font-size: 0.58rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.13em; color: var(--teal); background: rgba(22,199,192,0.15); border: 1px solid rgba(22,199,192,0.4); border-radius: 100px; padding: 3px 10px; }
.reel-foot { display: flex; flex-wrap: wrap; gap: 4px; padding: 5px 8px; background: rgba(0,0,0,0.3); }
.reel-tag { font-size: 0.52rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; background: rgba(95,233,226,0.12); color: #5FE9E2; border-radius: 20px; padding: 2px 7px; }
.reel-ind { font-size: 0.58rem; color: rgba(255,255,255,0.32); font-weight: 500; }
.reel-pages { font-size: 0.5rem; font-weight: 700; letter-spacing: 0.07em; text-transform: uppercase; background: rgba(22,199,192,0.12); color: #5FE9E2; border: 1px solid rgba(22,199,192,0.3); border-radius: 20px; padding: 2px 6px; }

/* Progress dots */
.progress { display: flex; align-items: center; justify-content: center; gap: 6px; margin-top: 12px; pointer-events: all; }
.prog-dot { width: 5px; height: 5px; border-radius: 50%; background: rgba(255,255,255,0.18); transition: background 0.5s ease, width 0.3s ease; cursor: pointer; }
.prog-dot.active { width: 18px; border-radius: 3px; background: var(--dot-accent, rgba(255,255,255,0.7)); }

/* Reel hint */
.reel-hint { text-align: center; margin-top: 8px; padding-bottom: 12px; font-size: 0.62rem; color: rgba(255,255,255,0.2); letter-spacing: 0.05em; height: 28px; transition: opacity 0.4s ease; pointer-events: none; }

@media (prefers-reduced-motion: reduce) {
  .reel-track { transition: none; }
}

/* ====================================================
   WORK SHOWCASE / VIDEO CAROUSEL
   ==================================================== */
.showcase {
  padding: 110px 0 80px;
  background: linear-gradient(160deg, #1B2630 0%, #0E2A2C 50%, #1B2630 100%);
  overflow: hidden;
}
.showcase-label { color: #5FE9E2; }
.showcase-title { color: #fff; }
.showcase-title em {
  font-style: italic;
  background: linear-gradient(90deg, #5FE9E2, #C7CDD2);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.showcase-sub { color: rgba(255,255,255,0.45); }

/* Track wrapper */
.showcase-outer {
  display: flex;
  align-items: center;
  gap: 0;
  margin-top: 56px;
  position: relative;
}
.showcase-track-wrap {
  flex: 1;
  overflow: hidden;
  padding: 12px 0 16px;
}
.showcase-track {
  display: flex;
  gap: 24px;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform;
}

/* Nav buttons */
.showcase-nav {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1.5px solid rgba(255,255,255,0.14);
  background: rgba(255,255,255,0.06);
  color: rgba(255,255,255,0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s;
  position: relative;
  z-index: 2;
  margin: 0 16px;
}
.showcase-nav:hover {
  background: rgba(255,255,255,0.14);
  border-color: rgba(95,233,226,0.5);
  color: #fff;
}
.showcase-nav:disabled {
  opacity: 0.3;
  cursor: not-allowed;
}

/* Individual card */
.showcase-card {
  flex: 0 0 calc(33.333% - 16px);
  min-width: 0;
}

/* Clickable showcase card (with compare popup) */
.showcase-card.portfolio-card { cursor: pointer; }

.showcase-card-clickable { position: relative; }

.showcase-compare-hint {
  position: absolute;
  bottom: 12px;
  left: 50%;
  transform: translateX(-50%) translateY(6px);
  background: rgba(8, 16, 36, 0.82);
  color: #5FE9E2;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 20px;
  display: flex;
  align-items: center;
  gap: 6px;
  border: 1px solid rgba(147, 197, 253, 0.3);
  opacity: 0;
  transition: opacity 0.22s, transform 0.22s;
  pointer-events: none;
  white-space: nowrap;
}
.showcase-card.portfolio-card:hover .showcase-compare-hint {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

.showcase-browser {
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.1);
  box-shadow: 0 20px 60px rgba(0,0,0,0.5);
  background: #1e293b;
  transition: border-color 0.25s, box-shadow 0.25s;
}
.showcase-card:hover .showcase-browser {
  border-color: rgba(95,233,226,0.35);
  box-shadow: 0 24px 70px rgba(0,0,0,0.6), 0 0 0 1px rgba(95,233,226,0.15);
}

/* Browser chrome bar */
.showcase-browser-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  background: #0E1419;
  border-bottom: 1px solid rgba(255,255,255,0.07);
}
.showcase-browser-dots {
  display: flex;
  gap: 5px;
  flex-shrink: 0;
}
.showcase-browser-dots i {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  display: block;
}
.showcase-browser-dots i:nth-child(1) { background: #ff5f57; }
.showcase-browser-dots i:nth-child(2) { background: #febc2e; }
.showcase-browser-dots i:nth-child(3) { background: #28c840; }
.showcase-browser-url {
  flex: 1;
  font-size: 0.72rem;
  color: rgba(255,255,255,0.35);
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 6px;
  padding: 4px 10px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  font-family: monospace;
}

/* Browser body — where the video or placeholder lives */
.showcase-browser-body {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
}
.showcase-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
/* Hide video element if it has no source (no src attribute set) */
.showcase-video:not([src]):not(:has(source)) { display: none; }

/* ── Showcase screenshot scroll animation ── */
.showcase-browser-body img {
  width: 100%;
  display: block;
  object-fit: cover;
  object-position: top;
  animation: showcaseScroll 7s ease-in-out infinite alternate;
}

@keyframes showcaseScroll {
  from { transform: translateY(0); }
  to   { transform: translateY(-55%); }
}

.hero-reel-card .showcase-browser-body img {
  animation-duration: 9s;
}

/* Placeholder */
.showcase-placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
}
.showcase-ph-icon { font-size: 2.2rem; opacity: 0.5; }
.showcase-placeholder p {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255,255,255,0.4);
  margin: 0;
}

/* Placeholder gradient tints per card */
.showcase-ph-1 { background: linear-gradient(135deg, #0E1419 0%, #0A6E6A 100%); }
.showcase-ph-2 { background: linear-gradient(135deg, #0E1419 0%, #0A6E6A 100%); }
.showcase-ph-3 { background: linear-gradient(135deg, #0d2a1a 0%, #065f46 100%); }
.showcase-ph-4 { background: linear-gradient(135deg, #1f0d1a 0%, #831843 100%); }
.showcase-ph-5 { background: linear-gradient(135deg, #1a1a0d 0%, #713f12 100%); }

/* Card info strip below browser */
.showcase-card-info {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 14px;
  padding: 0 2px;
}
.showcase-type-tag {
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  background: rgba(95,233,226,0.12);
  color: #5FE9E2;
  border-radius: 20px;
  padding: 3px 11px;
}
.showcase-type-tag.showcase-type-dynamic {
  background: rgba(127,227,228,0.12);
  color: #C7CDD2;
}
.showcase-industry {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.4);
  font-weight: 500;
}

/* Dot pagination */
.showcase-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 36px;
}
.showcase-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: none;
  background: rgba(255,255,255,0.2);
  cursor: pointer;
  padding: 0;
  transition: background 0.2s, transform 0.2s;
}
.showcase-dot.active {
  background: #5FE9E2;
  transform: scale(1.3);
}

@media (max-width: 960px) {
  .showcase-card { flex: 0 0 calc(50% - 12px); }
}
@media (max-width: 600px) {
  .showcase-card { flex: 0 0 100%; }
  .showcase-nav { margin: 0 8px; }
}

/* Portfolio section header */
.portfolio-section-header {
  text-align: center;
  margin-bottom: 40px;
}
.portfolio-section-title {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 8px;
}
.portfolio-section-sub {
  color: var(--text-muted);
  font-size: 0.95rem;
}
.portfolio-cta-label {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #5FE9E2;
  margin-bottom: 10px;
}

/* ====================================================
   PORTFOLIO
   ==================================================== */
.portfolio-section {
  padding: 80px 0 100px;
}

.portfolio-filters {
  display: flex;
  gap: 10px;
  margin-bottom: 48px;
  flex-wrap: wrap;
  justify-content: center;
}
.portfolio-filter-btn {
  padding: 9px 22px;
  border-radius: 50px;
  border: 1.5px solid var(--border);
  background: transparent;
  color: var(--text-muted);
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  font-family: var(--font-body);
  transition: var(--transition);
}
.portfolio-filter-btn:hover {
  border-color: var(--primary);
  color: var(--primary);
}
.portfolio-filter-btn.active {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-bottom: 60px;
}
.portfolio-card {
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--white);
  overflow: hidden;
  transition: var(--transition);
}
.portfolio-card:hover {
  box-shadow: 0 8px 32px rgba(14,155,150,0.18);
  border-color: var(--primary);
}
.portfolio-card.hidden { display: none; }

/* Preview area — real screenshot or placeholder */
.portfolio-card-preview {
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--cream);
}
.portfolio-card-preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}
.portfolio-card:hover .portfolio-card-preview img {
  transform: scale(1.04);
}

/* Placeholder state */
.portfolio-preview-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: linear-gradient(135deg, #f1f5f9 0%, #e2e8f0 100%);
}
.portfolio-preview-icon { font-size: 2.4rem; opacity: 0.4; }
.portfolio-preview-label {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.portfolio-card-body { padding: 22px 24px 24px; }

.portfolio-card-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
}
.portfolio-type-tag {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  background: color-mix(in srgb, var(--primary), #fff 85%);
  color: var(--primary);
  border-radius: 20px;
  padding: 3px 11px;
}
.portfolio-type-tag.portfolio-type-dynamic {
  background: color-mix(in srgb, #0891b2, #fff 85%);
  color: #0891b2;
}
.portfolio-industry {
  font-size: 0.78rem;
  color: var(--text-muted);
  font-weight: 500;
}
.portfolio-card-body h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 8px;
}
.portfolio-card-body p {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 16px;
}
.portfolio-card-footer {
  display: flex;
  align-items: center;
  gap: 12px;
}
.portfolio-live-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--primary);
  text-decoration: none;
  transition: var(--transition);
}
.portfolio-live-btn:hover { opacity: 0.75; }
.portfolio-coming-soon {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-muted);
  background: var(--cream);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 3px 12px;
}
.portfolio-delivered-badge {
  font-size: 0.78rem;
  font-weight: 600;
  color: #15803d;
  background: #dcfce7;
  border: 1px solid #bbf7d0;
  border-radius: 20px;
  padding: 3px 12px;
  letter-spacing: 0.02em;
}
.portfolio-live-badge {
  font-size: 0.78rem;
  font-weight: 600;
  color: #0E9B96;
  background: #D6F1F2;
  border: 1px solid #A0D8D9;
  border-radius: 20px;
  padding: 3px 12px;
  letter-spacing: 0.02em;
}

/* Empty state */
.portfolio-empty {
  text-align: center;
  padding: 60px 24px;
  background: var(--cream);
  border-radius: var(--radius);
  display: none; /* shown via JS when all cards are placeholders */
}
.portfolio-empty-icon { font-size: 3rem; margin-bottom: 16px; }
.portfolio-empty h2 {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 10px;
}
.portfolio-empty p {
  color: var(--text-muted);
  max-width: 440px;
  margin: 0 auto 28px;
  line-height: 1.7;
}

/* CTA strip */
.portfolio-cta {
  background: linear-gradient(150deg, #1B2630 0%, #1B2630 45%, #0A6E6A 100%);
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}
.portfolio-cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}
.portfolio-cta-inner h2 {
  font-size: 1.9rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 6px;
  font-family: var(--font-display);
}
.portfolio-cta-inner p {
  color: rgba(255,255,255,0.75);
  font-size: 1rem;
}

@media (max-width: 900px) {
  .portfolio-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .portfolio-grid { grid-template-columns: 1fr; }
  .portfolio-cta-inner { flex-direction: column; text-align: center; }
}

/* ====================================================
   SCROLL FADE-IN ANIMATIONS
   ==================================================== */
.fade-in {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ====================================================
   RESPONSIVE
   ==================================================== */
@media (max-width: 1024px) {
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .menu-grid     { grid-template-columns: repeat(2, 1fr); }
  .footer-grid   { grid-template-columns: 1fr 1fr; }
  .about-grid    { gap: 48px; }
  .hero-content  { max-width: 560px; }
}

@media (max-width: 900px) {
  /* Centre logo, hamburger stays right */
  .nav-container {
    position: relative;
    justify-content: flex-end;
  }
  .nav-logo {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
  }
  /* 768–900px: full logo centred */
  .logo-full { display: block; height: 44px; width: auto; }
  .logo-mark { display: none; }

  /* Mobile Nav */
  .nav-toggle { display: flex; position: relative; z-index: 1001; }
  .nav-menu {
    position: fixed;
    inset: 0;
    background: rgba(20,20,20,0.98);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 28px;
    transform: translateX(100%);
    transition: transform 0.38s cubic-bezier(0.4,0,0.2,1);
    z-index: 1000;
  }
  .nav-menu.open { transform: translateX(0); }
  .nav-link { font-size: 1.25rem; }

  /* Sections */
  .about-grid    { grid-template-columns: 1fr; }

  .features-grid     { grid-template-columns: repeat(2, 1fr); }
  .menu-grid         { grid-template-columns: 1fr; }
  .order-grid        { grid-template-columns: 1fr; }
  .testimonials-grid { grid-template-columns: 1fr; }

  .hero-badges { flex-direction: column; gap: 12px; }
  .hero-badge-divider { width: 40px; height: 1px; }
  .hero-pizza-emoji { font-size: 10rem; opacity: 0.15; }
  .hero-decor { right: -100px; }
}

@media (max-width: 560px) {
  .features-grid { grid-template-columns: 1fr; }
  .footer-grid   { grid-template-columns: 1fr; }
  .hero-content  { padding: 0 16px; }
  .hero-title    { font-size: 1.7rem; margin-bottom: 12px; }
  .hero-decor    { display: none; }
}

@media (max-width: 480px) {
  /* Phone: swap to monogram, still centred */
  .logo-full { display: none; }
  .logo-mark { display: block; height: 36px; width: auto; }
}

/* ====================================================
   CARD ACTIONS
   ==================================================== */
.card-actions {
  display: flex;
  gap: 10px;
  margin-top: 18px;
  flex-wrap: wrap;
}
.btn-sm {
  font-size: 0.85rem !important;
  padding: 9px 18px !important;
}
.read-more-btn {
  display: inline-flex;
  align-items: center;
  font-size: 0.85rem;
  font-weight: 600;
  padding: 9px 18px;
  border-radius: var(--radius);
  border: 1.5px solid var(--primary);
  background: transparent;
  color: var(--primary);
  cursor: pointer;
  font-family: var(--font-body);
  transition: var(--transition);
}
.read-more-btn:hover {
  background: var(--primary);
  color: #fff;
}

/* ====================================================
   SERVICE MODAL
   ==================================================== */
.service-modal {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
  overflow-y: auto;
}
.service-modal.open {
  opacity: 1;
  pointer-events: all;
}
.service-modal-overlay {
  position: absolute;
  inset: 0;
  background: rgba(10, 20, 40, 0.7);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.service-modal-box {
  position: relative;
  background: var(--white);
  border-radius: 24px;
  padding: 44px 36px 36px;
  max-width: 540px;
  width: 100%;
  box-shadow: 0 40px 100px rgba(0,0,0,0.35);
  transform: translateY(28px) scale(0.98);
  transition: transform 0.28s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.25s ease;
  z-index: 1;
  margin: auto;
}
.service-modal.open .service-modal-box {
  transform: translateY(0) scale(1);
}
.service-modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: none;
  background: #f1f5f9;
  color: var(--text-muted);
  font-size: 1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}
.service-modal-close:hover {
  background: #e2e8f0;
  color: var(--dark);
}

/* Modal header row */
.service-modal-header {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  margin-bottom: 20px;
}
.service-modal-icon {
  font-size: 2.6rem;
  flex-shrink: 0;
  width: 64px;
  height: 64px;
  background: #f1f5f9;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.service-modal-tag {
  display: inline-block;
  font-size: 0.67rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  background: var(--primary);
  color: #fff;
  border-radius: 20px;
  padding: 4px 12px;
  margin-bottom: 8px;
}
.service-modal-title {
  font-size: 1.45rem;
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 4px;
  line-height: 1.25;
}
.service-modal-price {
  display: inline-block;
  font-size: 1rem;
  font-weight: 800;
  color: var(--primary);
  background: #EBF9FA;
  border: 1.5px solid #A0D8D9;
  border-radius: 50px;
  padding: 3px 14px;
  margin-top: 6px;
}

/* Description */
.service-modal-desc {
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 14px;
  font-size: 0.88rem;
  border-left: 3px solid #e2e8f0;
  padding-left: 12px;
}

/* Deal / discount banner */
.service-modal-deal {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
  border: 1.5px solid #f59e0b;
  border-radius: 12px;
  padding: 12px 14px;
  margin-bottom: 16px;
  font-size: 0.84rem;
  font-weight: 600;
  color: #78350f;
  line-height: 1.5;
}
.service-modal-deal:empty { display: none; margin: 0; }
.service-modal-deal-icon { font-size: 1.1rem; flex-shrink: 0; margin-top: 1px; }

/* Meta pills (ideal for / turnaround) */
.service-modal-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 14px;
}
.service-modal-meta:empty { display: none; }
.meta-pill {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 50px;
  padding: 5px 14px;
  font-size: 0.78rem;
  font-weight: 600;
  color: #475569;
  display: flex;
  align-items: center;
  gap: 6px;
}

/* Section label */
.service-modal-section-label {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  margin-bottom: 8px;
}

/* Features list */
.service-modal-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-bottom: 28px;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  overflow: hidden;
}
.service-modal-features li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.86rem;
  font-weight: 500;
  color: var(--text);
  padding: 9px 14px;
  border-bottom: 1px solid #f1f5f9;
}
.service-modal-features li:last-child { border-bottom: none; }
.service-modal-features li:nth-child(even) { background: #f8fafc; }
.service-modal-features li::before {
  content: '✓';
  color: #22c55e;
  font-weight: 800;
  flex-shrink: 0;
  margin-top: 1px;
  font-size: 0.85rem;
}
.service-modal-features li.feat-bonus::before   { content: '★'; color: var(--primary); }
.service-modal-features li.feat-priority::before { content: '⚡'; }
.service-modal-features li.feat-backend::before  { content: '⚙'; color: #505558; }

/* Note / disclaimer */
.service-modal-note {
  font-size: 0.76rem;
  color: var(--text-muted);
  margin-bottom: 20px;
  line-height: 1.55;
}
.service-modal-note:empty { display: none; margin: 0; }

/* Actions */
.service-modal-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}
.service-modal-close-link {
  background: none;
  border: none;
  font-family: var(--font-body);
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-muted);
  cursor: pointer;
  padding: 0;
  transition: color 0.2s;
}
.service-modal-close-link:hover { color: var(--dark); }

@media (max-width: 480px) {
  .service-modal-box { padding: 40px 20px 32px; }
  .service-modal-header { flex-direction: column; gap: 12px; }
  .service-modal-actions { flex-direction: column; align-items: stretch; }
  .service-modal-close-link { text-align: center; }
}

/* ====================================================
   PORTFOLIO SCREENSHOT SLIDESHOW MODAL
   ==================================================== */

/* Card hover overlay — only visible on cards with data-slides */
.portfolio-card-preview { position: relative; }

.portfolio-card-overlay {
  position: absolute;
  inset: 0;
  background: rgba(8, 18, 42, 0.6);
  backdrop-filter: blur(3px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.28s ease;
  border-radius: 0;
}
.portfolio-card[data-slides] { cursor: pointer; }
.portfolio-card[data-slides]:hover .portfolio-card-overlay { opacity: 1; }

.portfolio-card-overlay-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: rgba(255, 255, 255, 0.94);
  color: var(--primary);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  padding: 9px 20px;
  border-radius: 50px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.25);
  transform: translateY(6px);
  transition: transform 0.28s ease;
}
.portfolio-card[data-slides]:hover .portfolio-card-overlay-btn {
  transform: translateY(0);
}

/* ---- Reel card popup ---- */
.reel-popup-overlay {
  position: fixed;
  inset: 0;
  z-index: 8500;
  background: rgba(5, 10, 22, 0.82);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}
.reel-popup-overlay.open {
  opacity: 1;
  pointer-events: all;
}
.reel-popup {
  position: relative;
  background: #0e1a2e;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 16px;
  width: 90%;
  max-width: 480px;
  overflow: hidden;
  transform: translateY(18px) scale(0.97);
  transition: transform 0.28s cubic-bezier(0.34,1.5,0.64,1);
  box-shadow: 0 32px 80px rgba(0,0,0,0.55);
}
.reel-popup-overlay.open .reel-popup {
  transform: translateY(0) scale(1);
}
.reel-popup-close {
  position: absolute;
  top: 12px; right: 12px;
  z-index: 2;
  background: rgba(255,255,255,0.08);
  border: none;
  border-radius: 50%;
  width: 32px; height: 32px;
  display: flex; align-items: center; justify-content: center;
  color: #fff;
  cursor: pointer;
  transition: background 0.2s;
}
.reel-popup-close:hover { background: rgba(255,255,255,0.16); }
.reel-popup-img-wrap {
  width: 100%;
  height: 200px;
  overflow: hidden;
  background: #0a1220;
  position: relative;
}
.reel-popup-img-wrap img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: top;
  display: block;
}
.reel-popup-img-fallback {
  position: absolute;
  inset: 0;
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  background: linear-gradient(135deg, #0a1220, #0d1f3c);
}
.reel-popup-img-fallback img {
  width: 64px;
  height: auto;
  object-fit: unset;
  opacity: 0.25;
  filter: brightness(0) invert(1);
  animation: logoBgPulse 3.5s ease-in-out infinite;
}
.reel-popup-img-fallback span {
  font-family: 'Inter', sans-serif;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--teal);
  opacity: 0.8;
}
.reel-popup-body {
  padding: 20px 24px 28px;
}
.reel-popup-meta {
  display: flex;
  gap: 8px;
  margin-bottom: 10px;
}
.reel-popup-tag {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background: rgba(22,199,192,0.18);
  color: #a5b4fc;
  padding: 3px 10px;
  border-radius: 20px;
  border: 1px solid rgba(22,199,192,0.25);
}
.reel-popup-ind {
  font-size: 0.7rem;
  font-weight: 500;
  color: var(--text-muted);
  background: rgba(255,255,255,0.05);
  padding: 3px 10px;
  border-radius: 20px;
  border: 1px solid rgba(255,255,255,0.08);
}
.reel-popup-pages {
  font-size: 0.7rem;
  font-weight: 600;
  color: #5FE9E2;
  background: rgba(22,199,192,0.1);
  padding: 3px 10px;
  border-radius: 20px;
  border: 1px solid rgba(22,199,192,0.3);
}
.reel-popup-name {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
  color: #fff;
  margin: 0 0 4px;
}
.reel-popup-url {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin: 0 0 14px;
}
.reel-popup-desc {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.65);
  line-height: 1.65;
  margin: 0 0 22px;
}
.reel-popup-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 6px;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  padding: 11px 22px;
  background: var(--teal);
  color: #fff;
  border-radius: 10px;
  border: none;
  transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
  box-shadow: 0 4px 18px rgba(22,199,192,0.3);
  text-decoration: none;
}
.reel-popup-btn:hover {
  background: var(--teal-mid);
  transform: translateY(-1px);
  box-shadow: 0 6px 24px rgba(22,199,192,0.45);
  color: #fff;
}

/* Modal overlay */
.pf-modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 9000;
  background: rgba(5, 10, 22, 0.9);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}
.pf-modal-overlay.open {
  opacity: 1;
  pointer-events: all;
}

/* Modal box */
.pf-modal {
  background: #0c1526;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 18px;
  width: 100%;
  max-width: 1020px;
  height: min(88vh, 760px);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transform: scale(0.93) translateY(20px);
  transition: transform 0.38s cubic-bezier(0.34, 1.36, 0.64, 1);
  box-shadow: 0 48px 120px rgba(0, 0, 0, 0.7), 0 0 0 1px rgba(255,255,255,0.05);
}
.pf-modal-overlay.open .pf-modal {
  transform: scale(1) translateY(0);
}

/* Header */
.pf-modal-header {
  display: flex;
  flex-direction: column;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  flex-shrink: 0;
}
.pf-modal-header-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px;
  gap: 12px;
}
.pf-modal-info {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

/* Compare slider bar (inside header, hidden by default) */
.pf-compare-bar {
  display: none;
  align-items: center;
  gap: 14px;
  padding: 9px 20px 13px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}
.pf-compare-bar.active { display: flex; }
.pf-compare-bar-lbl {
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  flex-shrink: 0;
  min-width: 38px;
}
.pf-lbl-before { color: #94a3b8; text-align: right; }
.pf-lbl-after  { color: #a5b4fc; text-align: left; }
.pf-compare-track {
  flex: 1;
  height: 5px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 3px;
  position: relative;
  cursor: ew-resize;
  margin: 10px 0;
}
.pf-compare-fill {
  position: absolute;
  top: 0; left: 0;
  height: 100%;
  width: 50%;
  background: linear-gradient(to right, rgba(148,163,184,0.55), rgba(165,180,252,0.75));
  border-radius: 3px;
  pointer-events: none;
  transition: width 0.05s linear;
}
.pf-compare-thumb {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #fff;
  border: none;
  cursor: ew-resize;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.45);
  color: #0c1526;
  padding: 0;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.pf-compare-thumb:hover {
  transform: translate(-50%, -50%) scale(1.18);
  box-shadow: 0 3px 16px rgba(0, 0, 0, 0.6);
}

/* Compare content (inside each slide) */
.pf-compare-content {
  position: relative;
  width: 100%;
  user-select: none;
  -webkit-user-select: none;
  cursor: ew-resize;
}
/* Invisible spacer — height set by JS to max(beforeHeight, afterHeight) */
.pf-compare-spacer {
  display: block;
  width: 100%;
}
/* Both images absolutely stacked from top */
.pf-compare-img-after {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  display: block;
}
.pf-compare-img-before {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  display: block;
  clip-path: inset(0 70% 0 0); /* 30% before / 70% after on open */
}
/* End-of-image marker — shown where the shorter image naturally ends */
/* Each marker is confined to its own side of the divider */
.pf-img-end {
  position: absolute;
  display: none;
  align-items: center;
  gap: 12px;
  pointer-events: none;
  z-index: 6;
  transform: translateY(-50%);
}
.pf-img-end.active       { display: flex; }
/* left/right boundaries are set dynamically by JS (setDivider) */
.pf-img-end-before       { left: 0;   right: 70%; padding: 0 12px 0 16px; } /* default: pct=30 */
.pf-img-end-after        { left: 30%; right: 0;   padding: 0 16px 0 12px; } /* default: pct=30 */
/* Lines — solid 1 px, gradient in the matching brand colour */
.pf-img-end::before,
.pf-img-end::after        { content: ''; flex: 1; height: 1px; }
.pf-img-end-before::before,
.pf-img-end-before::after { background: linear-gradient(90deg, rgba(148,163,184,0.10), rgba(148,163,184,0.40)); }
.pf-img-end-after::before,
.pf-img-end-after::after  { background: linear-gradient(90deg, rgba(22,199,192,0.40), rgba(22,199,192,0.10)); }
/* Badge pill */
.pf-img-end span {
  flex-shrink: 0;
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  white-space: nowrap;
  background: rgba(6,13,28,0.92);
  padding: 5px 14px;
  border-radius: 20px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.pf-img-end-before span {
  color: #94a3b8;
  border: 1px solid rgba(148,163,184,0.38);
  box-shadow: 0 0 14px rgba(148,163,184,0.14), inset 0 0 0 0 transparent;
}
.pf-img-end-after span {
  color: #5FE9E2;
  border: 1px solid rgba(95,233,226,0.38);
  box-shadow: 0 0 14px rgba(95,233,226,0.20), inset 0 0 0 0 transparent;
}
.pf-compare-divider {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 3px;
  background: #fff;
  transform: translateX(-50%);
  pointer-events: none;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.55), 0 0 0 1px rgba(255,255,255,0.3);
}
/* Small handle grip on the divider line */
.pf-compare-divider::after {
  content: '';
  position: sticky;
  top: 44px;
  display: block;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 2px 12px rgba(0,0,0,0.45);
  margin-left: -17px;
  margin-top: 0;
}
.pf-compare-label {
  position: absolute;
  top: 14px;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 4px 11px;
  border-radius: 20px;
  background: rgba(0, 0, 0, 0.52);
  color: #fff;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  pointer-events: none;
  z-index: 5;
}
.pf-compare-label-before { left: 14px; }
.pf-compare-label-after  { right: 14px; }

/* End-of-page marker — appears at the very bottom of each slide */
.pf-page-end {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 20px 24px 24px;
  color: rgba(255, 255, 255, 0.28);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-family: var(--font-body);
}
.pf-page-end::before,
.pf-page-end::after {
  content: '';
  flex: 1;
  height: 1px;
  background: rgba(255, 255, 255, 0.1);
}
.pf-modal-tag {
  flex-shrink: 0;
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  background: rgba(99, 102, 241, 0.18);
  color: #a5b4fc;
  border-radius: 20px;
  padding: 3px 11px;
}
.pf-modal-title {
  font-size: 0.98rem;
  font-weight: 700;
  color: #fff;
  margin: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  font-family: var(--font-body);
}
.pf-modal-close {
  flex-shrink: 0;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.75);
  width: 34px;
  height: 34px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, color 0.2s;
}
.pf-modal-close:hover {
  background: rgba(255, 255, 255, 0.18);
  color: #fff;
}

/* Stage: arrow + slides + arrow */
.pf-modal-stage {
  flex: 1;
  display: flex;
  align-items: stretch;
  min-height: 0;
  position: relative;
  background: #060d1c;
}

/* Gradient curtains on left/right edges so arrows always have contrast */
.pf-modal-stage::before,
.pf-modal-stage::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 90px;
  z-index: 5;
  pointer-events: none;
  transition: opacity 0.3s ease;
}
.pf-modal-stage::before {
  left: 0;
  background: linear-gradient(to right, rgba(6,13,28,0.72) 0%, transparent 100%);
}
.pf-modal-stage::after {
  right: 0;
  background: linear-gradient(to left, rgba(6,13,28,0.72) 0%, transparent 100%);
}
/* Hide curtains when only one slide */
.pf-modal-stage.pf-single::before,
.pf-modal-stage.pf-single::after { opacity: 0; }

/* Slides container */
.pf-modal-slides {
  flex: 1;
  position: relative;
  overflow: hidden;
}
/* Bottom fade — signals more content below; hidden once user reaches the end */
.pf-modal-slides::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 64px;
  background: linear-gradient(to top, rgba(6,13,28,0.88), transparent);
  pointer-events: none;
  z-index: 6;
  transition: opacity 0.35s ease;
}
.pf-modal-slides.pf-at-bottom::after { opacity: 0; }
.pf-modal-slide {
  position: absolute;
  inset: 0;
  overflow-y: auto;
  overscroll-behavior: contain;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease;
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 255, 255, 0.12) transparent;
}
.pf-modal-slide::-webkit-scrollbar { width: 5px; }
.pf-modal-slide::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.12); border-radius: 10px; }
.pf-modal-slide.active {
  opacity: 1;
  pointer-events: all;
}
.pf-modal-slide img {
  width: 100%;
  display: block;
}

/* Nav arrows */
@keyframes pf-nav-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(255,255,255,0.18), 0 4px 16px rgba(0,0,0,0.5); }
  50%       { box-shadow: 0 0 0 6px rgba(255,255,255,0.06), 0 4px 16px rgba(0,0,0,0.5); }
}
.pf-modal-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  background: rgba(8, 16, 36, 0.82);
  border: 1.5px solid rgba(255, 255, 255, 0.28);
  color: #fff;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(0,0,0,0.5);
  animation: pf-nav-pulse 2.4s ease-in-out infinite;
  transition: background 0.2s, transform 0.2s, border-color 0.2s;
}
.pf-modal-nav:hover {
  background: rgba(14,155,150, 0.92);
  border-color: rgba(255, 255, 255, 0.55);
  transform: translateY(-50%) scale(1.1);
  animation: none;
}
.pf-modal-prev { left: 14px; }
.pf-modal-next { right: 14px; }
.pf-modal-nav.pf-hidden {
  opacity: 0;
  pointer-events: none;
}

/* Footer */
.pf-modal-footer {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  padding: 11px 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  flex-shrink: 0;
}
.pf-modal-dots {
  display: flex;
  align-items: center;
  gap: 7px;
}
.pf-modal-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.22);
  border: none;
  cursor: pointer;
  padding: 0;
  transition: background 0.2s, transform 0.2s, width 0.25s;
}
.pf-modal-dot.active {
  background: #fff;
  width: 22px;
  border-radius: 4px;
}
.pf-modal-counter {
  font-size: 0.76rem;
  color: rgba(255, 255, 255, 0.35);
  font-weight: 500;
  font-variant-numeric: tabular-nums;
  min-width: 40px;
  text-align: right;
}

/* Responsive */
@media (max-width: 600px) {
  .pf-modal {
    height: 92vh;
    border-radius: 14px;
  }
  .pf-modal-prev { left: 8px; }
  .pf-modal-next { right: 8px; }
  .pf-modal-nav { width: 38px; height: 38px; }
}



/* ====================================================
   REGISTER / QUOTE PAGE
   ==================================================== */
/* =============================================
   register.css — Quote / Register page styles
   Depends on: styles.css (base variables)
   ============================================= */

/* ── Section wrapper ── */
.register-section {
  padding: 60px 0 110px;
  background: linear-gradient(160deg, #1B2630 0%, #1B2630 45%, #0E9B96 100%);
}

.register-wrap {
  max-width: 720px;
  margin: 0 auto;
}

/* =============================================
   INTENT CHOOSER CARDS
   ============================================= */
.intent-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-bottom: 32px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  padding: 22px;
  border-radius: 22px;
  box-shadow: 0 8px 32px rgba(8, 16, 36, 0.28);
}

.intent-card {
  position: relative;
  cursor: pointer;
}

.intent-card input[type="radio"] {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.intent-card-label {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 18px;
  padding: 22px;
  border: 1.5px solid rgba(255, 255, 255, 0.1);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  cursor: pointer;
  transition: all 0.28s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.intent-card-label::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(147, 197, 253, 0.5), transparent);
  opacity: 0;
  transition: opacity 0.28s;
}

.intent-card-label:hover {
  border-color: rgba(147, 197, 253, 0.4);
  background: rgba(255, 255, 255, 0.08);
  transform: translateY(-3px);
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.4);
}

.intent-card-label:hover::after { opacity: 1; }

.intent-card input:checked + .intent-card-label {
  border-color: #16C7C0;
  background: linear-gradient(135deg, rgba(14,155,150, 0.6), rgba(15, 23, 42, 0.65));
  box-shadow: 0 0 0 1px #16C7C0, 0 18px 50px rgba(14,155,150, 0.5);
  transform: translateY(-4px);
}

.intent-card input:checked + .intent-card-label::after {
  opacity: 1;
  background: linear-gradient(90deg, transparent, #16C7C0, transparent);
}

.intent-text { flex: 1; min-width: 0; }

.intent-card-name {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 4px;
  line-height: 1.2;
}

.intent-card-desc {
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.42);
  line-height: 1.5;
}

.intent-card input:checked + .intent-card-label .intent-card-desc {
  color: rgba(147, 197, 253, 0.65);
}

/* Tick badge */
.intent-check {
  position: absolute;
  top: 14px; right: 14px;
  width: 20px; height: 20px;
  border-radius: 50%;
  background: #16C7C0;
  color: #fff;
  font-size: 0.6rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: scale(0.3) rotate(-20deg);
  transition: all 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
  pointer-events: none;
}

.intent-card input:checked ~ .intent-check {
  opacity: 1;
  transform: scale(1) rotate(0deg);
}

/* =============================================
   ANIMATED GEO ICONS — intent cards
   ============================================= */
.geo-wrap {
  width: 52px;
  height: 52px;
  flex-shrink: 0;
  position: relative;
}

/* ── NEW WEBSITE: orbiting diamond ── */
.geo-new .ring {
  position: absolute; inset: 0;
  border: 1.5px solid rgba(147, 197, 253, 0.3);
  border-radius: 50%;
  animation: geoSpinRing 6s linear infinite;
}
.geo-new .ring-2 {
  inset: 7px;
  border-color: rgba(147, 197, 253, 0.15);
  animation-direction: reverse;
  animation-duration: 9s;
}
.geo-new .diamond {
  position: absolute; top: 50%; left: 50%;
  width: 16px; height: 16px;
  background: linear-gradient(135deg, #5FE9E2, #16C7C0);
  transform: translate(-50%, -50%) rotate(45deg);
  box-shadow: 0 0 12px rgba(22,199,192, 0.6);
  animation: geoDiamondPulse 2.5s ease-in-out infinite;
}
.geo-new .orbit-dot {
  position: absolute;
  width: 5px; height: 5px;
  background: #5FE9E2;
  border-radius: 50%;
  top: 5px; left: 50%; margin-left: -2.5px;
  box-shadow: 0 0 6px #5FE9E2;
  transform-origin: 2.5px 21px;
  animation: geoOrbitDot 6s linear infinite;
}

/* Selected state: speed up */
.intent-card input:checked + .intent-card-label .geo-new .ring {
  animation-duration: 2s;
  border-color: rgba(147, 197, 253, 0.7);
}
.intent-card input:checked + .intent-card-label .geo-new .ring-2 {
  animation-duration: 3s;
}
.intent-card input:checked + .intent-card-label .geo-new .orbit-dot {
  animation-duration: 2s;
  background: #fff;
  box-shadow: 0 0 10px #fff;
}
.intent-card input:checked + .intent-card-label .geo-new .diamond {
  background: linear-gradient(135deg, #fff, #5FE9E2);
}

/* ── EXISTING WEBSITE: spinning hexagon ── */
.geo-existing .hex {
  position: absolute; top: 50%; left: 50%;
  width: 30px; height: 30px;
  background: linear-gradient(135deg, rgba(196, 181, 253, 0.8), rgba(124, 58, 237, 0.6));
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
  transform: translate(-50%, -50%);
  animation: geoHexSpin 8s linear infinite;
  box-shadow: 0 0 14px rgba(139, 92, 246, 0.4);
}
.geo-existing .hex-inner {
  position: absolute; top: 50%; left: 50%;
  width: 14px; height: 14px;
  background: rgba(255, 255, 255, 0.18);
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
  transform: translate(-50%, -50%) rotate(30deg);
  animation: geoHexSpinReverse 5s linear infinite;
}
.geo-existing .scan-line {
  position: absolute;
  left: 6px; right: 6px;
  height: 1.5px;
  background: linear-gradient(90deg, transparent, rgba(196, 181, 253, 0.9), transparent);
  top: 10px;
  animation: geoScan 2s ease-in-out infinite;
}

.intent-card input:checked + .intent-card-label .geo-existing .hex {
  background: linear-gradient(135deg, #C7CDD2, #505558);
  animation-duration: 3s;
  box-shadow: 0 0 24px rgba(124, 58, 237, 0.7);
}
.intent-card input:checked + .intent-card-label .geo-existing .scan-line {
  background: linear-gradient(90deg, transparent, #C7CDD2, transparent);
  animation-duration: 1s;
}

/* =============================================
   PACKAGE CARD ICONS
   ============================================= */
.pkg-ico {
  width: 36px;
  height: 36px;
  position: relative;
  flex-shrink: 0;
}

/* ── STARTER: plain diamond ── */
.pkg-ico-starter {
  display: flex;
  align-items: center;
  justify-content: center;
}
.pkg-ico-starter .d {
  width: 16px; height: 16px;
  background: linear-gradient(135deg, #5FE9E2, #16C7C0);
  transform: rotate(45deg);
  border-radius: 2px;
}
.pkg-cat-label:hover .pkg-ico-starter .d {
  animation: pkgStarterPulse 1.8s ease-in-out infinite;
}
.pkg-cat-card input:checked + .pkg-cat-label .pkg-ico-starter .d {
  background: #fff;
  animation: pkgStarterPulse 1.8s ease-in-out infinite;
}

/* ── BUSINESS: diamond + single glowing ring ── */
.pkg-ico-business .b-ring {
  position: absolute; inset: 0;
  border: 1.5px solid rgba(22,199,192, 0.35);
  border-radius: 50%;
  animation: geoSpinRing 7s linear infinite;
}
.pkg-ico-business .b-d {
  position: absolute; top: 50%; left: 50%;
  width: 14px; height: 14px;
  background: linear-gradient(135deg, #5FE9E2, #16C7C0);
  transform: translate(-50%, -50%) rotate(45deg);
  border-radius: 2px;
  animation: pkgBizGlow 2.4s ease-in-out infinite;
}
.pkg-cat-card input:checked + .pkg-cat-label .pkg-ico-business .b-ring {
  border-color: rgba(22,199,192, 0.7);
  animation-duration: 3s;
}
.pkg-cat-card input:checked + .pkg-cat-label .pkg-ico-business .b-d {
  background: #fff;
  box-shadow: 0 0 20px rgba(255,255,255, 0.5);
}

/* ── CUSTOM: full orbiting diamond (matches intent card) ── */
.pkg-ico-custom .c-ring {
  position: absolute; inset: 0;
  border: 1.5px solid rgba(147, 197, 253, 0.3);
  border-radius: 50%;
  animation: geoSpinRing 5s linear infinite;
}
.pkg-ico-custom .c-ring-2 {
  inset: 6px;
  border-color: rgba(147, 197, 253, 0.15);
  animation-direction: reverse;
  animation-duration: 8s;
}
.pkg-ico-custom .c-d {
  position: absolute; top: 50%; left: 50%;
  width: 12px; height: 12px;
  background: linear-gradient(135deg, #5FE9E2, #16C7C0);
  transform: translate(-50%, -50%) rotate(45deg);
  border-radius: 1px;
  animation: geoDiamondPulse 2.5s ease-in-out infinite;
}
.pkg-ico-custom .c-dot {
  position: absolute;
  width: 4px; height: 4px;
  background: #5FE9E2;
  border-radius: 50%;
  top: 3px; left: 50%; margin-left: -2px;
  box-shadow: 0 0 5px #5FE9E2;
  transform-origin: 2px 15px;
  animation: geoOrbitDot 5s linear infinite;
}
.pkg-cat-card input:checked + .pkg-cat-label .pkg-ico-custom .c-ring {
  animation-duration: 2s;
  border-color: rgba(147, 197, 253, 0.7);
}
.pkg-cat-card input:checked + .pkg-cat-label .pkg-ico-custom .c-d {
  background: #fff;
  box-shadow: 0 0 14px rgba(255,255,255, 0.4);
}
.pkg-cat-card input:checked + .pkg-cat-label .pkg-ico-custom .c-ring-2 {
  animation-duration: 3s;
}
.pkg-cat-card input:checked + .pkg-cat-label .pkg-ico-custom .c-dot {
  animation-duration: 2s;
  background: #16C7C0;
  box-shadow: 0 0 8px #16C7C0;
}

/* =============================================
   KEYFRAMES
   ============================================= */
@keyframes geoSpinRing    { to { transform: rotate(360deg); } }
@keyframes geoOrbitDot    { to { transform: rotate(360deg); } }
@keyframes geoDiamondPulse {
  0%, 100% { box-shadow: 0 0 10px rgba(22,199,192, 0.4); }
  50%       { box-shadow: 0 0 22px rgba(22,199,192, 0.85); }
}
@keyframes geoHexSpin         { to { transform: translate(-50%, -50%) rotate(360deg); } }
@keyframes geoHexSpinReverse  { to { transform: translate(-50%, -50%) rotate(-360deg); } }
@keyframes geoScan {
  0%, 100% { top: 8px;  opacity: 0; }
  20%       { opacity: 1; }
  80%       { opacity: 1; }
  100%      { top: 44px; opacity: 0; }
}
@keyframes pkgStarterPulse {
  0%, 100% { box-shadow: 0 0 6px rgba(22,199,192, 0.3); }
  50%       { box-shadow: 0 0 16px rgba(22,199,192, 0.7); }
}
@keyframes pkgBizGlow {
  0%, 100% { box-shadow: 0 0 8px rgba(22,199,192, 0.35); }
  50%       { box-shadow: 0 0 18px rgba(22,199,192, 0.75); }
}

/* =============================================
   FORM CARD
   ============================================= */
.register-form-card {
  background: #13161A;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 40px 90px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(255,255,255,0.06);
  display: none;
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.38s ease, transform 0.38s cubic-bezier(0.4, 0, 0.2, 1);
}
.register-form-card.visible {
  opacity: 1;
  transform: translateY(0);
  display: block;
}

/* ── Form header ── */
.form-header {
  padding: 36px 40px 32px;
  border-bottom: 1px solid rgba(255,255,255,0.07);
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
}

.form-header-left { flex: 1; }

.form-path-label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: #94a3b8;
  margin-bottom: 10px;
}

.form-path-line {
  display: inline-block;
  width: 18px; height: 1.5px;
  background: #cbd5e1;
  vertical-align: middle;
  margin-right: 4px;
}

.form-header h2 {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 900;
  color: #fff;
  line-height: 1.15;
  margin-bottom: 8px;
}

.form-header h2 em {
  font-style: italic;
  color: var(--primary);
}

.form-header p {
  font-size: 0.85rem;
  color: #94a3b8;
  line-height: 1.65;
  max-width: 380px;
}

/* Mini geo in header corner */
.form-header-geo {
  width: 48px; height: 48px;
  position: relative;
  flex-shrink: 0;
  opacity: 0.45;
}
.fh-ring {
  position: absolute; inset: 0;
  border: 1px solid #cbd5e1;
  border-radius: 50%;
  animation: geoSpinRing 10s linear infinite;
}
.fh-ring-2 {
  inset: 8px;
  animation-direction: reverse;
  animation-duration: 14s;
}
.fh-dot {
  position: absolute;
  width: 4px; height: 4px;
  background: var(--primary);
  border-radius: 50%;
  top: 3px; left: 50%; margin-left: -2px;
  transform-origin: 2px 21px;
  animation: geoOrbitDot 10s linear infinite;
}
.fh-center {
  position: absolute; top: 50%; left: 50%;
  width: 10px; height: 10px;
  background: var(--primary);
  transform: translate(-50%, -50%) rotate(45deg);
  opacity: 0.6;
}
/* Existing variant — purple hex */
.form-header-geo.geo-hex .fh-center {
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
  border-radius: 0;
  background: #16C7C0;
}
.form-header-geo.geo-hex .fh-dot    { background: #16C7C0; }
.form-header-geo.geo-hex .fh-ring   { border-color: #e9d5ff; }
.form-header-geo.geo-hex .fh-ring-2 { border-color: #f3e8ff; }

/* ── Form body ── */
.form-body { padding: 32px 40px 40px; }

/* Section dividers */
.form-section-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
  margin-top: 24px;
}
.form-section-head:first-child { margin-top: 0; }

.form-section-num {
  width: 22px; height: 22px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), #0E9B96);
  color: #fff;
  font-size: 0.65rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.form-section-title {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #94a3b8;
}

.form-section-line {
  flex: 1;
  height: 1px;
  background: rgba(255,255,255,0.07);
}

/* ── Grid + fields ── */
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px 18px;
  align-items: end;
}

.form-field { display: flex; flex-direction: column; gap: 5px; }
.form-field-full { grid-column: 1 / -1; }

.form-field label {
  font-size: 0.79rem;
  font-weight: 600;
  color: #6b7280;
  letter-spacing: 0.01em;
}

.field-req { color: #ef4444; margin-left: 2px; }

.form-field input[type="text"],
.form-field input[type="email"],
.form-field input[type="tel"],
.form-field input[type="url"],
.form-field select,
.form-field textarea {
  padding: 11px 14px;
  border: 1.5px solid rgba(255,255,255,0.1);
  border-left-width: 3px;
  border-radius: 10px;
  font-size: 0.91rem;
  font-family: var(--font-body);
  color: #e2e8f0;
  background: #1c2026;
  width: 100%;
  outline: none;
  resize: none;
  transition: border-color 0.18s, box-shadow 0.18s, background 0.18s, border-left-color 0.18s;
}

.form-field input::placeholder,
.form-field textarea::placeholder { color: rgba(255,255,255,0.25); }

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  border-color: rgba(255,255,255,0.12);
  border-left-color: var(--primary);
  box-shadow: -3px 0 14px rgba(22,199,192,0.18), 0 0 0 3px rgba(22,199,192,0.08);
  background: #1a2428;
}

.form-field select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%236b7280' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-color: #1c2026;
  padding-right: 40px;
  cursor: pointer;
}
.form-field select option {
  background: #1c2026;
  color: #e2e8f0;
}

/* ── Package chooser ── */
.pkg-section-label {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #94a3b8;
  margin-bottom: 10px;
}

/* ── "Not sure" checkbox ── */
.pkg-unsure-check {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 14px;
  cursor: pointer;
  width: fit-content;
}
.pkg-unsure-check input[type="checkbox"] {
  position: absolute;
  opacity: 0;
  width: 0; height: 0;
}
.pkg-unsure-box {
  flex-shrink: 0;
  width: 17px; height: 17px;
  border-radius: 5px;
  border: 1.5px solid rgba(255,255,255,0.2);
  background: rgba(255,255,255,0.05);
  transition: all 0.18s ease;
  display: flex; align-items: center; justify-content: center;
}
.pkg-unsure-box::after {
  content: '';
  width: 9px; height: 5px;
  border-left: 2px solid #fff;
  border-bottom: 2px solid #fff;
  transform: rotate(-45deg) translateY(-1px);
  opacity: 0;
  transition: opacity 0.15s ease;
}
.pkg-unsure-check input:checked ~ .pkg-unsure-box {
  background: var(--primary);
  border-color: var(--primary);
}
.pkg-unsure-check input:checked ~ .pkg-unsure-box::after { opacity: 1; }
.pkg-unsure-label {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.38);
  transition: color 0.18s;
}
.pkg-unsure-check:hover .pkg-unsure-label,
.pkg-unsure-check input:checked ~ .pkg-unsure-label {
  color: rgba(255,255,255,0.65);
}

/* Tier wrap disabled state */
.pkg-tier-wrap.tier-disabled {
  opacity: 0.28;
  pointer-events: none;
  filter: grayscale(0.4);
  transition: opacity 0.25s ease, filter 0.25s ease;
}
.pkg-tier-wrap { transition: opacity 0.25s ease, filter 0.25s ease; }

.pkg-category-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.pkg-cat-card { position: relative; cursor: pointer; }
.pkg-cat-card input[type="radio"] { position: absolute; opacity: 0; width: 0; height: 0; }

.pkg-cat-label {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 18px 10px 14px;
  border: 2px solid rgba(255,255,255,0.1);
  border-radius: 14px;
  background: rgba(255,255,255,0.04);
  cursor: pointer;
  text-align: center;
  transition: all 0.22s;
}

.pkg-cat-label:hover {
  border-color: rgba(22,199,192,0.5);
  background: rgba(22,199,192,0.06);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(14,155,150, 0.12);
}

.pkg-cat-card input:checked + .pkg-cat-label {
  border-color: #16C7C0;
  background: linear-gradient(135deg, rgba(14,155,150,0.22), rgba(15,23,42,0.45));
  box-shadow: 0 0 0 1px #16C7C0, 0 10px 32px rgba(14,155,150,0.35);
  transform: translateY(-2px);
}

.pkg-cat-name { font-size: 0.84rem; font-weight: 700; color: #e2e8f0; }
.pkg-cat-hint { font-size: 0.67rem; color: #94a3b8; }

.pkg-tier-wrap { margin-top: 12px; display: none; }
.pkg-tier-wrap.active { display: block; }
.pkg-tier-wrap label {
  font-size: 0.79rem;
  font-weight: 600;
  color: #6b7280;
  display: block;
  margin-bottom: 5px;
}

/* ── Submit area ── */
.form-submit-area { margin-top: 28px; }

.btn-submit {
  width: 100%;
  justify-content: center;
  font-size: 1rem;
  padding: 16px 28px;
  cursor: pointer;
}

.form-assurance {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 14px;
  flex-wrap: wrap;
}

.form-assurance span {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 0.73rem;
  color: #94a3b8;
  font-weight: 500;
}

.fa-check {
  width: 12px;
  height: 12px;
  display: inline-block;
  flex-shrink: 0;
}

/* ── Success state ── */
.register-success {
  text-align: center;
  padding: 48px 24px;
  display: none;
}

.register-success .success-icon {
  width: 68px; height: 68px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), #0E9B96);
  color: #fff;
  font-size: 1.8rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  box-shadow: 0 8px 28px rgba(14,155,150, 0.35);
}

.register-success h3 {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 10px;
}

.register-success p {
  font-size: 0.95rem;
  color: #64748b;
  line-height: 1.7;
}

/* =============================================
   RESPONSIVE
   ============================================= */
@media (max-width: 600px) {
  .intent-cards          { grid-template-columns: 1fr; }
  .form-header           { flex-direction: column; gap: 12px; padding: 24px 20px 20px; }
  .form-body             { padding: 24px 20px 32px; }
  .form-grid             { grid-template-columns: 1fr; }
  .form-field-full       { grid-column: 1; }
  .pkg-category-cards    { grid-template-columns: 1fr; }
  .register-form-card    { border-radius: 16px; }
  .form-progress         { padding: 12px 20px; gap: 0; }
  .fp-label              { display: none; }
}

/* ── Floating labels ── */
.float-field {
  position: relative;
}
.form-field.float-field input,
.form-field.float-field textarea {
  padding-top: 26px;
  padding-bottom: 8px;
}
.form-field.float-field.float-field--area textarea {
  padding-top: 30px;
}
.float-field label {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 0.91rem;
  font-weight: 400;
  color: rgba(255,255,255,0.35);
  pointer-events: none;
  transition: top 0.18s ease, font-size 0.18s ease, color 0.18s ease, font-weight 0.18s ease, letter-spacing 0.18s ease, transform 0.18s ease;
  white-space: nowrap;
  max-width: calc(100% - 28px);
  overflow: hidden;
  text-overflow: ellipsis;
}
.float-field--area label {
  top: 16px;
  transform: none;
}
.float-field input:focus ~ label,
.float-field input:not(:placeholder-shown) ~ label {
  top: 7px;
  transform: none;
  font-size: 0.65rem;
  font-weight: 700;
  color: var(--primary);
  letter-spacing: 0.07em;
  text-transform: uppercase;
}
.float-field textarea:focus ~ label,
.float-field textarea:not(:placeholder-shown) ~ label {
  top: 7px;
  font-size: 0.65rem;
  font-weight: 700;
  color: var(--primary);
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

/* --------------------------------------------------------
   How It Works page
   -------------------------------------------------------- */

/* -- Simple steps strip --------------------------- */
.simple-steps {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  align-items: flex-start;
  max-width: 880px;
  margin: 0 auto;
}
.simple-step { text-align: center; padding: 0 16px; }
.simple-step-icon {
  width: 72px; height: 72px;
  border-radius: 50%;
  background: linear-gradient(135deg, #0A6E6A, #0E9B96);
  display: flex; align-items: center; justify-content: center;
  font-size: 2rem;
  margin: 0 auto 20px;
  box-shadow: 0 8px 28px rgba(14,155,150,0.25);
}
.simple-step h3 { font-size: 1rem; font-weight: 700; color: var(--dark); margin-bottom: 8px; }
.simple-step p  { font-size: 0.85rem; color: var(--text-muted); line-height: 1.6; }
.simple-step-arrow { font-size: 1.8rem; color: #cbd5e1; padding-top: 20px; }

/* -- Fork section --------------------------------- */
.fork-section { padding: 100px 0; background: var(--cream); }
.fork-label   { text-align: center; margin-bottom: 14px; }
.fork-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4.5vw, 3rem);
  font-weight: 900; color: var(--dark);
  text-align: center; line-height: 1.2; margin-bottom: 14px;
}
.fork-title em { color: var(--primary); font-style: italic; }
.fork-subtitle {
  text-align: center; color: var(--text-muted);
  font-size: 1rem; max-width: 500px; margin: 0 auto 64px; line-height: 1.75;
}
.fork-cards {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 24px; max-width: 960px; margin: 0 auto;
}
.fork-card {
  background: #fff; border: 1.5px solid #e4eaf4;
  border-radius: 20px; padding: 44px 40px; position: relative;
}
.fork-card--managed {
  border-color: var(--primary);
  box-shadow: 0 16px 56px rgba(14,155,150,0.14);
}
.fork-card-badge {
  display: inline-block; font-size: 0.68rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.1em;
  border-radius: 20px; padding: 5px 14px; margin-bottom: 22px;
}
.fork-card--solo    .fork-card-badge { background: #f1f5f9; color: #64748b; }
.fork-card--managed .fork-card-badge { background: #0A6E6A; color: #fff; }
.fork-card-icon { font-size: 2.6rem; margin-bottom: 14px; }
.fork-card h3 { font-size: 1.3rem; font-weight: 800; color: var(--dark); margin-bottom: 10px; }
.fork-card > p { font-size: 0.93rem; color: var(--text-muted); line-height: 1.75; margin-bottom: 28px; min-height: 60px; }
.fork-price { font-size: 2rem; font-weight: 900; color: var(--dark); margin-bottom: 28px; font-family: var(--font-display); }
.fork-price small { font-size: 0.9rem; font-weight: 400; color: var(--text-muted); font-family: var(--font-body); }
.fork-features {
  list-style: none; display: flex; flex-direction: column;
  gap: 0; margin-bottom: 32px;
  border: 1px solid #f0f4fb; border-radius: 12px; overflow: hidden;
}
.fork-features li {
  display: flex; align-items: flex-start; gap: 12px;
  font-size: 0.88rem; padding: 11px 14px;
  border-bottom: 1px solid #f0f4fb; line-height: 1.5;
}
.fork-features li:last-child { border-bottom: none; }
.fork-features li:nth-child(even) { background: #fafcff; }
.fork-feat-icon { font-size: 1rem; width: 22px; flex-shrink: 0; margin-top: 1px; }
.fork-feat-text { flex: 1; }
.fork-feat-text strong { display: block; font-weight: 600; color: var(--dark); }
.fork-feat-text span   { color: var(--text-muted); font-size: 0.82rem; }
.fork-feat--missing .fork-feat-text strong { color: #94a3b8; }
.fork-feat--missing .fork-feat-text span   { color: #cbd5e1; }
.fork-missout {
  background: linear-gradient(135deg, #fff7ed, #fef3c7);
  border: 1px solid #fcd34d; border-radius: 12px;
  padding: 16px 18px; margin-bottom: 24px;
  font-size: 0.85rem; color: #92400e; line-height: 1.6;
}
.fork-missout strong { display: block; font-weight: 700; margin-bottom: 4px; color: #78350f; }
.fork-recommended {
  position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
  background: linear-gradient(135deg, #0A6E6A, #0E9B96); color: #fff;
  font-size: 0.7rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.1em; padding: 6px 20px; border-radius: 20px;
  white-space: nowrap; box-shadow: 0 4px 14px rgba(14,155,150,0.3);
}
.fork-card .btn { width: 100%; text-align: center; justify-content: center; }
.fork-note { font-size: 0.78rem; color: var(--text-muted); text-align: center; margin-top: 10px; }

/* -- Managed perks grid --------------------------- */
.managed-perks { padding: 100px 0; background: var(--dark); }
.managed-perks .section-label { color: rgba(255,255,255,0.45); }
.managed-perks .section-title { color: #fff; }
.managed-perks .section-title em { font-style: italic; background: linear-gradient(95deg, var(--teal-glow) 0%, var(--silver) 95%); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.managed-perks .section-sub { color: rgba(255,255,255,0.5); }
.perks-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; margin-top: 60px; }
.perk-card {
  background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.09);
  border-radius: 16px; padding: 32px 26px;
  transition: background 0.25s ease, border-color 0.25s ease;
}
.perk-card:hover { background: rgba(255,255,255,0.08); border-color: rgba(95,233,226,0.25); }
.perk-emoji { font-size: 2rem; margin-bottom: 14px; display: block; }
.perk-card h3 { font-size: 0.98rem; font-weight: 700; color: #fff; margin-bottom: 8px; }
.perk-card p  { font-size: 0.86rem; color: rgba(255,255,255,0.5); line-height: 1.7; }

/* -- FAQ ------------------------------------------ */
.hiw-faq-section { padding: 100px 0; background: #fff; }
.hiw-faq { max-width: 720px; margin: 0 auto; }
.hiw-faq-item { border-bottom: 1px solid var(--border); }
.hiw-faq-item:first-child { border-top: 1px solid var(--border); }
.hiw-faq-item summary {
  list-style: none; cursor: pointer;
  display: flex; align-items: center; justify-content: space-between;
  padding: 22px 4px; font-size: 0.98rem; font-weight: 600; color: var(--dark); user-select: none;
}
.hiw-faq-item summary::-webkit-details-marker { display: none; }
.hiw-faq-item summary::after { content: '+'; font-size: 1.5rem; font-weight: 300; color: var(--primary); flex-shrink: 0; }
.hiw-faq-item[open] summary::after { content: '-'; }
.hiw-faq-item > p { font-size: 0.93rem; color: var(--text-muted); line-height: 1.8; padding: 0 4px 22px; }
.hiw-faq-item > p a { color: var(--primary); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }

/* -- How It Works hero ---------------------------- */
.hiw-hero { padding: 140px 0 100px; }
.hiw-hero-inner { position: relative; z-index: 2; text-align: center; }
.hiw-label-muted { color: rgba(255,255,255,0.45); margin-bottom: 18px; }
.hiw-h1 {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 7vw, 5rem);
  font-weight: 900; color: #fff;
  line-height: 1.08; margin-bottom: 22px;
}
.hiw-gradient-em {
  background: linear-gradient(90deg, #5FE9E2, #C7CDD2);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text; font-style: italic;
}
.hiw-hero-sub {
  color: rgba(255,255,255,0.55); font-size: 1.05rem;
  max-width: 520px; margin: 0 auto 48px; line-height: 1.8;
}
.hiw-hero-btn { font-size: 1rem; padding: 14px 30px; }

/* ── How It Works: numbered step sections ──────────────── */
.hiw-step-section {
  padding: 96px 0;
  background: var(--dark, #0E1419);
}
/* Dark sections (1 & 3): force headings to white */
.hiw-step-section .section-label { color: var(--teal); }
.hiw-step-section .section-title { color: #fff; }
.hiw-step-section .section-title em { color: var(--teal); font-style: italic; }

/* Alt sections (2 & 4): white background with dark text */
.hiw-step-section--alt {
  background: var(--silver-hi, #E6E8EA);
  border-top: 1px solid var(--silver-mid, #C7CDD2);
  border-bottom: 1px solid var(--silver-mid, #C7CDD2);
}
.hiw-step-section--alt .section-label { color: var(--teal-mid, #0E9B96); }
.hiw-step-section--alt .section-title { color: var(--dark, #0E1419); }
.hiw-step-section--alt .section-title em { color: var(--teal-mid, #0E9B96); font-style: italic; }
.hiw-step-section--alt .hiw-step-num   { color: rgba(4, 91, 97, 0.65); opacity: 1; }
.hiw-step-section--alt .hiw-step-intro { color: rgba(0,0,0,0.55); }

.hiw-step-header {
  display: flex;
  align-items: flex-start;
  gap: 28px;
  margin-bottom: 12px;
}
.hiw-step-num {
  font-family: var(--font-display);
  font-size: clamp(4rem, 8vw, 6.5rem);
  font-weight: 900;
  line-height: 0.9;
  color: rgba(12, 177, 178, 0.65);
  opacity: 1;
  flex-shrink: 0;
  user-select: none;
  margin-top: 4px;
}
.hiw-step-title-wrap { flex: 1; }
.hiw-step-title-wrap .section-label { margin-bottom: 6px; }
.hiw-step-title-wrap .section-title  { margin-bottom: 0; }
.hiw-step-intro {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.55);
  max-width: 640px;
  margin: 0 0 48px;
  line-height: 1.75;
}
/* Two-path grid */
.hiw-paths {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: start;
}
.hiw-path-card {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 16px;
  padding: 32px;
}
/* Dark section card overrides already inherited; white section overrides: */
.hiw-step-section--alt .hiw-path-card {
  background: #ffffff;
  border-color: var(--silver-mid, #C7CDD2);
}
/* Path subtitle (replaces pill tag) */
.hiw-path-subtitle {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--teal);
  margin: 0 0 10px;
}
.hiw-step-section--alt .hiw-path-subtitle { color: var(--teal-mid, #0E9B96); }
.hiw-path-card h3 {
  font-size: 1.22rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 12px;
}
.hiw-step-section--alt .hiw-path-card h3 { color: var(--dark, #0E1419); }
.hiw-path-card p {
  color: rgba(255,255,255,0.6);
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 8px;
}
.hiw-step-section--alt .hiw-path-card p { color: rgba(0,0,0,0.58); }
.hiw-path-qs {
  list-style: none;
  padding: 0;
  margin: 20px 0 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.hiw-path-qs li {
  padding: 10px 14px;
  background: rgba(255,255,255,0.04);
  border-left: 3px solid var(--teal);
  border-radius: 0 8px 8px 0;
  color: rgba(255,255,255,0.7);
  font-size: 0.9rem;
  line-height: 1.5;
}
.hiw-step-section--alt .hiw-path-qs li {
  background: rgba(0,0,0,0.04);
  color: rgba(0,0,0,0.65);
}
.hiw-path-divider {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 40px 28px 0;
}
.hiw-path-divider span {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(255,255,255,0.3);
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 50%;
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hiw-step-section--alt .hiw-path-divider span {
  color: rgba(0,0,0,0.3);
  background: #fff;
  border-color: #dde1e5;
}
/* Completion pillars */
.hiw-completion-pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 32px;
}
.hiw-pillar {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 16px;
  padding: 32px 28px;
  text-align: center;
}
.hiw-pillar-icon { font-size: 2rem; display: block; margin-bottom: 16px; }
.hiw-pillar h3   { font-size: 1.1rem; font-weight: 700; color: #fff; margin-bottom: 10px; }
.hiw-pillar p    { color: rgba(255,255,255,0.55); font-size: 0.9rem; line-height: 1.65; }
.hiw-completion-note {
  background: rgba(22,199,192,0.06);
  border: 1px solid rgba(22,199,192,0.18);
  border-radius: 12px;
  padding: 22px 28px;
}
.hiw-completion-note p {
  color: rgba(255,255,255,0.65);
  line-height: 1.75;
  margin: 0;
  font-size: 0.96rem;
}
/* Portfolio teaser (section 4 — white bg) */
.hiw-portfolio-teaser {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
  margin-bottom: 40px;
}
.hiw-pf-item {
  background: #ffffff;
  border: 1px solid var(--silver-mid, #C7CDD2);
  border-radius: 16px;
  overflow: hidden;
  transition: box-shadow 0.25s, border-color 0.25s;
  padding: 0;
}
.hiw-pf-item:hover {
  border-color: rgba(22,199,192,0.4);
  box-shadow: 0 8px 32px rgba(22,199,192,0.1);
}
.hiw-pf-banner {
  width: 100%;
  height: 200px;
  overflow: hidden;
}
.hiw-pf-banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
}
.hiw-pf-body { padding: 24px 28px 28px; }
.hiw-pf-label {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--teal-mid, #0E9B96);
  background: rgba(14,155,150,0.08);
  border: 1px solid rgba(14,155,150,0.2);
  border-radius: 20px;
  padding: 4px 12px;
  margin-bottom: 12px;
}
.hiw-pf-item h3 { font-size: 1.22rem; font-weight: 700; color: var(--dark, #0E1419); margin-bottom: 8px; }
.hiw-pf-item p  { color: rgba(0,0,0,0.55); font-size: 0.92rem; line-height: 1.65; margin: 0; }
.hiw-portfolio-cta { text-align: center; }
/* Step section responsive */
@media (max-width: 860px) {
  .hiw-paths { grid-template-columns: 1fr; }
  .hiw-path-divider { padding: 16px 0; align-items: center; }
  .hiw-completion-pillars { grid-template-columns: 1fr; }
  .hiw-portfolio-teaser { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .hiw-step-header { flex-direction: column; gap: 6px; }
  .hiw-step-num { font-size: 3rem; }
  .hiw-step-section { padding: 64px 0; }
}

/* ── HIW: Scroll-reveal animation classes ─────────────── */
.hiw-anim,
.hiw-anim-left,
.hiw-anim-right {
  opacity: 0;
}
.hiw-anim        { transform: translateY(30px); }
.hiw-anim-left   { transform: translateX(-40px); }
.hiw-anim-right  { transform: translateX(40px); }

.hiw-anim,
.hiw-anim-left,
.hiw-anim-right  {
  transition:
    opacity  0.68s cubic-bezier(0.22, 1, 0.36, 1) var(--anim-delay, 0s),
    transform 0.68s cubic-bezier(0.22, 1, 0.36, 1) var(--anim-delay, 0s);
}
.hiw-anim.is-visible,
.hiw-anim-left.is-visible,
.hiw-anim-right.is-visible {
  opacity: 1;
  transform: none;
}

/* ── HIW: Dot-grid texture on dark sections ───────────── */
.hiw-step-section {
  background-image: radial-gradient(rgba(12, 177, 178, 0.06) 1px, transparent 1px);
  background-size: 28px 28px;
}

/* ── HIW: Left teal accent bar ────────────────────────── */
.hiw-step-section,
.hiw-step-section--alt {
  position: relative;
}
.hiw-step-section::after,
.hiw-step-section--alt::after {
  content: '';
  position: absolute;
  left: 0; top: 12%; bottom: 12%;
  width: 3px;
  border-radius: 2px;
}
.hiw-step-section::after {
  background: linear-gradient(to bottom, transparent, rgba(22,199,192,0.55) 40%, rgba(22,199,192,0.55) 60%, transparent);
}
.hiw-step-section--alt::after {
  background: linear-gradient(to bottom, transparent, rgba(14,155,150,0.4) 40%, rgba(14,155,150,0.4) 60%, transparent);
}

/* ── HIW: Em underline draw-in on scroll ─────────────── */
.hiw-step-title-wrap .section-title em {
  position: relative;
}
.hiw-step-title-wrap .section-title em::after {
  content: '';
  position: absolute;
  bottom: 1px;
  left: 0;
  width: 0;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
  transition: width 0.9s cubic-bezier(0.22, 1, 0.36, 1) 0.45s;
}
.hiw-step-title-wrap.is-visible .section-title em::after {
  width: 100%;
}

/* ── HIW: Enhanced card hovers ────────────────────────── */
.hiw-path-card {
  transition:
    transform  0.3s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.3s ease,
    border-color 0.3s ease;
}
.hiw-step-section .hiw-path-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 52px rgba(0, 0, 0, 0.38);
  border-color: rgba(12, 177, 178, 0.45);
}
.hiw-step-section--alt .hiw-path-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
  border-color: var(--teal, #16C7C0);
}

/* ── HIW: Pillar hover lift + icon bounce ─────────────── */
.hiw-pillar {
  transition:
    transform  0.3s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.3s ease,
    border-color 0.3s ease;
}
.hiw-pillar:hover {
  transform: translateY(-7px);
  box-shadow: 0 22px 44px rgba(0, 0, 0, 0.3);
  border-color: rgba(12, 177, 178, 0.38);
}
.hiw-pillar-icon {
  display: block;
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.hiw-pillar:hover .hiw-pillar-icon {
  transform: rotate(-10deg) scale(1.2);
}

/* ── HIW: Portfolio banner zoom on hover ─────────────── */
.hiw-pf-banner img {
  transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}
.hiw-pf-item:hover .hiw-pf-banner img {
  transform: scale(1.06);
}

/* ── HIW: Completion note hover glow ─────────────────── */
.hiw-completion-note {
  transition: box-shadow 0.3s ease, border-color 0.3s ease;
}
.hiw-completion-note:hover {
  border-color: rgba(12, 177, 178, 0.4);
  box-shadow: 0 0 0 1px rgba(22,199,192,0.12), 0 8px 28px rgba(22,199,192,0.1);
}

.hiw-process-section { padding: 100px 0; background: #fff; }
.hiw-reassure {
  display: flex; align-items: center; justify-content: center;
  flex-wrap: wrap; gap: 32px; margin-top: 72px;
  padding: 28px 40px;
  background: var(--cream); border-radius: 16px; border: 1px solid var(--border);
}
.hiw-reassure-item {
  display: flex; align-items: center; gap: 10px;
  font-size: 0.88rem; font-weight: 600; color: var(--dark);
}
.hiw-reassure-icon { font-size: 1.25rem; }
.hiw-reassure-divider { width: 1px; height: 26px; background: var(--border); }

/* -- Bottom CTA section --------------------------- */
/* ── FAQ Section ─────────────────────────────────── */
.hiw-faq-section {
  padding: 100px 0;
  background: var(--dark);
}
.hiw-faq-header {
  text-align: center;
  margin-bottom: 60px;
}
.hiw-faq-title { color: #fff; }
.hiw-faq-title em { color: var(--primary); font-style: italic; }
.hiw-faq-sub {
  font-size: 1rem;
  color: rgba(255,255,255,0.45);
  margin-top: 12px;
  line-height: 1.7;
}

.hiw-faq-list {
  max-width: 780px;
  margin: 0 auto;
  border-top: 1px solid rgba(255,255,255,0.08);
}

.faq-item {
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.faq-q {
  width: 100%;
  background: none;
  border: none;
  padding: 22px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  color: #e2e8f0;
  cursor: pointer;
  text-align: left;
  transition: color 0.2s;
}
.faq-q:hover { color: var(--primary); }
.faq-item.open .faq-q { color: var(--primary); }

.faq-icon {
  flex-shrink: 0;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  border: 1.5px solid rgba(255,255,255,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  font-weight: 300;
  color: rgba(255,255,255,0.5);
  transition: all 0.25s ease;
  line-height: 1;
}
.faq-item.open .faq-icon {
  border-color: var(--primary);
  color: var(--primary);
  transform: rotate(45deg);
}

.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.35s ease;
}
.faq-item.open .faq-a {
  max-height: 300px;
}
.faq-a p {
  padding-bottom: 22px;
  font-size: 0.93rem;
  color: rgba(255,255,255,0.5);
  line-height: 1.8;
}
.faq-a p strong { color: rgba(255,255,255,0.75); font-weight: 600; }
.faq-inline-link { color: var(--primary); text-decoration: none; font-weight: 600; }
.faq-inline-link:hover { text-decoration: underline; }

.hiw-faq-cta {
  text-align: center;
  margin-top: 56px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
}
.hiw-faq-cta p {
  font-size: 0.95rem;
  color: rgba(255,255,255,0.4);
}

.hiw-cta-section {
  padding: 110px 0; background: var(--dark);
  text-align: center; position: relative; overflow: hidden;
}
.hiw-cta-grid-bg {
  position: absolute; inset: 0;
  background-image: radial-gradient(circle, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 36px 36px; pointer-events: none;
}
.hiw-cta-orb {
  position: absolute; border-radius: 50%; pointer-events: none;
}
.hiw-cta-orb--1 {
  top: -180px; right: -120px; width: 480px; height: 480px;
  background: radial-gradient(circle, rgba(22,199,192,0.18) 0%, transparent 70%);
  filter: blur(80px);
}
.hiw-cta-orb--2 {
  bottom: -120px; left: -80px; width: 380px; height: 380px;
  background: radial-gradient(circle, rgba(22,199,192,0.15) 0%, transparent 70%);
  filter: blur(80px);
}
.hiw-cta-inner { position: relative; z-index: 2; }
.hiw-cta-label {
  font-size: 0.75rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.2em; color: #5FE9E2; margin-bottom: 20px;
}
.hiw-cta-h2 {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 6vw, 3.8rem);
  font-weight: 900; color: #fff;
  line-height: 1.12; margin-bottom: 20px;
}
.hiw-gradient-span {
  background: linear-gradient(90deg, #5FE9E2, #C7CDD2);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hiw-cta-sub {
  color: rgba(255,255,255,0.52); font-size: 1rem;
  max-width: 420px; margin: 0 auto 44px; line-height: 1.8;
}
.hiw-cta-buttons { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.hiw-cta-outline { border-color: rgba(255,255,255,0.25); color: #fff; font-size: 1rem; padding: 14px 30px; }

/* -- Responsive ----------------------------------- */
@media (max-width: 860px) {
  .simple-steps { grid-template-columns: 1fr; gap: 32px; }
  .simple-step-arrow { display: none; }
  .fork-cards { grid-template-columns: 1fr; }
  .perks-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) { .perks-grid { grid-template-columns: 1fr; } }


/* ====================================================
   LARGE SCREEN (1400px+) — prevent hero from being too wide
   ==================================================== */
@media (min-width: 1400px) {
  .hero-intro-title {
    font-size: 4.2rem !important;
  }
  .hero {
    padding-bottom: 300px;
  }
  .hero-content {
    max-width: 640px;
  }
}

/* ============================================================
   ✦ PREMIUM POLISH LAYER — Pass 1 (atmosphere · blending · glass)
   Appended so it overrides earlier rules by source order.
   ============================================================ */

/* Clip the hero so the scaled video can't bleed a strip below the section */
.hero { overflow: hidden; }

/* ---- 0. Hero video integration --------------------------------- */
/* The hero plays a full-bleed client-site video; this scrim + vignette
   stops the raw client UI reading as a hard "block" at the top, darkens
   the navbar zone for legibility, and keeps the centre visible. */
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background:
    linear-gradient(180deg,
      rgba(8, 14, 22, 0.70) 0%,
      rgba(8, 14, 22, 0.30) 14%,
      rgba(8, 14, 22, 0.0) 42%),
    radial-gradient(135% 90% at 50% 38%, transparent 52%, rgba(6, 11, 19, 0.55) 100%);
}

/* ---- 1. Ambient page background -------------------------------- */
/* Flat silver → a soft, living gradient with faint teal/blue light */
body {
  background:
    radial-gradient(1200px 760px at 82% -8%, rgba(79, 201, 195, 0.12), transparent 60%),
    radial-gradient(1000px 640px at -12% 22%, rgba(77, 124, 254, 0.07), transparent 55%),
    linear-gradient(180deg, #F8FBFC 0%, #EDF3F6 55%, #E9F0F3 100%);
  background-attachment: fixed;
}

/* ---- 2. Section blending & depth ------------------------------- */
/* Let the ambient gradient flow through; drop hard seams; add soft glows */
.hero-intro { background: transparent !important; position: relative; }
.about      { background: #0B1117 !important; position: relative; overflow: hidden; }
.how-it-works {
  background:
    radial-gradient(900px 620px at 82% 22%, rgba(79, 201, 195, 0.13), transparent 62%),
    radial-gradient(700px 500px at 8% 90%, rgba(77, 124, 254, 0.06), transparent 60%)
    !important;
  border-top: none !important;
}
/* Why PixelBorough shares .how-it-works with the actual How It Works section
   above, and sits directly under Pricing's colour wash below — flatten it to
   plain ice-grey so it doesn't blend into either neighbour */
#why-us.how-it-works {
  background: linear-gradient(180deg, var(--teal-tint) 0%, var(--ice-grey) 100%) !important;
}
.features {
  background:
    radial-gradient(900px 620px at 14% 30%, rgba(77, 124, 254, 0.08), transparent 62%),
    radial-gradient(760px 520px at 90% 88%, rgba(79, 201, 195, 0.10), transparent 60%)
    !important;
  border-top: none !important;
}

/* ---- 3. Glass step cards (the flat bordered cards) ------------- */
.hiw-step-card {
  background: rgba(255, 255, 255, 0.62) !important;
  -webkit-backdrop-filter: blur(16px) saturate(150%);
  backdrop-filter: blur(16px) saturate(150%);
  border: 1px solid rgba(255, 255, 255, 0.75) !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.7),
    0 22px 44px -20px rgba(20, 45, 65, 0.30) !important;
}
.hiw-step-card:hover {
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.7),
    0 0 0 1px rgba(79, 201, 195, 0.5),
    0 26px 60px -18px rgba(18, 140, 135, 0.40) !important;
}

/* ---- 4. Typography polish -------------------------------------- */
/* Section label → soft chip */
.section-label {
  padding: 6px 15px;
  border-radius: 100px;
  background: rgba(18, 140, 135, 0.08);
  border: 1px solid rgba(18, 140, 135, 0.20);
  backdrop-filter: blur(4px);
}
/* In About the label sits over the drifting auroras, and a backdrop-filter
   has to re-blur its backdrop every frame the background moves. At 4px behind
   an 8% tint it isn't doing visible work, so it's dropped there. */
.about .section-label {
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}

/* Italic emphasis → teal gradient text everywhere */
.section-title em,
.about-title em,
.hiw-title em {
  font-style: italic;
  background: linear-gradient(100deg, var(--teal-glow), var(--teal) 60%, var(--teal-mid));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}
.section-title { letter-spacing: -0.01em; }

/* Combined "Professional Website Creation" intro needs room for the value-prop copy */
.hiw-subtitle { max-width: 600px !important; }

/* ---- Minimal numbered "How It Works" cards (consulting style) -- */
.hiw-steps {
  grid-template-columns: repeat(4, 1fr) !important;
  gap: 24px !important;
  /* Break out wider than the 1180px container so the portrait cards are larger */
  width: min(1500px, calc(100vw - 48px));
  position: relative;
  left: 50%;
  transform: translateX(-50%);
}
.hiw-step-card:nth-child(4) { transition-delay: 0.50s; }

/* Clean, restrained card */
.hiw-step-card {
  background: #fff !important;
  -webkit-backdrop-filter: none !important;
  backdrop-filter: none !important;
  border: 1px solid rgba(20, 40, 55, 0.09) !important;
  border-radius: 16px !important;
  padding: 40px 30px 34px !important;
  box-shadow: 0 1px 2px rgba(20, 40, 55, 0.04), 0 16px 38px -26px rgba(20, 40, 55, 0.28) !important;
  overflow: visible;
}
.hiw-step-card:hover {
  border-color: rgba(18, 140, 135, 0.30) !important;
  box-shadow: 0 1px 2px rgba(20, 40, 55, 0.04), 0 24px 46px -24px rgba(18, 140, 135, 0.22) !important;
}

/* Big muted step number */
.hiw-step-num {
  display: block;
  position: static;
  font-family: var(--font-body);
  font-size: 2.4rem;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.02em;
  color: rgba(20, 40, 55, 0.17);
  margin: 0 0 26px 0;
  transition: color 0.3s ease;
}
.hiw-step-card:hover .hiw-step-num { color: var(--teal); }

/* Bold, clean title */
.hiw-card-title {
  font-family: var(--font-body) !important;
  font-weight: 800 !important;
  font-size: 1.26rem !important;
  letter-spacing: -0.015em;
  color: var(--ink);
  margin: 0 0 12px 0 !important;
}
.hiw-card-desc {
  color: var(--slate-muted);
  font-size: 0.94rem;
  line-height: 1.75;
  margin: 0 !important;
}

@media (max-width: 1024px) {
  .hiw-steps { grid-template-columns: 1fr 1fr !important; }
}
@media (max-width: 560px) {
  .hiw-steps { grid-template-columns: 1fr !important; }
  .hiw-step-card:nth-child(4) { transition-delay: 0s; }
}

/* ================================================================
   Portrait step cards — ghost number default, pixel-reveal image on hover
   ================================================================ */

.hiw-portrait-card {
  aspect-ratio: 1122 / 1400 !important;
  padding: 0 !important;
  background: var(--deep-slate) !important;
  border: 1.5px solid rgba(255,255,255,0.06) !important;
  border-radius: var(--radius) !important;
  box-shadow: 0 8px 32px rgba(0,0,0,0.22) !important;
  overflow: hidden !important;
  -webkit-backdrop-filter: none !important;
  backdrop-filter: none !important;
  cursor: default;
  position: relative;
  transition:
    border-color 0.5s ease,
    box-shadow   0.5s ease !important;
}
.hiw-portrait-card:hover {
  background: var(--deep-slate) !important;
  border-color: rgba(79,201,195,0.70) !important;
  box-shadow:
    0 0 0 1px rgba(79,201,195,0.35),
    0 0 28px 4px rgba(79,201,195,0.28),
    0 20px 56px rgba(0,0,0,0.36) !important;
  transform: none !important;
}
.hiw-portrait-card.hiw-visible:hover { transform: none !important; }

/* ---- Card tag (top tagline) ---- */
.hiw-card-tag {
  position: absolute;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  white-space: nowrap;
  font-size: 0.63rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.72);
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.13);
  border-radius: 99px;
  padding: 5px 12px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 3;
  pointer-events: none;
  transition: color 0.3s ease, border-color 0.3s ease, background 0.3s ease;
}
.hiw-portrait-card:hover .hiw-card-tag {
  color: var(--teal);
  border-color: rgba(79,201,195,0.45);
  background: rgba(79,201,195,0.08);
}

/* Layer 0 — background image (always in DOM, revealed by clearing canvas).
   Slow Ken Burns drift while hovered, eases back on leave. */
.hiw-card-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
  z-index: 0;
  transform: scale(1.02);
  transition: transform 1.2s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
}
.hiw-portrait-card:hover .hiw-card-bg {
  transform: scale(1.14) translate(-2.5%, -3%);
  transition: transform 7s ease-out;
}

/* Layer 1 — canvas pre-filled with deep-slate, tiles clear on hover to reveal image */
.hiw-pixel-canvas {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  display: block;
}

/* Layer 2 — ghost number + label, always visible above the canvas. */
.hiw-card-front {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 24px 28px;
  pointer-events: none;
  background: linear-gradient(to top, rgba(14,20,25,0.78) 0%, transparent 46%);
}

/* Dominant ghost number — faint white over the dark default state,
   switches to dark/high-opacity on hover so it reads over the light image. */
.hiw-ghost-num {
  font-family: var(--font-display);
  font-size: clamp(7rem, 16vw, 11rem);
  font-weight: 900;
  line-height: 0.9;
  letter-spacing: -0.04em;
  color: rgba(255,255,255,0.16);
  display: block;
  user-select: none;
  text-shadow: 0 2px 24px rgba(0,0,0,0.25);
  transition: color 0.4s ease, text-shadow 0.4s ease;
}
.hiw-portrait-card:hover .hiw-ghost-num {
  color: rgba(14,20,25,0.30);
}

/* Bottom label on front */
.hiw-card-bottom {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.hiw-front-title {
  font-family: var(--font-display);
  font-size: clamp(1.1rem, 2vw, 1.35rem);
  font-weight: 700;
  color: #fff;
  line-height: 1.2;
  margin: 0;
}

.hiw-front-desc {
  font-family: var(--font-body);
  font-size: 0.80rem;
  color: rgba(255,255,255,0.72);
  line-height: 1.6;
  margin: 0;
}

/* Responsive */
@media (max-width: 900px) {
  .hiw-steps { grid-template-columns: repeat(2, 1fr) !important; gap: 16px !important; }
  .hiw-portrait-card:nth-child(3),
  .hiw-portrait-card:nth-child(4) { transition-delay: 0s; }
}
@media (max-width: 480px) {
  .hiw-steps { grid-template-columns: 1fr !important; }
  .hiw-ghost-num { font-size: 5rem; }
}

/* ---- 5. Primary button → gradient + glow ----------------------- */
.btn-primary {
  background: linear-gradient(135deg, var(--teal-glow) 0%, var(--teal) 52%, var(--teal-mid) 100%);
  border-color: transparent;
  box-shadow: 0 8px 24px -8px rgba(18, 140, 135, 0.55);
}
.btn-primary:hover {
  background: linear-gradient(135deg, #5fd8d2 0%, var(--teal) 48%, var(--teal-mid) 100%);
  border-color: transparent;
  transform: translateY(-2px);
  box-shadow: 0 14px 34px -8px rgba(18, 140, 135, 0.6);
}
