/* ============================================================
   BLUEJAY MEDIA — styles.css
   Global stylesheet — edit this file to change site-wide styles
   ============================================================ */


/* ── FONTS ── */
@font-face {
  font-family: 'Barlow Condensed';
  src: url('../fonts/barlow-condensed-v13-latin-regular.woff2') format('woff2');
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Barlow Condensed';
  src: url('../fonts/barlow-condensed-v13-latin-600.woff2') format('woff2');
  font-weight: 600; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Barlow Condensed';
  src: url('../fonts/barlow-condensed-v13-latin-700.woff2') format('woff2');
  font-weight: 700; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Barlow Condensed';
  src: url('../fonts/barlow-condensed-v13-latin-800.woff2') format('woff2');
  font-weight: 800; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Barlow Condensed';
  src: url('../fonts/barlow-condensed-v13-latin-800italic.woff2') format('woff2');
  font-weight: 800; font-style: italic; font-display: swap;
}
@font-face {
  font-family: 'Barlow Condensed';
  src: url('../fonts/barlow-condensed-v13-latin-900.woff2') format('woff2');
  font-weight: 900; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Barlow Condensed';
  src: url('../fonts/barlow-condensed-v13-latin-900italic.woff2') format('woff2');
  font-weight: 900; font-style: italic; font-display: swap;
}
@font-face {
  font-family: 'DM Sans';
  src: url('../fonts/dm-sans-v17-latin-300.woff2') format('woff2');
  font-weight: 300; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'DM Sans';
  src: url('../fonts/dm-sans-v17-latin-regular.woff2') format('woff2');
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'DM Sans';
  src: url('../fonts/dm-sans-v17-latin-500.woff2') format('woff2');
  font-weight: 500; font-style: normal; font-display: swap;
}


/* ── TOKENS ── */
:root {
  --blue:       #1f5cd6;
  --blue-lite:  #4a7fe8;
  --blue-dim:   #163fa6;
  --blue-glow:  rgba(31, 92, 214, 0.35);
  --pink:       #dc1f7b;
  --pink-glow:  rgba(220, 31, 123, 0.25);
  --charcoal:   #0d0f14;
  --surface:    #13161e;
  --surface2:   #191d27;
  --surface3:   #1f2435;
  --border:     rgba(31, 92, 214, 0.16);
  --border-sub: rgba(255, 255, 255, 0.06);
  --white:      #eef1f8;
  --muted:      #7a8499;
  --ease:       cubic-bezier(0.22, 1, 0.36, 1);
  --ff-head:    'Barlow Condensed', sans-serif;
  --ff-body:    'DM Sans', sans-serif;
  --max:        1200px;
  --radius:     12px;
  --radius-lg:  20px;
  --section-pad: 100px;
}

/* ── RESET ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  background: var(--charcoal);
  color: var(--white);
  font-family: var(--ff-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; height: auto; }
a   { color: inherit; text-decoration: none; }
ul  { list-style: none; }
button { cursor: pointer; font-family: inherit; }

/* Noise texture */
body::before {
  content: '';
  position: fixed; inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.04'/%3E%3C/svg%3E");
  pointer-events: none; z-index: 9999; opacity: 0.28;
}

/* Skip link for accessibility + crawlability */
.skip-link {
  position: absolute; top: -100%; left: 16px;
  background: var(--blue); color: #fff;
  padding: 10px 20px; border-radius: 0 0 8px 8px;
  font-family: var(--ff-head); font-weight: 700;
  font-size: 14px; letter-spacing: .06em; text-transform: uppercase;
  z-index: 10000; transition: top .2s;
}
.skip-link:focus { top: 0; }

/* ── UTILITIES ── */
.container { max-width: var(--max); margin: 0 auto; padding: 0 36px; }

.tag {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--ff-head); font-size: 11px; font-weight: 700;
  letter-spacing: .15em; text-transform: uppercase;
  color: var(--blue-lite);
  background: rgba(31, 92, 214, .10);
  border: 1px solid rgba(31, 92, 214, .28);
  border-radius: 100px; padding: 6px 14px;
  white-space: nowrap;
}
.tag::before {
  content: ''; width: 6px; height: 6px; border-radius: 50%;
  background: var(--blue-lite); flex-shrink: 0;
  animation: pulse 2.2s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: .4; transform: scale(.65); }
}

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--ff-head); font-weight: 700; font-size: 15px;
  letter-spacing: .07em; text-transform: uppercase;
  border-radius: 6px; padding: 15px 28px;
  border: none; transition: transform .2s var(--ease), box-shadow .2s var(--ease), background .2s, color .2s;
  min-height: 48px;
}
.btn:hover  { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn-primary {
  background: var(--blue); color: #fff;
  box-shadow: 0 4px 24px var(--blue-glow);
}
.btn-primary:hover {
  background: var(--blue-lite);
  box-shadow: 0 8px 36px rgba(31, 92, 214, .55);
}
.cta-section .btn-primary {
  background: var(--pink);
  box-shadow: 0 4px 24px var(--pink-glow);
}
.cta-section .btn-primary:hover {
  background: #e8378e;
  box-shadow: 0 8px 36px rgba(220, 31, 123, .5);
}
.btn-ghost {
  background: transparent; color: var(--white);
  border: 1.5px solid rgba(255, 255, 255, .18);
}
.btn-ghost:hover { border-color: var(--blue-lite); color: var(--blue-lite); }

/* CTA large button variant */
.btn-lg {
  font-size: 16px;
  padding: 18px 36px;
}

/* Section shared */
section { padding: var(--section-pad) 0; }

.section-header { margin-bottom: 60px; }
.section-header .tag { margin-bottom: 20px; }
.section-header h2 {
  font-family: var(--ff-head);
  font-size: clamp(36px, 5vw, 68px);
  font-weight: 900; letter-spacing: -.01em;
  line-height: 1; margin-bottom: 18px; text-transform: uppercase;
}
.section-header h2 em { font-style: normal; color: var(--blue-lite); }
.section-header p { font-size: 17px; color: var(--muted); max-width: 580px; line-height: 1.7; }
.section-header.centered { text-align: center; }
.section-header.centered p { margin: 0 auto; }

/* ── REVEAL ANIMATIONS ── */
.reveal {
  opacity: 0; transform: translateY(28px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
}
.reveal.visible { opacity: 1; transform: none; }

.stagger > * {
  opacity: 0; transform: translateY(20px);
  transition: opacity .55s var(--ease), transform .55s var(--ease);
}
.stagger.visible > *:nth-child(1) { opacity:1; transform:none; transition-delay: 0s; }
.stagger.visible > *:nth-child(2) { opacity:1; transform:none; transition-delay:.1s; }
.stagger.visible > *:nth-child(3) { opacity:1; transform:none; transition-delay:.2s; }
.stagger.visible > *:nth-child(4) { opacity:1; transform:none; transition-delay:.3s; }
.stagger.visible > *:nth-child(5) { opacity:1; transform:none; transition-delay:.4s; }
.stagger.visible > *:nth-child(6) { opacity:1; transform:none; transition-delay:.5s; }

/* Respect reduced motion */
@media (prefers-reduced-motion: reduce) {
  .reveal, .stagger > *, .btn, .service-card,
  .case-card, .testi-card, .bts-photo,
  .ticker { transition: none !important; animation: none !important; }
  .reveal, .stagger > * { opacity: 1; transform: none; }
}

/* ── NAV ── */
#nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 500;
  padding: 20px 0;
  transition: background .4s, padding .3s, border-color .4s;
}
#nav.scrolled,
.inner-page #nav {
  background: rgba(13, 15, 20, .92);
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  padding: 13px 0;
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  display: flex; align-items: center;
  justify-content: space-between; gap: 24px;
}
.logo {
  font-family: var(--ff-head); font-size: 26px; font-weight: 900;
  letter-spacing: .06em; text-transform: uppercase; flex-shrink: 0;
  line-height: 1;
}
.logo span { color: var(--blue-lite); }

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

