/* ==========================================================================
   SNIPFLOW.APP — AUTHENTIC CYBER-BRUTALIST DESIGN SYSTEM
   Inspired 1:1 by Replace Studios & SnipFlow iOS Architecture
   ========================================================================== */

/* --- 1. Custom Font Declarations --- */
@font-face {
  font-family: 'Monument Extended';
  src: url('./fonts/MonumentExtended-Regular.woff2') format('woff2'),
       url('./fonts/MonumentExtended-Regular.otf') format('opentype');
  font-weight: 400 900;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Chakra Petch';
  src: url('./fonts/ChakraPetch-Regular.woff2') format('woff2'),
       url('./fonts/ChakraPetch-Regular.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Chakra Petch';
  src: url('./fonts/ChakraPetch-Medium.woff2') format('woff2');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Chakra Petch';
  src: url('./fonts/ChakraPetch-SemiBold.woff2') format('woff2');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Chakra Petch';
  src: url('./fonts/ChakraPetch-Bold.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Neue Montreal';
  src: url('./fonts/neuemontreal-regular.woff2') format('woff2');
  font-weight: 400 500;
  font-style: normal;
  font-display: swap;
}

/* --- 2. Color Palette & Theming Tokens --- */
:root {
  /* Default Theme: Neon Mint */
  --primary: #1CE698;
  --primary-rgb: 28, 230, 152;
  --primary-glow: rgba(28, 230, 152, 0.4);
  --primary-faint: rgba(28, 230, 152, 0.08);

  --bg-deep: #121212;
  --bg-surface: #18181b;
  --border-subtle: rgba(255, 255, 255, 0.1);
  --border-strong: rgba(255, 255, 255, 0.2);

  --text-pure: #FFFFFF;
  --text-body: rgba(255, 255, 255, 0.72);
  --text-muted: rgba(255, 255, 255, 0.45);

  --font-display: 'Monument Extended', sans-serif;
  --font-mono: 'Chakra Petch', monospace;
  --font-body: 'Neue Montreal', 'Chakra Petch', sans-serif;

  --duration: 0.3s;
  --ease-out: cubic-bezier(0, 0, 0.2, 1);
  --lift: 4px;

  --x: 50%;
  --y: 50%;
}

/* 4 Tactical Theme Variants */
body.theme-amber {
  --primary: #FFB800;
  --primary-rgb: 255, 184, 0;
  --primary-glow: rgba(255, 184, 0, 0.4);
  --primary-faint: rgba(255, 184, 0, 0.08);
}

body.theme-cyan {
  --primary: #00E5FF;
  --primary-rgb: 0, 229, 255;
  --primary-glow: rgba(0, 229, 255, 0.4);
  --primary-faint: rgba(0, 229, 255, 0.08);
}

body.theme-violet {
  --primary: #A855F7;
  --primary-rgb: 168, 85, 247;
  --primary-glow: rgba(168, 85, 247, 0.4);
  --primary-faint: rgba(168, 85, 247, 0.08);
}

/* --- 3. Base Styles & Texture --- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  color-scheme: dark;
  background-color: #121212;
  overflow-x: hidden;
  max-width: 100%;
}

body {
  background-color: #121212;
  background-image: url('./images/effects/noise.png');
  background-repeat: repeat;
  background-size: 480px 270px;
  color: var(--text-body);
  font-family: var(--font-mono);
  font-size: 15px;
  line-height: 1.6;
  min-height: 100vh;
  overflow-x: hidden;
  max-width: 100%;
  position: relative;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
  border: none;
  background: none;
  cursor: pointer;
}

.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 28px;
}

/* Dynamic Cursor Glow */
.cursor-glow {
  left: var(--x);
  top: var(--y);
  pointer-events: none;
  opacity: 0.35;
  z-index: 0;
  width: min(48rem, 760px);
  height: min(48rem, 760px);
  position: fixed;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, var(--primary-glow) 0%, transparent 70%);
  transition: opacity 0.3s ease;
}

/* Hero Background SVG Grid Overlay */
.grid-bg {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100vw;
  max-width: 1920px;
  height: auto;
  pointer-events: none;
  z-index: 0;
  opacity: 0.45;
}

/* --- 4. Step-Nav (Right-Side Progress) --- */
.step-nav {
  position: fixed;
  top: 50%;
  right: 2rem;
  transform: translateY(-50%);
  height: min(38rem, 64vh);
  z-index: 99;
}

.steps {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 4px;
  height: 100%;
}

.step-segment {
  cursor: pointer;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 10px;
  flex: 1;
  margin: 3px 0;
  position: relative;
  overflow: hidden;
  transition: background 0.2s;
}

.step-segment:hover {
  background: rgba(255, 255, 255, 0.3);
}

.segment-fill {
  background: var(--primary);
  box-shadow: 0 0 12px var(--primary);
  transform-origin: top;
  border-radius: 10px;
  position: absolute;
  top: 0; bottom: 0; left: 0; right: 0;
  transform: scaleY(0);
  transition: transform 0.3s var(--ease-out);
}

.step-segment.active .segment-fill {
  transform: scaleY(1);
}

@media (max-width: 860px) {
  .step-nav { display: none; }
}

/* --- 5. Navigation Bar (UHQ Floating Liquid-Glass Island) --- */
.navbar {
  position: fixed;
  top: 18px;
  left: 0;
  right: 0;
  z-index: 1000;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0 20px;
  pointer-events: none;
  transition: top 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.navbar.scrolled {
  top: 10px;
}

.navbar .navbar-inner {
  pointer-events: auto;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: 1080px;
  height: 56px;
  padding: 0 12px 0 20px;
  margin: 0 auto;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 
    0 16px 40px -10px rgba(0, 0, 0, 0.50),
    0 4px 12px -2px rgba(0, 0, 0, 0.35),
    inset 0 1px 1px 0 rgba(255, 255, 255, 0.32),
    inset 0 -1px 1px 0 rgba(255, 255, 255, 0.04),
    0 0 20px -5px rgba(var(--primary-rgb), 0.08);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Crystal glass top-rim highlight */
.navbar .navbar-inner::before {
  content: '';
  position: absolute;
  top: 0;
  left: 15%;
  right: 15%;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.50) 50%, transparent 100%);
  pointer-events: none;
  border-radius: 9999px;
}

/* Scrolled elevation - still pure glass, slightly deeper for readability */
.navbar.scrolled .navbar-inner {
  background: rgba(18, 18, 22, 0.55);
  backdrop-filter: blur(28px) saturate(190%);
  -webkit-backdrop-filter: blur(28px) saturate(190%);
  border-color: rgba(255, 255, 255, 0.20);
  box-shadow: 
    0 20px 48px -10px rgba(0, 0, 0, 0.70),
    inset 0 1px 1.5px 0 rgba(255, 255, 255, 0.45),
    0 0 25px -5px rgba(var(--primary-rgb), 0.14);
}

.nav-start {
  display: flex;
  align-items: center;
  z-index: 2;
  position: relative;
}

/* Authentic 2-Polygon SnipFlow Brand Logo */
.replace-logo-group {
  display: flex;
  align-items: center;
  gap: 11px;
  cursor: pointer;
  text-decoration: none;
  padding: 4px 6px;
  border-radius: 9999px;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.2s ease;
}

.replace-logo-group:hover {
  transform: scale(1.02);
}

.replace-logo-group:active {
  transform: scale(0.97);
}

.replace-logo-group .snipflow-logo {
  width: 30px;
  height: 18px;
  filter: drop-shadow(0 0 10px var(--primary-glow));
  transition: filter 0.3s ease, transform 0.3s ease;
}

.replace-logo-group:hover .snipflow-logo {
  filter: drop-shadow(0 0 16px var(--primary));
  transform: rotate(-2deg);
}

.brand-text-wrap {
  display: flex;
  align-items: baseline;
}

.brand-title {
  font-family: var(--font-display);
  font-size: 14.5px;
  font-weight: 800;
  color: #FFFFFF;
  letter-spacing: -0.01em;
  text-transform: uppercase;
}

.brand-subtitle {
  font-family: var(--font-display);
  color: var(--primary);
  font-size: 14.5px;
  font-weight: 900;
  margin-left: 2px;
  letter-spacing: -0.01em;
  text-transform: uppercase;
  transition: color 0.3s ease, text-shadow 0.3s ease;
  text-shadow: 0 0 12px var(--primary-glow);
}

/* Clean Floating Desktop Navigation — NO Nested Box */
.nav-links {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
  z-index: 2;
  padding: 0;
  margin: 0;
  background: none;
  border: none;
}

.nav-links a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.60);
  padding: 6px 0;
  border: none;
  background: none;
  border-radius: 0;
  transition: color 0.2s ease, text-shadow 0.2s ease;
  position: relative;
  white-space: nowrap;
}

