/* ============================================================
   KynectLocal — Global Design System v2
   Dark premium, Inter, cinematic, fully immersive
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap');

/* ── Reset ─────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: auto; } /* Lenis handles smooth scroll */
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background: #0D1117;
  color: #FFFFFF;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-size: clamp(16px, 1.6vw, 22px);
}
img, video, canvas { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; font-family: inherit; }
ul, ol { list-style: none; }
input, select, textarea { font-family: inherit; }

/* ── Tokens ─────────────────────────────────────────────── */
:root {
  --bg:        #0D1117;
  --bg-deep:   #05070C;
  --bg-panel:  #111827;
  --bg-panel2: #1a2233;
  --white:     #FFFFFF;
  --muted:     #8B95A1;
  --dim:       #4B5563;
  --teal:      #00E5FF;
  --green:     #39FF88;
  --purple:    #7C3CFF;
  --pink:      #FF7A38;
  --amber:     #FFC857;

  --teal-glow:   rgba(0,229,255,0.12);
  --green-glow:  rgba(57,255,136,0.12);
  --purple-glow: rgba(124,60,255,0.12);

  --font: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-display: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --container: 1280px;
  --px: clamp(24px, 6vw, 80px);
  --section-py: clamp(80px, 10vw, 140px);
  --ease: cubic-bezier(0.4,0,0.2,1);
  --ease-out: cubic-bezier(0,0,0.2,1);
  --spring: cubic-bezier(0.175,0.885,0.32,1.275);
  --r-sm: 8px;
  --r-md: 14px;
  --r-lg: 22px;
}