.nav-links {
  display: flex; align-items: center; gap: 30px;
}
.nav-links a {
  font-family: var(--ff-head); font-size: 13px; font-weight: 700;
  letter-spacing: .1em; text-transform: uppercase;
  color: var(--muted); transition: color .2s;
  min-height: 44px; display: flex; align-items: center;
}
.nav-links a:hover { color: var(--white); }

.hamburger {
  display: none; flex-direction: column;
  gap: 5px; padding: 8px; min-width: 44px; min-height: 44px;
  align-items: center; justify-content: center;
  background: none; border: none;
}
.hamburger span {
  display: block; width: 22px; height: 2px;
  background: var(--white); border-radius: 2px;
  transition: transform .3s var(--ease), opacity .3s;
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile nav drawer */
.mobile-nav {
  display: none;
  position: fixed; top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(13, 15, 20, .98);
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  z-index: 490; flex-direction: column;
  align-items: center; justify-content: center; gap: 32px;
  padding: 80px 36px 40px;
}
.mobile-nav.open { display: flex; }
.mobile-nav a {
  font-family: var(--ff-head); font-size: clamp(28px, 8vw, 44px);
  font-weight: 900; text-transform: uppercase; letter-spacing: .04em;
  color: var(--muted); transition: color .2s;
  min-height: 44px; display: flex; align-items: center;
}
.mobile-nav a:hover { color: var(--white); }
.mobile-nav .btn { font-size: 18px; padding: 16px 36px; margin-top: 16px; }

/* ── HERO ── */
.hero {
  min-height: 100svh;
  display: flex; align-items: center;
  position: relative; overflow: hidden;
  padding: 130px 0 80px;
}
.hero-bg {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover; object-position: center;
  z-index: 0; opacity: .18;
}
.hero-grid {
  position: absolute; inset: 0; z-index: 1;
  background-image:
    linear-gradient(rgba(31,92,214,.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(31,92,214,.045) 1px, transparent 1px);
  background-size: 72px 72px;
  pointer-events: none;
}
.hero-glow {
  position: absolute; top: -15%; left: -5%; z-index: 1;
  width: 70%; height: 85%;
  background: radial-gradient(ellipse at 30% 40%, rgba(31,92,214,.18) 0%, transparent 65%);
  pointer-events: none;
}
.hero-content { position: relative; z-index: 2; max-width: 860px; }

.hero h1 {
  font-family: var(--ff-head);
  font-size: clamp(54px, 8.5vw, 120px);
  font-weight: 900; line-height: .92;
  letter-spacing: -.01em; text-transform: uppercase;
  margin-bottom: 28px;
}
.hero h1 em { font-style: italic; color: var(--blue-lite); }

/* Hero CTA button — pink override */
.hero .btn-primary {
  background: var(--pink);
  box-shadow: 0 4px 24px var(--pink-glow);
}
.hero .btn-primary:hover {
  background: #e8378e;
  box-shadow: 0 8px 36px rgba(220, 31, 123, .5);
}

.hero-sub {
  font-size: clamp(16px, 2vw, 19px);
  color: var(--muted); max-width: 580px;
  margin-bottom: 44px; line-height: 1.7;
}
.hero-actions {
  display: flex; flex-wrap: wrap; gap: 16px; margin-bottom: 64px;
}
.hero-proof { display: flex; flex-wrap: wrap; gap: 44px; }
.proof-item { display: flex; flex-direction: column; }
.proof-num {
  font-family: var(--ff-head); font-size: clamp(36px, 4vw, 48px);
  font-weight: 900; color: var(--white); line-height: 1;
}
.proof-num span { color: var(--blue-lite); }
.proof-label { font-size: 13px; color: var(--muted); margin-top: 4px; letter-spacing: .04em; }

/* ── VIDEO REEL ── */
.reel-section {
  background: var(--surface);
  padding: 0 0 100px;
  position: relative; overflow: hidden;
}
.reel-section::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--blue), transparent);
}
.reel-header { text-align: center; padding: 80px 0 48px; }
.reel-header .tag { margin-bottom: 18px; }
.reel-header h2 {
  font-family: var(--ff-head);
  font-size: clamp(32px, 5vw, 64px);
  font-weight: 900; text-transform: uppercase;
  letter-spacing: -.01em; line-height: 1; margin-bottom: 14px;
}
.reel-header h2 em { font-style: normal; color: var(--blue-lite); }
.reel-header p { font-size: 17px; color: var(--muted); max-width: 480px; margin: 0 auto; }