.nav-links a:hover {
  color: #FFFFFF;
  background: none;
  transform: none;
}

.nav-links a:active {
  color: var(--primary);
}

.nav-links a.active {
  color: var(--primary);
  background: none;
  border: none;
  box-shadow: none;
  text-shadow: 0 0 12px var(--primary-glow);
}

.nav-links a svg.sparkle {
  width: 12px;
  height: 12px;
  fill: currentColor;
  opacity: 0.85;
  transition: transform 0.4s ease;
}

.nav-links a:hover svg.sparkle {
  transform: rotate(90deg) scale(1.15);
}

@media (max-width: 980px) {
  .nav-links {
    display: none;
  }
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 16px;
  z-index: 2;
  position: relative;
}

/* Theme Switcher — Clean Minimalist Dots, NO Nested Box */
.theme-switcher {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0;
  margin: 0;
  background: none;
  border: none;
}

.theme-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.30);
  cursor: pointer;
  transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.2s ease, border-color 0.2s ease;
  position: relative;
}

.theme-dot:hover {
  transform: scale(1.25);
  border-color: #FFFFFF;
}

.theme-dot:active {
  transform: scale(0.92);
}

.theme-dot.active {
  box-shadow: 0 0 10px currentColor, 0 0 0 2px rgba(12, 13, 17, 0.95), 0 0 0 3px currentColor;
  transform: scale(1.15);
}

.theme-dot[data-theme="mint"] { background: #1CE698; color: #1CE698; }
.theme-dot[data-theme="amber"] { background: #FFB800; color: #FFB800; }
.theme-dot[data-theme="cyan"] { background: #00E5FF; color: #00E5FF; }
.theme-dot[data-theme="violet"] { background: #A855F7; color: #A855F7; }

/* Replace Studios Signature CTA Button — Clean Glass */
.cta-button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 4px 13px 4px 4px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 9999px;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  text-decoration: none;
}

.cta-button:hover {
  background: rgba(var(--primary-rgb), 0.16);
  border-color: var(--primary);
  transform: translateY(-1px);
  box-shadow: 0 0 20px -2px var(--primary-glow);
}

.cta-button:active {
  transform: scale(0.94) translateY(0);
}

.cta-button .icon-pill {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: #FFFFFF;
  color: #000000;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.35);
  transition: transform 0.25s ease, background-color 0.25s ease, color 0.25s ease;
}

.cta-button:hover .icon-pill {
  background: var(--primary);
  color: #000000;
  transform: rotate(-10deg) scale(1.05);
}

.cta-button .icon-pill svg {
  width: 12px;
  height: 12px;
}

.cta-button .cta-text {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: #FFFFFF;
  text-transform: uppercase;
}

@media (max-width: 680px) {
  .navbar {
    top: 10px;
    padding: 0 12px;
  }
  .navbar.scrolled {
    top: 8px;
  }
  .navbar .navbar-inner {
    height: 50px;
    padding: 0 8px 0 14px;
  }
  .replace-logo-group .snipflow-logo {
    width: 26px;
    height: 16px;
  }
  .brand-title {
    font-size: 13px;
  }
  .brand-subtitle {
    font-size: 13px;
  }
  .theme-switcher {
    gap: 6px;
  }
  .theme-dot {
    width: 10px;
    height: 10px;
  }
  .cta-button {
    padding: 3px 10px 3px 3px;
    gap: 6px;
  }
  .cta-button .icon-pill {
    width: 22px;
    height: 22px;
  }
  .cta-button .icon-pill svg {
    width: 11px;
    height: 11px;
  }
  .cta-button .cta-text {
    font-size: 10px;
  }
}

@media (max-width: 420px) {
  .theme-dot[data-theme="cyan"],
  .theme-dot[data-theme="violet"] {
    display: none;
  }
}

/* --- 6. Hero Section (Full Viewport Screen with Bottom Marquee Dock) --- */
.hero-section {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  padding-top: 105px;
  padding-bottom: 0;
  text-align: center;
  z-index: 1;
  box-sizing: border-box;
}

.hero-section .hero-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  max-width: 1180px;
  padding: 10px 24px 24px;
  margin: 0 auto;
  box-sizing: border-box;
}

.hero-main-stack {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 100%;
  padding: 20px 0;
}

.hero-meta-strip {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 16px;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid var(--border-subtle);
  border-radius: 6px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--primary);
  text-transform: uppercase;
  margin-bottom: 26px;
}

.hero-meta-strip .pulse-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--primary);
  box-shadow: 0 0 8px var(--primary);
}

.hero-headline {
  font-family: var(--font-display);
  font-size: clamp(34px, 5.4vw, 68px);
  font-weight: 900;
  line-height: 1.15;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  color: #FFFFFF;
  max-width: 1080px;
  margin: 0 auto 24px;
}

.hero-headline span.accent {
  color: var(--primary);
  text-shadow: 0 0 28px var(--primary-glow);
}

.hero-subhead {
  font-family: var(--font-mono);
  font-size: clamp(15px, 1.6vw, 18.5px);
  color: rgba(255, 255, 255, 0.78);
  max-width: 740px;
  margin: 0 auto 36px;
  line-height: 1.68;
}

.hero-subhead code {
  color: var(--primary);
  background: rgba(255, 255, 255, 0.06);
  padding: 2px 7px;
  border-radius: 4px;
  border: 1px solid var(--border-subtle);
}