/* ── Layout ─────────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--px);
}
section { position: relative; }

/* ── Typography ─────────────────────────────────────────── */
.t-hero {
  font-size: clamp(34px, 3.4vw, 58px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
  font-family: var(--font-display);
  text-wrap: balance;
}
.t-h1 {
  font-size: clamp(28px, 3.6vw, 60px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.028em;
  font-family: var(--font-display);
  text-wrap: balance;
}
.t-h2 {
  font-size: clamp(24px, 2.6vw, 44px);
  font-weight: 900;
  line-height: 1.18;
  letter-spacing: -0.022em;
  font-family: var(--font-display);
  text-wrap: balance;
}
.t-h3 {
  font-size: clamp(20px, 2vw, 32px);
  font-weight: 700;
  line-height: 1.22;
  letter-spacing: -0.018em;
}
.t-sub {
  font-size: clamp(16px, 1.6vw, 22px);
  font-weight: 400;
  line-height: 1.65;
  color: var(--muted);
  text-wrap: pretty;
}
.t-body {
  font-size: clamp(14px, 1.2vw, 17px);
  font-weight: 400;
  line-height: 1.7;
  color: var(--muted);
}
.t-label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* Splitting.js char styling */
.word { display: inline-block; overflow: hidden; }
.char {
  display: inline-block;
  transform-origin: bottom center;
}

/* ── Color utils ─────────────────────────────────────────── */
.c-teal   { color: var(--teal); }
.c-green  { color: var(--green); }
.c-purple { color: var(--purple); }
.c-pink   { color: var(--pink); }
.c-amber  { color: var(--amber); }
.c-muted  { color: var(--muted); }
.c-dim    { color: var(--dim); }

.gradient-text {
  background: linear-gradient(130deg, var(--teal) 0%, var(--green) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.gradient-text-purple {
  background: linear-gradient(130deg, var(--purple) 0%, var(--teal) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ── Page Loader ─────────────────────────────────────────── */
#page-loader {
  position: fixed;
  inset: 0;
  z-index: 999999;
  background: var(--bg-deep);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 24px;
  transition: opacity 0.6s var(--ease), visibility 0.6s var(--ease);
}
#page-loader.loaded {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}
.loader-logo {
  height: 128px;
  opacity: 0;
  animation: loaderFade 0.5s var(--ease-out) 0.2s forwards;
}
.loader-bar-wrap {
  width: 180px;
  height: 2px;
  background: rgba(255,255,255,0.06);
  border-radius: 1px;
  overflow: hidden;
}
.loader-bar {
  height: 100%;
  width: 0%;
  border-radius: 1px;
  background: linear-gradient(90deg, var(--teal), var(--purple), var(--pink));
  animation: loaderProgress 1s var(--ease-out) 0.1s forwards;
  box-shadow: 0 0 12px rgba(0, 229, 255, 0.6);
}
.loader-status {
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.3);
  margin-top: 0;
  min-height: 16px;
  opacity: 1;
  transition: opacity 0.25s ease;
}
@keyframes loaderFade { to { opacity: 1; } }
@keyframes loaderProgress { to { width: 100%; } }

/* ── Buttons ─────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font);
  font-weight: 600;
  font-size: 15px;
  padding: 13px 30px;
  border-radius: 9999px;
  border: none;
  cursor: pointer;
  transition: box-shadow 0.2s var(--ease), opacity 0.2s var(--ease);
  white-space: nowrap;
  text-decoration: none;
  line-height: 1;
  will-change: transform;
  position: relative;
  z-index: 1;
}
.btn:active { transform: translateY(1px) scale(0.98) !important; }

.btn-primary {
  background: var(--teal);
  color: #060d12;
  overflow: hidden;
}
.btn-primary::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, transparent 40%, rgba(255,255,255,0.18) 50%, transparent 60%);
  background-size: 200% 100%;
  border-radius: inherit;
  opacity: 0;
  transition: opacity 0.2s ease;
  pointer-events: none;
}
.btn-primary:hover {
  box-shadow: 0 8px 28px rgba(0,229,255,0.40);
}
.btn-primary:hover::after {
  opacity: 1;
  animation: btnShimmer 0.6s ease forwards;
}
@keyframes btnShimmer {
  from { background-position: 200% center; }
  to   { background-position: -100% center; }
}

.btn-secondary {
  background: transparent;
  color: var(--white);
  border: 1px solid rgba(255,255,255,0.18);
}
.btn-secondary:hover {
  border-color: rgba(255,255,255,0.45);
}

.btn-outline-teal {
  background: transparent;
  color: var(--teal);
  border: 1px solid rgba(0,229,255,0.35);
}
.btn-outline-teal:hover {
  background: var(--teal-glow);
  border-color: rgba(0,229,255,0.6);
}

.btn-lg {
  font-size: 17px;
  padding: 17px 42px;
  border-radius: 9999px;
}
.btn-sm {
  font-size: 13px;
  padding: 9px 18px;
}

/* ── Cards ───────────────────────────────────────────────── */
.card {
  background: var(--bg-panel);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: var(--r-md);
  transition: border-color 0.25s var(--ease), transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.card:hover {
  border-color: rgba(0,229,255,0.18);
  transform: translateY(-3px);
  box-shadow: 0 16px 50px rgba(0,0,0,0.45);
}
.card-glass {
  background: rgba(17,24,39,0.55);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: var(--r-md);
}
.card-teal {
  background: rgba(0,229,255,0.04);
  border: 1px solid rgba(0,229,255,0.14);
  border-radius: var(--r-md);
}

/* Problem card with 3D tilt */
.card-problem {
  background: rgba(255,122,56,0.05);
  border: 1px solid rgba(255,122,56,0.14);
  border-radius: var(--r-sm);
  padding: 22px 20px;
  transition: background 0.25s var(--ease), border-color 0.25s var(--ease), box-shadow 0.25s var(--ease);
  transform-style: preserve-3d;
  transform: perspective(800px) rotateX(0) rotateY(0);
  will-change: transform;
  cursor: default;
  position: relative;
  overflow: hidden;
}
.card-problem::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--r-sm);
  background: linear-gradient(135deg, rgba(255,122,56,0.18) 0%, transparent 60%);
  opacity: 0;
  transition: opacity 0.3s var(--ease);
  pointer-events: none;
}
.card-problem:hover {
  background: rgba(255,122,56,0.09);
  border-color: rgba(255,122,56,0.32);
  box-shadow: 0 20px 50px rgba(255,122,56,0.12);
}
.card-problem:hover::after { opacity: 1; }

/* ── Browser mockup frame ────────────────────────────────── */
.browser-frame {
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow: 0 40px 100px rgba(0,0,0,0.7),
              0 0 0 1px rgba(0,229,255,0.07),
              inset 0 1px 0 rgba(255,255,255,0.05);
  background: var(--bg-panel);
  position: relative;
  will-change: transform;
}
.browser-bar {
  background: var(--bg-panel2);
  padding: 10px 14px;
  display: flex;
  align-items: center;
  gap: 6px;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}
.browser-dot {
  width: 9px; height: 9px;
  border-radius: 50%;
  flex-shrink: 0;
}
.browser-dot:nth-child(1) { background: #FF5F57; }
.browser-dot:nth-child(2) { background: #FEBC2E; }
.browser-dot:nth-child(3) { background: #28C840; }
.browser-url {
  flex: 1;
  background: rgba(255,255,255,0.05);
  border-radius: 5px;
  height: 20px;
  margin-left: 8px;
  display: flex;
  align-items: center;
  padding: 0 10px;
  gap: 5px;
  font-size: 11px;
  color: var(--dim);
}
.browser-url::before {
  content: '';
  width: 8px; height: 8px;
  background: var(--green);
  border-radius: 50%;
  flex-shrink: 0;
  opacity: 0.7;
}
.browser-img {
  width: 100%;
  height: auto;
  display: block;
}

/* ── Stats / Proof bar ───────────────────────────────────── */
#stats-bar {
  padding: clamp(36px,5vw,64px) 0;
  background: var(--bg-deep);
  position: relative;
  overflow: hidden;
}
#stats-bar::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, rgba(0,229,255,0.25) 30%, rgba(57,255,136,0.25) 70%, transparent 100%);
  animation: scanLine 3s ease-in-out infinite;
}
@keyframes scanLine {
  0%, 100% { opacity: 0.4; transform: scaleX(0.8); }
  50% { opacity: 1; transform: scaleX(1); }
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4,1fr);
  gap: 0;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--px);
}
.stat-item {
  text-align: center;
  padding: 0 clamp(12px,3vw,40px);
  position: relative;
}
.stat-item + .stat-item::before {
  content: '';
  position: absolute;
  left: 0; top: 10%; bottom: 10%;
  width: 1px;
  background: rgba(255,255,255,0.07);
}
.stat-num {
  font-size: clamp(32px, 4vw, 56px);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1;
  background: linear-gradient(130deg, var(--teal), var(--green));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 8px;
}
.stat-label {
  font-size: clamp(12px, 1.2vw, 14px);
  color: var(--muted);
  font-weight: 500;
  letter-spacing: 0.02em;
}

/* ── Section label ───────────────────────────────────────── */
.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 18px;
}
.section-tag::before {
  content: '';
  display: block;
  width: 18px;
  height: 1px;
  background: var(--teal);
  flex-shrink: 0;
}

/* ── Divider ─────────────────────────────────────────────── */
.divider {
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.07), transparent);
}

/* ── Ambient blobs ───────────────────────────────────────── */
.ambient {
  position: absolute;
  pointer-events: none;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.5;
}
.ambient-teal   { background: radial-gradient(circle, rgba(0,229,255,0.18) 0%, transparent 70%); }
.ambient-purple { background: radial-gradient(circle, rgba(124,60,255,0.14) 0%, transparent 70%); }
.ambient-green  { background: radial-gradient(circle, rgba(57,255,136,0.12) 0%, transparent 70%); }

