﻿/* ============================================================
   ShiftItNow — Marketing Site
   Design tokens, layout, components, and animations.
   ============================================================ */

/* ---------- 1. TOKENS ---------- */
:root {
  /* Brand palette — pulled from the logo */
  --navy-deep: #07182A;
  --navy: #0F2A3D;
  --navy-soft: #133249;
  --teal-dark: #1A4D5C;
  --teal: #2A7E92;
  --teal-light: #5FB1C0;
  --teal-glow: rgba(95, 177, 192, 0.4);
  --gold: #F2B544;
  --gold-bright: #FFC857;
  --gold-soft: rgba(242, 181, 68, 0.16);

  /* Neutrals */
  --white: #FFFFFF;
  --off-white: #F7F9FB;
  --gray-50: #F1F4F7;
  --gray-100: #E4E9EE;
  --gray-200: #D2DAE2;
  --gray-300: #B7C2CC;
  --gray-400: #8C99A3;
  --gray-500: #6B7A85;
  --gray-600: #4F5B65;
  --gray-700: #3D4B55;
  --gray-800: #1F2A33;
  --gray-900: #0F1A22;

  /* Semantic */
  --bg: var(--off-white);
  --surface: var(--white);
  --text: var(--gray-900);
  --text-muted: var(--gray-500);
  --border: var(--gray-100);
  --border-strong: var(--gray-200);

  /* Typography */
  --font-sans: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --font-display: 'Space Grotesk', var(--font-sans);

  /* Radii */
  --r-xs: 6px;
  --r-sm: 10px;
  --r-md: 14px;
  --r-lg: 20px;
  --r-xl: 28px;
  --r-pill: 999px;

  /* Shadows */
  --shadow-sm: 0 1px 2px rgba(15, 26, 34, 0.06), 0 1px 3px rgba(15, 26, 34, 0.05);
  --shadow-md: 0 4px 12px rgba(15, 26, 34, 0.08), 0 2px 4px rgba(15, 26, 34, 0.04);
  --shadow-lg: 0 16px 40px rgba(15, 26, 34, 0.10), 0 4px 12px rgba(15, 26, 34, 0.05);
  --shadow-xl: 0 28px 60px rgba(7, 24, 42, 0.18);
  --shadow-glow: 0 20px 60px rgba(42, 126, 146, 0.30);

  /* Transitions */
  --t-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
  --t-base: 250ms cubic-bezier(0.4, 0, 0.2, 1);
  --t-slow: 500ms cubic-bezier(0.4, 0, 0.2, 1);

  /* Layout */
  --container: 1280px;
  --gutter: clamp(20px, 5vw, 40px);
  --section-y: clamp(72px, 11vw, 130px);
}

/* ---------- 2. RESET ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; overflow-x: hidden; } /* native smooth-scroll removed — Lenis handles it */
body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  max-width: 100vw;
}
main { overflow-x: hidden; }
img, svg, video { display: block; max-width: 100%; height: auto; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }
a { color: inherit; text-decoration: none; transition: color var(--t-fast); }
ul, ol { list-style: none; padding: 0; margin: 0; }
input, select, textarea { font: inherit; color: inherit; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 0;
  color: var(--gray-900);
}
h1 { font-size: clamp(2.4rem, 5.5vw, 4.4rem); letter-spacing: -0.035em; font-weight: 700; }
h2 { font-size: clamp(1.9rem, 3.8vw, 2.9rem); letter-spacing: -0.025em; }
h3 { font-size: 1.25rem; letter-spacing: -0.015em; }
h4 { font-size: 0.95rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--teal); font-weight: 600; }
p  { margin: 0; }

::selection { background: var(--gold); color: var(--navy-deep); }

/* ---------- 3. LAYOUT PRIMITIVES ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}

.section { padding-top: var(--section-y); padding-bottom: var(--section-y); }

.section-head {
  text-align: center;
  max-width: 760px;
  margin: 0 auto clamp(40px, 6vw, 70px);
}
.section-head-left { text-align: left; max-width: 480px; margin-left: 0; margin-right: 0; }
.section-sub {
  margin-top: 14px;
  color: var(--text-muted);
  font-size: clamp(1rem, 1.4vw, 1.125rem);
  line-height: 1.65;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: var(--r-pill);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--teal-light);
  background: rgba(95, 177, 192, 0.10);
  border: 1px solid rgba(95, 177, 192, 0.25);
  margin-bottom: 18px;
}
.eyebrow-dark {
  color: var(--teal);
  background: rgba(42, 126, 146, 0.08);
  border-color: rgba(42, 126, 146, 0.18);
}
.eyebrow-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: currentColor;
  box-shadow: 0 0 0 4px rgba(95, 177, 192, 0.18);
  animation: pulseDot 2.4s ease-in-out infinite;
}
@keyframes pulseDot {
  0%, 100% { box-shadow: 0 0 0 4px rgba(95, 177, 192, 0.18); }
  50%      { box-shadow: 0 0 0 7px rgba(95, 177, 192, 0.06); }
}

/* ---------- 4. BUTTONS ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: var(--r-pill);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: -0.005em;
  transition: transform var(--t-fast), background var(--t-fast), color var(--t-fast), box-shadow var(--t-fast), border-color var(--t-fast);
  white-space: nowrap;
  border: 1.5px solid transparent;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
.btn-sm { padding: 9px 16px; font-size: 0.875rem; }
.btn-md { padding: 12px 22px; }
.btn-lg { padding: 16px 30px; font-size: 1rem; }
.btn-block { width: 100%; }

.btn-primary {
  background: linear-gradient(135deg, var(--gold-bright) 0%, var(--gold) 100%);
  color: var(--navy-deep);
  box-shadow: 0 8px 24px rgba(242, 181, 68, 0.35), inset 0 -1px 0 rgba(0,0,0,0.08);
}

/* Shopify icon on buttons — bigger, sits in a small white pill so the green pops on the gold button */
.btn-shopify-icon {
  width: 22px;
  height: 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  object-fit: contain;
  vertical-align: middle;
  padding: 2px;
  background: #FFFFFF;
  border-radius: 50%;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.12);
}
.btn-sm .btn-shopify-icon { width: 20px; height: 20px; padding: 2px; }
.btn-lg .btn-shopify-icon { width: 26px; height: 26px; padding: 3px; }
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 32px rgba(242, 181, 68, 0.45);
}

.btn-ghost {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(8px);
}
.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.10);
  border-color: rgba(255, 255, 255, 0.32);
}

.btn-ghost-dark {
  color: var(--navy);
  border-color: var(--border-strong);
  background: var(--white);
}
.btn-ghost-dark:hover {
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
}

.btn-dark {
  background: var(--navy-deep);
  color: var(--white);
}
.btn-dark:hover { background: var(--navy); transform: translateY(-2px); }

/* ---------- 5. ANNOUNCEMENT BAR ---------- */
.announcement-bar {
  background: var(--navy-deep);
  color: var(--gray-200);
  font-size: 0.85rem;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.announcement-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 10px var(--gutter);
  flex-wrap: wrap;
  text-align: center;
}
.announcement-inner strong { color: var(--gold); font-weight: 600; }
.announce-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 4px rgba(242,181,68,0.22);
  animation: pulseDot 2s ease-in-out infinite;
}
.announce-link { color: var(--teal-light); font-weight: 600; }
.announce-link:hover { color: var(--gold-bright); }

.announcement-inner { position: relative; }
.announce-close {
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  color: var(--gray-400);
  background: transparent;
  border: none;
  cursor: pointer;
  transition: color 150ms, background 150ms;
}
.announce-close:hover {
  color: var(--white);
  background: rgba(255, 255, 255, 0.10);
}

/* Show close button on mobile */
@media (max-width: 768px) {
  .announce-close { display: flex; }
}