.hero-actions-group {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  flex-wrap: wrap;
}

/* Native Cyber-Brutalist App Store Button (Pixel-Perfect Matching Rounding) */
.btn-appstore-hero {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  height: 50px;
  padding: 0 24px;
  background: #000000;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 12px;
  color: #FFFFFF;
  text-decoration: none;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.55), inset 0 1px 1px rgba(255, 255, 255, 0.25);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  box-sizing: border-box;
}

.btn-appstore-hero:hover {
  border-color: var(--primary);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.7), 0 0 20px -2px var(--primary-glow);
}

.btn-appstore-hero:active {
  transform: translateY(0) scale(0.98);
}

.btn-appstore-hero .apple-logo-svg {
  width: 22px;
  height: 22px;
  fill: #FFFFFF;
  flex-shrink: 0;
  transition: transform 0.25s ease;
}

.btn-appstore-hero:hover .apple-logo-svg {
  transform: scale(1.06);
}

.btn-appstore-hero .appstore-text-group {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  line-height: 1.1;
}

.btn-appstore-hero .appstore-sub {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0.02em;
  color: rgba(255, 255, 255, 0.75);
}

.btn-appstore-hero .appstore-main {
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", Roboto, sans-serif;
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: #FFFFFF;
}

/* Secondary Action Button — Matching Height & 12px Radius */
.btn-secondary-reticle {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  height: 50px;
  padding: 0 24px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 12px;
  font-family: var(--font-mono);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #FFFFFF;
  text-decoration: none;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.4);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  box-sizing: border-box;
}

.btn-secondary-reticle:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--primary);
  color: var(--primary);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.6), 0 0 20px -2px var(--primary-glow);
}

.btn-secondary-reticle:active {
  transform: translateY(0) scale(0.98);
}

/* Hero Client Reviews Bar (Anchored above Bottom Marquee) */
.hero-reviews-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 32px;
  max-width: 1020px;
  width: 100%;
  margin: 0 auto;
  padding-top: 20px;
  padding-bottom: 10px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.client-review-tag {
  display: flex;
  align-items: center;
  gap: 14px;
  text-align: left;
}

.client-review-tag svg {
  width: 22px;
  height: 18px;
  flex-shrink: 0;
  fill: var(--primary);
  opacity: 0.8;
}

.client-review-text {
  font-family: var(--font-mono);
  font-size: 12.5px;
  color: rgba(255, 255, 255, 0.55);
  line-height: 1.5;
}

.client-review-text strong {
  color: #FFFFFF;
}

@media (max-height: 850px) and (min-width: 769px) {
  .hero-section {
    padding-top: 90px;
  }
  .hero-main-stack {
    padding: 10px 0;
  }
  .hero-meta-strip {
    margin-bottom: 18px;
  }
  .hero-headline {
    font-size: clamp(30px, 4.8vw, 56px);
    margin-bottom: 18px;
  }
  .hero-subhead {
    margin-bottom: 26px;
    font-size: 15px;
  }
  .hero-reviews-bar {
    padding-top: 14px;
  }
}

.mobile-break { display: none; }
.desktop-break { display: inline; }

@media (max-width: 768px) {
  .mobile-break { display: block; }
  .desktop-break { display: none; }
  .hero-section {
    padding-top: 85px;
    min-height: auto;
  }
  .hero-section .hero-content {
    padding: 20px 16px 20px;
  }
  .hero-main-stack {
    padding: 10px 0 20px;
  }
  .hero-headline {
    font-size: clamp(21px, 5.8vw, 32px);
    line-height: 1.2;
    margin-bottom: 16px;
  }
  .hero-subhead {
    font-size: 14.5px;
    line-height: 1.6;
    margin-bottom: 28px;
  }
  .hero-actions-group {
    flex-direction: column;
    width: 100%;
    max-width: 300px;
    margin: 0 auto 28px;
    gap: 12px;
  }
  .btn-appstore-hero,
  .btn-secondary-reticle {
    width: 100%;
    justify-content: center;
  }
  .hero-reviews-bar { 
    flex-direction: column; 
    text-align: center;
    gap: 12px;
    padding-top: 16px;
  }
  .client-review-tag { 
    justify-content: center; 
  }
}

/* --- 7. Infinite Marquee Ticker Tape (Docked at Bottom of Hero) --- */
.marquee-section {
  width: 100%;
  margin-top: auto;
  padding: 16px 0;
  background: rgba(8, 8, 11, 0.65);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
  overflow: hidden;
  position: relative;
  z-index: 2;
  box-sizing: border-box;
}

.marquee-track {
  width: 100%;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8% 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8% 92%, transparent);
}

.marquee-inner {
  display: flex;
  width: max-content;
  gap: 32px;
  animation: 32s linear infinite scrollLeft;
  white-space: nowrap;
}

.marquee-item {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-display);
  font-size: 14px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.45);
}

.marquee-item span.highlight {
  color: var(--primary);
}

@keyframes scrollLeft {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* --- 8. iPhone 16 Pro Viewport Mockup & Keyboard Simulator --- */
.simulator-section {
  padding: 90px 0;
  position: relative;
  z-index: 2;
}

.section-tagline {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: var(--primary);
  text-transform: uppercase;
  margin-bottom: 10px;
}

.section-title-large {
  font-family: var(--font-display);
  font-size: clamp(26px, 3.8vw, 44px);
  color: #FFFFFF;
  text-transform: uppercase;
  letter-spacing: -0.02em;
  margin-bottom: 14px;
}

.section-desc-center {
  font-family: var(--font-mono);
  font-size: 15px;
  color: var(--text-muted);
  max-width: 640px;
  margin: 0 auto 48px;
}



/* --- 9. Brutalist Service Grid --- */
.features-section {
  padding: 100px 0;
  position: relative;
  z-index: 2;
}

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

@media (max-width: 980px) {
  .brutalist-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .brutalist-grid { grid-template-columns: 1fr; }
}

.brutalist-card {
  position: relative;
  background: radial-gradient(93.49% 73.57%, rgba(217, 217, 217, 0.08) 0%, rgba(115, 115, 115, 0.02) 100%);
  border-radius: 14px;
  padding: 30px 24px;
  transition: all 0.3s var(--ease-out);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 290px;
}

.brutalist-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  border-radius: inherit;
  pointer-events: none;
  opacity: 0.6;
  padding: 1px;
  background: linear-gradient(102deg, rgba(255, 255, 255, 0.3) 8.82%, rgba(255, 255, 255, 0) 25%);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  transition: background 0.3s;
}

.brutalist-card:hover {
  transform: translateY(-4px);
}

.brutalist-card:hover::before {
  background: linear-gradient(102deg, var(--primary) 8.82%, rgba(255, 255, 255, 0) 35%);
  opacity: 1;
}

