/* ===== TOKENS ===== */
:root {
  --bg:     #0D0F1A;
  --card1:  #131629;
  --card2:  #1A1E35;
  --blue:   #2B5BE8;
  --glow:   rgba(43,91,232,0.3);
  --violet:      #7C3AED;
  --violet-soft: #A78BFA;
  --violet-glow: rgba(124, 58, 237, 0.35);
  --violet-bg:   rgba(124, 58, 237, 0.08);
  --text:   #F0F0EC;
  --text2:  #8B8FA8;
  --border: rgba(255,255,255,0.07);
  --max-w:  1160px;
}

/* ===== RESET ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--bg);
  color: var(--text);
  font-size: 16px;
  line-height: 1.7;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: var(--blue); text-decoration: none; }

/* Skip-to-content link (WCAG 2.1 SC 2.4.1) */
.skip-link {
  position: absolute;
  top: -40px;
  left: 16px;
  z-index: 100000;
  background: var(--blue);
  color: #fff;
  padding: 8px 16px;
  border-radius: 4px;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  transition: top 0.2s ease;
}
.skip-link:focus {
  top: 8px;
  outline: 2px solid #fff;
  outline-offset: -4px;
}
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
a:hover { text-decoration: underline; }
ul { list-style: none; }
canvas, svg { display: block; }

/* ===== ALTERNATING SECTION SYSTEM ===== */
.section-light {
  background: #F5F4F0;
  color: #111827;
}
.section-light .micro {
  color: #6B7280;
  text-shadow: none;
  font-weight: 500;
}
.section-light h2 {
  color: #111827;
  letter-spacing: -0.01em;
}
.section-light h3 {
  color: #111827;
}
.section-light p {
  color: #374151;
}
.section-light a {
  color: #2B5BE8;
}
.section-light strong { color: var(--blue); }
.section-light em.violet,
.section-light .accent-violet {
  color: var(--violet);
  font-style: normal;
  font-weight: 600;
}
.section-dark {
  background: #0D0F1A;
  color: #F0F0EC;
}
.section-dark .micro {
  color: #8B8FA8;
}
.section-dark h2,
.section-dark h3 {
  color: #F0F0EC;
}
.section-dark p {
  color: #8B8FA8;
}
/* Section transition seams */
.section-light + .section-dark,
.section-dark + .section-light {
  border-top: 1px solid rgba(43, 91, 232, 0.18);
}

/* Section depth glows */
.section-dark {
  position: relative;
  overflow: hidden;
}
.section-dark::before {
  content: '';
  position: absolute;
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, rgba(43, 91, 232, 0.08) 0%, rgba(43, 91, 232, 0) 70%);
  top: -200px;
  left: -200px;
  pointer-events: none;
  z-index: 0;
}
.section-dark:nth-of-type(even)::before {
  top: auto;
  left: auto;
  bottom: -200px;
  right: -200px;
}
.section-dark > * {
  position: relative;
  z-index: 1;
}

/* Light-section card depth */
.section-light .pricing-card,
.section-light .card {
  background: #FFFFFF;
  border: 1px solid rgba(0, 0, 0, 0.06);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03), 0 8px 32px rgba(0, 0, 0, 0.04);
  transition: box-shadow 0.3s cubic-bezier(0.22, 1, 0.36, 1),
              transform 0.3s cubic-bezier(0.22, 1, 0.36, 1),
              border-color 0.3s;
}
.section-light .pricing-card:hover,
.section-light .card:hover {
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.05), 0 20px 60px rgba(43, 91, 232, 0.12);
  transform: translateY(-4px);
  border-color: rgba(43, 91, 232, 0.2);
}