/* ---------- 6. NAVIGATION ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(7, 24, 42, 0.85);
  backdrop-filter: blur(18px) saturate(1.4);
  -webkit-backdrop-filter: blur(18px) saturate(1.4);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  transition: background var(--t-base), box-shadow var(--t-base);
}
.site-header.scrolled {
  background: rgba(7, 24, 42, 0.95);
  box-shadow: 0 4px 20px rgba(0,0,0,0.25);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  gap: 24px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--white);
}
.brand-mark { width: 36px; height: 36px; filter: drop-shadow(0 4px 12px rgba(95, 177, 192, 0.3)); }
.brand-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: -0.02em;
}
.brand-accent { color: var(--gold); }

.primary-nav ul {
  display: flex;
  gap: 32px;
}
.primary-nav a {
  color: var(--gray-300);
  font-size: 0.92rem;
  font-weight: 500;
  position: relative;
  padding: 6px 0;
}
.primary-nav a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--gold), var(--teal-light));
  border-radius: 2px;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--t-base);
}
.primary-nav a:hover { color: var(--white); }
.primary-nav a:hover::after { transform: scaleX(1); }
.primary-nav a.nav-active { color: var(--white); }
.primary-nav a.nav-active::after { transform: scaleX(1); }

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

.nav-toggle {
  display: none;
  width: 42px; height: 42px;
  border-radius: var(--r-sm);
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 4px;
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(255,255,255,0.04);
}
.nav-toggle span {
  display: block;
  width: 18px; height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: all var(--t-base);
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

.mobile-menu {
  display: none;
  flex-direction: column;
  gap: 20px;
  padding: 24px var(--gutter) 32px;
  background: var(--navy-deep);
  border-top: 1px solid rgba(255,255,255,0.06);
}
.mobile-menu[data-open="true"] { display: flex; }
.mobile-menu ul { display: flex; flex-direction: column; gap: 4px; }
.mobile-menu a {
  display: block;
  padding: 14px 12px;
  color: var(--gray-200);
  font-size: 1rem;
  font-weight: 500;
  border-radius: var(--r-sm);
  transition: background var(--t-fast);
}
.mobile-menu a:hover { background: rgba(255,255,255,0.05); color: var(--white); }
.mobile-menu .btn { margin-top: 8px; }

/* ---------- 7. HERO ---------- */
.hero {
  position: relative;
  background: linear-gradient(180deg, var(--navy-deep) 0%, var(--navy) 60%, #0A2236 100%);
  color: var(--white);
  padding-top: clamp(40px, 6vw, 70px);
  padding-bottom: clamp(40px, 6vw, 80px);
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}
.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(95, 177, 192, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(95, 177, 192, 0.06) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse at center, #000 30%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse at center, #000 30%, transparent 80%);
}
.hero-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.55;
}
.hero-glow-1 {
  width: 600px; height: 600px;
  background: radial-gradient(circle, var(--teal) 0%, transparent 70%);
  top: -200px; left: -100px;
  animation: drift 22s ease-in-out infinite;
}
.hero-glow-2 {
  width: 500px; height: 500px;
  background: radial-gradient(circle, var(--gold) 0%, transparent 70%);
  bottom: -150px; right: -100px;
  opacity: 0.28;
  animation: drift 18s ease-in-out infinite reverse;
}
@keyframes drift {
  0%, 100% { transform: translate(0, 0); }
  50%      { transform: translate(60px, 40px); }
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto auto auto;
  column-gap: clamp(32px, 4vw, 60px);
  row-gap: 0;
  align-items: start;
  padding-top: 60px;
  padding-bottom: 80px;
}

/* Desktop: left column stacks copy → cta → trust; right column = visual spanning all rows */
.hero-copy   { grid-column: 1; grid-row: 1; }
.hero-visual { grid-column: 2; grid-row: 1 / 4; align-self: center; }
.hero-cta    { grid-column: 1; grid-row: 2; margin-top: 36px; display: flex; gap: 14px; flex-wrap: wrap; }
.hero-trust  { grid-column: 1; grid-row: 3; margin-top: 28px; display: flex; flex-wrap: wrap; gap: 8px 28px; font-size: 0.88rem; color: var(--gray-300); }

.hero-title {
  margin-top: 6px;
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 700;
  color: var(--white);
}
.hero-title em {
  font-style: normal;
  background: linear-gradient(135deg, var(--gold-bright), var(--gold));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.grad-shopify {
  background: linear-gradient(135deg, var(--teal-light) 0%, #95BF47 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-line2 { display: block; }

.hero-sub {
  margin-top: 24px;
  max-width: 560px;
  font-size: clamp(1.05rem, 1.4vw, 1.2rem);
  line-height: 1.6;
  color: var(--gray-200);
}

.hero-trust li { display: inline-flex; align-items: center; gap: 8px; }
.hero-trust svg { color: #4CAF50; }

/* ----- Hero visual: orbiting platform chips around the logo ----- */
.hero-visual {
  position: relative;
  aspect-ratio: 1 / 1;
  max-width: min(560px, 43vw);
  margin: 0 auto;
  width: 100%;
}
.orbit-ring {
  position: absolute;
  inset: 0;
  border: 1.5px dashed rgba(95, 177, 192, 0.22);
  border-radius: 50%;
}
.orbit-ring-1 { inset: 14%; animation: spin 40s linear infinite; }
.orbit-ring-2 { inset: 3%; border-style: solid; border-color: rgba(95, 177, 192, 0.12); animation: spin 60s linear infinite reverse; }
.orbit-ring-3 {
  inset: 26%;
  border: 1px solid rgba(242, 181, 68, 0.30);
  animation: spin 28s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

.logo-stage {
  position: absolute;
  inset: 30%;
  display: flex; align-items: center; justify-content: center;
  background: radial-gradient(circle at center, rgba(95,177,192,0.18), transparent 70%);
  border-radius: 50%;
}
.hero-logo {
  width: 100%;
  height: 100%;
  filter: drop-shadow(0 20px 40px rgba(95, 177, 192, 0.35));
  animation: float 6s ease-in-out infinite;
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-10px); }
}

.chip {
  position: absolute;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px 8px 8px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--r-pill);
  backdrop-filter: blur(12px);
  color: var(--white);
  font-size: 0.82rem;
  font-weight: 500;
  box-shadow: 0 8px 24px rgba(0,0,0,0.20);
  animation: floatChip 7s ease-in-out infinite;
}
.chip-icon {
  width: 24px; height: 24px;
  border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  color: #fff; font-weight: 700; font-size: 0.7rem;
  overflow: hidden;
}
.chip-icon img {
  width: 14px; height: 14px;
  object-fit: contain;
  display: block;
}
.chip-magento .chip-icon img,
.chip-wix .chip-icon img { filter: brightness(0) invert(1); }
.chip-squarespace .chip-icon img { width: 22px; height: 22px; border-radius: 50%; }
.chip-woo         { top:  8%; left: -8%; animation-delay: 0s; }
.chip-magento     { top: 22%; right: -8%; animation-delay: 1s; }
.chip-wix         { bottom: 28%; left: -6%; animation-delay: 2s; }
.chip-squarespace { bottom: 8%; right: -4%; animation-delay: 3s; }
.chip-shopify     { top: 50%; right: -8%; transform: translateY(-50%); animation-delay: 1.5s; background: rgba(149, 191, 71, 0.16); border-color: rgba(149, 191, 71, 0.32); }
@keyframes floatChip {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-8px); }
}
.chip-shopify { animation-name: floatChipCentered; }
@keyframes floatChipCentered {
  0%, 100% { transform: translateY(-50%); }
  50%      { transform: translateY(calc(-50% - 8px)); }
}

.data-pill {
  position: absolute;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  background: var(--gold);
  color: var(--navy-deep);
  border-radius: var(--r-pill);
  font-size: 0.74rem;
  font-weight: 700;
  box-shadow: 0 8px 20px rgba(242, 181, 68, 0.35);
  animation: floatChip 5s ease-in-out infinite;
}
.data-pill-1 { top: -2%; right: 18%; animation-delay: 0.4s; }
.data-pill-2 { bottom: 14%; left: 2%; animation-delay: 1.8s; }
.data-pill-3 { bottom: -2%; left: 36%; background: var(--white); color: var(--navy); animation-delay: 2.6s; }

/* ----- Trusted-by strip ----- */
.trust-strip {
  position: relative;
  z-index: 1;
  text-align: center;
  padding-top: 30px;
  border-top: 1px solid rgba(255,255,255,0.08);
}
.trust-strip-label {
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gray-400);
  font-weight: 600;
  margin-bottom: 16px;
}
.trust-strip-logos {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 28px;
  justify-content: center;
  align-items: center;
  color: var(--gray-200);
  font-size: 0.9rem;
  font-weight: 500;
}
.trust-strip-logos .sep {
  width: 4px; height: 4px;
  border-radius: 50%;
  background: var(--gray-500);
}