.reel-player {
  position: relative; max-width: 960px; margin: 0 auto;
  border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: 0 40px 100px rgba(0,0,0,.6), 0 0 0 1px var(--border);
  aspect-ratio: 16 / 9; background: #000; cursor: pointer;
}
.reel-thumb {
  position: absolute; inset: 0; z-index: 1;
  background-size: cover; background-position: center;
  background-image: url('../images/reel-thumb.jpg');
}
.reel-overlay {
  position: absolute; inset: 0; z-index: 2;
  background: linear-gradient(135deg, rgba(13,15,20,.7) 0%, rgba(31,92,214,.18) 100%);
  display: flex; align-items: center; justify-content: center;
  transition: opacity .4s;
}
.reel-overlay.hidden { opacity: 0; pointer-events: none; }
.play-btn {
  width: 88px; height: 88px; border-radius: 50%;
  background: var(--blue);
  border: 3px solid rgba(255,255,255,.25);
  display: flex; align-items: center; justify-content: center;
  transition: transform .3s var(--ease), box-shadow .3s;
  position: relative; z-index: 3;
  min-width: 88px;
}
.play-btn:hover { transform: scale(1.12); box-shadow: 0 0 0 20px rgba(31,92,214,.15); }
.play-btn svg { width: 32px; height: 32px; fill: #fff; margin-left: 5px; }
.reel-iframe {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  border: none; display: none; z-index: 4;
}
.reel-caption {
  text-align: center; margin-top: 18px;
  font-size: 12px; color: var(--muted); letter-spacing: .05em;
}

/* ── CLIENT TICKER ── */
.clients-section {
  background: var(--surface);
  padding: 44px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  overflow: hidden;
}
.clients-label {
  text-align: center;
  font-family: var(--ff-head); font-size: 11px; font-weight: 700;
  letter-spacing: .18em; text-transform: uppercase;
  color: var(--muted); margin-bottom: 28px;
}
.ticker-wrap { overflow: hidden; position: relative; }
.ticker-wrap::before, .ticker-wrap::after {
  content: ''; position: absolute; top: 0; bottom: 0;
  width: 120px; z-index: 2; pointer-events: none;
}
.ticker-wrap::before { left: 0;  background: linear-gradient(90deg,  var(--surface), transparent); }
.ticker-wrap::after  { right: 0; background: linear-gradient(270deg, var(--surface), transparent); }

.ticker {
  display: flex; width: max-content;
  animation: ticker-scroll 45s linear infinite;
  will-change: transform;
}
.ticker:hover { animation-play-state: paused; }
@keyframes ticker-scroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
.client-item {
  display: flex; align-items: center; justify-content: center;
  padding: 0 48px;
  border-right: 1px solid var(--border);
  height: 56px; min-width: 160px; flex-shrink: 0;
}
.client-logo {
  height: 32px; width: auto; max-width: 280px;
  color: var(--muted);
  transition: color .3s;
  flex-shrink: 0;
}
.client-item:hover .client-logo { color: var(--white); }

/* ── VIDEO BACKDROP ── */
.backdrop-section {
  position: relative; min-height: 560px;
  display: flex; align-items: center; overflow: hidden;
}
.backdrop-video {
  position: absolute; inset: 0; z-index: 1;
  object-fit: cover; width: 100%; height: 100%;
  opacity: .25; pointer-events: none;
}
.backdrop-overlay {
  position: absolute; inset: 0; z-index: 2;
  background: linear-gradient(90deg,
    rgba(13,15,20,.95) 0%,
    rgba(13,15,20,.6)  60%,
    rgba(13,15,20,.15) 100%);
}
.backdrop-content { position: relative; z-index: 3; max-width: 640px; }
.backdrop-content .tag  { margin-bottom: 20px; }
.backdrop-content h2 {
  font-family: var(--ff-head);
  font-size: clamp(38px, 6vw, 78px);
  font-weight: 900; text-transform: uppercase;
  letter-spacing: -.01em; line-height: .93; margin-bottom: 22px;
}
.backdrop-content h2 em { font-style: normal; color: var(--blue-lite); }
.backdrop-content p {
  font-size: 17px; color: var(--muted);
  line-height: 1.7; margin-bottom: 32px; max-width: 520px;
}

/* ── GUIDE VS COACH (comparison table) ── */
.guide-section { background: var(--charcoal); }
.guide-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }

.guide-card {
  border-radius: var(--radius); padding: 44px;
  position: relative; overflow: hidden;
}
.guide-card.coach {
  background: var(--surface); border: 1px solid var(--border-sub); opacity: .65;
}
.guide-card.guide {
  background: rgba(220,31,123,.07); border: 1px solid rgba(220,31,123,.25);
}
.guide-card.guide::before {
  content: ''; position: absolute; top:0;left:0;right:0;
  height: 2px; background: var(--pink);
}
.guide-label {
  font-family: var(--ff-head); font-size: 11px; font-weight: 700;
  letter-spacing: .15em; text-transform: uppercase; margin-bottom: 18px;
}
.guide-card.coach .guide-label { color: var(--muted); }
.guide-card.guide .guide-label  { color: var(--pink); }
.guide-card h3 {
  font-family: var(--ff-head); font-size: 30px; font-weight: 900;
  text-transform: uppercase; margin-bottom: 24px;
}
.guide-card.coach h3 { color: var(--muted); }

/* HTML comparison table for AEO */
.compare-table { width: 100%; border-collapse: collapse; }
.compare-table td {
  padding: 10px 0; vertical-align: top;
  font-size: 15px; line-height: 1.5;
  border-bottom: 1px solid rgba(255,255,255,.04);
}
.compare-table td:first-child {
  width: 28px; font-weight: 700; flex-shrink: 0; padding-right: 12px;
}
.guide-card.coach .compare-table td { color: var(--muted); }
.guide-card.guide .compare-table td { color: var(--white); }
.check { color: var(--pink); }
.cross  { color: #444; }

/* ── SERVICES ── */
.services-section { background: var(--surface); }
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }

.service-card {
  background: var(--surface2); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 36px;
  position: relative; overflow: hidden;
  transition: transform .3s var(--ease), border-color .3s, box-shadow .3s;
  display: flex; flex-direction: column;
}
.service-card::after {
  content: ''; position: absolute; bottom: 0; left: 0; right: 0;
  height: 0;
  background: linear-gradient(to top, rgba(31,92,214,.06), transparent);
  transition: height .4s;
}
.service-card:hover { transform: translateY(-6px); border-color: rgba(31,92,214,.5); box-shadow: 0 24px 60px rgba(0,0,0,.4); }
.service-card:hover::after { height: 100%; }

.service-icon { font-size: 30px; margin-bottom: 22px; }
.service-card h3 {
  font-family: var(--ff-head); font-size: 21px; font-weight: 800;
  text-transform: uppercase; margin-bottom: 10px;
}
.service-card p { font-size: 14.5px; color: var(--muted); line-height: 1.65; margin-bottom: 20px; flex-grow: 1; }

/* ── CASE STUDIES ── */
.case-section { background: var(--charcoal); }

.case-studies-list { display: flex; flex-direction: column; gap: 80px; }

.case-study-row {
  display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center;
}
.case-study-row.reverse { direction: rtl; }
.case-study-row.reverse > * { direction: ltr; }

.case-video-placeholder {
  position: relative; border-radius: var(--radius-lg); overflow: hidden;
  aspect-ratio: 16 / 9; background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: 0 24px 60px rgba(0,0,0,.45);
  flex-shrink: 0;
}
.case-video-placeholder iframe {
  position: absolute; inset: 0;
  width: 100%; height: 100%; border: none;
}

.case-text-block { display: flex; flex-direction: column; gap: 14px; }
.case-text-block .case-client {
  font-family: var(--ff-head); font-size: 11px; font-weight: 700;
  letter-spacing: .15em; text-transform: uppercase;
  color: var(--pink);
}
.case-text-block h3 {
  font-family: var(--ff-head); font-size: clamp(24px, 3vw, 36px); font-weight: 900;
  text-transform: uppercase; line-height: 1.05; letter-spacing: -.01em;
}
.case-text-block p { font-size: 15px; color: var(--muted); line-height: 1.75; max-width: 480px; }

@media (max-width: 900px) {
  .case-study-row { grid-template-columns: 1fr; gap: 32px; direction: ltr; }
  .case-study-row.reverse { direction: ltr; }
  .case-studies-list { gap: 60px; }
}