/* Floating animated orbs */
.orb {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(60px);
}
.orb-teal {
  background: radial-gradient(circle, rgba(0,229,255,0.65) 0%, transparent 70%);
  animation: orbFloat1 14s ease-in-out infinite;
}
.orb-purple {
  background: radial-gradient(circle, rgba(124,60,255,0.6) 0%, transparent 70%);
  animation: orbFloat2 18s ease-in-out infinite;
}
.orb-green {
  background: radial-gradient(circle, rgba(57,255,136,0.5) 0%, transparent 70%);
  animation: orbFloat3 22s ease-in-out infinite;
}
@keyframes orbFloat1 {
  0%,100% { transform: translate(0,0) scale(1); opacity: 0.5; }
  33%     { transform: translate(30px,-20px) scale(1.08); opacity: 0.7; }
  66%     { transform: translate(-20px,15px) scale(0.95); opacity: 0.4; }
}
@keyframes orbFloat2 {
  0%,100% { transform: translate(0,0) scale(1); opacity: 0.4; }
  40%     { transform: translate(-25px,20px) scale(1.1); opacity: 0.6; }
  70%     { transform: translate(20px,-10px) scale(0.92); opacity: 0.35; }
}
@keyframes orbFloat3 {
  0%,100% { transform: translate(0,0) scale(1); opacity: 0.35; }
  50%     { transform: translate(15px,-25px) scale(1.05); opacity: 0.55; }
}

/* ── Header ─────────────────────────────────────────────── */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 200;
  height: 90px;
  padding: 0 var(--px);
  display: flex;
  align-items: center;
  transition: background 0.35s var(--ease), backdrop-filter 0.35s var(--ease), border-color 0.35s var(--ease);
  border-bottom: 1px solid transparent;
}
.site-header.scrolled {
  background: rgba(5,7,12,0.88);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-bottom-color: rgba(255,255,255,0.06);
}
.header-inner {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 17px;
  letter-spacing: -0.02em;
  color: var(--white);
  text-decoration: none;
  flex-shrink: 0;
}
.logo img { height: 75px; width: auto; display: block; }
.logo-mark { width: 30px; height: 30px; flex-shrink: 0; }
.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}
.nav-link {
  font-size: 14px;
  font-weight: 500;
  color: var(--white);
  text-decoration: none;
  transition: color 0.2s var(--ease);
  position: relative;
}
.nav-link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--teal);
  transition: width 0.25s var(--ease);
}
.nav-link:hover::after, .nav-link.active::after { width: 100%; }
.nav-link:hover, .nav-link.active { color: var(--white); }
.nav-cta { margin-left: 4px; }
.menu-btn {
  display: none;
  background: none;
  border: none;
  flex-direction: column;
  gap: 5px;
  padding: 6px;
  cursor: pointer;
}
.menu-btn span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--white);
  border-radius: 1px;
  transition: all 0.3s var(--ease);
  transform-origin: center;
}
.mobile-nav {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 199;
  background: var(--bg-deep);
  padding: 100px var(--px) 48px;
  flex-direction: column;
  gap: 28px;
}
.mobile-nav.open { display: flex; }
.mobile-nav .nav-link {
  font-size: clamp(28px, 6vw, 40px);
  font-weight: 700;
  color: var(--white);
  letter-spacing: -0.02em;
}

/* ── Footer ─────────────────────────────────────────────── */
.site-footer {
  background: var(--bg-deep);
  border-top: 1px solid rgba(255,255,255,0.05);
  padding: clamp(60px, 8vw, 100px) var(--px) clamp(28px, 4vw, 44px);
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  max-width: var(--container);
  margin: 0 auto 56px;
}
.footer-brand p {
  max-width: 270px;
  margin-top: 14px;
  font-size: 14px;
  color: var(--muted);
  line-height: 1.65;
}
.footer-col h4 {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--dim);
  margin-bottom: 18px;
}
.footer-col ul { display: flex; flex-direction: column; gap: 11px; }
.footer-col a {
  font-size: 14px;
  color: rgba(255,255,255,0.5);
  text-decoration: none;
  transition: color 0.2s var(--ease);
}
.footer-col a:hover { color: var(--white); }
.footer-bottom {
  max-width: var(--container);
  margin: 0 auto;
  padding-top: 28px;
  border-top: 1px solid rgba(255,255,255,0.05);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-bottom p { font-size: 13px; color: var(--dim); }

/* ── Form ───────────────────────────────────────────────── */
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-label { font-size: 13px; font-weight: 500; color: rgba(255,255,255,0.65); }
.form-input, .form-select, .form-textarea {
  width: 100%;
  padding: 13px 15px;
  background: rgba(17,24,39,0.75);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 8px;
  color: var(--white);
  font-family: var(--font);
  font-size: 15px;
  outline: none;
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
  -webkit-appearance: none;
}
.form-input::placeholder, .form-textarea::placeholder { color: rgba(255,255,255,0.25); }
.form-input:focus, .form-select:focus, .form-textarea:focus {
  border-color: rgba(0,229,255,0.45);
  box-shadow: 0 0 0 3px rgba(0,229,255,0.08);
}
.form-input.error, .form-select.error, .form-textarea.error {
  border-color: rgba(255,122,56,0.5);
  box-shadow: 0 0 0 3px rgba(255,122,56,0.06);
}
.form-error { font-size: 12px; color: var(--pink); min-height: 16px; }
.form-select {
  cursor: pointer;
  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='%238B95A1' stroke-width='1.5' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-color: rgba(17,24,39,0.75);
  padding-right: 38px;
}
.form-select option { background: var(--bg-panel); color: var(--white); }
.form-textarea { resize: vertical; min-height: 96px; }

/* ── Capability tags ─────────────────────────────────────── */
.cap-tag {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  padding: 9px 14px;
  border-radius: 50px;
  background: rgba(0,229,255,0.06);
  border: 1px solid rgba(0,229,255,0.14);
  font-size: 13px;
  font-weight: 500;
  color: var(--teal);
  transition: background 0.2s var(--ease), border-color 0.2s var(--ease), transform 0.2s var(--ease);
}
.cap-tag:hover {
  background: rgba(0,229,255,0.11);
  border-color: rgba(0,229,255,0.28);
  transform: translateY(-2px);
}
.cap-tag .dot {
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--teal);
  flex-shrink: 0;
}