/* ---------- 8. PLATFORMS ---------- */
.platforms { background: var(--bg); }
.platform-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(16px, 2vw, 24px);
}
.platform-card {
  position: relative;
  padding: 28px 24px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-sm);
  transition: transform var(--t-base), box-shadow var(--t-base), border-color var(--t-base);
}
.platform-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--teal-light);
}
.platform-logo {
  width: 52px; height: 52px;
  border-radius: var(--r-md);
  display: flex; align-items: center; justify-content: center;
  font-weight: 800;
  font-size: 1.4rem;
  color: var(--white);
  margin-bottom: 18px;
  font-family: var(--font-display);
}
.platform-logo-woo       { background: linear-gradient(135deg, #7B519C, #5A3B7E); }
.platform-logo-magento   { background: linear-gradient(135deg, #F26322, #C84A0A); }
.platform-logo-wix       { background: linear-gradient(135deg, #0C6EFC, #0848B0); }
.platform-logo-squarespace { background: linear-gradient(135deg, #1a1a1a, #000); }
.platform-logo-bigc      { background: linear-gradient(135deg, #34313F, #121118); }
.platform-logo-custom    { background: linear-gradient(135deg, var(--teal), var(--navy)); color: var(--gold); }

.platform-logo img {
  width: 62%;
  height: 62%;
  object-fit: contain;
  display: block;
}
.platform-logo-magento img,
.platform-logo-wix img,
.platform-logo-bigc img { filter: brightness(0) invert(1); }
.platform-logo-squarespace img { width: 78%; height: 78%; border-radius: 50%; }

.platform-card h3 { color: var(--gray-900); margin-bottom: 8px; }
.platform-card p { color: var(--text-muted); font-size: 0.92rem; line-height: 1.55; margin-bottom: 18px; }

.badge {
  display: inline-block;
  padding: 4px 12px;
  border-radius: var(--r-pill);
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.04em;
}
.badge-live { background: rgba(34, 139, 87, 0.10); color: #228B57; }
.badge-soon { background: var(--gold-soft); color: #B07D14; }
.badge-link { color: var(--teal); cursor: pointer; }
.badge-link:hover { color: var(--navy); }

.platform-card-soon { border-style: dashed; }
.platform-card-custom { background: linear-gradient(135deg, var(--navy-deep), var(--navy)); border-color: transparent; color: var(--white); }
.platform-card-custom h3 { color: var(--white); }
.platform-card-custom p { color: var(--gray-300); }

/* ---------- 9. FEATURES ---------- */
.features { background: var(--white); }
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(16px, 2vw, 24px);
}
.feature-card {
  position: relative;
  padding: 32px 28px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  transition: transform var(--t-base), box-shadow var(--t-base), border-color var(--t-base);
}
.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--teal-light);
}
.feature-icon {
  width: 52px; height: 52px;
  border-radius: var(--r-md);
  background: linear-gradient(135deg, var(--teal-light), var(--teal));
  color: var(--white);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px;
  box-shadow: 0 8px 20px rgba(42, 126, 146, 0.25);
}
.feature-icon-gold {
  background: linear-gradient(135deg, var(--gold-bright), var(--gold));
  color: var(--navy-deep);
  box-shadow: 0 8px 20px rgba(242, 181, 68, 0.35);
}
.feature-card h3 { color: var(--gray-900); margin-bottom: 10px; }
.feature-card p { color: var(--text-muted); line-height: 1.6; font-size: 0.95rem; }

.feature-card-accent {
  background: linear-gradient(180deg, #FFFBF1 0%, #FFF8E7 100%);
  border-color: rgba(242, 181, 68, 0.3);
}
.feature-dots,
.platform-dots { display: none; }

/* ---------- 10. HOW IT WORKS ---------- */
.how { background: linear-gradient(180deg, var(--off-white), #EDF2F6); }
.steps {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(16px, 2vw, 24px);
}
.step-line {
  position: absolute;
  top: 30px;
  left: 12.5%;
  right: 12.5%;
  height: 2px;
  background: repeating-linear-gradient(90deg, var(--teal-light) 0, var(--teal-light) 6px, transparent 6px, transparent 12px);
  z-index: 0;
}
.step {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 0 8px;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.step-time { margin-top: auto; }
.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 60px; height: 60px;
  border-radius: 50%;
  background: var(--white);
  color: var(--teal);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.1rem;
  margin-bottom: 22px;
  border: 2px solid var(--teal-light);
  box-shadow: 0 8px 20px rgba(42, 126, 146, 0.15);
  transition: all var(--t-base);
}
.step:hover .step-num {
  background: linear-gradient(135deg, var(--teal), var(--navy));
  color: var(--white);
  border-color: var(--teal);
  transform: scale(1.05);
}
.step h3 { margin-bottom: 10px; color: var(--gray-900); }
.step p { font-size: 0.9rem; color: var(--text-muted); line-height: 1.55; margin-bottom: 14px; }
.step-time {
  display: inline-block;
  padding: 4px 12px;
  background: var(--white);
  color: var(--teal);
  font-size: 0.78rem;
  font-weight: 600;
  border-radius: var(--r-pill);
  border: 1px solid var(--border-strong);
}

/* ---------- 11. MIGRATED SCOPE ---------- */
.migrated {
  background: var(--white);
}
.migrated-inner {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: start;
}
.migrated-copy h2 { margin-bottom: 18px; }
.migrated-copy p { color: var(--text-muted); margin-bottom: 28px; line-height: 1.65; }
.migrated-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px 32px;
}
.mig-col h4 { margin-bottom: 14px; }
.mig-col ul li {
  position: relative;
  padding: 8px 0 8px 28px;
  font-size: 0.95rem;
  color: var(--gray-700);
  border-bottom: 1px solid var(--border);
}
.mig-col ul li:last-child { border-bottom: 0; }
.mig-col ul li::before {
  content: "";
  position: absolute;
  left: 0; top: 12px;
  width: 18px; height: 18px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232A7E92' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E");
  background-size: contain;
  background-repeat: no-repeat;
}

/* ---------- 12. STATS ---------- */
.stats {
  background: linear-gradient(135deg, var(--navy-deep) 0%, var(--navy) 100%);
  color: var(--white);
  padding-top: clamp(60px, 8vw, 100px);
  padding-bottom: clamp(60px, 8vw, 100px);
  position: relative;
  overflow: hidden;
}
.stats::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: radial-gradient(ellipse at center, #000, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at center, #000, transparent 75%);
}
.stat-grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(16px, 2vw, 24px);
  text-align: center;
}
.stat { padding: 12px; }
.stat-value {
  display: inline-flex;
  align-items: baseline;
  gap: 2px;
}
.stat-num {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  display: inline;
  background: linear-gradient(135deg, var(--gold-bright), var(--gold));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.stat-unit {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 700;
  color: var(--teal-light);
  margin-left: 2px;
}
.stat-slash {
  font-size: 0.55em;
  font-weight: 400;
  opacity: 0.55;
  margin-right: 3px;
  vertical-align: middle;
}
.stat p {
  margin-top: 8px;
  color: var(--gray-300);
  font-size: 0.92rem;
}

/* ---------- 13. TESTIMONIALS ---------- */
.testimonials { background: var(--off-white); }
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: clamp(16px, 2vw, 24px);
}
.testimonial {
  padding: 32px 30px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-sm);
  transition: transform var(--t-base), box-shadow var(--t-base);
}
.testimonial:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.testimonial.featured {
  background: linear-gradient(180deg, var(--navy-deep), var(--navy));
  color: var(--white);
  border-color: transparent;
}
.testimonial .stars {
  color: var(--gold);
  font-size: 1rem;
  letter-spacing: 4px;
  margin-bottom: 18px;
}
.testimonial blockquote {
  margin: 0 0 22px;
  font-size: 1rem;
  line-height: 1.65;
  color: var(--gray-700);
}
.testimonial.featured blockquote { color: var(--gray-200); }
.testimonial footer {
  display: flex;
  align-items: center;
  gap: 14px;
}
.testimonial footer strong { display: block; font-size: 0.95rem; color: var(--gray-900); }
.testimonial.featured footer strong { color: var(--white); }
.testimonial footer span { font-size: 0.85rem; color: var(--text-muted); }
.testimonial.featured footer span { color: var(--gray-300); }
.avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--white);
  font-weight: 700;
  font-size: 0.9rem;
  font-family: var(--font-display);
  flex-shrink: 0;
}

/* ---------- 14. PRICING ---------- */
.pricing { background: var(--white); }
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr));
  gap: 24px;
  max-width: 1100px;
  margin: 0 auto;
}
.price-card {
  position: relative;
  padding: 36px 30px;
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--r-xl);
  transition: transform var(--t-base), box-shadow var(--t-base);
  display: flex;
  flex-direction: column;
}
.price-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.price-card header h3 { margin-bottom: 6px; font-size: 1.4rem; }
.price-card header p { color: var(--text-muted); font-size: 0.9rem; margin-bottom: 22px; }

.price {
  display: flex;
  align-items: baseline;
  gap: 4px;
  padding: 18px 0 22px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 24px;
}
.price-currency { font-size: 1.5rem; color: var(--gray-700); font-weight: 600; }
.price-amount {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 700;
  color: var(--gray-900);
  letter-spacing: -0.03em;
  line-height: 1;
}
.price-amount-text { font-size: 2.2rem; }
.price-period { font-size: 0.9rem; color: var(--text-muted); margin-left: 6px; }

.price-feats { flex: 1; margin-bottom: 28px; }
.price-feats li {
  position: relative;
  padding: 10px 0 10px 30px;
  font-size: 0.95rem;
  color: var(--gray-700);
}
.price-feats li::before {
  content: "";
  position: absolute;
  left: 0; top: 14px;
  width: 18px; height: 18px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232A7E92' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E");
  background-size: contain;
  background-repeat: no-repeat;
}

.price-card-featured {
  background: linear-gradient(180deg, var(--navy-deep), var(--navy));
  color: var(--white);
  border-color: transparent;
  transform: translateY(-12px);
  box-shadow: var(--shadow-xl);
}
.price-card-featured:hover { transform: translateY(-16px); }
.price-card-featured h3 { color: var(--white); }
.price-card-featured header p { color: var(--gray-300); }
.price-card-featured .price-currency { color: var(--gold); }
.price-card-featured .price-amount { color: var(--white); }
.price-card-featured .price-period { color: var(--gray-300); }
.price-card-featured .price-feats li { color: var(--gray-200); }
.price-card-featured .price-feats li::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23F2B544' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E");
}
.price-card-featured .price { border-bottom-color: rgba(255,255,255,0.12); }

.badge-most-popular {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  padding: 6px 16px;
  background: linear-gradient(135deg, var(--gold-bright), var(--gold));
  color: var(--navy-deep);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-radius: var(--r-pill);
  box-shadow: 0 6px 18px rgba(242, 181, 68, 0.4);
}

/* ---------- 15. FAQ ---------- */
.faq { background: var(--off-white); }
.faq-inner {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: start;
}
.faq-list { display: flex; flex-direction: column; gap: 12px; }
.faq-item {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  overflow: hidden;
  transition: border-color var(--t-base), box-shadow var(--t-base);
}
.faq-item[open] { border-color: var(--teal-light); box-shadow: var(--shadow-md); }
.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 24px;
  cursor: pointer;
  font-weight: 600;
  font-size: 1rem;
  color: var(--gray-900);
  list-style: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-chev {
  flex-shrink: 0;
  width: 20px; height: 20px;
  position: relative;
  transition: transform var(--t-base);
}
.faq-chev::before, .faq-chev::after {
  content: "";
  position: absolute;
  background: var(--teal);
  border-radius: 2px;
  transition: all var(--t-base);
}
.faq-chev::before { top: 9px; left: 2px; right: 2px; height: 2px; }
.faq-chev::after  { left: 9px; top: 2px; bottom: 2px; width: 2px; }
.faq-item[open] .faq-chev::after { transform: scaleY(0); }
.faq-body {
  padding: 0 24px 22px;
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.65;
}
.faq-body a { color: var(--teal); font-weight: 600; }
.faq-body a:hover { color: var(--navy); }

.link-accent { color: var(--teal); font-weight: 600; }
.link-accent:hover { color: var(--gold); }

/* ---------- 16. CTA CARD ---------- */
.cta-section { padding-top: clamp(48px, 7vw, 80px); padding-bottom: clamp(48px, 7vw, 80px); background: var(--white); }
.cta-card {
  position: relative;
  background: linear-gradient(135deg, var(--navy-deep), var(--navy) 60%, var(--teal-dark));
  color: var(--white);
  border-radius: 24px;
  padding: 52px 48px;
  overflow: hidden;
  text-align: center;
  box-shadow: var(--shadow-xl);
}
.cta-bg { position: absolute; inset: 0; pointer-events: none; }
.cta-bg::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(95, 177, 192, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(95, 177, 192, 0.06) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse at center, #000 40%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse at center, #000 40%, transparent 80%);
}
.cta-glow {
  position: absolute;
  width: 400px; height: 400px;
  background: radial-gradient(circle, var(--gold) 0%, transparent 70%);
  filter: blur(80px);
  opacity: 0.18;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
}
.cta-content { position: relative; z-index: 1; max-width: 600px; margin: 0 auto; }
.cta-content h2 {
  color: var(--white);
  margin-top: 14px;
  font-size: 2rem;
}
.cta-content p {
  margin: 16px auto 0;
  color: var(--gray-200);
  font-size: 0.95rem;
  max-width: 480px;
  line-height: 1.65;
}
.cta-buttons {
  margin-top: 28px;
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}

/* ---------- 17. CONTACT ---------- */
.contact { background: var(--white); }
.contact-inner {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: start;
}
.contact-copy h2 { margin-bottom: 16px; }
.contact-copy > p { color: var(--text-muted); margin-bottom: 32px; line-height: 1.65; }
.contact-items {
  display: flex;
  flex-direction: column;
  gap: 18px;
  border-top: 1px solid var(--border);
  padding-top: 24px;
}
.contact-items li {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 12px;
  align-items: baseline;
}
.contact-items strong {
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  font-weight: 600;
}
.contact-items a { color: var(--teal); font-weight: 500; }
.contact-items a:hover { color: var(--navy); }

.contact-form {
  background: var(--off-white);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: clamp(28px, 4vw, 40px);
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.contact-form label {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.contact-form label span {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--gray-700);
}
.contact-form input,
.contact-form select,
.contact-form textarea {
  background: var(--white);
  border: 1px solid var(--border-strong);
  border-radius: var(--r-sm);
  padding: 12px 14px;
  font-size: 0.95rem;
  transition: border-color var(--t-fast), box-shadow var(--t-fast);
  outline: none;
  font-family: inherit;
}
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: var(--teal);
  box-shadow: 0 0 0 4px rgba(42, 126, 146, 0.12);
}
.contact-form textarea { resize: vertical; min-height: 100px; }
.form-block { display: flex; flex-direction: column; gap: 8px; }

.form-success {
  background: rgba(34, 139, 87, 0.10);
  color: #1F7A4D;
  padding: 12px 16px;
  border-radius: var(--r-sm);
  font-size: 0.92rem;
  font-weight: 600;
  text-align: center;
}
.form-error {
  background: rgba(217, 48, 37, 0.08);
  color: #C0392B;
  padding: 12px 16px;
  border-radius: var(--r-sm);
  font-size: 0.92rem;
  font-weight: 500;
  text-align: center;
}
.form-error a { color: #C0392B; text-decoration: underline; font-weight: 600; }
.form-error a:hover { color: #8B2A21; }

/* ---------- 18. FOOTER ---------- */
.site-footer {
  background: var(--navy-deep);
  color: var(--gray-300);
  padding-top: clamp(60px, 8vw, 100px);
  padding-bottom: 28px;
  font-size: 0.92rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr repeat(3, 1fr);
  gap: clamp(28px, 4vw, 56px);
  padding-bottom: 50px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.footer-brand .brand { margin-bottom: 18px; }
.footer-brand p {
  max-width: 360px;
  color: var(--gray-400);
  line-height: 1.6;
  margin-bottom: 22px;
}
.footer-social {
  display: flex;
  gap: 10px;
}
.footer-social a {
  width: 38px; height: 38px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: rgba(255,255,255,0.05);
  color: var(--gray-300);
  border: 1px solid rgba(255,255,255,0.06);
  transition: all var(--t-base);
}
.footer-social a:hover {
  background: var(--gold);
  color: var(--navy-deep);
  border-color: var(--gold);
  transform: translateY(-2px);
}

.footer-col h4 {
  color: var(--white);
  font-family: var(--font-sans);
  font-size: 0.92rem;
  text-transform: none;
  letter-spacing: -0.005em;
  margin-bottom: 18px;
  font-weight: 600;
}
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col a { color: var(--gray-400); font-size: 0.92rem; }
.footer-col a:hover { color: var(--gold); }

.footer-bottom {
  padding-top: 28px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: space-between;
  align-items: center;
}
.footer-bottom p { font-size: 0.85rem; color: var(--gray-500); }
.footer-meta { max-width: 460px; }

/* ---------- 19. SCROLL REVEAL ---------- */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 700ms cubic-bezier(0.4, 0, 0.2, 1), transform 700ms cubic-bezier(0.4, 0, 0.2, 1);
}
.reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- FEATURED / HIGHLIGHTED SECTIONS ---------- */
.section-featured {
  position: relative;
  isolation: isolate;
}
.section-featured::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent 0%, var(--gold) 30%, var(--teal-light) 70%, transparent 100%);
  z-index: 1;
}
.section-featured::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 0% 0%, rgba(242, 181, 68, 0.06) 0%, transparent 45%),
    radial-gradient(ellipse at 100% 100%, rgba(95, 177, 192, 0.05) 0%, transparent 45%);
  pointer-events: none;
  z-index: 0;
}
.section-featured > .container { position: relative; z-index: 2; }