.corner-crosshair {
  position: absolute;
  font-family: monospace;
  font-size: 13px;
  color: var(--primary);
  opacity: 0.5;
}
.corner-crosshair.tl { top: 10px; left: 12px; }
.corner-crosshair.tr { top: 10px; right: 12px; }
.corner-crosshair.bl { bottom: 10px; left: 12px; }
.corner-crosshair.br { bottom: 10px; right: 12px; }

.card-spec-num {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--primary);
  margin-bottom: 12px;
}

.card-title-mono {
  font-family: var(--font-display);
  font-size: 15px;
  color: #FFFFFF;
  text-transform: uppercase;
  margin-bottom: 12px;
  letter-spacing: -0.01em;
}

.card-body-text {
  font-family: var(--font-mono);
  font-size: 13.5px;
  color: var(--text-body);
  line-height: 1.6;
}

/* --- Clean Brutalist Card Spec Line --- */
.card-footer-spec {
  margin-top: 24px;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--primary);
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.card-footer-spec .spec-divider {
  color: rgba(255, 255, 255, 0.3);
}

/* Deck Navigation Arrows */
.deck-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(18, 18, 18, 0.9);
  border: 1px solid var(--border-strong);
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 20;
  transition: all 0.25s;
  backdrop-filter: blur(8px);
}
.deck-arrow svg {
  width: 18px;
  height: 18px;
}
.deck-arrow:hover {
  background: var(--primary);
  border-color: var(--primary);
  color: #000000;
  box-shadow: 0 0 15px var(--primary-glow);
}
.deck-arrow-prev { left: -54px; }
.deck-arrow-next { right: -54px; }

@media (max-width: 720px) {
  .deck-arrow-prev { left: 4px; }
  .deck-arrow-next { right: 4px; }
}

/* Simulator Enhancements */
.sim-clear-btn {
  position: absolute;
  top: 8px;
  right: 10px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 4px;
  color: var(--text-muted);
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 700;
  padding: 2px 6px;
  cursor: pointer;
  transition: all 0.2s;
}
.sim-clear-btn:hover {
  background: rgba(239, 68, 68, 0.2);
  border-color: #EF4444;
  color: #EF4444;
}

.sim-audio-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--primary);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  padding: 3px 8px;
  border-radius: 999px;
  cursor: pointer;
  transition: all 0.2s;
}
.sim-audio-pill:hover {
  border-color: var(--primary);
}

/* ==========================================================================
   10. AIR-GAP ARCHITECTURE SPEC MATRIX (MINIMALIST REPLACE STUDIOS GLASS TABLE)
   Ultra-clean, crystal-clear readability, zero nested boxes,
   hairline dividers, high-contrast monospace typography.
   ========================================================================== */
.security-section {
  padding: 80px 0 100px;
  position: relative;
  z-index: 2;
}

.security-spec-matrix {
  position: relative;
  max-width: 1040px;
  margin: 36px auto 0;
  background: rgba(255, 255, 255, 0.025);
  -webkit-backdrop-filter: blur(28px) saturate(150%);
  backdrop-filter: blur(28px) saturate(150%);
  border: 1px solid rgba(255, 255, 255, 0.10);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 
    0 28px 70px -15px rgba(0, 0, 0, 0.75),
    inset 0 1px 1px 0 rgba(255, 255, 255, 0.25);
}

/* Corner Tactical Crosshairs */
.security-spec-matrix .corner-crosshair {
  position: absolute;
  font-family: var(--font-mono);
  font-size: 13px;
  line-height: 1;
  color: var(--primary);
  opacity: 0.6;
  pointer-events: none;
  user-select: none;
  z-index: 5;
}
.security-spec-matrix .corner-crosshair.tl { top: 8px; left: 10px; }
.security-spec-matrix .corner-crosshair.tr { top: 8px; right: 10px; }
.security-spec-matrix .corner-crosshair.bl { bottom: 8px; left: 10px; }
.security-spec-matrix .corner-crosshair.br { bottom: 8px; right: 10px; }

/* Table Matrix Header */
.spec-matrix-header {
  display: grid;
  grid-template-columns: 280px 1.25fr 1fr;
  align-items: center;
  padding: 20px 32px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.015);
}

.spec-col-label {
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: rgba(255, 255, 255, 0.50);
  text-transform: uppercase;
}

.spec-col-snipflow {
  display: flex;
  align-items: center;
}

.spec-brand-tag {
  font-family: var(--font-mono);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--primary);
  text-transform: uppercase;
}

.spec-col-cloud {
  display: flex;
  align-items: center;
}

.spec-cloud-tag {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: rgba(255, 255, 255, 0.45);
  text-transform: uppercase;
}

/* Spec Rows (Clean, Open, Hairline Divided) */
.spec-matrix-body {
  display: flex;
  flex-direction: column;
}

.spec-row {
  display: grid;
  grid-template-columns: 280px 1.25fr 1fr;
  align-items: center;
  padding: 20px 32px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  transition: background 0.18s ease;
}

.spec-row:last-child {
  border-bottom: none;
}

.spec-row:hover {
  background: rgba(255, 255, 255, 0.035);
}

.spec-domain {
  display: flex;
  align-items: center;
  gap: 12px;
}

.spec-domain-num {
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--primary);
  opacity: 0.9;
}

.spec-domain-name {
  font-family: var(--font-mono);
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: #FFFFFF;
  text-transform: uppercase;
}

.spec-val-snipflow {
  display: flex;
  flex-direction: column;
  gap: 3px;
  position: relative;
  padding-left: 22px;
  padding-right: 20px;
}

.spec-val-snipflow .bullet-dot {
  position: absolute;
  left: 0;
  top: 4px;
  font-size: 11px;
  color: var(--primary);
  line-height: 1;
  text-shadow: 0 0 8px var(--primary-glow);
}

.spec-val-snipflow .val-title {
  font-family: var(--font-mono);
  font-size: 14px;
  font-weight: 700;
  color: #FFFFFF;
  letter-spacing: 0.01em;
}

.spec-val-snipflow .val-sub {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  color: var(--primary);
  opacity: 0.9;
  letter-spacing: 0.03em;
}

.spec-val-cloud {
  display: flex;
  flex-direction: column;
  gap: 3px;
  position: relative;
  padding-left: 22px;
}

.spec-val-cloud .bullet-dot {
  position: absolute;
  left: 0;
  top: 4px;
  font-size: 11px;
  color: rgba(255, 255, 255, 0.35);
  line-height: 1;
}

.spec-val-cloud .val-title {
  font-family: var(--font-mono);
  font-size: 13.5px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.65);
  letter-spacing: 0.01em;
}

.spec-val-cloud .val-sub {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.38);
  letter-spacing: 0.03em;
}

/* Mobile & Tablet Responsiveness */
@media (max-width: 880px) {
  .spec-matrix-header {
    display: none;
  }
  .spec-row {
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 18px 20px;
  }
  .spec-val-snipflow {
    padding-bottom: 10px;
    border-bottom: 1px dashed rgba(255, 255, 255, 0.08);
    padding-right: 0;
  }
}

/* ==========================================================================
   11. AUTHENTIC 3D FANNED CARDS PRICING DECK (1:1 FROM APP PAYWALL)
   ========================================================================== */