/* ── BTS PHOTO STRIP ── */
.bts-section { background: var(--surface); padding: 80px 0 0; overflow: hidden; }
.bts-header { padding: 0 36px; max-width: var(--max); margin: 0 auto 40px; }
.bts-header .tag { margin-bottom: 16px; }
.bts-header h2 {
  font-family: var(--ff-head);
  font-size: clamp(32px, 5vw, 60px);
  font-weight: 900; text-transform: uppercase;
  letter-spacing: -.01em; line-height: 1; margin-bottom: 12px;
}
.bts-header h2 em { font-style: normal; color: var(--blue-lite); }
.bts-header p { font-size: 16px; color: var(--muted); max-width: 480px; }

.bts-strip {
  display: flex; gap: 14px;
  padding: 0 36px 80px;
  overflow-x: auto; overflow-y: hidden;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  cursor: grab;
  scrollbar-width: thin;
  scrollbar-color: var(--border) transparent;
}
.bts-strip:active { cursor: grabbing; }
.bts-strip::-webkit-scrollbar { height: 3px; }
.bts-strip::-webkit-scrollbar-track { background: transparent; }
.bts-strip::-webkit-scrollbar-thumb { background: var(--border); border-radius: 2px; }

.bts-photo {
  flex-shrink: 0; scroll-snap-align: start;
  border-radius: var(--radius); overflow: hidden;
  position: relative; cursor: pointer;
  transition: transform .3s var(--ease);
  height: 240px;
  -webkit-tap-highlight-color: transparent;
}
.bts-photo:nth-child(odd)  { width: clamp(220px, 28vw, 320px); }
.bts-photo:nth-child(even) { width: clamp(180px, 22vw, 260px); }
.bts-photo:hover { transform: scale(1.02); }
.bts-photo:focus { outline: 2px solid var(--blue-lite); outline-offset: 2px; }

.bts-photo img {
  width: 100%; height: 100%;
  object-fit: cover; display: block;
  pointer-events: none;
  transition: transform .5s var(--ease);
}
.bts-photo:hover img { transform: scale(1.05); }

.bts-hover-overlay {
  position: absolute; inset: 0;
  background: rgba(31,92,214,.3);
  opacity: 0; transition: opacity .3s;
  display: flex; align-items: center; justify-content: center;
}
.bts-photo:hover .bts-hover-overlay { opacity: 1; }
.bts-expand-icon {
  font-size: 28px; color: #fff;
  width: 48px; height: 48px;
  display: flex; align-items: center; justify-content: center;
}

/* ── LIGHTBOX ── */
.lightbox {
  position: fixed; inset: 0; z-index: 1000;
  background: rgba(0,0,0,.94);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; pointer-events: none;
  transition: opacity .3s;
  padding: 20px;
  -webkit-tap-highlight-color: transparent;
}
.lightbox.open { opacity: 1; pointer-events: all; }

.lightbox-inner {
  position: relative;
  max-width: min(860px, 92vw);
  width: 100%;
  border-radius: var(--radius);
  overflow: hidden;
  transform: scale(.93);
  transition: transform .35s var(--ease);
  box-shadow: 0 40px 120px rgba(0,0,0,.8);
}
.lightbox.open .lightbox-inner { transform: scale(1); }

.lightbox-img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover; display: block;
}

.lightbox-close {
  position: absolute; top: 12px; right: 12px;
  width: 44px; height: 44px;
  background: rgba(0,0,0,.6); border: 1px solid rgba(255,255,255,.15);
  border-radius: 50%; color: #fff; font-size: 18px;
  display: flex; align-items: center; justify-content: center;
  transition: background .2s; z-index: 2;
}
.lightbox-close:hover { background: rgba(31,92,214,.6); }

.lightbox-caption {
  position: absolute; bottom: 0; left: 0; right: 0;
  padding: 14px 20px;
  background: linear-gradient(transparent, rgba(0,0,0,.75));
  font-size: 12px; color: rgba(255,255,255,.6);
  font-family: var(--ff-head); letter-spacing: .08em; text-transform: uppercase;
}

.lightbox-nav {
  position: absolute; top: 50%; transform: translateY(-50%);
  background: rgba(13,15,20,.8); border: 1px solid rgba(255,255,255,.15);
  color: #fff; font-size: 24px; line-height: 1;
  width: 52px; height: 52px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  transition: background .2s, transform .2s; z-index: 10;
  -webkit-tap-highlight-color: transparent;
}
.lightbox-nav:hover { background: rgba(31,92,214,.6); }
.lightbox-nav:active { transform: translateY(-50%) scale(.92); }
.lightbox-nav.prev { left: -26px; }
.lightbox-nav.next { right: -26px; }

@media (max-width: 600px) {
  .lightbox-nav.prev { left: 8px; }
  .lightbox-nav.next { right: 8px; }
  .lightbox-nav { width: 44px; height: 44px; font-size: 20px; }
}

.lightbox-counter {
  position: absolute; top: 14px; left: 50%; transform: translateX(-50%);
  font-family: var(--ff-head); font-size: 12px; font-weight: 700;
  letter-spacing: .1em; color: rgba(255,255,255,.5);
  background: rgba(0,0,0,.5); border-radius: 100px; padding: 4px 12px;
}

/* ── PROCESS ── */
.process-section { background: var(--charcoal); }
.process-steps {
  display: grid; grid-template-columns: repeat(4, 1fr);
  position: relative; gap: 0;
  list-style: none; padding: 0; margin: 0;
}
.process-steps::before {
  content: ''; position: absolute;
  top: 32px; left: 15%; right: 15%; height: 1px;
  background: linear-gradient(90deg, transparent, var(--border), transparent);
  pointer-events: none;
}
.step { padding: 0 20px; text-align: center; }
.step-num {
  width: 64px; height: 64px; border-radius: 50%;
  background: var(--surface); border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 24px;
  font-family: var(--ff-head); font-size: 22px; font-weight: 900;
  color: var(--blue-lite); position: relative; z-index: 1;
  transition: background .3s, border-color .3s, color .3s;
}
.step:hover .step-num { background: rgba(220,31,123,.12); border-color: var(--pink); color: var(--pink); }
.step h4 {
  font-family: var(--ff-head); font-size: 17px; font-weight: 800;
  text-transform: uppercase; letter-spacing: .02em; margin-bottom: 10px;
}
.step p { font-size: 14px; color: var(--muted); line-height: 1.6; }