/* "★ Featured" flag pinned to top-right of the container */
.featured-flag {
  position: absolute;
  top: -14px;
  right: 0;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: var(--r-pill);
  background: linear-gradient(135deg, var(--gold-bright), var(--gold));
  color: var(--navy-deep);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  box-shadow: 0 6px 18px rgba(242, 181, 68, 0.35);
  z-index: 3;
}

/* Featured on dark sections (stats already dark; not applied there) */
.section-featured.testimonials { background: linear-gradient(180deg, var(--off-white) 0%, #EDF3F6 100%); }
.section-featured.features    { background: linear-gradient(180deg, var(--white) 0%, #FAFCFD 100%); }
.section-featured.how         { background: linear-gradient(180deg, var(--off-white) 0%, #E6EEF3 100%); }

/* On small screens, flag becomes a centered inline pill above the heading */
@media (max-width: 600px) {
  .featured-flag {
    position: static;
    display: table;
    margin: 0 auto 16px;
  }
}

/* ============================================================
   HERO FLOW VISUAL (replaces the old orbiting-chips circle)
   The migration flow viz lives inside .hero-visual.
   ============================================================ */
.hero-visual.hero-flow {
  position: relative;
  aspect-ratio: 1 / 1;
  width: 100%;
  max-width: min(560px, 48vw);
  margin: 0 auto;
}
.hero-flow .flow-source {
  position: absolute;
  font-size: 0.82rem;
  padding: 8px 14px 8px 8px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--r-pill);
  backdrop-filter: blur(12px);
  color: var(--white);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
  animation: floatChip 7s ease-in-out infinite;
  z-index: 2;
}
.hero-visual.hero-flow .flow-source-icon {
  width: 22px; height: 22px;
  border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  overflow: hidden;
  flex-shrink: 0;
}
.hero-visual.hero-flow .flow-source-icon img { width: 60%; height: 60%; object-fit: contain; }

/* 5 sources distributed down the left side */
.hero-flow .flow-source-1 { top: 4%;  left: -6%; animation-delay: 0s; }
.hero-flow .flow-source-2 { top: 26%; left: -10%; animation-delay: 0.8s; }
.hero-flow .flow-source-3 { top: 48%; left: -6%; animation-delay: 1.4s; }
.hero-flow .flow-source-4 { top: 70%; left: -10%; animation-delay: 2.2s; }
.hero-flow .flow-source-5 { top: 92%; left: -6%; animation-delay: 3s; }

/* Shopify destination — smaller in hero */
.hero-flow .flow-dest {
  position: absolute;
  right: -2%;
  top: 50%;
  transform: translateY(-50%);
  width: 110px; height: 110px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(149, 191, 71, 0.30), rgba(149, 191, 71, 0.05) 60%, transparent);
  display: flex; align-items: center; justify-content: center;
  border: 2px solid rgba(149, 191, 71, 0.45);
  box-shadow:
    0 0 0 8px rgba(149, 191, 71, 0.08),
    0 0 60px rgba(149, 191, 71, 0.3);
  animation: destPulse 3s ease-in-out infinite;
  z-index: 2;
}
.hero-flow .flow-dest-inner {
  width: 72px; height: 72px;
  border-radius: 50%;
  background: #FFFFFF;
  display: flex; align-items: center; justify-content: center;
  box-shadow:
    inset 0 -3px 0 rgba(0, 0, 0, 0.06),
    0 4px 14px rgba(0, 0, 0, 0.18);
}
.hero-flow .flow-dest-inner svg,
.hero-flow .flow-dest-inner img {
  width: 44px;
  height: 44px;
  object-fit: contain;
}
.hero-flow .flow-dest-label {
  position: absolute;
  bottom: -26px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gray-300);
  white-space: nowrap;
}

.hero-flow .flow-svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
  pointer-events: none;
  z-index: 1;
}

/* Tablet (≤960px) — slightly smaller, sources hug the visual */
@media (max-width: 960px) {
  .hero-visual.hero-flow { max-width: 460px; }
  .hero-flow .flow-source { font-size: 0.78rem; padding: 7px 12px 7px 7px; }
  .hero-flow .flow-source-1 { left: 0%; }
  .hero-flow .flow-source-2 { left: -4%; }
  .hero-flow .flow-source-3 { left: 0%; }
  .hero-flow .flow-source-4 { left: -4%; }
  .hero-flow .flow-source-5 { left: 0%; }
  .hero-flow .flow-dest { right: 2%; }
}

/* Phones (≤600px) — square stage so the flow animation renders cleanly */
@media (max-width: 600px) {
  .hero-visual.hero-flow {
    aspect-ratio: 1 / 1;
    width: 100%;
    max-width: min(380px, 84vw);
    margin: 0 auto;
    overflow: visible;
  }

  /* Keep the animated SVG flow VISIBLE on mobile */
  .hero-flow .flow-svg { display: block; }

  /* Source pills: smaller, aligned to the SVG path start points */
  .hero-flow .flow-source {
    font-size: 0.72rem;
    padding: 5px 11px 5px 5px;
    gap: 6px;
    animation: floatChip 6s ease-in-out infinite;
  }
  .hero-visual.hero-flow .flow-source-icon { width: 20px; height: 20px; }
  .hero-visual.hero-flow .flow-source-icon img { width: 56%; height: 56%; }

  /* Stack sources down the left, lining up with the SVG paths */
  .hero-flow .flow-source-1 { top:  7%; left: 0; }
  .hero-flow .flow-source-2 { top: 27%; left: 0; }
  .hero-flow .flow-source-3 { top: 47%; left: 0; }
  .hero-flow .flow-source-4 { top: 67%; left: 0; }
  .hero-flow .flow-source-5 { top: 86%; left: 0; }

  /* Shopify dest: aligned to the SVG path end point */
  .hero-flow .flow-dest {
    width: 88px; height: 88px;
    right: 2%;
    top: 50%;
    transform: translateY(-50%);
  }
  .hero-flow .flow-dest-inner { width: 58px; height: 58px; }
  .hero-flow .flow-dest-inner svg, .hero-flow .flow-dest-inner img { width: 34px; height: 34px; }
  .hero-flow .flow-dest-label {
    font-size: 0.62rem;
    bottom: -22px;
    letter-spacing: 0.1em;
  }
}

/* Very small phones (≤380px) — keep square, just tighter */
@media (max-width: 380px) {
  .hero-visual.hero-flow {
    aspect-ratio: 1 / 1;
    max-width: 90vw;
  }
  .hero-flow .flow-source {
    font-size: 0.66rem;
    padding: 4px 9px 4px 4px;
    gap: 5px;
  }
  .hero-visual.hero-flow .flow-source-icon { width: 18px; height: 18px; }
  .hero-flow .flow-dest { width: 76px; height: 76px; right: 2%; }
  .hero-flow .flow-dest-inner { width: 50px; height: 50px; }
  .hero-flow .flow-dest-inner svg, .hero-flow .flow-dest-inner img { width: 28px; height: 28px; }
}

/* ============================================================
   ORBITING HERO CHIPS
   Each chip is wrapped in .chip-orbit which spins around the
   hero-visual centre; the .chip inside counter-rotates so its
   label stays upright. Starting positions are offset via
   negative animation-delay (5 chips × 22s ÷ 5 = 4.4s apart).
   ============================================================ */
.chip-orbit {
  position: absolute;
  /* Inset controls orbit radius — slight inset keeps chips inside the visual */
  inset: 4%;
  pointer-events: none;
  animation: chipOrbitSpin 22s linear infinite;
  z-index: 2;
}
.chip-orbit .chip {
  /* Cancel old absolute positioning rules from the static layout */
  top: 0 !important;
  left: 50% !important;
  right: auto !important;
  bottom: auto !important;
  margin: 0;
  pointer-events: auto;
  transform: translate(-50%, -50%);
  animation: chipOrbitCounter 22s linear infinite;
}
@keyframes chipOrbitSpin {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}
@keyframes chipOrbitCounter {
  from { transform: translate(-50%, -50%) rotate(0deg); }
  to   { transform: translate(-50%, -50%) rotate(-360deg); }
}

/* Stagger 5 chips evenly around the orbit (72° apart = 4.4s of 22s) */
.chip-orbit-1, .chip-orbit-1 .chip { animation-delay:  0s; }
.chip-orbit-2, .chip-orbit-2 .chip { animation-delay: -4.4s; }
.chip-orbit-3, .chip-orbit-3 .chip { animation-delay: -8.8s; }
.chip-orbit-4, .chip-orbit-4 .chip { animation-delay: -13.2s; }
.chip-orbit-5, .chip-orbit-5 .chip { animation-delay: -17.6s; }

/* Pause orbit on hover so users can read the labels */
.hero-visual:hover .chip-orbit,
.hero-visual:hover .chip-orbit .chip { animation-play-state: paused; }

/* Reduced motion: stop the orbit (chips parked at start positions) */
@media (prefers-reduced-motion: reduce) {
  .chip-orbit, .chip-orbit .chip { animation: none !important; }
}

/* Phones: the orbit overlaps text — fall back to the static layout */
@media (max-width: 768px) {
  .chip-orbit { position: static; inset: auto; animation: none; }
  .chip-orbit .chip {
    position: absolute;
    transform: none;
    animation: floatChip 7s ease-in-out infinite;
  }
  /* Restore the original mobile clock-position layout */
  .chip-orbit-1 .chip { top: 28%; left: 2%;  right: auto; bottom: auto; }
  .chip-orbit-2 .chip { top: 8%;  left: auto; right: 8%; bottom: auto; }
  .chip-orbit-3 .chip { top: auto; left: 2%;  right: auto; bottom: 22%; }
  .chip-orbit-4 .chip { top: auto; left: auto; right: 8%; bottom: 8%; }
  .chip-orbit-5 .chip { top: 48%; left: auto; right: 2%; bottom: auto; transform: none; }
}

/* ============================================================
   PREMIUM POLISH
   ============================================================ */

/* ---------- Mouse-follow spotlight on hero ---------- */
.hero {
  --mx: 50%;
  --my: 40%;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(420px circle at var(--mx) var(--my),
    rgba(95, 177, 192, 0.18),
    rgba(95, 177, 192, 0.08) 35%,
    transparent 65%);
  pointer-events: none;
  z-index: 1;
  transition: background-position 200ms ease-out;
  mix-blend-mode: screen;
}

/* ---------- Migration flow visualization ---------- */
.flow-viz {
  background: linear-gradient(180deg, var(--navy-deep) 0%, #0B2235 100%);
  color: var(--white);
  padding: clamp(80px, 10vw, 130px) 0;
  position: relative;
  overflow: hidden;
}
.flow-viz::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(95, 177, 192, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(95, 177, 192, 0.05) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse at center, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at center, #000 30%, transparent 75%);
  pointer-events: none;
}
.flow-viz .container { position: relative; z-index: 1; }
.flow-viz .section-head h2 { color: var(--white); }
.flow-viz .section-head .section-sub { color: var(--gray-300); }

.flow-stage {
  position: relative;
  height: clamp(360px, 50vw, 480px);
  max-width: 880px;
  margin: 0 auto;
}

/* Source platform pills, scattered on the left */
.flow-source {
  position: absolute;
  left: 0;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px 10px 10px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--r-pill);
  backdrop-filter: blur(12px);
  font-weight: 600;
  font-size: 0.92rem;
  white-space: nowrap;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
}
.flow-source-icon {
  width: 28px; height: 28px;
  border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  overflow: hidden;
}
.flow-source-icon img { width: 60%; height: 60%; object-fit: contain; }
.flow-source-1 { top: 5%;  left: 2%; }
.flow-source-2 { top: 28%; left: 0%; }
.flow-source-3 { top: 52%; left: 2%; }
.flow-source-4 { top: 76%; left: 0%; }
.flow-source-5 { top: 95%; left: 4%; }

/* Central Shopify destination */
.flow-dest {
  position: absolute;
  right: 4%;
  top: 50%;
  transform: translateY(-50%);
  width: 150px; height: 150px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(149, 191, 71, 0.25), rgba(149, 191, 71, 0.05) 60%, transparent);
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid rgba(149, 191, 71, 0.4);
  box-shadow:
    0 0 0 8px rgba(149, 191, 71, 0.08),
    0 0 60px rgba(149, 191, 71, 0.3);
  animation: destPulse 3s ease-in-out infinite;
}
.flow-dest-inner {
  width: 90px; height: 90px;
  border-radius: 50%;
  background: linear-gradient(135deg, #95BF47, #5E8E2E);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.78rem;
  color: var(--white);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  box-shadow: inset 0 -4px 0 rgba(0, 0, 0, 0.12);
}
.flow-dest-inner svg, .flow-dest-inner img { width: 36px; height: 36px; }
.flow-dest-label {
  position: absolute;
  bottom: -34px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gray-300);
  white-space: nowrap;
}
@keyframes destPulse {
  0%, 100% { box-shadow: 0 0 0 8px rgba(149, 191, 71, 0.08), 0 0 60px rgba(149, 191, 71, 0.3); }
  50%      { box-shadow: 0 0 0 14px rgba(149, 191, 71, 0.04), 0 0 80px rgba(149, 191, 71, 0.5); }
}

/* SVG overlay holding the animated flow lines */
.flow-svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  overflow: visible;
}
.flow-path {
  stroke: rgba(95, 177, 192, 0.25);
  stroke-width: 1.5;
  fill: none;
  stroke-dasharray: 4 6;
  animation: dashFlow 2.4s linear infinite;
}
.flow-path-2 { stroke: rgba(242, 181, 68, 0.25); animation-duration: 3s; }
.flow-path-3 { stroke: rgba(95, 177, 192, 0.20); animation-duration: 2.8s; }
.flow-path-4 { stroke: rgba(242, 181, 68, 0.20); animation-duration: 3.4s; }
@keyframes dashFlow {
  to { stroke-dashoffset: -100; }
}