.pricing-section {
  padding: 80px 0 60px;
  position: relative;
  z-index: 2;
  overflow: hidden;
}

/* Segmented Bar (Matching PaywallView.swift) */
.plan-segmented-bar {
  display: flex;
  max-width: 380px;
  margin: 0 auto 30px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 9px;
  padding: 3.5px;
  gap: 4px;
}

.plan-segment-btn {
  flex: 1;
  height: 36px;
  padding: 0 10px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: rgba(255, 255, 255, 0.65);
  background: transparent;
  border: 1px solid transparent;
  border-radius: 6px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  transition: all 0.25s cubic-bezier(0.22, 1, 0.36, 1);
  user-select: none;
}

.plan-segment-btn:hover {
  color: #FFFFFF;
}

.plan-segment-btn.active {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.2);
  color: #FFFFFF;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
}

.segment-tag {
  font-family: var(--font-mono);
  font-size: 8.5px;
  font-weight: 900;
  padding: 2px 4px;
  border-radius: 3px;
  line-height: 1;
}
.segment-tag.tag-best {
  background: rgba(var(--primary-rgb), 0.2);
  color: var(--primary);
}
.segment-tag.tag-discount {
  background: rgba(56, 189, 248, 0.2);
  color: #38BDF8;
}

/* 3D Fanned Card Deck Stage */
.deck-stage {
  position: relative;
  height: 220px;
  max-width: 540px;
  margin: 0 auto 16px;
  perspective: 1000px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.deck-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(18, 18, 22, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #FFF;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 20;
  transition: all 0.2s ease;
  backdrop-filter: blur(8px);
}

.deck-arrow:hover {
  background: var(--primary);
  border-color: var(--primary);
  color: #000;
  box-shadow: 0 0 14px var(--primary-glow);
}

.deck-arrow-prev { left: -50px; }
.deck-arrow-next { right: -50px; }

@media (max-width: 680px) {
  .deck-arrow-prev { left: 4px; }
  .deck-arrow-next { right: 4px; }
}

/* Fanned Card (Landscape Credit Card Proportion from PaywallView.swift) */
.fanned-card {
  position: absolute;
  width: 290px;
  height: 175px;
  border-radius: 16px;
  padding: 16px 18px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  cursor: pointer;
  box-sizing: border-box;
  overflow: hidden;
  -webkit-backdrop-filter: blur(28px) saturate(160%);
  backdrop-filter: blur(28px) saturate(160%);
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1),
              opacity 0.45s cubic-bezier(0.22, 1, 0.36, 1),
              box-shadow 0.45s, border-color 0.45s, background 0.45s;
  user-select: none;
}

.card-crosshair {
  position: absolute;
  font-family: var(--font-mono);
  font-size: 11px;
  color: rgba(255, 255, 255, 0.3);
  pointer-events: none;
}
.card-crosshair.tr { top: 8px; right: 10px; }

.fanned-card-shine {
  position: absolute;
  inset: 0;
  background: linear-gradient(125deg, rgba(255, 255, 255, 0.20) 0%, rgba(255, 255, 255, 0.02) 42%, transparent 100%);
  pointer-events: none;
  border-radius: inherit;
}

/* Card 0: Monthly (Neutral Frosted Glass) */
.fanned-card[data-tier="monthly"] {
  background: radial-gradient(135% 100% at 50% 0%, rgba(255, 255, 255, 0.12) 0%, rgba(255, 255, 255, 0.03) 55%, rgba(14, 15, 20, 0.70) 100%);
  border: 1px solid rgba(255, 255, 255, 0.22);
  box-shadow: 0 16px 40px -10px rgba(0, 0, 0, 0.8), inset 0 1px 1.5px 0 rgba(255, 255, 255, 0.25);
}

/* Card 1: Lifetime (Dynamic Theme Liquid Glass - 100% Theme Synchronized) */
.fanned-card[data-tier="lifetime"] {
  background: radial-gradient(135% 100% at 50% 0%, rgba(var(--primary-rgb), 0.28) 0%, rgba(var(--primary-rgb), 0.08) 55%, rgba(10, 12, 16, 0.70) 100%);
  border: 1.5px solid var(--primary);
  box-shadow: 
    0 20px 45px -10px rgba(0, 0, 0, 0.85),
    0 0 30px -5px var(--primary-glow),
    inset 0 1px 1.5px 0 rgba(255, 255, 255, 0.4);
}
.fanned-card[data-tier="lifetime"] .card-crosshair {
  color: var(--primary);
  opacity: 0.8;
}

/* Card 2: Annual (Electric Cyan Frosted Glass) */
.fanned-card[data-tier="annual"] {
  background: radial-gradient(135% 100% at 50% 0%, rgba(56, 189, 248, 0.22) 0%, rgba(56, 189, 248, 0.05) 55%, rgba(10, 16, 24, 0.70) 100%);
  border: 1.5px solid #38BDF8;
  box-shadow: 
    0 16px 40px -10px rgba(0, 0, 0, 0.8),
    0 0 25px rgba(56, 189, 248, 0.25),
    inset 0 1px 1.5px 0 rgba(255, 255, 255, 0.3);
}
.fanned-card[data-tier="annual"] .card-crosshair {
  color: #38BDF8;
  opacity: 0.8;
}

/* Fanned 3D Spatial Slot States */
.fanned-card.slot-hero {
  transform: translateX(0) translateY(-6px) rotate(0deg) scale(1.05);
  z-index: 10;
  opacity: 1;
  box-shadow: 0 24px 55px -10px rgba(0, 0, 0, 0.9), 0 0 40px var(--card-glow, var(--primary-glow));
}

.fanned-card.slot-left {
  transform: translateX(-115px) translateY(8px) rotate(-14deg) scale(0.92);
  z-index: 2;
  opacity: 0.65;
}

.fanned-card.slot-right {
  transform: translateX(115px) translateY(8px) rotate(14deg) scale(0.92);
  z-index: 2;
  opacity: 0.65;
}

.fanned-card:hover:not(.slot-hero) {
  opacity: 0.9;
}

/* Inner Fanned Card Elements */
.fanned-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-right: 14px;
}

.fanned-card-title {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: #FFFFFF;
}
.fanned-card[data-tier="lifetime"] .fanned-card-title {
  color: var(--primary);
}
.fanned-card[data-tier="annual"] .fanned-card-title {
  color: #38BDF8;
}

.fanned-card-badge {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.06em;
  padding: 3.5px 8px;
  border-radius: 4px;
  text-transform: uppercase;
  background: rgba(255, 255, 255, 0.15);
  color: #FFFFFF;
}
.fanned-card-badge.badge-lifetime {
  background: var(--primary);
  color: #000000;
}
.fanned-card-badge.badge-annual {
  background: #38BDF8;
  color: #000000;
}

.fanned-card-bottom {
  display: flex;
  flex-direction: column;
}

.fanned-card-price {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 900;
  color: #FFFFFF;
  line-height: 1.1;
}
.fanned-card[data-tier="lifetime"] .fanned-card-price {
  color: var(--primary);
  text-shadow: 0 0 18px var(--primary-glow);
}