/* ── TESTIMONIALS ── */
.testimonials-section { background: var(--surface); }
.testi-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.testi-card {
  background: var(--surface2); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 32px;
  display: flex; flex-direction: column; gap: 18px;
  transition: border-color .3s, transform .3s var(--ease);
}
.testi-card:hover { border-color: rgba(31,92,214,.4); transform: translateY(-4px); }
.stars { display: flex; gap: 3px; color: var(--pink); font-size: 14px; }
.testi-quote {
  font-size: 15px; color: var(--white);
  line-height: 1.7; font-style: italic; flex-grow: 1;
}
.testi-quote::before { content: '\201C'; }
.testi-quote::after  { content: '\201D'; }
.testi-author { display: flex; align-items: center; gap: 12px; }
.testi-avatar {
  width: 46px; height: 46px; border-radius: 50%;
  background: rgba(31,92,214,.2); border: 1px solid rgba(31,92,214,.3);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--ff-head); font-weight: 700; font-size: 15px;
  color: var(--blue-lite); flex-shrink: 0;
}
.testi-name {
  font-family: var(--ff-head); font-size: 14px; font-weight: 700;
  text-transform: uppercase; letter-spacing: .04em; margin-bottom: 2px;
}
.testi-role { font-size: 12px; color: var(--muted); }

/* ── FAQ ── */
.faq-section { background: var(--charcoal); }
.faq-layout { display: grid; grid-template-columns: 1fr 1.5fr; gap: 80px; align-items: start; }
.faq-sticky { position: sticky; top: 100px; }
.faq-sticky .tag { margin-bottom: 20px; }
.faq-sticky h2 {
  font-family: var(--ff-head);
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 900; text-transform: uppercase;
  letter-spacing: -.01em; line-height: 1; margin-bottom: 18px;
}
.faq-sticky h2 em { font-style: normal; color: var(--blue-lite); }
.faq-sticky p { font-size: 16px; color: var(--muted); line-height: 1.7; margin-bottom: 28px; }

.faq-list { display: flex; flex-direction: column; }
.faq-item { border-bottom: 1px solid var(--border); }

.faq-q {
  display: flex; justify-content: space-between; align-items: center;
  padding: 22px 0; gap: 16px;
  font-family: var(--ff-head); font-size: 17px; font-weight: 700;
  text-transform: uppercase; letter-spacing: .02em;
  color: var(--white); transition: color .2s;
  background: none; border: none; width: 100%; text-align: left;
  min-height: 48px;
}
.faq-q:hover { color: var(--blue-lite); }

.faq-icon {
  width: 32px; height: 32px; border-radius: 50%;
  background: var(--surface2); border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  font-size: 20px; flex-shrink: 0;
  color: var(--blue-lite); line-height: 1;
  transition: transform .35s var(--ease), background .3s;
  pointer-events: none;
}
.faq-item.open .faq-icon { transform: rotate(45deg); background: rgba(31,92,214,.2); }

.faq-a {
  font-size: 15px; color: var(--muted); line-height: 1.75;
  max-height: 0; overflow: hidden;
  transition: max-height .45s var(--ease), padding-bottom .3s;
}
.faq-item.open .faq-a { max-height: 500px; padding-bottom: 22px; }

/* ── CTA ── */
.cta-section {
  background: var(--surface);
  text-align: center; position: relative; overflow: hidden;
}
.cta-section::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse at 50% 0%, rgba(31,92,214,.2) 0%, transparent 65%);
  pointer-events: none;
}
.cta-section .container { position: relative; z-index: 1; }
.cta-section .tag { margin: 0 auto 28px; }
.cta-section h2 {
  font-family: var(--ff-head);
  font-size: clamp(36px, 5.5vw, 84px);
  font-weight: 900; text-transform: uppercase;
  letter-spacing: -.01em; line-height: .95; margin-bottom: 20px;
}
.cta-section h2 em { font-style: normal; color: var(--blue-lite); }
.cta-section p {
  font-size: 18px; color: var(--muted);
  max-width: 520px; margin: 0 auto 40px; line-height: 1.7;
}
.cta-actions { display: flex; justify-content: center; flex-wrap: wrap; gap: 16px; }

/* ── FOOTER ── */
footer {
  background: var(--charcoal);
  border-top: 1px solid var(--border);
  padding: 64px 0 36px;
}
.footer-top {
  display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 48px; margin-bottom: 52px;
}
.footer-brand p { font-size: 14px; color: var(--muted); line-height: 1.7; max-width: 240px; }

.footer-col h4 {
  font-family: var(--ff-head); font-size: 11px; font-weight: 700;
  letter-spacing: .15em; text-transform: uppercase; color: var(--muted); margin-bottom: 18px;
}
.footer-links { display: flex; flex-direction: column; gap: 12px; }
.footer-links a {
  font-size: 14px; color: var(--muted); transition: color .2s;
  min-height: 32px; display: flex; align-items: center;
}
.footer-links a:hover { color: var(--white); }

.footer-bottom {
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 28px; border-top: 1px solid var(--border);
  font-size: 13px; color: var(--muted);
  flex-wrap: wrap; gap: 16px;
}
.footer-legal { display: flex; gap: 24px; }
.footer-legal a { color: var(--muted); font-size: 13px; transition: color .2s; }
.footer-legal a:hover { color: var(--white); }

/* ── RESPONSIVE ── */
@media (max-width: 1100px) {
  .services-grid { grid-template-columns: 1fr 1fr; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .process-steps { grid-template-columns: 1fr 1fr; gap: 40px 0; }
  .process-steps::before { display: none; }
}

@media (max-width: 768px) {
  :root { --section-pad: 70px; }
  .nav-links, #nav .btn { display: none; }
  .hamburger { display: flex; }
  .hero { padding: 110px 0 60px; }
  .hero h1 { font-size: clamp(44px, 12vw, 70px); }
  .guide-grid { grid-template-columns: 1fr; }
  .faq-layout { grid-template-columns: 1fr; gap: 40px; }
  .faq-sticky { position: relative; top: auto; }
  .services-grid { grid-template-columns: 1fr; }
  .testi-grid { grid-template-columns: 1fr; }
  .process-steps { grid-template-columns: 1fr; gap: 36px; }
  .footer-top { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .container { padding: 0 20px; }
  .bts-strip { padding: 0 20px 60px; }
  .bts-header { padding: 0 20px; }
}

@media (max-width: 480px) {
  .hero-proof { gap: 28px; }
  .hero-actions { flex-direction: column; align-items: flex-start; }
  .hero-actions .btn { width: 100%; justify-content: center; }
  .cta-actions { flex-direction: column; align-items: center; }
  .cta-actions .btn { width: 100%; max-width: 320px; justify-content: center; }
}


/* ============================================================
   CONTACT PAGE
   ============================================================ */

.contact-hero {
  padding: 160px 0 80px;
  position: relative;
  overflow: hidden;
}
.contact-hero::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at 60% 0%, rgba(31,92,214,.12) 0%, transparent 65%);
  pointer-events: none;
}
.contact-hero .tag { margin-bottom: 16px; display: inline-block; }
.contact-hero h1 {
  font-family: var(--ff-head);
  font-size: clamp(48px, 7vw, 96px);
  font-weight: 900; line-height: .92;
  text-transform: uppercase; letter-spacing: -.01em;
  margin-bottom: 24px;
}
.contact-hero h1 em { font-style: italic; color: var(--blue-lite); }
.contact-hero p {
  font-size: 17px; color: var(--muted);
  line-height: 1.7; max-width: 520px;
}