/* ── Pricing card animated gradient border ───────────────── */
@property --border-angle {
  syntax: '<angle>';
  initial-value: 0deg;
  inherits: false;
}
.pricing-card.featured {
  position: relative;
  isolation: isolate;
}
.pricing-card.featured::before {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: 21px;
  background: conic-gradient(
    from var(--border-angle),
    transparent 30%,
    var(--teal) 50%,
    var(--green) 60%,
    transparent 70%
  );
  animation: borderSpin 3.5s linear infinite;
  z-index: -1;
}
.pricing-card.featured::after {
  content: '';
  position: absolute;
  inset: 1px;
  border-radius: 20px;
  background: linear-gradient(145deg, rgba(0,229,255,0.06), rgba(57,255,136,0.03));
  z-index: -1;
}
@keyframes borderSpin {
  to { --border-angle: 360deg; }
}

/* ── Scroll reveal ───────────────────────────────────────── */
.reveal { opacity: 0; transform: translateY(36px); }

/* ── Page hero (inner pages) ─────────────────────────────── */
.page-hero {
  padding: calc(90px + clamp(56px, 8vw, 112px)) var(--px) clamp(56px, 8vw, 96px);
  position: relative;
  overflow: hidden;
}
.page-hero-inner {
  max-width: var(--container);
  margin: 0 auto;
  position: relative;
  z-index: 2;
}
.page-hero::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: radial-gradient(ellipse at 50% -10%, rgba(0,229,255,0.08) 0%, transparent 55%);
  pointer-events: none;
}

/* ── Legal ───────────────────────────────────────────────── */
.legal-wrap {
  max-width: 760px;
  margin: 0 auto;
  padding: calc(90px + 60px) var(--px) 100px;
}
.legal-wrap h1 { margin-bottom: 8px; }
.legal-date { font-size: 14px; color: var(--dim); margin-bottom: 56px; }
.legal-wrap h2 {
  font-size: clamp(18px,2vw,24px);
  font-weight: 700;
  margin: 44px 0 14px;
}
.legal-wrap h3 {
  font-size: clamp(15px,1.5vw,18px);
  font-weight: 600;
  margin: 28px 0 10px;
  color: rgba(255,255,255,0.8);
}
.legal-wrap p {
  font-size: 15px;
  color: var(--muted);
  line-height: 1.78;
  margin-bottom: 16px;
}
.legal-wrap ul { list-style: disc; padding-left: 22px; margin-bottom: 16px; }
.legal-wrap li {
  font-size: 15px;
  color: var(--muted);
  line-height: 1.7;
  margin-bottom: 7px;
}
.legal-wrap a { color: var(--teal); }

/* ── Responsive ─────────────────────────────────────────── */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
  .stats-grid { grid-template-columns: repeat(2,1fr); gap: 32px 0; }
  .stat-item + .stat-item::before { display: none; }
}
@media (max-width: 768px) {
  .nav-links { display: none; }
  .menu-btn { display: flex; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .footer-bottom { flex-direction: column; gap: 8px; }
}
@media (max-width: 560px) {
  .stats-grid { grid-template-columns: 1fr 1fr; }
}

/* ── Reduced motion ──────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
  .reveal { opacity: 1; transform: none; }
  #page-loader { display: none; }
}

/* ── Scrollbar ───────────────────────────────────────────── */
::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: var(--bg-deep); }
::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.13); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: rgba(255,255,255,0.22); }

/* ══════════════════════════════════════════════════════════
   WOW / ENHANCED DESIGN ELEMENTS
   ══════════════════════════════════════════════════════════ */

/* Ghost/watermark background text */
.section-ghost-text {
  position: absolute;
  font-size: clamp(80px, 13vw, 190px);
  font-weight: 900;
  letter-spacing: -0.04em;
  white-space: nowrap;
  pointer-events: none;
  user-select: none;
  line-height: 1;
  z-index: 0;
  opacity: 0.035;
  color: #fff;
  top: 50%;
  transform: translateY(-50%);
}
.section-ghost-text.ghost-right  { right: -1%; }
.section-ghost-text.ghost-left   { left: -1%; }
.section-ghost-text.ghost-center { left: 50%; transform: translate(-50%, -50%); }
.section-ghost-text.ghost-pink   { color: var(--pink); opacity: 0.055; }
.section-ghost-text.ghost-teal   { color: var(--teal); opacity: 0.045; }
.section-ghost-text.ghost-white  { color: #fff; opacity: 0.032; }

/* Animated grid lines background */
.grid-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}
.grid-bg::before {
  content: '';
  position: absolute;
  inset: -64px 0 0 0;
  background-image:
    linear-gradient(rgba(0,229,255,0.032) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,229,255,0.032) 1px, transparent 1px);
  background-size: 64px 64px;
  animation: gridDrift 28s linear infinite;
}
.grid-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% -10%, rgba(0,229,255,0.05) 0%, transparent 55%);
}
@keyframes gridDrift {
  from { transform: translateY(0); }
  to   { transform: translateY(64px); }
}

/* Neon scan line */
.scan-line {
  position: absolute;
  left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, rgba(0,229,255,0.45) 40%, rgba(57,255,136,0.45) 60%, transparent 100%);
  box-shadow: 0 0 10px rgba(0,229,255,0.3), 0 0 24px rgba(0,229,255,0.12);
  animation: scanMove 7s ease-in-out infinite;
  pointer-events: none;
  z-index: 10;
}
@keyframes scanMove {
  0%   { top: 0%; opacity: 0; }
  8%   { opacity: 0.7; }
  92%  { opacity: 0.5; }
  100% { top: 100%; opacity: 0; }
}