.fanned-card-period {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: rgba(255, 255, 255, 0.65);
  text-transform: uppercase;
  margin-top: 4px;
}
.fanned-card[data-tier="lifetime"] .fanned-card-period {
  color: var(--primary);
}

/* Pagination Dots (Capsules from PaywallView.swift) */
.deck-dots {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin-bottom: 20px;
}

.deck-dot {
  height: 7px;
  width: 7px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.2);
  border: none;
  padding: 0;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}

.deck-dot.active {
  width: 22px;
  background: var(--primary);
  box-shadow: 0 0 8px var(--primary-glow);
}

/* Selected Plan Readout Strip */
.plan-readout-strip {
  max-width: 460px;
  margin: 0 auto 24px;
  padding: 10px 16px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: var(--font-mono);
}

.readout-left {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  font-weight: 700;
  color: #FFFFFF;
}

.readout-chevrons {
  color: var(--primary);
  font-family: var(--font-mono);
  font-size: 14px;
  font-weight: 900;
  letter-spacing: -1.5px;
}

.readout-price {
  font-size: 13px;
  font-weight: 700;
  color: var(--primary);
}

/* Minimalist Monoline Perks List (1:1 from PaywallView.swift) */
.deck-perks-list {
  max-width: 440px;
  margin: 0 auto 26px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.deck-perk-row {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  text-align: left;
}

.deck-perk-row svg.check {
  width: 15px;
  height: 15px;
  flex-shrink: 0;
  color: var(--primary);
  filter: drop-shadow(0 0 5px var(--primary-glow));
  margin-top: 2px;
}

.deck-perk-info {
  display: flex;
  flex-direction: column;
  gap: 1.5px;
}

.deck-perk-title {
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 700;
  color: #FFFFFF;
}

.deck-perk-sub {
  font-family: var(--font-mono);
  font-size: 11px;
  color: rgba(255, 255, 255, 0.55);
}

/* Unlock CTA Button */
.deck-unlock-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  max-width: 440px;
  padding: 15px 24px;
  background: var(--primary);
  color: #000000;
  border-radius: 6px;
  font-family: var(--font-display);
  font-size: 12.5px;
  font-weight: 900;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  box-shadow: 0 0 20px var(--primary-glow);
  transition: all 0.2s ease;
  text-decoration: none;
}

.deck-unlock-btn:hover {
  background: #FFFFFF;
  transform: translateY(-1px);
  box-shadow: 0 0 30px var(--primary-glow);
}

.deck-unlock-btn .bolt-icon {
  width: 14.5px;
  height: 14.5px;
  fill: #000000;
}

/* Legal & Trust Links */
.deck-trust-footer {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  margin-top: 14px;
  font-family: var(--font-mono);
  font-size: 11px;
  color: rgba(255, 255, 255, 0.45);
}

.deck-trust-footer a {
  color: rgba(255, 255, 255, 0.55);
  text-decoration: none;
  transition: color 0.2s;
}

.deck-trust-footer a:hover {
  color: var(--primary);
  text-decoration: underline;
}

.deck-trust-footer .sep {
  color: rgba(255, 255, 255, 0.25);
}

/* --- 12. Accordion (FAQ) --- */
.faq-section {
  padding: 80px 0 120px;
  position: relative;
  z-index: 2;
}

.accordion-list {
  max-width: 860px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.accordion {
  cursor: pointer;
  background: transparent;
  border-radius: 14px;
  flex-direction: column;
  width: 100%;
  padding: 18px 22px;
  display: flex;
  position: relative;
  transition: all 0.3s;
}

.accordion .accordion-glass {
  border-radius: inherit;
  z-index: 0;
  pointer-events: none;
  backdrop-filter: blur(18px) saturate(1.2);
  -webkit-backdrop-filter: blur(18px) saturate(1.2);
  background: rgba(217, 217, 217, 0.04);
  position: absolute;
  top: 0; bottom: 0; left: 0; right: 0;
  transition: background 0.3s;
}

.accordion .accordion-border {
  border-radius: inherit;
  opacity: 0.7;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(102deg, rgba(255, 255, 255, 0.4) 8.82%, rgba(255, 255, 255, 0) 25%);
  padding: 1px;
  position: absolute;
  top: 0; bottom: 0; left: 0; right: 0;
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  transition: background 0.3s;
}

.accordion-header {
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  position: relative;
}

.accordion-title {
  color: #FFFFFF;
  font-family: var(--font-mono);
  font-size: 14.5px;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.accordion-indicator {
  background: rgba(217, 217, 217, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 8px;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #FFFFFF;
  flex-shrink: 0;
  transition: transform 0.3s var(--ease-out), color 0.3s, border-color 0.3s;
}

.accordion-indicator svg {
  width: 14px;
  height: 14px;
  transition: transform 0.3s;
}

.accordion-body {
  z-index: 2;
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.3s var(--ease-out);
  position: relative;
}

.accordion-body-inner {
  overflow: hidden;
}

.accordion-text {
  color: var(--text-body);
  font-size: 14px;
  line-height: 1.65;
  padding-top: 14px;
}

.accordion.open .accordion-glass {
  background: radial-gradient(109.81% 67.66% at 50% 0, rgba(var(--primary-rgb), 0.12) 0%, rgba(var(--primary-rgb), 0.04) 100%);
}

.accordion.open .accordion-border {
  background: linear-gradient(102deg, var(--primary) 8.82%, transparent 28%);
}

.accordion.open .accordion-indicator {
  border-color: var(--primary);
  color: var(--primary);
}

.accordion.open .accordion-indicator svg {
  transform: rotate(180deg);
}

.accordion.open .accordion-body {
  grid-template-rows: 1fr;
}

/* ==========================================================================
   13. REPLACE STUDIOS FLOATING LIQUID GLASS FOOTER
   ========================================================================== */
.footer-wrap,
.footer-section {
  width: 100%;
  padding: 36px 20px 52px;
  position: relative;
  z-index: 2;
  background: transparent;
  display: flex;
  justify-content: center;
  box-sizing: border-box;
}

.footer-card {
  width: 100%;
  max-width: 1080px;
  margin: 0 auto;
  position: relative;
  border-radius: 24px;
  background: radial-gradient(135% 120% at 50% 0%, rgba(255, 255, 255, 0.04) 0%, rgba(255, 255, 255, 0.015) 55%, rgba(13, 14, 18, 0.78) 100%);
  backdrop-filter: blur(32px) saturate(180%);
  -webkit-backdrop-filter: blur(32px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.12);
  padding: 44px 44px 30px;
  box-shadow: 
    0 24px 60px -15px rgba(0, 0, 0, 0.8),
    0 4px 20px -2px rgba(0, 0, 0, 0.4),
    inset 0 1px 1.5px 0 rgba(255, 255, 255, 0.28),
    0 0 35px -8px rgba(var(--primary-rgb), 0.10);
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
  overflow: hidden;
}

/* Crystal glass top-rim highlight */
.footer-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 10%;
  right: 10%;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.45) 50%, transparent 100%);
  pointer-events: none;
}