/* Glowing data packet traveling along each path */
.flow-packet {
  fill: var(--teal-light);
  filter: drop-shadow(0 0 8px var(--teal-light)) drop-shadow(0 0 16px rgba(95, 177, 192, 0.6));
}
.flow-packet-gold { fill: var(--gold-bright); filter: drop-shadow(0 0 8px var(--gold-bright)) drop-shadow(0 0 16px rgba(242, 181, 68, 0.6)); }

/* Throughput counter strip below the stage */
.flow-meta {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 14px 32px;
  margin-top: 60px;
  padding-top: 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.flow-meta-item {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
  color: var(--gray-300);
}
.flow-meta-item strong {
  color: var(--white);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
}
.flow-meta-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--teal-light);
  box-shadow: 0 0 0 4px rgba(95, 177, 192, 0.18), 0 0 12px var(--teal-light);
  animation: pulseDot 1.8s ease-in-out infinite;
}

/* Mobile — stack the stage */
@media (max-width: 720px) {
  .flow-stage { height: auto; min-height: 520px; max-width: 100%; }
  .flow-source { font-size: 0.82rem; padding: 8px 14px 8px 8px; }
  .flow-source-5 { display: none; }
  .flow-dest { width: 110px; height: 110px; right: 50%; top: auto; bottom: 0; transform: translate(50%, 0); }
  .flow-dest-inner { width: 70px; height: 70px; font-size: 0.7rem; }
  .flow-dest-inner svg, .flow-dest-inner img { width: 28px; height: 28px; }
  .flow-svg { display: none; } /* keep mobile clean — lines look messy at this size */
  .flow-source-1 { top: 0;   left: 0; }
  .flow-source-2 { top: 18%; left: 8%; }
  .flow-source-3 { top: 36%; left: 0; }
  .flow-source-4 { top: 54%; left: 8%; }
}