/* ── Cost of Getting This Wrong — section ──────────────── */
/* Sliding card effect: white section slides over the dark stats bar */
#stats-bar { position: relative; z-index: 1; }
#cost-section {
  padding: var(--section-py) 0;
  background: var(--bg-deep);
  position: relative;
  z-index: 2;
  overflow: hidden;
  border-radius: 28px 28px 0 0;
  margin-top: -28px;
}
/* Light theme override — higher specificity beats #cost-section */
#cost-section[data-bg="light"] {
  background: #F5F5F7;
}
#seo-gap[data-bg="light"],
#intelligence[data-bg="light"] {
  background: #F5F5F7;
}
#cost-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 10% 60%, rgba(255,122,56,0.07) 0%, transparent 50%),
    radial-gradient(ellipse at 88% 35%, rgba(255,200,87,0.04) 0%, transparent 48%);
  pointer-events: none;
}
.cost-header { position: relative; z-index: 1; }
.cost-intro-note {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 20px;
  font-size: 13px;
  color: rgba(255,255,255,0.35);
  font-weight: 500;
}
.cost-intro-note::before {
  content: '';
  display: block;
  width: 20px;
  height: 1px;
  background: rgba(255,255,255,0.2);
}
.cost-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  max-width: var(--container);
  margin: 44px auto 0;
  padding: 0 var(--px);
  position: relative;
  z-index: 1;
}
.cost-card {
  padding: 30px 26px 28px;
  border-radius: 16px;
  background: rgba(255,122,56,0.035);
  border: 1px solid rgba(255,122,56,0.1);
  position: relative;
  overflow: hidden;
  cursor: default;
  transition: border-color 0.3s var(--ease), background 0.3s var(--ease),
              transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.cost-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, rgba(255,122,56,0.6) 50%, transparent 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
}
.cost-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 0%, rgba(255,122,56,0.11) 0%, transparent 60%);
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}
.cost-card:hover {
  border-color: rgba(255,122,56,0.3);
  background: rgba(255,122,56,0.07);
  transform: translateY(-6px);
  box-shadow: 0 28px 70px rgba(255,122,56,0.1), 0 0 0 1px rgba(255,122,56,0.16);
}
.cost-card:hover::before,
.cost-card:hover::after { opacity: 1; }
.cost-card-icon {
  width: 50px; height: 50px;
  border-radius: 13px;
  background: rgba(255,122,56,0.1);
  border: 1px solid rgba(255,122,56,0.2);
  display: flex; align-items: center; justify-content: center;
  font-size: 22px; color: var(--pink);
  margin-bottom: 20px;
  position: relative; z-index: 1;
  transition: background 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
}
.cost-card:hover .cost-card-icon {
  background: rgba(255,122,56,0.18);
  border-color: rgba(255,122,56,0.38);
  transform: scale(1.1);
}
.cost-card-cause {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,122,56,0.5);
  margin-bottom: 8px;
  position: relative; z-index: 1;
}
.cost-card-effect {
  font-size: clamp(20px, 2vw, 26px);
  font-weight: 900;
  letter-spacing: -0.03em;
  line-height: 1.05;
  margin-bottom: 14px;
  color: #fff;
  position: relative; z-index: 1;
}
.cost-card-effect strong {
  background: linear-gradient(120deg, var(--pink) 0%, var(--amber) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.cost-card-desc {
  font-size: 14px;
  color: rgba(255,255,255,0.48);
  line-height: 1.65;
  position: relative; z-index: 1;
}

/* Problem section progress footer */
.prob-footer {
  padding: 0 clamp(24px,5vw,80px) 20px;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.prob-footer-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.prob-progress-track {
  height: 2px;
  background: rgba(255,122,56,0.1);
  border-radius: 1px;
  overflow: hidden;
}
.prob-progress-fill {
  height: 100%;
  width: 10%;
  background: linear-gradient(90deg, var(--pink), var(--amber));
  border-radius: 1px;
  box-shadow: 0 0 8px rgba(255,122,56,0.45);
  will-change: width;
}
.prob-counter {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: rgba(255,122,56,0.45);
  white-space: nowrap;
}
.prob-counter em {
  font-style: normal;
  color: var(--pink);
  font-size: 14px;
}

/* Ghost number inside prob-card */
.prob-card-num {
  position: absolute;
  bottom: -16px;
  right: 8px;
  font-size: 96px;
  font-weight: 900;
  letter-spacing: -0.05em;
  color: var(--pink);
  opacity: 0.05;
  line-height: 1;
  pointer-events: none;
  user-select: none;
  z-index: 0;
  transition: opacity 0.3s ease;
}
.prob-card:hover .prob-card-num { opacity: 0.1; }

/* Highlight marker text (for inline emphasis) */
.text-danger {
  color: var(--pink);
  font-weight: 700;
}
.text-teal {
  color: var(--teal);
  font-weight: 600;
}

/* Section glow accent for headings */
.headline-glow {
  text-shadow: 0 0 60px rgba(0,229,255,0.1);
}

/* Shimmer gradient text (animated) */
@keyframes textShimmer {
  0%   { background-position: 0% center; }
  100% { background-position: 200% center; }
}
.shimmer-text {
  background: linear-gradient(90deg,
    var(--teal)   0%,
    var(--green)  30%,
    #fff          50%,
    var(--teal)   70%,
    var(--green)  100%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: textShimmer 5s linear infinite;
}

/* Animated gradient border card */
.card-glow-border {
  position: relative;
  isolation: isolate;
}
.card-glow-border::before {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  background: conic-gradient(
    from var(--border-angle, 0deg),
    transparent 30%,
    var(--teal) 48%,
    var(--green) 56%,
    transparent 68%
  );
  animation: borderSpin 4s linear infinite;
  z-index: -1;
}
.card-glow-border::after {
  content: '';
  position: absolute;
  inset: 1px;
  border-radius: inherit;
  background: var(--bg-panel);
  z-index: -1;
}

/* Hero sub emphasis */
.hero-sub .emphasis {
  color: var(--white);
  font-weight: 600;
}

/* Floating ambient particle dots */
@keyframes particleDrift {
  0%, 100% { transform: translateY(0) scale(1); opacity: 0; }
  15%       { opacity: 0.65; }
  85%       { opacity: 0.5; }
  100%      { transform: translateY(-100px) scale(0.6); opacity: 0; }
}
.particle-dot {
  position: absolute;
  width: 3px; height: 3px;
  border-radius: 50%;
  background: var(--teal);
  animation: particleDrift linear infinite;
  pointer-events: none;
}

/* Responsive additions */
@media (max-width: 960px) {
  .cost-grid { grid-template-columns: repeat(2, 1fr); }
  .section-ghost-text { font-size: clamp(56px, 10vw, 120px); }
}
@media (max-width: 600px) {
  .cost-grid { grid-template-columns: 1fr; }
  .section-ghost-text { display: none; }
}

/* ── Scroll progress bar ─────────────────────────────── */
#scroll-progress {
  position: fixed;
  top: 0; left: 0;
  height: 2px;
  width: 0%;
  background: linear-gradient(90deg, var(--teal), var(--purple), var(--pink));
  z-index: 9999;
  pointer-events: none;
  transition: width 0.05s linear;
  box-shadow: 0 0 8px rgba(0, 229, 255, 0.6);
}

/* ── Custom cursor ───────────────────────────────────── */
@media (pointer: fine) {
  body { cursor: none; }
  a, button, .btn, [role="button"] { cursor: none; }
}

#cursor-dot {
  position: fixed;
  top: 0; left: 0;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--teal);
  pointer-events: none;
  z-index: 99998;
  will-change: transform;
  box-shadow: 0 0 10px rgba(0, 229, 255, 0.9);
  transition: background 0.2s ease, transform 0.15s ease, opacity 0.2s ease;
}
#cursor-ring {
  position: fixed;
  top: 0; left: 0;
  width: 40px; height: 40px;
  border-radius: 50%;
  border: 1.5px solid rgba(0, 229, 255, 0.5);
  pointer-events: none;
  z-index: 99997;
  will-change: transform;
  transition: border-color 0.25s ease, transform 0.25s ease,
              width 0.25s ease, height 0.25s ease, opacity 0.2s ease;
}
#cursor-dot.cursor-hover {
  background: var(--pink);
  transform: scale(1.6) translate(-25%, -25%);
  box-shadow: 0 0 16px rgba(255, 122, 56, 0.8);
}
#cursor-ring.cursor-hover {
  width: 56px; height: 56px;
  border-color: rgba(255, 122, 56, 0.5);
  margin-top: -8px; margin-left: -8px;
}