.footer-card:hover {
  border-color: rgba(var(--primary-rgb), 0.32);
  box-shadow: 
    0 28px 70px -15px rgba(0, 0, 0, 0.85),
    0 0 40px rgba(var(--primary-rgb), 0.10),
    inset 0 1px 1.5px 0 rgba(255, 255, 255, 0.35);
}

/* Corner Tactical Crosshairs */
.footer-card .corner-crosshair {
  position: absolute;
  font-family: monospace;
  font-size: 13px;
  color: var(--primary);
  opacity: 0.4;
  line-height: 1;
  pointer-events: none;
}
.footer-card .corner-crosshair.tl { top: 12px; left: 14px; }
.footer-card .corner-crosshair.tr { top: 12px; right: 14px; }
.footer-card .corner-crosshair.bl { bottom: 12px; left: 14px; }
.footer-card .corner-crosshair.br { bottom: 12px; right: 14px; }

/* Main Grid Layout */
.footer-main-grid {
  display: grid;
  grid-template-columns: 1.35fr 0.9fr 1.05fr 1.15fr;
  gap: 36px;
  padding-bottom: 34px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

@media (max-width: 960px) {
  .footer-main-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }
}

@media (max-width: 580px) {
  .footer-main-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
}

/* Brand Column */
.footer-brand-col {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.footer-brand-desc {
  font-family: var(--font-body);
  font-size: 13px;
  line-height: 1.6;
  color: var(--text-muted);
  margin: 14px 0 18px;
  max-width: 280px;
}

.footer-status-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.10);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.82);
  letter-spacing: 0.02em;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25), inset 0 1px 1px rgba(255, 255, 255, 0.12);
  transition: all 0.25s ease;
}

.footer-status-pill:hover {
  border-color: rgba(var(--primary-rgb), 0.35);
  background: rgba(var(--primary-rgb), 0.06);
  color: #FFFFFF;
}

.footer-status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--primary);
  box-shadow: 0 0 8px var(--primary);
  animation: footer-dot-pulse 2.2s infinite ease-in-out;
  flex-shrink: 0;
}

@keyframes footer-dot-pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.45; transform: scale(0.8); }
}

/* Nav Columns */
.footer-nav-col {
  display: flex;
  flex-direction: column;
}

.footer-col-header {
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  color: rgba(255, 255, 255, 0.42);
  margin-bottom: 16px;
}

.footer-nav-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 11px;
}

.footer-nav-list a {
  font-family: var(--font-body);
  font-size: 13.5px;
  font-weight: 450;
  color: rgba(255, 255, 255, 0.65);
  text-decoration: none;
  display: inline-block;
  transition: color 0.2s ease, transform 0.2s ease;
}

.footer-nav-list a:hover {
  color: #FFFFFF;
  transform: translateX(3px);
}

/* Download & Contact Box */
.footer-action-box {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.footer-appstore-pill {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 9px 18px;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.15);
  font-family: var(--font-body);
  font-size: 12.5px;
  font-weight: 600;
  color: #FFFFFF;
  text-decoration: none;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.35), inset 0 1px 1px rgba(255, 255, 255, 0.25);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  width: fit-content;
}

.footer-appstore-pill:hover {
  background: rgba(var(--primary-rgb), 0.12);
  border-color: var(--primary);
  color: #FFFFFF;
  box-shadow: 0 6px 20px rgba(var(--primary-rgb), 0.25), inset 0 1px 1.5px rgba(255, 255, 255, 0.4);
  transform: translateY(-2px);
}

.footer-appstore-pill svg {
  width: 15px;
  height: 15px;
  fill: currentColor;
  flex-shrink: 0;
}

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

.footer-contact-label {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.35);
}

.footer-contact-link {
  font-family: var(--font-body);
  font-size: 13px;
  color: var(--primary);
  text-decoration: none;
  transition: color 0.2s ease, text-shadow 0.2s ease;
  word-break: break-all;
}

.footer-contact-link:hover {
  text-decoration: underline;
  text-shadow: 0 0 10px var(--primary-glow);
}

.footer-location-text {
  font-family: var(--font-body);
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 2px;
}

/* Bottom Bar */
.footer-bottom-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 22px;
  gap: 16px;
  flex-wrap: wrap;
}

.footer-copyright {
  font-family: var(--font-body);
  font-size: 12px;
  color: rgba(255, 255, 255, 0.42);
  line-height: 1.5;
}

.footer-back-to-top {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 15px;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.12);
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.70);
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.footer-back-to-top svg {
  transition: transform 0.25s ease;
  width: 13px;
  height: 13px;
}

.footer-back-to-top:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.25);
  color: #FFFFFF;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}

.footer-back-to-top:hover svg {
  transform: translateY(-2px);
}

@media (max-width: 768px) {
  .footer-wrap,
  .footer-section {
    padding: 16px 14px 36px;
  }
  .footer-card {
    padding: 32px 22px 24px;
    border-radius: 20px;
  }
  .footer-bottom-bar {
    flex-direction: column-reverse;
    align-items: flex-start;
    gap: 14px;
  }
}

/* --- 14. Standalone Legal Pages Styling (Replace Studios Liquid Glassmorphism) --- */
.legal-page-header {
  padding: 130px 0 44px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: radial-gradient(100% 120% at 50% 0%, rgba(var(--primary-rgb), 0.08) 0%, rgba(255, 255, 255, 0.015) 55%, transparent 100%);
  position: relative;
  overflow: hidden;
}

.legal-content-body {
  padding: 36px 0 100px;
  max-width: 900px;
  margin: 0 auto;
  position: relative;
}

.legal-ambient-glow {
  position: absolute;
  top: 60px;
  left: 50%;
  transform: translateX(-50%);
  width: min(100vw, 1100px);
  height: 600px;
  background: radial-gradient(circle at 50% 30%, rgba(var(--primary-rgb), 0.09) 0%, rgba(var(--primary-rgb), 0.02) 40%, transparent 70%);
  pointer-events: none;
  z-index: 0;
  filter: blur(60px);
}

/* Authentic Liquid Glass Section Card (No Muddy Grey-Blue) */
.legal-section-card {
  position: relative;
  background: radial-gradient(135% 100% at 50% 0%, rgba(255, 255, 255, 0.04) 0%, rgba(255, 255, 255, 0.015) 55%, rgba(12, 13, 16, 0.55) 100%);
  backdrop-filter: blur(32px) saturate(160%);
  -webkit-backdrop-filter: blur(32px) saturate(160%);
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 16px;
  padding: 38px 36px;
  margin-bottom: 28px;
  overflow: hidden;
  box-shadow: 
    0 28px 70px -15px rgba(0, 0, 0, 0.75),
    inset 0 1px 1.5px 0 rgba(255, 255, 255, 0.22);
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

/* Glass specular highlight strip */
.legal-section-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent 5%, rgba(255, 255, 255, 0.35) 50%, transparent 95%);
  pointer-events: none;
}