/* Light-section button overrides */
.section-light .btn-ghost {
  border: 1.5px solid #2B5BE8;
  color: #2B5BE8;
  background: transparent;
  transition: background 0.2s, color 0.2s;
}
.section-light .btn-ghost:hover {
  background: #2B5BE8;
  color: #FFFFFF;
}
.section-light .btn-primary {
  background: #2B5BE8;
  color: #FFFFFF;
  transition: background 0.2s, box-shadow 0.2s;
}
.section-light .btn-primary:hover {
  background: #1A4AD4;
  box-shadow: 0 0 24px rgba(43,91,232,0.35);
}

/* ===== TYPE ===== */
h1, h2, h3 { font-family: 'Syne', sans-serif; font-weight: 700; line-height: 1.1; }
h1 { font-size: clamp(44px, 6.5vw, 76px); line-height: 1.05; }
h2 { font-size: clamp(28px, 4vw, 44px); line-height: 1.12; margin-bottom: 24px; }
h3 { font-size: 20px; margin-bottom: 10px; }
.micro {
  display: block;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--blue);
  text-shadow: 0 0 12px rgba(43,91,232,0.55);
  margin-bottom: 14px;
}

/* Hard guarantee: no-split headings always render visible */
h2.no-split,
h2.no-split .word {
  opacity: 1 !important;
  visibility: visible !important;
  transform: none !important;
  clip-path: none !important;
  -webkit-clip-path: none !important;
}
.section-light h2.no-split {
  color: #111827 !important;
}

/* Gradient accent phrase */
.accent-phrase {
  background-image: linear-gradient(135deg, var(--blue) 0%, var(--violet) 100%);
  background-size: 100% 100%;
  background-repeat: no-repeat;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  font-style: italic;
  font-weight: inherit;
  position: relative;
  display: inline;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
  white-space: nowrap;
  border-bottom: 2px solid transparent;
  padding-bottom: 2px;
}
@media (max-width: 768px) {
  .accent-phrase { white-space: normal; }
}
html.js-ready .accent-phrase.word {
  background-image: linear-gradient(135deg, var(--blue) 0%, var(--violet) 100%) !important;
  background-size: 100% 100% !important;
  -webkit-background-clip: text !important;
  background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  color: transparent !important;
  display: inline !important;
  -webkit-box-decoration-break: clone !important;
  box-decoration-break: clone !important;
}

/* ===== LAYOUT ===== */
.container { max-width: var(--max-w); margin: 0 auto; padding: 0 24px; }
section { padding: 112px 0; }

/* ===== SECTION DIVIDERS ===== */
.section-divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(43,91,232,0.35), transparent);
  margin: 0;
}

/* ===== REVEAL - progressive enhancement ===== */
/* Content is visible by default; animations activate only when js-ready class is present */
html.js-ready .reveal-ready {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.55s cubic-bezier(0.22,1,0.36,1), transform 0.55s cubic-bezier(0.22,1,0.36,1);
}
html.js-ready .reveal-ready.in-view { opacity: 1; transform: translateY(0); }