.contact-body { padding: 0 0 120px; }
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 64px;
  align-items: start;
}

.contact-info { display: flex; flex-direction: column; gap: 24px; }

.contact-info-header {
  font-family: var(--ff-head); font-size: 11px; font-weight: 700;
  letter-spacing: .15em; text-transform: uppercase;
  color: var(--muted); margin-bottom: 8px;
}

.contact-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 28px 24px;
  display: flex; align-items: flex-start; gap: 16px;
  transition: border-color .3s var(--ease), transform .3s var(--ease);
  text-decoration: none;
}
.contact-card:hover {
  border-color: rgba(31,92,214,.4);
  transform: translateY(-3px);
}
.contact-card-icon {
  width: 44px; height: 44px; border-radius: 10px; flex-shrink: 0;
  background: rgba(31,92,214,.1); border: 1px solid rgba(31,92,214,.2);
  display: flex; align-items: center; justify-content: center;
  font-size: 20px;
}
.contact-card-label {
  font-family: var(--ff-head); font-size: 11px; font-weight: 700;
  letter-spacing: .12em; text-transform: uppercase;
  color: var(--muted); margin-bottom: 4px;
}
.contact-card-value {
  font-family: var(--ff-head); font-size: 20px; font-weight: 800;
  text-transform: uppercase; color: var(--white); letter-spacing: .01em;
}
.contact-card-sub {
  font-size: 13px; color: var(--muted); margin-top: 3px;
}

.contact-social {
  display: flex; gap: 10px; flex-wrap: wrap; margin-top: 8px;
}
.contact-social-link {
  font-family: var(--ff-head); font-size: 11px; font-weight: 700;
  letter-spacing: .1em; text-transform: uppercase;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 100px; padding: 7px 14px; color: var(--muted);
  text-decoration: none; transition: color .2s, border-color .2s;
}
.contact-social-link:hover { color: var(--white); border-color: rgba(31,92,214,.4); }

.contact-note {
  background: rgba(31,92,214,.06); border: 1px solid rgba(31,92,214,.15);
  border-radius: var(--radius); padding: 20px;
  font-size: 14px; color: var(--muted); line-height: 1.65;
}
.contact-note strong { color: var(--white); font-weight: 600; }

.contact-form-wrap {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 48px 40px;
}
.contact-form-wrap h2 {
  font-family: var(--ff-head); font-size: 28px; font-weight: 900;
  text-transform: uppercase; margin-bottom: 6px;
}
.contact-form-wrap > p {
  font-size: 14px; color: var(--muted); margin-bottom: 32px; line-height: 1.6;
}

.form-row {
  display: grid; grid-template-columns: 1fr 1fr; gap: 16px;
}
.form-group {
  display: flex; flex-direction: column; gap: 7px; margin-bottom: 18px;
}
.form-group label {
  font-family: var(--ff-head); font-size: 11px; font-weight: 700;
  letter-spacing: .12em; text-transform: uppercase; color: var(--muted);
}
.form-group input,
.form-group select,
.form-group textarea {
  background: var(--surface2); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 13px 16px;
  font-family: var(--ff-body); font-size: 15px; color: var(--white);
  outline: none; transition: border-color .2s;
  width: 100%; box-sizing: border-box;
  -webkit-appearance: none; appearance: none;
}
.form-group select {
  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='%237a8499' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
  cursor: pointer;
}
.form-group textarea {
  resize: vertical; min-height: 130px; line-height: 1.6;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--blue-lite);
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--muted); opacity: .6; }
.form-group select option { background: var(--surface2); color: var(--white); }

.form-submit {
  width: 100%; margin-top: 8px;
  font-size: 16px; padding: 18px 36px;
  justify-content: center;
}

.form-success {
  display: none; text-align: center; padding: 40px 20px;
}
.form-success.show { display: block; }
.form-success-icon { font-size: 48px; margin-bottom: 16px; }
.form-success h3 {
  font-family: var(--ff-head); font-size: 28px; font-weight: 900;
  text-transform: uppercase; margin-bottom: 10px;
}
.form-success p { color: var(--muted); font-size: 15px; line-height: 1.6; }

@media (max-width: 900px) {
  .contact-grid { grid-template-columns: 1fr; gap: 48px; }
  .contact-form-wrap { padding: 36px 28px; }
}
@media (max-width: 600px) {
  .form-row { grid-template-columns: 1fr; }
  .contact-form-wrap { padding: 28px 20px; }
}


/* ============================================================
   LEGAL PAGES (Privacy Policy & Terms of Service)
   ============================================================ */

.legal-hero {
  padding: 160px 0 64px;
  position: relative; overflow: hidden;
}
.legal-hero::before {
  content: '';
  position: absolute; inset: 0;
  pointer-events: none;
}
/* Privacy Policy uses blue glow */
.legal-hero.privacy::before {
  background: radial-gradient(ellipse at 70% 0%, rgba(31,92,214,.1) 0%, transparent 60%);
}
/* Terms of Service uses pink glow */
.legal-hero.terms::before {
  background: radial-gradient(ellipse at 30% 0%, rgba(220,31,123,.08) 0%, transparent 60%);
}
.legal-hero .tag { margin-bottom: 16px; display: inline-block; }
.legal-hero h1 {
  font-family: var(--ff-head);
  font-size: clamp(48px, 7vw, 88px);
  font-weight: 900; line-height: .92;
  text-transform: uppercase; letter-spacing: -.01em;
  margin-bottom: 20px;
}
.legal-hero h1 em { font-style: italic; }
.legal-hero.privacy h1 em { color: var(--blue-lite); }
.legal-hero.terms   h1 em { color: var(--pink); }

.legal-hero-meta {
  font-size: 13px; color: var(--muted);
  display: flex; align-items: center; gap: 16px; flex-wrap: wrap;
}
.legal-hero-meta span { display: flex; align-items: center; gap: 6px; }
.legal-hero-meta .dot {
  width: 4px; height: 4px; border-radius: 50%;
  flex-shrink: 0;
}
.legal-hero.privacy .legal-hero-meta .dot { background: var(--pink); }
.legal-hero.terms   .legal-hero-meta .dot { background: var(--blue-lite); }

.legal-body { padding: 0 0 120px; }
.legal-layout {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 64px;
  align-items: start;
}