.legal-section-card:hover {
  border-color: rgba(var(--primary-rgb), 0.4);
  box-shadow: 
    0 32px 80px -15px rgba(0, 0, 0, 0.85),
    0 0 35px rgba(var(--primary-rgb), 0.12),
    inset 0 1px 1.5px 0 rgba(255, 255, 255, 0.32);
}

.legal-section-num {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--primary);
  text-transform: uppercase;
  margin-bottom: 10px;
  display: inline-block;
}

.legal-section-title {
  font-family: var(--font-display);
  font-size: clamp(17px, 2.2vw, 23px);
  color: #FFFFFF;
  text-transform: uppercase;
  letter-spacing: -0.01em;
  margin-bottom: 20px;
}

.legal-sub-title {
  font-family: var(--font-display);
  font-size: 14px;
  color: #FFFFFF;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  margin: 24px 0 12px;
}

.legal-section-card p {
  font-family: var(--font-mono);
  font-size: 13.5px;
  line-height: 1.75;
  color: var(--text-body);
  margin-bottom: 14px;
}

.legal-section-card strong {
  color: #FFFFFF;
  font-weight: 700;
}

.legal-section-card a {
  color: var(--primary);
  text-decoration: none;
  border-bottom: 1px dashed rgba(var(--primary-rgb), 0.5);
  transition: all 0.2s;
}

.legal-section-card a:hover {
  border-bottom-style: solid;
  color: #FFFFFF;
  text-shadow: 0 0 8px var(--primary-glow);
}

.legal-section-card ul, .legal-section-card ol {
  padding-left: 22px;
  margin: 14px 0 18px;
  font-family: var(--font-mono);
  font-size: 13.5px;
  line-height: 1.75;
  color: var(--text-body);
}

.legal-section-card li {
  margin-bottom: 8px;
}

.legal-section-card code {
  font-family: var(--font-mono);
  font-size: 12px;
  background: rgba(var(--primary-rgb), 0.10);
  color: var(--primary);
  border: 1px solid rgba(var(--primary-rgb), 0.3);
  padding: 2px 7px;
  border-radius: 4px;
}

/* Floating Glass Capsule Tab Navigation (No Ugly Black Band) */
.legal-tab-nav-wrapper {
  position: sticky;
  top: 78px;
  z-index: 45;
  padding: 10px 0 22px;
  display: flex;
  justify-content: center;
  pointer-events: none;
  width: 100%;
}

.legal-tab-nav {
  pointer-events: auto;
  position: sticky;
  top: 78px;
  z-index: 45;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px;
  margin: 0 auto 30px;
  width: fit-content;
  max-width: 100%;
  background: rgba(18, 19, 24, 0.72);
  backdrop-filter: blur(32px) saturate(190%);
  -webkit-backdrop-filter: blur(32px) saturate(190%);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  box-shadow: 
    0 20px 50px -10px rgba(0, 0, 0, 0.85),
    0 0 25px -5px rgba(0, 0, 0, 0.6),
    inset 0 1px 1.5px 0 rgba(255, 255, 255, 0.22);
  overflow-x: auto;
  scrollbar-width: none;
}

.legal-tab-nav::-webkit-scrollbar {
  display: none;
}

.legal-tab-item {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.65);
  text-decoration: none;
  padding: 8px 15px;
  background: transparent;
  border: 1px solid transparent;
  border-radius: 8px;
  white-space: nowrap;
  transition: all 0.22s cubic-bezier(0.22, 1, 0.36, 1);
  user-select: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.legal-tab-item:hover {
  color: #FFFFFF;
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.12);
}

/* Luminous Liquid Glass Active Tab (Signature Cyber Glow, No Flat Green Block) */
.legal-tab-item.active {
  color: #FFFFFF;
  background: linear-gradient(135deg, rgba(var(--primary-rgb), 0.28) 0%, rgba(var(--primary-rgb), 0.10) 100%);
  border: 1px solid rgba(var(--primary-rgb), 0.55);
  border-radius: 8px;
  box-shadow: 
    0 4px 18px rgba(var(--primary-rgb), 0.35),
    inset 0 1px 1px 0 rgba(255, 255, 255, 0.35);
  text-shadow: 0 0 10px rgba(var(--primary-rgb), 0.7);
}

/* Glass Panels & Contact Cards Grid */
.legal-glass-panel,
.legal-section-card div[style*="background: rgba(255, 255, 255"] {
  background: rgba(255, 255, 255, 0.025) !important;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.10) !important;
  border-radius: 12px !important;
  box-shadow: inset 0 1px 1px 0 rgba(255, 255, 255, 0.15) !important;
}

.legal-contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 14px;
  margin: 20px 0;
}

.legal-contact-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 18px;
  background: rgba(255, 255, 255, 0.025);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.10);
  border-radius: 12px;
  box-shadow: inset 0 1px 1px 0 rgba(255, 255, 255, 0.15);
  transition: all 0.25s ease;
  text-decoration: none;
}

.legal-contact-card:hover {
  border-color: rgba(var(--primary-rgb), 0.6);
  background: rgba(var(--primary-rgb), 0.06);
  box-shadow: 
    0 10px 30px -5px rgba(0, 0, 0, 0.6),
    0 0 25px rgba(var(--primary-rgb), 0.2),
    inset 0 1px 1.5px 0 rgba(255, 255, 255, 0.3);
  transform: translateY(-2px);
}

.legal-contact-icon {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  background: rgba(var(--primary-rgb), 0.12);
  border: 1px solid rgba(var(--primary-rgb), 0.28);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 0 12px rgba(var(--primary-rgb), 0.2);
}

.legal-contact-text {
  display: flex;
  flex-direction: column;
}

.legal-contact-label {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  text-transform: uppercase;
}

.legal-contact-val {
  font-family: var(--font-mono);
  font-size: 13.5px;
  font-weight: 700;
  color: #FFFFFF;
}

/* Step list for keyboard setup */
.legal-step-list {
  list-style: none;
  padding-left: 0 !important;
  margin: 18px 0 !important;
  counter-reset: legal-step-counter;
}

.legal-step-list li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 14px;
}

.legal-step-badge {
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 800;
  background: var(--primary);
  color: #000000;
  padding: 3px 9px;
  border-radius: 4px;
  letter-spacing: 0.06em;
  flex-shrink: 0;
  margin-top: 2px;
  box-shadow: 0 0 10px rgba(var(--primary-rgb), 0.4);
}

/* Glass Callout Note Box */
.legal-callout-box {
  background: linear-gradient(135deg, rgba(var(--primary-rgb), 0.08) 0%, rgba(255, 255, 255, 0.02) 100%);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-left: 3px solid var(--primary);
  border-top: 1px solid rgba(var(--primary-rgb), 0.25);
  border-right: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 0 12px 12px 0;
  padding: 18px 22px;
  margin: 18px 0;
  font-family: var(--font-mono);
  font-size: 13.5px;
  line-height: 1.65;
  color: #FFFFFF;
  box-shadow: inset 0 1px 1px 0 rgba(255, 255, 255, 0.15);
}