/* ── Grain noise overlay ─────────────────────────────── */
#grain-overlay {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9996;
  opacity: 0.028;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
  background-size: 256px 256px;
  background-repeat: repeat;
  animation: grainShift 0.8s steps(1) infinite;
}
@keyframes grainShift {
  0%   { transform: translate(0, 0); }
  10%  { transform: translate(-2%, -3%); }
  20%  { transform: translate(2%, 1%); }
  30%  { transform: translate(-1%, 4%); }
  40%  { transform: translate(3%, -1%); }
  50%  { transform: translate(-3%, 2%); }
  60%  { transform: translate(1%, -4%); }
  70%  { transform: translate(-2%, 3%); }
  80%  { transform: translate(4%, -2%); }
  90%  { transform: translate(-1%, -1%); }
  100% { transform: translate(0, 0); }
}
@media (prefers-reduced-motion: reduce) {
  #grain-overlay { animation: none; }
}

/* ── AI Platform Marquee ─────────────────────────────── */
#ai-marquee {
  padding: 40px 0;
  background: var(--bg-deep);
  overflow: hidden;
  border-top: 1px solid rgba(255, 255, 255, 0.04);
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}
.marquee-label {
  text-align: center;
  font-size: 11px;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.28);
  margin-bottom: 24px;
}
.marquee-row {
  overflow: hidden;
  position: relative;
}
.marquee-track {
  display: flex;
  gap: 0;
  white-space: nowrap;
  width: max-content;
  will-change: transform;
}
.marquee-item {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 0 32px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: rgba(255, 255, 255, 0.22);
  text-transform: uppercase;
  transition: color 0.3s ease;
  white-space: nowrap;
}
.marquee-item:hover { color: rgba(255, 255, 255, 0.55); }
.marquee-item .m-dot {
  width: 4px; height: 4px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.18);
  flex-shrink: 0;
}

/* ── Section count sidebar (desktop only) ────────────── */
.section-index {
  position: absolute;
  left: clamp(16px, 3vw, 40px);
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  pointer-events: none;
  z-index: 2;
}
.section-index-num {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.15);
  writing-mode: vertical-lr;
  text-orientation: mixed;
  transform: rotate(180deg);
}
.section-index-line {
  width: 1px;
  height: 40px;
  background: rgba(255, 255, 255, 0.08);
}

/* ── Loader text ─────────────────────────────────────── */
.loader-status {
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.3);
  margin-top: 20px;
  min-height: 16px;
}

/* ── Horizontal rule decorative line ─────────────────── */
.hr-glow {
  border: none;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(0,229,255,0.2), transparent);
  margin: 0;
}

@media (max-width: 768px) {
  #cursor-dot, #cursor-ring { display: none; }
  .section-index { display: none; }
}

/* ═══════════════════════════════════════════════════════════
   LIGHT SECTION THEME
   Applied to sections with data-bg="light"
   Background transitions are handled by GSAP in animations.js
═══════════════════════════════════════════════════════════ */

/* Base dark — GSAP transitions body background-color between sections */
/* body's own background is already set to #0D1117 in the reset above */

/* Section base — light sections carry their own background */
section[data-bg="light"] {
  background-color: #F5F5F7;
}

/* Headings */
section[data-bg="light"] h2,
section[data-bg="light"] h3,
section[data-bg="light"] h4,
section[data-bg="light"] .t-h2,
section[data-bg="light"] .anim-headline {
  color: #0D1117;
}

/* Body and sub copy */
section[data-bg="light"] .t-sub,
section[data-bg="light"] .anim-sub,
section[data-bg="light"] .t-body,
section[data-bg="light"] p {
  color: #374151;
}

/* Section tag label + its decorative line */
section[data-bg="light"] .section-tag {
  color: inherit; /* accent color set inline is kept */
}
section[data-bg="light"] .section-tag::before {
  background: rgba(0, 0, 0, 0.15);
}