.legal-toc { position: sticky; top: 100px; }
.legal-toc-label {
  font-family: var(--ff-head); font-size: 10px; font-weight: 700;
  letter-spacing: .18em; text-transform: uppercase;
  color: var(--muted); margin-bottom: 14px;
}
.legal-toc-list {
  list-style: none; padding: 0; margin: 0;
  display: flex; flex-direction: column; gap: 2px;
}
.legal-toc-list a {
  font-size: 13px; color: var(--muted); text-decoration: none;
  padding: 6px 12px; border-radius: 6px; display: block;
  border-left: 2px solid transparent;
  transition: color .2s, border-color .2s, background .2s;
  line-height: 1.4;
}
/* Privacy */
.legal-hero.privacy ~ .legal-body .legal-toc-list a:hover,
.legal-toc-list a.active-blue {
  color: var(--white); background: rgba(31,92,214,.06);
  border-left-color: var(--blue-lite);
}
.legal-toc-list a.active-blue { color: var(--blue-lite); }
/* Terms */
.legal-toc-list a.active-pink {
  color: var(--pink); border-left-color: var(--pink);
  background: rgba(220,31,123,.06);
}

.legal-content { max-width: 720px; }

.legal-section {
  margin-bottom: 56px;
  padding-bottom: 56px;
  border-bottom: 1px solid var(--border-sub);
}
.legal-section:last-child { border-bottom: none; margin-bottom: 0; }

.legal-section h2 {
  font-family: var(--ff-head); font-size: 26px; font-weight: 900;
  text-transform: uppercase; letter-spacing: .01em;
  margin-bottom: 16px; color: var(--white);
  display: flex; align-items: center; gap: 10px;
}
.legal-section h2::before {
  content: '';
  width: 4px; height: 22px; border-radius: 2px; flex-shrink: 0;
}
.privacy-page .legal-section h2::before {
  background: linear-gradient(180deg, var(--blue-lite), var(--pink));
}
.terms-page .legal-section h2::before {
  background: linear-gradient(180deg, var(--pink), var(--blue-lite));
}

.legal-section p {
  font-size: 15px; color: var(--muted);
  line-height: 1.8; margin-bottom: 14px;
}
.legal-section p:last-child { margin-bottom: 0; }

.legal-section ul, .legal-section ol {
  padding-left: 20px; margin-bottom: 14px;
}
.legal-section li {
  font-size: 15px; color: var(--muted);
  line-height: 1.8; margin-bottom: 6px;
}

.legal-section a {
  color: var(--blue-lite); text-decoration: none;
  border-bottom: 1px solid rgba(74,127,232,.3);
  transition: border-color .2s;
}
.legal-section a:hover { border-color: var(--blue-lite); }

.legal-highlight {
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 18px 20px; margin: 20px 0;
  font-size: 14px; color: var(--muted); line-height: 1.7;
}
.privacy-page .legal-highlight {
  background: rgba(31,92,214,.07); border: 1px solid rgba(31,92,214,.18);
  border-left: 3px solid var(--blue-lite);
}
.terms-page .legal-highlight {
  background: rgba(220,31,123,.06); border: 1px solid rgba(220,31,123,.15);
  border-left: 3px solid var(--pink);
}
.legal-highlight strong { color: var(--white); }

.legal-contact-box {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 28px 24px;
  margin-top: 20px;
}
.legal-contact-box p { margin-bottom: 8px; }
.legal-contact-box p:last-child { margin-bottom: 0; }

/* TOC hover for privacy vs terms — handled by page-level classes */
.privacy-page .legal-toc-list a:hover { color: var(--white); background: rgba(31,92,214,.06); border-left-color: var(--blue-lite); }
.privacy-page .legal-toc-list a.active { color: var(--blue-lite); border-left-color: var(--blue-lite); background: rgba(31,92,214,.06); }
.terms-page .legal-toc-list a:hover { color: var(--white); background: rgba(220,31,123,.06); border-left-color: var(--pink); }
.terms-page .legal-toc-list a.active { color: var(--pink); border-left-color: var(--pink); background: rgba(220,31,123,.06); }

@media (max-width: 900px) {
  .legal-layout { grid-template-columns: 1fr; }
  .legal-toc { position: static; margin-bottom: 40px; }
  .legal-toc-list { flex-direction: row; flex-wrap: wrap; gap: 6px; }
  .legal-toc-list a { border-left: none; border-bottom: 2px solid transparent; padding: 5px 10px; }
  .privacy-page .legal-toc-list a:hover,
  .privacy-page .legal-toc-list a.active { border-left-color: transparent; border-bottom-color: var(--blue-lite); }
  .terms-page .legal-toc-list a:hover,
  .terms-page .legal-toc-list a.active { border-left-color: transparent; border-bottom-color: var(--pink); }
}


/* ============================================================
   404 PAGE
   ============================================================ */

.page-404 body {
  min-height: 100vh;
  display: flex; flex-direction: column;
}

.bg-layer {
  position: fixed; inset: 0; z-index: 0; pointer-events: none;
  overflow: hidden;
}

.bg-404 {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  font-family: var(--ff-head);
  font-size: clamp(280px, 40vw, 520px);
  font-weight: 900;
  letter-spacing: -.04em;
  line-height: 1;
  user-select: none;
  background: linear-gradient(135deg,
    rgba(31,92,214,.08) 0%,
    rgba(220,31,123,.06) 50%,
    rgba(31,92,214,.04) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  white-space: nowrap;
  animation: ghostPulse 6s ease-in-out infinite;
}

@keyframes ghostPulse {
  0%, 100% { opacity: .6; transform: translate(-50%, -50%) scale(1); }
  50%       { opacity: 1;  transform: translate(-50%, -50%) scale(1.03); }
}

.orb {
  position: absolute; border-radius: 50%;
  filter: blur(80px); opacity: .18;
  animation: orbFloat linear infinite;
}
.orb-1 {
  width: 500px; height: 500px;
  background: var(--blue);
  top: -100px; left: -100px;
  animation-duration: 20s;
}
.orb-2 {
  width: 400px; height: 400px;
  background: var(--pink);
  bottom: -80px; right: -80px;
  animation-duration: 25s; animation-delay: -8s;
}
.orb-3 {
  width: 280px; height: 280px;
  background: var(--blue-lite);
  top: 40%; right: 10%;
  animation-duration: 18s; animation-delay: -4s;
}

@keyframes orbFloat {
  0%   { transform: translate(0, 0) scale(1); }
  33%  { transform: translate(30px, -40px) scale(1.05); }
  66%  { transform: translate(-20px, 20px) scale(.95); }
  100% { transform: translate(0, 0) scale(1); }
}

.bg-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(31,92,214,.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(31,92,214,.04) 1px, transparent 1px);
  background-size: 48px 48px;
}

.bg-scan {
  position: absolute; inset: 0;
  background: repeating-linear-gradient(
    0deg,
    transparent,
    transparent 3px,
    rgba(0,0,0,.03) 3px,
    rgba(0,0,0,.03) 4px
  );
}

.not-found {
  position: relative; z-index: 1;
  flex: 1;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  padding: 120px 24px 80px;
  text-align: center;
  max-width: 680px;
  margin: 0 auto;
}

.error-code {
  position: relative;
  display: inline-block;
  font-family: var(--ff-head);
  font-size: clamp(100px, 18vw, 180px);
  font-weight: 900;
  letter-spacing: -.03em;
  line-height: 1;
  margin-bottom: 4px;
  user-select: none;
}