/* ============================================================
   TECH ANIMATIONS LAYER
   ============================================================ */

/* ---------- Scroll progress bar ---------- */
.scroll-progress {
  position: fixed;
  top: 0; left: 0;
  height: 3px;
  width: 0%;
  background: linear-gradient(90deg, var(--gold-bright), var(--teal-light), var(--gold));
  background-size: 200% 100%;
  z-index: 999;
  box-shadow: 0 0 12px rgba(95, 177, 192, 0.5), 0 0 24px rgba(242, 181, 68, 0.3);
  animation: progressShift 4s linear infinite;
  transition: width 80ms linear;
  pointer-events: none;
}
@keyframes progressShift {
  to { background-position: -200% 0; }
}

/* ---------- Animated gradient sweep on Shopify brand word ---------- */
.grad-shopify {
  background: linear-gradient(120deg,
    var(--teal-light) 0%,
    #95BF47 30%,
    var(--gold-bright) 55%,
    #95BF47 80%,
    var(--teal-light) 100%);
  background-size: 250% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: gradientSweep 6s linear infinite;
}
@keyframes gradientSweep {
  0%   { background-position:  100% 0; }
  100% { background-position: -150% 0; }
}

/* ---------- Hero title: subtle reveal with cursor blink ---------- */
.hero-title { position: relative; }
.hero-title::after {
  content: "_";
  display: inline-block;
  color: var(--gold);
  margin-left: 6px;
  animation: caretBlink 1.1s steps(1) infinite;
  font-weight: 300;
  opacity: 0.85;
}
@keyframes caretBlink {
  50% { opacity: 0; }
}

/* ---------- Tech grid: moving overlay (hero already has static grid) ---------- */
.hero-grid { animation: gridDrift 32s linear infinite; }
@keyframes gridDrift {
  to { background-position: 56px 56px; }
}

/* ---------- Floating particles in hero ---------- */
.hero-particles {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}
.hero-particles span {
  position: absolute;
  width: 4px; height: 4px;
  border-radius: 50%;
  background: var(--teal-light);
  box-shadow: 0 0 8px var(--teal-glow), 0 0 16px rgba(95, 177, 192, 0.5);
  opacity: 0;
  animation: particleRise 9s linear infinite;
}
.hero-particles span:nth-child(2)  { left: 12%; animation-delay: 0.5s; background: var(--gold); box-shadow: 0 0 8px rgba(242,181,68,0.6); }
.hero-particles span:nth-child(3)  { left: 22%; animation-delay: 1.7s; }
.hero-particles span:nth-child(4)  { left: 31%; animation-delay: 3.2s; background: var(--gold-bright); box-shadow: 0 0 8px rgba(255,200,87,0.6); }
.hero-particles span:nth-child(5)  { left: 42%; animation-delay: 0.9s; }
.hero-particles span:nth-child(6)  { left: 53%; animation-delay: 2.4s; background: var(--gold); box-shadow: 0 0 8px rgba(242,181,68,0.6); }
.hero-particles span:nth-child(7)  { left: 64%; animation-delay: 4.1s; }
.hero-particles span:nth-child(8)  { left: 73%; animation-delay: 1.3s; }
.hero-particles span:nth-child(9)  { left: 84%; animation-delay: 2.9s; background: var(--gold-bright); box-shadow: 0 0 8px rgba(255,200,87,0.6); }
.hero-particles span:nth-child(10) { left: 92%; animation-delay: 0.2s; }
.hero-particles span:first-child   { left: 4%;  animation-delay: 0s; }
@keyframes particleRise {
  0%   { transform: translateY(105vh) scale(0.5); opacity: 0; }
  10%  { opacity: 0.8; }
  90%  { opacity: 0.8; }
  100% { transform: translateY(-10vh) scale(1.1); opacity: 0; }
}