/* Ghost watermark text */
section[data-bg="light"] .section-ghost-text {
  color: rgba(0, 0, 0, 0.035);
  -webkit-text-stroke: 0;
}

/* ── Cost Section ──────────────────────────────────────── */
#cost-section[data-bg="light"] .cost-header h2,
#cost-section[data-bg="light"] .cost-header .t-h2 {
  color: #0D1117;
}

#cost-section[data-bg="light"] .cost-header .t-sub,
#cost-section[data-bg="light"] .cost-intro-note {
  color: #6B7280;
}

#cost-section[data-bg="light"] .cost-card {
  background: #FFFFFF;
  border-color: rgba(0, 0, 0, 0.08);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.07);
}

#cost-section[data-bg="light"] .cost-card-cause {
  color: #374151;
}

#cost-section[data-bg="light"] .cost-card-effect strong {
  color: #0D1117;
}

#cost-section[data-bg="light"] .cost-card-desc {
  color: #6B7280;
}

/* ── SEO vs AI Section ─────────────────────────────────── */
#seo-gap[data-bg="light"] .anim-headline,
#seo-gap[data-bg="light"] h2 {
  color: #0D1117;
}

#seo-gap[data-bg="light"] .t-sub,
#seo-gap[data-bg="light"] .anim-sub {
  color: #374151;
}

#seo-gap[data-bg="light"] .seo-col {
  background: rgba(0, 0, 0, 0.03);
  border-color: rgba(0, 0, 0, 0.08);
}

#seo-gap[data-bg="light"] .seo-col-old h3 {
  color: #6B7280;
}

/* Muted sub text under column headings */
#seo-gap[data-bg="light"] .seo-col p[style] {
  color: rgba(0, 0, 0, 0.5) !important;
}

#seo-gap[data-bg="light"] .seo-row {
  color: #374151;
}

/* ── Intelligence Section ──────────────────────────────── */
#intelligence[data-bg="light"] .anim-headline,
#intelligence[data-bg="light"] h2 {
  color: #0D1117;
}

#intelligence[data-bg="light"] .t-sub,
#intelligence[data-bg="light"] .anim-sub {
  color: #374151;
}

#intelligence[data-bg="light"] .dash-card {
  background: #FFFFFF;
  border-color: rgba(0, 0, 0, 0.08);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.07);
}

#intelligence[data-bg="light"] .dash-label {
  color: #374151;
}

#intelligence[data-bg="light"] .dash-sub {
  color: #6B7280;
}

/* The llms.txt code block in dash card */
#intelligence[data-bg="light"] .dash-card div[style*="monospace"] {
  background: rgba(0, 0, 0, 0.04) !important;
  color: #374151 !important;
}

/* Keep browser-frame dark — dark app UI on light background is premium */
#intelligence[data-bg="light"] .browser-frame {
  background: #0D1117;
  border-color: rgba(255, 255, 255, 0.08);
}