.error-code .digit-4-l,
.error-code .digit-0,
.error-code .digit-4-r {
  display: inline-block;
  animation: digitBounce .6s var(--ease) both;
}
.error-code .digit-4-l {
  color: transparent;
  -webkit-text-stroke: 3px var(--blue-lite);
  animation-delay: .1s;
  position: relative;
}
.error-code .digit-0 {
  color: transparent;
  -webkit-text-stroke: 3px var(--pink);
  animation-delay: .2s;
  position: relative;
}
.error-code .digit-4-r {
  color: transparent;
  -webkit-text-stroke: 3px var(--blue-lite);
  animation-delay: .3s;
  position: relative;
}

.error-code .digit-4-l::before,
.error-code .digit-4-l::after {
  content: '4';
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
}
.error-code .digit-4-l::before {
  -webkit-text-stroke: 3px var(--blue);
  animation: glitchC 5s steps(1) infinite;
  clip-path: polygon(0 20%, 100% 20%, 100% 42%, 0 42%);
}
.error-code .digit-4-l::after {
  -webkit-text-stroke: 3px var(--blue-dim);
  animation: glitchD 5s steps(1) infinite;
  clip-path: polygon(0 58%, 100% 58%, 100% 78%, 0 78%);
}

.error-code .digit-0::before,
.error-code .digit-0::after {
  content: '0';
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
}
.error-code .digit-0::before {
  -webkit-text-stroke: 3px var(--blue-lite);
  animation: glitchA 4s steps(1) infinite;
  clip-path: polygon(0 30%, 100% 30%, 100% 50%, 0 50%);
}
.error-code .digit-0::after {
  -webkit-text-stroke: 3px var(--pink);
  animation: glitchB 4s steps(1) infinite;
  clip-path: polygon(0 55%, 100% 55%, 100% 75%, 0 75%);
}

.error-code .digit-4-r::before,
.error-code .digit-4-r::after {
  content: '4';
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
}
.error-code .digit-4-r::before {
  -webkit-text-stroke: 3px var(--blue-dim);
  animation: glitchD 5s steps(1) infinite 1s;
  clip-path: polygon(0 25%, 100% 25%, 100% 45%, 0 45%);
}
.error-code .digit-4-r::after {
  -webkit-text-stroke: 3px var(--blue);
  animation: glitchC 5s steps(1) infinite 1s;
  clip-path: polygon(0 60%, 100% 60%, 100% 80%, 0 80%);
}

@keyframes glitchA {
  0%, 90%, 100% { transform: none; opacity: 0; }
  91%  { transform: translate(-4px, 2px); opacity: 1; }
  93%  { transform: translate(4px, -2px); opacity: 1; }
  95%  { transform: none; opacity: 0; }
}
@keyframes glitchB {
  0%, 92%, 100% { transform: none; opacity: 0; }
  93%  { transform: translate(5px, 0); opacity: 1; }
  96%  { transform: translate(-5px, 0); opacity: 1; }
  98%  { transform: none; opacity: 0; }
}
@keyframes glitchC {
  0%, 88%, 100% { transform: none; opacity: 0; }
  89%  { transform: translate(-5px, 1px); opacity: 1; }
  91%  { transform: translate(3px, -1px); opacity: 1; }
  93%  { transform: none; opacity: 0; }
}
@keyframes glitchD {
  0%, 85%, 100% { transform: none; opacity: 0; }
  86%  { transform: translate(4px, 2px); opacity: 1; }
  89%  { transform: translate(-3px, -2px); opacity: 1; }
  91%  { transform: none; opacity: 0; }
}

@keyframes digitBounce {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}

.error-tag {
  font-family: var(--ff-head); font-size: 11px; font-weight: 700;
  letter-spacing: .2em; text-transform: uppercase;
  color: var(--pink);
  display: flex; align-items: center; justify-content: center; gap: 8px;
  margin-bottom: 24px;
  animation: fadeUp .5s var(--ease) .5s both;
}
.error-tag::before,
.error-tag::after {
  content: ''; flex: 1; max-width: 48px; height: 1px;
  background: linear-gradient(90deg, transparent, var(--pink));
}
.error-tag::after { background: linear-gradient(90deg, var(--pink), transparent); }

.not-found h1 {
  font-family: var(--ff-head);
  font-size: clamp(32px, 5vw, 56px);
  font-weight: 900; text-transform: uppercase;
  line-height: 1.0; letter-spacing: -.01em;
  margin-bottom: 20px;
  animation: fadeUp .5s var(--ease) .6s both;
}
.not-found h1 em { font-style: italic; color: var(--blue-lite); }

.not-found p {
  font-size: 16px; color: var(--muted); line-height: 1.7;
  max-width: 460px; margin: 0 auto 40px;
  animation: fadeUp .5s var(--ease) .7s both;
}

.error-divider {
  width: 48px; height: 2px; margin: 0 auto 40px;
  background: linear-gradient(90deg, var(--blue), var(--pink));
  border-radius: 2px;
  animation: fadeUp .5s var(--ease) .75s both;
}

.error-actions {
  display: flex; gap: 14px; justify-content: center; flex-wrap: wrap;
  animation: fadeUp .5s var(--ease) .8s both;
}

.error-links {
  margin-top: 56px;
  animation: fadeUp .5s var(--ease) .9s both;
}
.error-links-label {
  font-family: var(--ff-head); font-size: 10px; font-weight: 700;
  letter-spacing: .18em; text-transform: uppercase;
  color: var(--muted); margin-bottom: 16px;
}
.error-links-grid {
  display: flex; gap: 10px; justify-content: center; flex-wrap: wrap;
}
.error-link-pill {
  font-family: var(--ff-head); font-size: 11px; font-weight: 700;
  letter-spacing: .08em; text-transform: uppercase;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 100px; padding: 8px 18px;
  color: var(--muted); text-decoration: none;
  transition: color .2s, border-color .2s, background .2s;
}
.error-link-pill:hover {
  color: var(--white);
  border-color: rgba(31,92,214,.5);
  background: rgba(31,92,214,.08);
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}

.error-footer {
  position: relative; z-index: 1;
  text-align: center; padding: 24px;
  font-size: 13px; color: var(--muted);
  border-top: 1px solid var(--border-sub);
}
.error-footer a { color: var(--muted); text-decoration: none; transition: color .2s; }
.error-footer a:hover { color: var(--white); }

@media (max-width: 480px) {
  .error-actions { flex-direction: column; align-items: center; }
  .error-actions .btn { width: 100%; max-width: 300px; justify-content: center; }
}

/* 404 body layout — flex column so footer sticks to bottom */
.page-404-body {
  min-height: 100vh;
  display: flex; flex-direction: column;
}
.page-404-body main {
  flex: 1;
  display: flex; align-items: center; justify-content: center;
  padding: 120px 24px 80px;
  position: relative; z-index: 1;
}