/* ---------- Card hover: animated glow border (conic gradient) ---------- */
.platform-card,
.feature-card,
.testimonial,
.price-card,
.pdp-card,
.step {
  position: relative;
  overflow: hidden;
}
.platform-card::before,
.feature-card::before,
.testimonial::before,
.price-card::before,
.pdp-card::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  padding: 1.5px;
  background: conic-gradient(from var(--ang, 0deg),
    transparent 0%,
    var(--teal-light) 15%,
    var(--gold) 30%,
    transparent 45%,
    transparent 100%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
          mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
          mask-composite: exclude;
  opacity: 0;
  transition: opacity 350ms ease;
  pointer-events: none;
  z-index: 2;
}
.platform-card:hover::before,
.feature-card:hover::before,
.testimonial:hover::before,
.price-card:hover::before,
.pdp-card:hover::before {
  opacity: 1;
  animation: angleSpin 3s linear infinite;
}
@property --ang {
  syntax: '<angle>';
  initial-value: 0deg;
  inherits: false;
}
@keyframes angleSpin {
  to { --ang: 360deg; }
}

/* Inner content needs to sit above the glow */
.platform-card > *,
.feature-card > *,
.testimonial > *,
.price-card > *,
.pdp-card > * { position: relative; z-index: 3; }

/* ---------- Card lift with 3D tilt prep ---------- */
.platform-card,
.feature-card,
.testimonial,
.price-card {
  transform-style: preserve-3d;
  will-change: transform;
}

/* ---------- Shimmer on featured-flag ---------- */
.featured-flag {
  overflow: hidden;
}
.featured-flag::after {
  content: "";
  position: absolute;
  top: 0; left: -100%;
  width: 60%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.65), transparent);
  animation: shimmer 2.8s ease-in-out infinite;
}
@keyframes shimmer {
  0%   { left: -100%; }
  60%  { left: 130%; }
  100% { left: 130%; }
}

/* ---------- Shimmer on primary CTA buttons ---------- */
.btn-primary { position: relative; overflow: hidden; isolation: isolate; }
.btn-primary::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 20%, rgba(255,255,255,0.55) 50%, transparent 80%);
  transform: translateX(-130%);
  transition: transform 700ms cubic-bezier(.2,.6,.2,1);
  pointer-events: none;
  z-index: -1;
}
.btn-primary:hover::after { transform: translateX(130%); }

/* ---------- Marquee platform strip ---------- */
.marquee {
  background: linear-gradient(180deg, var(--white), var(--off-white));
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 28px 0;
  overflow: hidden;
  position: relative;
}
.marquee::before,
.marquee::after {
  content: "";
  position: absolute;
  top: 0; bottom: 0;
  width: 120px;
  z-index: 2;
  pointer-events: none;
}
.marquee::before { left: 0;  background: linear-gradient(90deg, var(--white), transparent); }
.marquee::after  { right: 0; background: linear-gradient(270deg, var(--white), transparent); }
.marquee-track {
  display: flex;
  gap: 56px;
  width: max-content;
  animation: marqueeScroll 28s linear infinite;
}
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-item {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--gray-700);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.05rem;
  letter-spacing: -0.01em;
  white-space: nowrap;
  flex-shrink: 0;
}
.marquee-item .marquee-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--teal-light);
  box-shadow: 0 0 0 4px rgba(95,177,192,0.18);
}
.marquee-item.gold .marquee-dot { background: var(--gold); box-shadow: 0 0 0 4px rgba(242,181,68,0.22); }
@keyframes marqueeScroll {
  to { transform: translateX(-50%); }
}

/* ---------- Glow pulse on stat numbers when in view ---------- */
.stat.in-view .stat-num {
  animation: numberGlow 2.4s ease-in-out;
}
@keyframes numberGlow {
  0%, 100% { filter: drop-shadow(0 0 0 transparent); }
  50%      { filter: drop-shadow(0 0 18px rgba(242, 181, 68, 0.7)); }
}

/* ---------- Step number — pulsing ring ---------- */
.step .step-num {
  position: relative;
}
.step .step-num::before {
  content: "";
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 2px solid var(--teal-light);
  opacity: 0.6;
  animation: ringPulse 2.6s ease-in-out infinite;
}
.step:nth-child(2) .step-num::before { animation-delay: 0.4s; }
.step:nth-child(3) .step-num::before { animation-delay: 0.8s; }
.step:nth-child(4) .step-num::before { animation-delay: 1.2s; }
@keyframes ringPulse {
  0%, 100% { transform: scale(1);    opacity: 0.6; }
  50%      { transform: scale(1.2);  opacity: 0; }
}

/* ---------- Stronger reveal: slide + tiny scale ---------- */
.reveal {
  transform: translateY(28px) scale(0.985);
  filter: blur(2px);
  transition:
    opacity 800ms cubic-bezier(0.2, 0.7, 0.2, 1),
    transform 800ms cubic-bezier(0.2, 0.7, 0.2, 1),
    filter 600ms ease;
}
.reveal.in-view {
  transform: translateY(0) scale(1);
  filter: blur(0);
}

/* ---------- Nav link hover: gradient underline already exists, add glow ---------- */
.primary-nav a:hover { text-shadow: 0 0 12px rgba(95, 177, 192, 0.55); }

/* ---------- Brand mark — gentle glow pulse ---------- */
.brand-mark {
  animation: brandPulse 4.2s ease-in-out infinite;
}
@keyframes brandPulse {
  0%, 100% { filter: drop-shadow(0 4px 12px rgba(95, 177, 192, 0.3)); }
  50%      { filter: drop-shadow(0 6px 22px rgba(95, 177, 192, 0.7)); }
}

/* ---------- Page-hero — subtle conic spin background ---------- */
.page-hero::after {
  content: "";
  position: absolute;
  width: 700px; height: 700px;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  background: conic-gradient(from 0deg,
    transparent 0deg,
    rgba(95, 177, 192, 0.10) 60deg,
    transparent 120deg,
    rgba(242, 181, 68, 0.08) 200deg,
    transparent 260deg);
  filter: blur(60px);
  animation: conicSpin 22s linear infinite;
  pointer-events: none;
  z-index: 0;
}
@keyframes conicSpin {
  to { transform: translate(-50%, -50%) rotate(360deg); }
}

/* ---------- FAQ chev — tiny rotate animation ---------- */
.faq-item[open] .faq-chev { transform: rotate(180deg); }

/* ---------- Reduced-motion overrides ---------- */
@media (prefers-reduced-motion: reduce) {
  .grad-shopify,
  .hero-grid,
  .hero-particles span,
  .featured-flag::after,
  .btn-primary::after,
  .marquee-track,
  .step .step-num::before,
  .brand-mark,
  .page-hero::after,
  .scroll-progress {
    animation: none !important;
  }
  .hero-title::after { display: none; }
}

/* ============================================================
   PROSE / LEGAL PAGES (Privacy, Terms)
   ============================================================ */
.prose {
  max-width: 760px;
  margin: 0 auto;
  color: var(--gray-700);
  font-size: 1rem;
  line-height: 1.75;
}
.prose h2 {
  font-size: 1.5rem;
  margin: 48px 0 14px;
  color: var(--gray-900);
}
.prose h3 {
  font-size: 1.1rem;
  margin: 28px 0 10px;
  color: var(--gray-900);
}
.prose p { margin: 0 0 16px; }
.prose ul { margin: 0 0 18px; padding: 0; }
.prose ul li {
  position: relative;
  padding: 4px 0 4px 24px;
}
.prose ul li::before {
  content: "";
  position: absolute;
  left: 6px; top: 14px;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--teal);
}
.prose a { color: var(--teal); font-weight: 600; }
.prose a:hover { color: var(--gold); }
.prose strong { color: var(--gray-900); font-weight: 600; }
.prose .updated {
  display: inline-block;
  padding: 6px 14px;
  border-radius: var(--r-pill);
  background: var(--gray-50);
  color: var(--text-muted);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  margin-bottom: 28px;
}

/* ============================================================
   STATUS PAGE
   ============================================================ */
.status-overall {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 24px 28px;
  background: linear-gradient(135deg, rgba(34, 139, 87, 0.12), rgba(34, 139, 87, 0.04));
  border: 1px solid rgba(34, 139, 87, 0.25);
  border-radius: var(--r-lg);
  margin-bottom: 40px;
}
.status-overall-dot {
  width: 14px; height: 14px;
  border-radius: 50%;
  background: #22A06B;
  box-shadow: 0 0 0 6px rgba(34, 160, 107, 0.18), 0 0 16px rgba(34, 160, 107, 0.6);
  animation: pulseDot 2s ease-in-out infinite;
  flex-shrink: 0;
}
.status-overall-text strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.15rem;
  color: #1A7A4D;
  margin-bottom: 4px;
}
.status-overall-text span { color: var(--gray-600); font-size: 0.92rem; }