/* ── Gradient text stays vivid on light ────────────────── */
section[data-bg="light"] .gradient-text {
  background: linear-gradient(135deg, #00B8D4 0%, #00C853 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ── c-teal / c-pink accent classes still readable ─────── */
section[data-bg="light"] .c-teal { color: #0097A7; }
section[data-bg="light"] .c-pink { color: #C62828; }
section[data-bg="light"] .c-muted { color: #6B7280; }

/* ═══════════════════════════════════════════════════════════
   CINEMATIC BREAK — #shift-statement
   Full-viewport typographic pivot between problem and solution
═══════════════════════════════════════════════════════════ */

#shift-statement {
  min-height: 85vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #05070C;
  padding: clamp(80px, 12vw, 140px) 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

/* Subtle radial glow pulse */
#shift-statement::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 65% 50% at 50% 50%,
    rgba(0, 229, 255, 0.055) 0%,
    transparent 70%);
  pointer-events: none;
}

/* Thin top accent line */
#shift-statement::after {
  content: '';
  position: absolute;
  top: 0; left: 50%;
  transform: translateX(-50%);
  width: 1px;
  height: clamp(40px, 6vh, 80px);
  background: linear-gradient(to bottom, transparent, rgba(0, 229, 255, 0.35));
  pointer-events: none;
}

.shift-inner {
  position: relative;
  z-index: 1;
  max-width: 1060px;
  margin: 0 auto;
  padding: 0 var(--px);
}

.shift-eyebrow {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  opacity: 0;
}

.shift-eyebrow::before,
.shift-eyebrow::after {
  content: '';
  display: block;
  width: 36px;
  height: 1px;
  background: rgba(0, 229, 255, 0.4);
}

.shift-headline {
  font-size: clamp(44px, 6vw, 80px);
  font-weight: 900;
  letter-spacing: -0.05em;
  line-height: 1.02;
  margin-bottom: 44px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-family: var(--font-display);
  text-wrap: balance;
}

.shift-line {
  display: block;
  color: var(--white);
  opacity: 0;
  transform: translateY(32px);
}

.shift-accent {
  background: linear-gradient(135deg, var(--teal) 0%, var(--green) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.shift-sub {
  font-size: clamp(16px, 1.6vw, 22px);
  color: rgba(255, 255, 255, 0.45);
  margin: 0 auto;
  line-height: 1.75;
  opacity: 0;
  transform: translateY(20px);
}

/* ═══════════════════════════════════════════════════════════
   COST SECTION — Editorial headline scale
═══════════════════════════════════════════════════════════ */

.cost-headline {
  font-size: clamp(44px, 6.5vw, 88px) !important;
  letter-spacing: -0.05em !important;
  line-height: 1.0 !important;
  max-width: 700px;
  font-family: var(--font-display);
  text-wrap: balance;
}

/* ═══════════════════════════════════════════════════════════
   PLATFORM SECTION — Bottom CTA row
═══════════════════════════════════════════════════════════ */

.eco-bottom-cta {
  margin-top: 32px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.eco-not-builder {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 16px 20px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 10px;
}

.eco-not-builder-tag {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--teal);
  background: rgba(0, 229, 255, 0.08);
  border: 1px solid rgba(0, 229, 255, 0.18);
  padding: 3px 9px;
  border-radius: 20px;
  flex-shrink: 0;
  margin-top: 1px;
}

.eco-not-builder p {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.4);
  line-height: 1.6;
  margin: 0;
}

.eco-platform-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
}

.eco-platform-link .lni {
  font-size: 13px;
  transition: transform 0.2s ease;
}

.eco-platform-link:hover .lni {
  transform: translateX(4px);
}

/* ═══════════════════════════════════════════════════════════
   PLATFORM SECTION — Stacked centered layout
═══════════════════════════════════════════════════════════ */
#platform-intro { padding: var(--section-py) 0; background: var(--bg-deep); }

.platform-header {
  text-align: center;
  max-width: 860px;
  margin: 0 auto;
  margin-bottom: 52px;
}

.platform-headline {
  letter-spacing: -0.04em !important;
  line-height: 1.05 !important;
  margin-bottom: 44px;
  font-family: var(--font-display);
  text-wrap: balance;
}

.platform-feat-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}

.platform-feat {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 9px 16px 9px 10px;
  border-radius: 100px;
  background: linear-gradient(135deg, rgba(0,229,255,0.07), rgba(57,255,136,0.04));
  border: 1px solid rgba(0,229,255,0.13);
  font-size: 13.5px;
  font-weight: 500;
  color: rgba(255,255,255,0.78);
  transition: background 0.22s, border-color 0.22s, transform 0.18s;
  cursor: default;
}

.platform-feat:hover {
  background: rgba(0,229,255,0.1);
  border-color: rgba(0,229,255,0.28);
  transform: translateY(-2px);
}

.platform-feat-icon {
  width: 36px; height: 36px;
  border-radius: 50%; flex-shrink: 0;
  background: rgba(0,229,255,0.1);
  border: 1px solid rgba(0,229,255,0.15);
  display: flex; align-items: center; justify-content: center;
  font-size: 18px; color: var(--teal);
}

.platform-feat-icon .lni { line-height: 1; }

.platform-screenshot {
  /* browser-frame provides the visual container */
  max-width: 100%;
  margin: 0 auto;
}

/* ═══════════════════════════════════════════════════════════
   SEO GAP — Massive headline, no width constraint
═══════════════════════════════════════════════════════════ */
.seo-gap-header { max-width: none; }

.seo-gap-headline {
  letter-spacing: -0.05em !important;
  line-height: 0.97 !important;
  max-width: none !important;
  margin-bottom: 32px;
  font-family: var(--font-display);
  text-wrap: balance;
}

.seo-gap-sub {
  font-size: clamp(16px, 1.6vw, 22px) !important;
  max-width: 560px;
  color: rgba(255,255,255,0.5) !important;
  margin-top: 0 !important;
}

@media (max-width: 960px) {
  .platform-feat-row { gap: 8px; }
  .platform-feat { font-size: 12.5px; }
  .seo-gap-headline { font-size: clamp(36px, 8vw, 72px) !important; }
}

/* ── anim-sub text wrapping ───────────────────────────────── */
.anim-sub { text-wrap: pretty; }

/* ── Hero headline display font ─────────────────────────── */
.hero-headline { font-family: var(--font-display); }

/* ── Cost cards — light theme enhanced shadow ─────────────── */
#cost-section[data-bg="light"] .cost-card {
  box-shadow: 0 2px 12px rgba(0,0,0,0.07), 0 8px 40px rgba(255,122,56,0.06);
  transition: box-shadow 0.3s var(--ease), transform 0.3s var(--ease);
}
#cost-section[data-bg="light"] .cost-card:hover {
  box-shadow: 0 12px 48px rgba(255,122,56,0.14), 0 2px 12px rgba(0,0,0,0.1);
  transform: translateY(-8px);
}

/* ── Cursor text hover mode ───────────────────────────────── */
#cursor-dot.cursor-text { opacity: 0; }
#cursor-ring.cursor-text {
  width: 72px; height: 72px;
  margin-top: -16px; margin-left: -16px;
  border-color: rgba(255,255,255,0.35);
  background: rgba(255,255,255,0.04);
}

/* ── Final CTA ghost — parallax-ready ────────────────────── */
#cta-ghost { will-change: transform; }

/* ════════════════════════════════════════════════════════════
   SPACING CONSISTENCY
   Uniform gaps, section headers, card layouts
════════════════════════════════════════════════════════════ */

/* Section header block — consistent bottom gap before content */
.anim-header {
  margin-bottom: clamp(48px, 6vw, 72px);
}
.anim-header .section-tag { margin-bottom: 20px; }
.anim-header .anim-headline { margin-bottom: 20px; }
.anim-header .anim-sub { margin-top: 0;}

/* Two-column split sections — consistent vertical alignment gap */
.split-col { display: flex; flex-direction: column; gap: 24px; }

/* Eco features — tighter consistent row gap */
.eco-features { gap: 8px; }
.eco-feat { padding: 16px 18px; }
.eco-feat h4 { font-size: 15px; line-height: 1.3; margin-bottom: 4px; }

/* Card grids — uniform gap */
.cost-grid { gap: 18px; }

/* Pricing cards — breathing room */
.pricing-grid { gap: 24px; }

/* Footer brand logo padding */
.footer-brand .logo { margin-bottom: 16px; }

/* Standardize section-tag spacing */
.section-tag { margin-bottom: 20px; }

/* Mobile nav logo matches desktop size */
.mobile-nav .logo img { height: 44px; }

/* Divider margins */
.hr-glow { margin: clamp(48px, 6vw, 80px) 0; }

/* ── Feature checklist (shared across platform / franchise pages) ── */
.feat-list {
  margin-top: 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.feat-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  color: rgba(255,255,255,0.8);
}
.feat-item .feat-check { flex-shrink: 0; }