/* Word-by-word heading reveal */
.reveal-words { perspective: 600px; display: block; }
html.js-ready .reveal-words .word {
  display: inline-block;
  opacity: 0;
  transform: translateY(22px) rotateX(20deg);
  transition: opacity 0.55s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.55s cubic-bezier(0.16, 1, 0.3, 1);
  transform-origin: 50% 100%;
}
html.js-ready .reveal-words.in-view .word {
  opacity: 1;
  transform: translateY(0) rotateX(0);
}
html.js-ready [data-force-show="true"].reveal-words .word,
html.js-ready [data-force-show="true"] .word {
  opacity: 1 !important;
  transform: translateY(0) rotateX(0) !important;
}
@media (prefers-reduced-motion: reduce) {
  html.js-ready .reveal-words .word {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* Line wipe paragraph reveal */
html.js-ready .reveal-wipe {
  opacity: 0;
  clip-path: inset(0 0 100% 0);
  -webkit-clip-path: inset(0 0 100% 0);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1),
              clip-path 0.7s cubic-bezier(0.16, 1, 0.3, 1),
              -webkit-clip-path 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}
html.js-ready .reveal-wipe.in-view {
  opacity: 1;
  clip-path: inset(0 0 0% 0);
  -webkit-clip-path: inset(0 0 0% 0);
}
@media (prefers-reduced-motion: reduce) {
  html.js-ready .reveal-wipe {
    opacity: 1;
    clip-path: none;
    -webkit-clip-path: none;
    transition: none;
  }
}

/* Card slide-in reveal */
html.js-ready .slide-in {
  opacity: 0;
  transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
html.js-ready .slide-in.slide-left  { transform: translateX(-40px); }
html.js-ready .slide-in.slide-right { transform: translateX(40px); }
html.js-ready .slide-in.slide-up    { transform: translateY(32px); }
html.js-ready .slide-in.in-view {
  opacity: 1;
  transform: translate(0, 0);
}
@media (prefers-reduced-motion: reduce) {
  html.js-ready .slide-in {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* Eyebrow label reveal */
html.js-ready .micro.reveal,
html.js-ready section .micro {
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}
html.js-ready .micro.reveal.in-view,
html.js-ready section .micro.in-view {
  opacity: 1;
  transform: translateY(0);
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-block; padding: 13px 26px; border-radius: 7px;
  font-size: 15px; font-weight: 500; font-family: 'DM Sans', sans-serif;
  cursor: pointer; border: none; text-decoration: none;
  transition: opacity 0.2s, box-shadow 0.2s, transform 0.2s cubic-bezier(0.22,1,0.36,1), border-color 0.2s;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); text-decoration: none; }
.btn-primary { background: var(--blue); color: #fff; }
.btn-primary:hover { opacity: 0.9; box-shadow: 0 0 20px rgba(43,91,232,0.4); }
.btn-ghost  { background: transparent; color: var(--text); border: 1px solid rgba(255,255,255,0.18); }
.btn-ghost:hover { border-color: rgba(43,91,232,0.55); color: #fff; }

/* Primary CTA glow and violet bleed */
.btn-primary,
.btn.primary {
  background: linear-gradient(135deg, var(--blue) 0%, #1A4AD4 100%) !important;
  position: relative;
  transition: transform 0.25s cubic-bezier(0.22,1,0.36,1),
              box-shadow 0.3s ease,
              background 0.2s;
}
.btn-primary::before,
.btn.primary::before {
  content: '';
  position: absolute;
  inset: -2px;
  background: linear-gradient(135deg, #2B5BE8, #4C7BF5, #2B5BE8);
  border-radius: inherit;
  opacity: 0;
  z-index: -1;
  filter: blur(12px);
  transition: opacity 0.3s;
}
.btn-primary::after,
.btn.primary::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(135deg, var(--blue), var(--violet));
  opacity: 0;
  transition: opacity 0.3s;
  z-index: -1;
}
.btn-primary:hover:not(:disabled),
.btn.primary:hover:not(:disabled) {
  transform: translateY(-2px);
}
.btn-primary:hover:not(:disabled)::before,
.btn.primary:hover:not(:disabled)::before {
  opacity: 0.7;
}
.btn-primary:hover:not(:disabled)::after,
.btn.primary:hover:not(:disabled)::after {
  opacity: 1;
  filter: blur(16px);
}
/* Disabled state - overrides hover effects and signals non-interactivity */
.btn:disabled,
.btn-primary:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
  pointer-events: none;
}
.btn-primary:disabled::before,
.btn-primary:disabled::after {
  display: none;
}

/* Badge gradient (shared by tier badge, featured badge, most-chosen badge) */
.tier-badge,
.most-chosen-badge,
.featured-badge {
  background: linear-gradient(135deg, var(--blue), var(--violet)) !important;
  box-shadow: 0 4px 16px rgba(124, 58, 237, 0.3);
}

/* ===== CURSOR GLOW ===== */
#cursor-glow {
  position: fixed;
  width: 380px; height: 380px; border-radius: 50%;
  background: radial-gradient(circle,
    rgba(124, 58, 237, 0.18) 0%,
    rgba(43, 91, 232, 0.10) 35%,
    transparent 70%);
  pointer-events: none;
  transform: translate(-50%, -50%);
  z-index: 998;
  mix-blend-mode: screen;
  transition: opacity 0.4s ease;
  will-change: left, top;
}
#cursor-glow.hidden { opacity: 0; }
@media (hover: none), (pointer: coarse) { #cursor-glow { display: none; } }

/* ===== NAV ===== */
#nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 200; height: 64px;
  background: rgba(13, 15, 26, 0.55);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  transition: background 0.25s, backdrop-filter 0.25s, -webkit-backdrop-filter 0.25s, border-color 0.25s;
}
#nav.scrolled {
  background: rgba(13,15,26,0.92);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.nav-inner {
  max-width: var(--max-w); margin: 0 auto; padding: 0 24px; height: 100%;
  display: flex; align-items: center; justify-content: space-between;
}
.wordmark { font-family: 'Syne', sans-serif; font-size: 18px; font-weight: 700; text-decoration: none; }
.wordmark .a { color: var(--blue); }
.wordmark .i { color: var(--text); }
.wordmark img.logo-mark {
  height: 32px;
  width: auto;
  display: block;
  transition: opacity 0.2s ease, transform 0.2s ease;
}
.wordmark:hover img.logo-mark {
  opacity: 0.85;
  transform: translateY(-1px);
}
@media (max-width: 640px) {
  .wordmark img.logo-mark { height: 28px; }
}
.nav-links { display: flex; align-items: center; gap: 22px; }
.nav-links a { font-size: 14px; color: rgba(240,240,236,0.72); text-decoration: none; transition: color 0.2s; }
.nav-links a:hover { color: var(--text); text-decoration: none; }
#nav a:not(.btn) { color: rgba(240,240,236,0.92) !important; font-weight: 500; font-size: 14px; }
#nav a:not(.btn):hover { color: #FFFFFF !important; }
#nav .wordmark { color: #FFFFFF !important; }
#nav .wordmark .a { color: var(--blue) !important; }
#nav .wordmark .i { color: #FFFFFF !important; }
.hamburger { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 4px; }
.hamburger span { display: block; width: 22px; height: 2px; background: var(--text); border-radius: 2px; transition: transform 0.3s, opacity 0.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); }

/* Nav violet sliding underline */
nav a:not(.btn) { position: relative; }
nav a:not(.btn)::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 0;
  height: 1.5px;
  background: linear-gradient(90deg, var(--blue), var(--violet));
  transition: width 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}
nav a:not(.btn):hover::after { width: 100%; }

/* ===== MOBILE DRAWER ===== */
.mobile-drawer {
  display: none; position: fixed; top: 64px; left: 0; right: 0;
  background: #0D0F1A; border-bottom: 1px solid var(--border);
  padding: 16px 24px 28px; z-index: 190; flex-direction: column;
}
.mobile-drawer.open { display: flex; }
.mobile-drawer a { font-size: 18px; color: var(--text); padding: 14px 0; border-bottom: 1px solid var(--border); text-decoration: none; }
.mobile-drawer a:last-child { border-bottom: none; color: var(--blue); font-weight: 500; padding-top: 20px; }

/* ===== FOOTER ===== */
#footer { background: #090B15; padding: 72px 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 56px; padding-bottom: 56px; }
.footer-wordmark { font-family: 'Syne', sans-serif; font-size: 18px; font-weight: 700; display: block; margin-bottom: 12px; }
.footer-wordmark .a { color: var(--blue); }
.footer-wordmark .i { color: var(--text); }
.footer-wordmark img.logo-mark-footer {
  height: 40px;
  width: auto;
  display: block;
  margin-bottom: 16px;
}
.footer-desc { font-size: 14px; color: rgba(240,240,236,0.42); line-height: 1.6; margin-bottom: 6px; }
.footer-url  { font-size: 13px; color: rgba(240,240,236,0.24); }
.footer-anim {
  margin-top: 32px;
  padding: 24px 0;
}
.footer-anim-grid {
  display: grid;
  grid-template-columns: repeat(5, 14px);
  grid-template-rows: repeat(3, 14px);
  gap: 14px;
  width: max-content;
  margin-bottom: 16px;
}
.footer-anim-dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: rgba(124, 58, 237, 0.18);
  animation: footer-dot-pulse 3.2s ease-in-out infinite;
  animation-delay: var(--d);
  will-change: transform;
}
.footer-anim-label {
  display: block;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: rgba(124, 58, 237, 0.6);
  font-weight: 500;
  margin-top: 16px;
  font-family: 'DM Sans', sans-serif;
}
@media (prefers-reduced-motion: reduce) {
  .footer-anim-dot { animation: none; background: var(--violet); }
}
.footer-col-title { font-size: 11px; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase; color: rgba(240,240,236,0.32); margin-bottom: 18px; }
.footer-links { display: flex; flex-direction: column; gap: 11px; }
.footer-links a { font-size: 14px; color: rgba(240,240,236,0.58); text-decoration: none; transition: color 0.2s; }
.footer-links a:hover { color: var(--text); text-decoration: none; }
.footer-contact { display: flex; flex-direction: column; gap: 10px; }
.footer-contact p, .footer-contact a { font-size: 14px; color: rgba(240,240,236,0.58); text-decoration: none; transition: color 0.2s; }
.footer-contact a:hover { color: var(--text); text-decoration: none; }
.footer-bottom { border-top: 1px solid var(--border); padding: 22px 0; display: flex; justify-content: space-between; align-items: center; }
.footer-bottom p { font-size: 12px; color: rgba(240,240,236,0.32); }

/* ===== SCROLL-TO-TOP BUTTON ===== */
#scroll-top {
  position: fixed;
  right: 28px; bottom: 28px;
  width: 48px; height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue) 0%, var(--violet) 100%);
  border: none; color: #FFFFFF; cursor: pointer;
  z-index: 999;
  display: flex; align-items: center; justify-content: center;
  opacity: 0; visibility: hidden;
  transform: translateY(12px) scale(0.9);
  transition: opacity 0.3s ease, visibility 0.3s ease,
              transform 0.3s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.3s ease;
  box-shadow: 0 4px 16px rgba(124,58,237,0.3), 0 8px 32px rgba(43,91,232,0.2);
}
#scroll-top.visible {
  opacity: 1; visibility: visible; transform: translateY(0) scale(1);
}
#scroll-top:hover {
  transform: translateY(-4px) scale(1.05);
  box-shadow: 0 8px 24px rgba(124,58,237,0.5), 0 12px 40px rgba(43,91,232,0.3);
}
#scroll-top:active { transform: translateY(0) scale(0.96); }
#scroll-top svg { width: 20px; height: 20px; display: block; transition: transform 0.2s ease; }
#scroll-top:hover svg { transform: translateY(-2px); }
@media (max-width: 640px) {
  #scroll-top { right: 16px; bottom: 16px; width: 44px; height: 44px; }
}
@media (prefers-reduced-motion: reduce) {
  #scroll-top { transition: opacity 0.2s; }
  #scroll-top:hover { transform: none; }
}