.status-grid {
  display: grid;
  gap: 12px;
}
.status-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 16px;
  align-items: center;
  padding: 18px 22px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  transition: border-color var(--t-base), transform var(--t-base);
}
.status-row:hover { border-color: var(--teal-light); transform: translateX(2px); }
.status-row-name strong {
  display: block;
  color: var(--gray-900);
  font-size: 1rem;
  margin-bottom: 4px;
}
.status-row-name span { color: var(--text-muted); font-size: 0.85rem; }
.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border-radius: var(--r-pill);
  font-size: 0.82rem;
  font-weight: 600;
}
.status-pill-ok    { background: rgba(34, 160, 107, 0.10); color: #1A7A4D; }
.status-pill-warn  { background: rgba(242, 181, 68, 0.14); color: #B07D14; }
.status-pill-down  { background: rgba(217, 48, 37, 0.10); color: #C0392B; }
.status-pill-dot   { width: 8px; height: 8px; border-radius: 50%; background: currentColor; }

.uptime-strip {
  display: flex;
  gap: 3px;
  margin-top: 12px;
}
.uptime-bar {
  flex: 1;
  height: 22px;
  border-radius: 3px;
  background: #22A06B;
  opacity: 0.85;
  transition: opacity var(--t-fast);
}
.uptime-bar:hover { opacity: 1; }
.uptime-bar-warn { background: var(--gold); }
.uptime-bar-down { background: #D93025; }

@media (max-width: 600px) {
  .status-row { grid-template-columns: 1fr; }
}

/* ============================================================
   PLATFORM COMPARISON TABLE
   ============================================================ */
.compare-section { background: var(--white); }
.compare-wrap {
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  overflow-x: auto;
  box-shadow: var(--shadow-sm);
}
.compare-table {
  width: 100%;
  min-width: 760px;
  border-collapse: collapse;
  font-size: 0.92rem;
}
.compare-table thead th {
  background: linear-gradient(180deg, var(--off-white), var(--gray-50));
  color: var(--gray-900);
  font-family: var(--font-display);
  font-weight: 700;
  text-align: left;
  padding: 18px 16px;
  border-bottom: 2px solid var(--border-strong);
  position: sticky;
  top: 0;
  white-space: nowrap;
}
.compare-table thead th:first-child {
  background: linear-gradient(180deg, var(--white), var(--off-white));
}
.compare-table tbody td {
  padding: 14px 16px;
  border-bottom: 1px solid var(--border);
  color: var(--gray-700);
  vertical-align: middle;
}
.compare-table tbody tr:last-child td { border-bottom: 0; }
.compare-table tbody tr:hover { background: rgba(95, 177, 192, 0.04); }
.compare-table tbody th {
  text-align: left;
  font-weight: 600;
  color: var(--gray-900);
  padding: 14px 16px;
  border-bottom: 1px solid var(--border);
  background: var(--off-white);
}
.compare-yes {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px; height: 26px;
  border-radius: 50%;
  background: rgba(34, 160, 107, 0.12);
  color: #1A7A4D;
}
.compare-no {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px; height: 26px;
  border-radius: 50%;
  background: var(--gray-50);
  color: var(--gray-400);
}
.compare-partial {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: var(--r-pill);
  background: var(--gold-soft);
  color: #B07D14;
  font-size: 0.8rem;
  font-weight: 600;
}
.compare-platform-cell {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.compare-logo {
  width: 22px; height: 22px;
  border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  overflow: hidden;
  flex-shrink: 0;
}
.compare-logo img { width: 60%; height: 60%; object-fit: contain; }
.compare-section .compare-note {
  margin-top: 18px;
  color: var(--text-muted);
  font-size: 0.85rem;
  text-align: center;
}

/* Responsive styles are in mobile.css */

/* ---------- 20. PAGE HERO (inner pages) ---------- */
.page-hero {
  background: #07182A;
  background: linear-gradient(135deg, #07182A 0%, #0F2A3D 60%, #1A4D5C 100%);
  color: #ffffff;
  padding: clamp(64px, 9vw, 112px) 0 clamp(48px, 7vw, 80px);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(95,177,192,0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(95,177,192,0.06) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse at center, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at center, #000 30%, transparent 75%);
  pointer-events: none;
}
.page-hero .container { position: relative; z-index: 1; }
.page-hero h1 {
  color: #ffffff;
  font-size: clamp(2rem, 4.5vw, 3.6rem);
  margin: 16px auto 20px;
  max-width: 760px;
  line-height: 1.1;
}
.page-hero-sub {
  color: rgba(255,255,255,0.7);
  font-size: clamp(0.95rem, 1.4vw, 1.1rem);
  max-width: 560px;
  margin: 0 auto 32px;
  line-height: 1.7;
}
.page-hero-cta {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

/* ---------- 21. PLATFORM DEEP-DIVE CARDS ---------- */
.platform-details {
  background: var(--off-white);
  padding: var(--section-y) 0;
}
.pdp-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(16px, 2vw, 24px);
  margin-top: clamp(32px, 4vw, 48px);
}

/* Card shell */
.pdp-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transition: box-shadow var(--t-base), border-color var(--t-base);
}
.pdp-card:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--teal-light);
}
.pdp-soon {
  border-style: dashed;
  background: var(--gray-50);
  opacity: 0.85;
}
.pdp-custom {
  background: linear-gradient(135deg, var(--navy-deep), var(--navy));
  border-color: transparent;
  color: var(--white);
}

/* Card header row */
.pdp-card-head {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: clamp(18px, 2vw, 24px) clamp(18px, 2vw, 24px) 0;
}
.pdp-card-head-info { display: flex; flex-direction: column; gap: 6px; }
.pdp-card-head-info h3 {
  font-size: 1.05rem;
  color: var(--gray-900);
  margin: 0;
  line-height: 1.2;
}
.pdp-custom .pdp-card-head-info h3 { color: var(--white); }

/* Small platform logo box */
.pdp-logo-sm {
  width: 44px; height: 44px;
  min-width: 44px;
  border-radius: var(--r-md);
  display: flex; align-items: center; justify-content: center;
  color: var(--white);
  overflow: hidden;
  flex-shrink: 0;
}
.pdp-logo-sm img {
  width: 62%; height: 62%;
  object-fit: contain;
  display: block;
}
.pdp-logo-woo        { background: linear-gradient(135deg, #7B519C, #5A3B7E); }
.pdp-logo-magento    { background: linear-gradient(135deg, #F26322, #C84A0A); }
.pdp-logo-wix        { background: linear-gradient(135deg, #0C6EFC, #0848B0); }
.pdp-logo-squarespace{ background: linear-gradient(135deg, #1a1a1a, #000); }
.pdp-logo-bigc       { background: linear-gradient(135deg, #34313F, #121118); }
.pdp-logo-custom     { background: linear-gradient(135deg, var(--teal), var(--navy)); color: var(--gold); }

/* Invert dark logos on coloured backgrounds */
.pdp-logo-magento img,
.pdp-logo-wix img,
.pdp-logo-bigc img,
.pdp-logo-squarespace img { filter: brightness(0) invert(1); }
.pdp-logo-squarespace img { width: 78%; height: 78%; }

/* Card body */
.pdp-card-body {
  display: flex;
  flex-direction: column;
  gap: 0;
  padding: 0 clamp(18px, 2vw, 24px);
  flex: 1;
}

/* Individual info blocks: connect / migrates / notes */
.pdp-block {
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
}
.pdp-block:last-child { border-bottom: none; }
.pdp-custom .pdp-block { border-color: rgba(255,255,255,0.08); }

.pdp-block h4 {
  display: flex;
  align-items: center;
  gap: 7px;
  font-family: var(--font-sans);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin: 0 0 8px;
  color: var(--gray-500);
}
.pdp-custom .pdp-block h4 { color: rgba(255,255,255,0.5); }

.pdp-block-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px; height: 18px;
  border-radius: 50%;
  flex-shrink: 0;
}
.pdp-block-connect  .pdp-block-icon { background: rgba(42,126,146,0.12);  color: var(--teal); }
.pdp-block-migrates .pdp-block-icon { background: rgba(34,139,87,0.12);   color: #228B57; }
.pdp-block-notes    .pdp-block-icon { background: rgba(242,181,68,0.14);  color: #B07D14; }
.pdp-custom .pdp-block-icon         { background: rgba(255,255,255,0.10); color: rgba(255,255,255,0.7); }

.pdp-block p {
  font-size: 0.86rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin: 0;
}
.pdp-custom .pdp-block p { color: rgba(255,255,255,0.65); }

.pdp-block ul {
  list-style: none;
  padding: 0; margin: 0;
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.pdp-block ul li {
  font-size: 0.84rem;
  color: var(--text-muted);
  line-height: 1.5;
  padding-left: 14px;
  position: relative;
}
.pdp-block ul li::before {
  content: '–';
  position: absolute;
  left: 0;
  color: var(--border-strong);
}
.pdp-custom .pdp-block ul li         { color: rgba(255,255,255,0.65); }
.pdp-custom .pdp-block ul li::before { color: rgba(255,255,255,0.25); }

/* Card footer (for CTA buttons) */
.pdp-card-footer {
  padding: clamp(14px, 1.8vw, 18px) clamp(18px, 2vw, 24px);
  border-top: 1px solid var(--border);
  margin-top: auto;
}
.pdp-custom .pdp-card-footer { border-color: rgba(255,255,255,0.1); }

/* Responsive: single column below 820px */
@media (max-width: 820px) {
  .pdp-grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .page-hero-cta { flex-direction: column; align-items: stretch; }
  .page-hero-cta .btn { text-align: center; }
}