/* ===== MARQUEE STRIP ===== */
.marquee-strip {
  background: #0D0F1A;
  border-top: 1px solid rgba(124, 58, 237, 0.15);
  border-bottom: 1px solid rgba(124, 58, 237, 0.15);
  overflow: hidden;
  padding: 18px 0;
  position: relative;
}
.marquee-track {
  display: flex;
  width: max-content;
  animation: marquee-scroll 45s linear infinite;
}
.marquee-content {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: #8B8FA8;
  white-space: nowrap;
  padding-right: 32px;
  font-family: inherit;
}
@media (prefers-reduced-motion: reduce) {
  .marquee-track { animation: none; }
}

/* ===== GLOBAL NOISE TEXTURE ===== */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9999;
  opacity: 0.04;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='200' height='200'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/></filter><rect width='200' height='200' filter='url(%23n)' opacity='0.8'/></svg>");
  mix-blend-mode: overlay;
}

/* ===== KEYFRAMES ===== */
@keyframes gradient-shift {
  0%   { background-position: 0% 50%; }
  100% { background-position: 220% 50%; }
}
@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}
@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(7px); }
}
@keyframes stat-pulse {
  0% { text-shadow: none; }
  50% { text-shadow: 0 0 30px rgba(43,91,232,0.8); }
  100% { text-shadow: none; }
}
@keyframes footer-dot-pulse {
  0%, 100% {
    background: rgba(124, 58, 237, 0.18);
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(124, 58, 237, 0);
  }
  50% {
    background: var(--violet);
    transform: scale(1.15);
    box-shadow: 0 0 12px 2px rgba(124, 58, 237, 0.5);
  }
}
@keyframes def-bar-shimmer {
  0%, 100% { background-position: 0% 100%; }
  50%      { background-position: 0% 0%; }
}
@keyframes marquee-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ===== TRACKING NOTICE - POPIA awareness banner ===== */
.tracking-notice {
  position: fixed;
  bottom: 24px;
  right: 24px;
  max-width: 380px;
  background: rgba(15, 17, 36, 0.96);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(124, 58, 237, 0.35);
  border-radius: 10px;
  padding: 16px 20px;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.35);
  z-index: 9999;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.4s cubic-bezier(0.22, 1, 0.36, 1),
              transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
  font-family: 'DM Sans', sans-serif;
}
.tracking-notice.visible {
  opacity: 1;
  transform: translateY(0);
}
.tracking-notice p {
  margin: 0 0 12px 0;
  color: rgba(240, 240, 236, 0.85);
  font-size: 13px;
  line-height: 1.55;
}
.tracking-notice a {
  color: #A78BFA;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.tracking-notice a:hover { color: #C4B5FD; }
.tracking-notice-actions {
  display: flex;
  gap: 10px;
  align-items: center;
}
.tracking-notice button {
  background: linear-gradient(135deg, #2B5BE8, #7C3AED);
  color: #FFFFFF;
  border: none;
  border-radius: 6px;
  padding: 8px 16px;
  font-size: 13px;
  font-weight: 500;
  font-family: inherit;
  cursor: pointer;
  transition: opacity 0.2s, box-shadow 0.2s;
}
.tracking-notice button:hover {
  opacity: 0.9;
  box-shadow: 0 0 16px rgba(124, 58, 237, 0.4);
}
@media (max-width: 480px) {
  .tracking-notice {
    bottom: 16px;
    right: 16px;
    left: 16px;
    max-width: none;
  }
}
@media (prefers-reduced-motion: reduce) {
  .tracking-notice {
    transition: opacity 0.2s;
    transform: none;
  }
}

/* Scroll lock during homepage loader */
body.loading {
  overflow: hidden;
  height: 100vh;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  section { padding: 80px 0; }
  .container { padding: 0 20px; max-width: 100vw; box-sizing: border-box; }
  h1 { font-size: clamp(36px, 9vw, 52px); }
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .footer-grid { grid-template-columns: 1fr; gap: 36px; }
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
  body, html {
    overflow-x: hidden;
    width: 100%;
    max-width: 100vw;
  }
  section, .container {
    max-width: 100vw;
    box-sizing: border-box;
  }
}

/* Global reduced-motion floor - catches any animation not handled by
   targeted rules above. Belt-and-braces for all 9 pages. */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
