/* ==========================================================================
   FishIn - Design System & Modern Monochrome Landing Page
   Aesthetic: Graphite, Obsidian, Deep Space, Apple/Linear Precision
   Color Philosophy: Strict Monochrome (No Neon), High Contrast, Tactile Depth
   ========================================================================== */

:root {
  /* Graphite Dark Theme (Primary) */
  --bg-base: #0a0a0b;
  --bg-surface: #141415;
  --bg-surface-raised: #1d1d1f;
  --bg-surface-high: #242427;
  --bg-surface-hover: #2b2b2f;
  
  --border-subtle: #1f1f22;
  --border-default: #2a2a2e;
  --border-strong: #38383e;
  --border-active: #52525a;

  --text-primary: #f5f5f5;
  --text-secondary: #a1a1a6;
  --text-tertiary: #6c6c71;
  --text-inverse: #0a0a0b;

  --accent-white: #ffffff;
  --accent-graphite: #e2e2e0;
  --accent-badge: rgba(255, 255, 255, 0.08);

  /* Legacy compatibility variables for subpages */
  --bg: var(--bg-base);
  --surface: var(--bg-surface);
  --text: var(--text-primary);
  --muted: var(--text-secondary);
  --line: var(--border-default);
  --accent: var(--accent-white);

  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, "Liberation Mono", monospace;

  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.4);
  --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.6);
  --shadow-lg: 0 16px 48px rgba(0, 0, 0, 0.8);
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;
}

@media (prefers-color-scheme: light) {
  body:not(.dark-mode) {
    --bg-base: #f6f6f5;
    --bg-surface: #ffffff;
    --bg-surface-raised: #f0f0ef;
    --bg-surface-high: #e6e6e5;
    --bg-surface-hover: #dcddd8;
    --border-subtle: #e8e8e6;
    --border-default: #dededc;
    --border-strong: #cfcfcd;
    --text-primary: #111112;
    --text-secondary: #5c5c61;
    --text-tertiary: #8e8e93;
    --accent-white: #0a0a0b;
    --accent-badge: rgba(0, 0, 0, 0.05);
  }
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  background-color: var(--bg-base);
}

body {
  background-color: var(--bg-base);
  color: var(--text-primary);
  font-family: var(--font-sans);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  position: relative;
}

/* ==========================================================================
   Background Video & Interactive Ambient Canvas
   ========================================================================== */
.ambient-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 1) 75%, rgba(0, 0, 0, 0) 100%);
  -webkit-mask-image: linear-gradient(180deg, rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 1) 75%, rgba(0, 0, 0, 0) 100%);
}

#bg-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 1;
  transition: opacity 0.5s ease;
}

.ambient-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  background: radial-gradient(circle at 50% 20%, rgba(20, 20, 24, 0.05) 0%, rgba(10, 10, 11, 0.6) 75%),
              linear-gradient(180deg, rgba(10, 10, 11, 0.1) 0%, rgba(10, 10, 11, 0.78) 100%);
}

/* ==========================================================================
   Header & Navigation
   ========================================================================== */

.site-nav {
  position: sticky;
  top: 0;
  width: 100%;
  z-index: 100;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  background: rgba(10, 10, 11, 0.8);
  border-bottom: 1px solid var(--border-subtle);
  transition: all 0.3s ease;
}

.site-nav.scrolled {
  background: rgba(10, 10, 11, 0.95);
  border-bottom-color: var(--border-default);
}

.nav-inner {
  max-width: 1680px;
  width: 92%;
  margin: 0 auto;
  padding: 16px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand-wrap {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  color: var(--text-primary);
}

.brand-logo-img {
  width: 42px;
  height: 42px;
  border-radius: 11px;
  display: block;
  object-fit: cover;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.14);
  transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.2s ease;
}

.brand-wrap:hover .brand-logo-img {
  transform: scale(1.05);
  border-color: rgba(255, 255, 255, 0.35);
}

.brand-text {
  font-weight: 750;
  font-size: 21px;
  letter-spacing: -0.02em;
  color: var(--text-primary);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
}

.nav-links a {
  text-decoration: none;
  color: var(--text-secondary);
  font-size: 14px;
  font-weight: 500;
  transition: color 0.2s ease;
}

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

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* ==========================================================================
   Buttons & Micro-interactions
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 22px;
  border-radius: var(--radius-md);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: pointer;
  border: 1px solid transparent;
  white-space: nowrap;
}

.btn-primary {
  background: #141415;
  color: #ffffff;
  border: 1px solid #272728;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.5);
}

.btn-primary:hover {
  background: #1c1c1d;
  border-color: #3a3a3c;
  color: #ffffff;
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.65);
}

.btn-secondary {
  background: #141415;
  color: #d4d4d4;
  border: 1px solid #272728;
  padding: 14px 26px;
  font-size: 15px;
  border-radius: 14px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.35);
}

.btn-secondary:hover {
  background: #1c1c1d;
  border-color: #3a3a3c;
  color: #ffffff;
  transform: translateY(-1px);
}

.btn-play {
  background: #141415;
  color: #ffffff;
  border: 1px solid #272728;
  padding: 12px 24px;
  border-radius: 14px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.5);
}

.btn-play:hover {
  background: #1c1c1d;
  border-color: #3a3a3c;
  color: #ffffff;
  transform: translateY(-1px);
}

.btn-play svg {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
}

.btn-play-text {
  text-align: left;
  line-height: 1.15;
}

.btn-play-subtitle {
  font-size: 11px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #a1a1a6;
  font-weight: 500;
}

.btn-play-title {
  font-size: 16px;
  font-weight: 700;
  color: #ffffff;
}

.btn-sm {
  padding: 8px 16px;
  font-size: 13px;
  border-radius: var(--radius-sm);
}

/* ==========================================================================
   Main Content Layout
   ========================================================================== */
.site-content {
  position: relative;
  z-index: 1;
}

.section-container {
  max-width: 1680px;
  width: 92%;
  margin: 0 auto;
  padding: 104px 20px;
  position: relative;
  z-index: 2;
  background: transparent;
}

.section-header {
  text-align: center;
  max-width: 820px;
  margin: 0 auto 64px;
}

.section-title {
  font-size: clamp(34px, 4vw, 52px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.15;
  color: var(--text-primary);
  margin-bottom: 18px;
}

.section-desc {
  font-size: 19px;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ==========================================================================
   Hero Section (True Full Page Above-the-Fold with Dynamic Wave Water)
   ========================================================================== */
.hero-section {
  position: relative;
  overflow: hidden;
  min-height: calc(100vh - 74px);
  width: 100%;
  max-width: 100%;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
}

.hero-inner {
  position: relative;
  z-index: 2;
  max-width: 1680px;
  width: 92%;
  margin: 0 auto;
  padding: 24px 20px 32px;
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 60px;
  align-items: center;
  box-sizing: border-box;
  width: 100%;
}

.hero-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  position: relative;
  z-index: 2;
}

.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  z-index: 2;
}

.hero-title {
  font-size: clamp(48px, 5vw, 76px);
  font-weight: 850;
  letter-spacing: -0.04em;
  line-height: 1.06;
  color: var(--text-primary);
  margin-bottom: 22px;
}

.hero-title span {
  display: block;
  background: linear-gradient(180deg, #ffffff 30%, #a1a1a6 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  font-size: 21px;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 36px;
  max-width: 660px;
}

.hero-cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  align-items: center;
  margin-bottom: 48px;
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  width: 100%;
  padding-top: 32px;
  border-top: 1px solid var(--border-subtle);
}

.metric-item {
  display: flex;
  flex-direction: column;
}

.metric-value {
  font-size: 32px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--text-primary);
}

.metric-label {
  font-size: 14px;
  color: var(--text-secondary);
  margin-top: 4px;
}

/* ==========================================================================
   Hero Visual / Phone Mockup (Authentic Android App Replica)
   ========================================================================== */
.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
}

.phone-wrapper {
  position: relative;
  display: inline-block;
  perspective: 1200px;
  transform-style: preserve-3d;
  will-change: transform;
  transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.phone-mockup.s23-ultra {
  width: 374px;
  height: 840px; /* Physical S23 Ultra 2.246:1 matching high-res screenshot 348x782 */
  background: #09090a;
  border-radius: 14px; /* S23 Ultra Signature Boxy Note-Silhouette */
  border: 3.5px solid #25252b;
  box-shadow: 
    0 0 0 1px rgba(255, 255, 255, 0.14),
    0 25px 70px rgba(0, 0, 0, 0.95),
    0 50px 120px -20px rgba(0, 0, 0, 0.85),
    inset 0 0 0 1px rgba(0, 0, 0, 0.9);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

/* S23 Ultra Curved Side Edge Reflection */
.s23-edge-sheen {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  background: linear-gradient(90deg, 
    rgba(255, 255, 255, 0.05) 0%, 
    transparent 3px, 
    transparent calc(100% - 3px), 
    rgba(255, 255, 255, 0.05) 100%);
  z-index: 28;
}

/* Infinity-O Single Hole-Punch Camera */
.s23-camera-hole {
  position: absolute;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #040405;
  border: 1.5px solid #1c1c20;
  box-shadow: inset 0 0 2px rgba(255, 255, 255, 0.35);
  z-index: 32;
}

/* Samsung One UI Status Bar */
.phone-status-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 20px 6px;
  background: #09090a;
  color: #f5f5f5;
  font-size: 11px;
  font-weight: 600;
  position: relative;
  z-index: 25;
}

.status-time {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: -0.01em;
  font-family: var(--font-sans);
}

.status-icons {
  display: flex;
  align-items: center;
  gap: 7px;
}

.status-net {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.02em;
  color: #a1a1a6;
}

.battery-pct {
  font-size: 11px;
  font-weight: 600;
  color: #a1a1a6;
  margin-left: 2px;
}

.battery-icon {
  width: 19px;
  height: 10px;
  border: 1px solid #d4d4d8;
  border-radius: 2px;
  padding: 1px;
  position: relative;
}

.battery-icon::after {
  content: "";
  position: absolute;
  right: -3px;
  top: 2.5px;
  width: 2px;
  height: 3px;
  background: #d4d4d8;
  border-radius: 0 1px 1px 0;
}

.battery-fill {
  width: 95%;
  height: 100%;
  background: #f5f5f5;
  border-radius: 1px;
}

/* ==========================================================================
   Samsung S23 Ultra Native Screen Replica (100% Genuine Device Screenshot)
   ========================================================================== */

.phone-screen.map-app-screen {
  flex: 1;
  width: 100%;
  height: 100%;
  padding: 0;
  margin: 0;
  overflow: hidden;
  background: #0a0b0e;
  border-radius: 9px;
  position: relative;
  display: flex;
}

.app-screen-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
  user-select: none;
  -webkit-user-drag: none;
  border-radius: 9px;
  image-rendering: -webkit-optimize-contrast;
}

.mobile-phone-showcase {
  display: none;
}

/* Safe floating badges beside the mockup */
.floating-badge {
  position: absolute;
  background: rgba(20, 20, 22, 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid var(--border-strong);
  padding: 10px 16px;
  border-radius: 14px;
  font-size: 12px;
  font-weight: 600;
  color: #ffffff;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.85);
  display: flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
  z-index: 30;
  pointer-events: none;
}

.badge-top-left {
  top: 130px;
  left: 0;
}

.badge-bottom-right {
  bottom: 130px;
  right: 0;
}

/* ==========================================================================
   Interactive Intelligence Demo Terminal
   ========================================================================== */
.demo-section {
  background: var(--bg-base);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
  position: relative;
}

.demo-terminal {
  position: relative;
  overflow: hidden;
  background: #0d0d10;
  border: 1px solid #242429;
  border-radius: 20px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.65), inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

/* ==========================================================================
   TOP RIGHT CORNER QUARTER-CIRCLE REVOLVER SELECTOR
   ========================================================================== */
.corner-quarter-revolver {
  position: absolute;
  top: 0;
  right: 0;
  width: 220px;
  height: 220px;
  z-index: 25;
}

.quarter-circle-svg {
  width: 100%;
  height: 100%;
  display: block;
}

/* Background quarter-circle track */
.qc-bg {
  fill: #141417;
  stroke: #25252b;
  stroke-width: 1.5;
  filter: drop-shadow(-4px 4px 16px rgba(0, 0, 0, 0.6));
}

/* Wedges (The 3 Mode Slices) */
.qc-wedge {
  cursor: pointer;
  outline: none;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.qc-wedge-path {
  fill: #18181b;
  stroke: #2a2a30;
  stroke-width: 1.5;
  transition: fill 0.2s ease, stroke 0.2s ease, filter 0.2s ease;
}

.qc-label {
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", sans-serif;
  font-size: 11px;
  font-weight: 700;
  fill: #8e8e93;
  text-anchor: middle;
  letter-spacing: 0.02em;
  pointer-events: none;
  transition: fill 0.2s ease;
  user-select: none;
}

.qc-pip {
  fill: #3e3e46;
  transition: all 0.25s ease;
  pointer-events: none;
}

/* Hover State */
.qc-wedge:hover .qc-wedge-path {
  fill: #222227;
  stroke: #484852;
}

.qc-wedge:hover .qc-label {
  fill: #ffffff;
}

.qc-wedge:hover .qc-pip {
  fill: #a1a1a6;
}

/* Active State */
.qc-wedge.active .qc-wedge-path {
  fill: #26262d;
  stroke: #ffffff;
  stroke-width: 2;
  filter: drop-shadow(0 0 6px rgba(255, 255, 255, 0.25));
}

.qc-wedge.active .qc-label {
  fill: #ffffff;
  font-weight: 800;
}

.qc-wedge.active .qc-pip {
  fill: #ffffff;
  filter: drop-shadow(0 0 5px #ffffff);
}

/* Center Hub / Revolver Cylinder Drum in Corner */
.qc-hub-plate {
  fill: #121214;
  stroke: #2c2c33;
  stroke-width: 1.5;
}

.qc-hub-drum {
  transform-origin: 220px 0px;
  transition: transform 0.45s cubic-bezier(0.2, 1.4, 0.4, 1);
  cursor: pointer;
}

.qc-hub-circle {
  fill: #222226;
  stroke: #3c3c44;
  stroke-width: 1.5;
}

.qc-hub-bore {
  fill: #0c0c0e;
  stroke: #28282e;
  stroke-width: 1;
  transition: all 0.2s;
}

.qc-hub-bore.active {
  fill: #ffffff;
  stroke: #ffffff;
  filter: drop-shadow(0 0 4px #ffffff);
}

.qc-hub-arbor {
  fill: #121214;
  stroke: #4a4a54;
  stroke-width: 1.5;
}

/* ==========================================================================
   Topbar (Accommodates the Quarter Circle on Desktop)
   ========================================================================== */
.demo-topbar {
  background: #141416;
  border-bottom: 1px solid #232327;
  padding: 16px 24px;
  padding-right: 230px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 58px;
  box-sizing: border-box;
}

.demo-controls-window {
  display: flex;
  align-items: center;
  gap: 10px;
}

.window-dot {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--border-strong);
}

.window-dot.red { background: #ff5f56; }
.window-dot.yellow { background: #ffbd2e; }
.window-dot.green { background: #27c93f; }

.demo-workstation-tag {
  display: flex;
  align-items: center;
  gap: 5px;
  font-family: var(--font-mono);
  font-size: 12px;
  margin-left: 6px;
}

.mono-brand {
  font-weight: 700;
  color: #ffffff;
}

.mono-sep {
  color: var(--text-tertiary);
}

.mono-sub {
  color: #a1a1a6;
}

.demo-model-chip {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  color: #a1a1a6;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 3px 8px;
  border-radius: 4px;
  letter-spacing: 0.04em;
}

/* Compact / Mobile Modes Header */
.demo-compact-modes {
  display: none;
  gap: 6px;
}

.compact-mode-btn {
  background: transparent;
  border: 1px solid #26262a;
  color: #8e8e93;
  padding: 6px 12px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.compact-mode-btn:hover {
  background: rgba(255, 255, 255, 0.04);
  color: #ffffff;
}

.compact-mode-btn.active {
  background: #ffffff;
  color: #000000;
  border-color: #ffffff;
}

.demo-body {
  padding: 32px;
}

.tab-pane {
  display: none;
}

.tab-pane.active {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}

/* ==========================================================================
   Tactical Input Cockpit (Left Column)
   ========================================================================== */
.tactical-cockpit {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.tactical-module {
  background: rgba(255, 255, 255, 0.015);
  border: 1px solid #1e1e22;
  border-radius: 12px;
  padding: 14px 16px;
  margin-bottom: 0;
  transition: border-color 0.2s ease;
}

.tactical-module:hover {
  border-color: #2b2b32;
}

.field-badge-header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
}

.field-num {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 800;
  color: #8e8e93;
  background: #19191d;
  padding: 2px 6px;
  border-radius: 4px;
  border: 1px solid #27272c;
}

.field-title {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: #c7c7cc;
}

.tactical-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.tactical-chips .chip-option {
  background: #141416;
  border: 1px solid #26262a;
  color: #8e8e93;
  padding: 7px 13px;
  border-radius: 7px;
  font-size: 12.5px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.18s cubic-bezier(0.16, 1, 0.3, 1);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  user-select: none;
}

.tactical-chips .chip-option:hover {
  background: #1b1b1e;
  color: #ffffff;
  border-color: #3e3e44;
  transform: translateY(-1px);
}

.tactical-chips .chip-option.selected {
  background: #ffffff;
  color: #000000;
  border-color: #ffffff;
  font-weight: 700;
  box-shadow: 0 2px 10px rgba(255, 255, 255, 0.14);
}

.chip-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #3c3c44;
  transition: background 0.15s;
}

.tactical-chips .chip-option.selected .chip-dot {
  background: #000000;
}

.tactical-footer-note {
  font-size: 12px;
  color: var(--text-tertiary);
  display: flex;
  align-items: center;
  gap: 6px;
  padding-top: 4px;
}

/* ==========================================================================
   Tactical HUD Output Console (Right Column)
   ========================================================================== */
.tactical-hud-card {
  background: radial-gradient(circle at 100% 0%, #17171b, #0d0d0f 70%);
  border: 1px solid #27272c;
  border-radius: 16px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  position: relative;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.hud-top-telemetry {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 14px;
  margin-bottom: 16px;
  border-bottom: 1px solid #1f1f23;
}

.hud-latency-pill {
  font-family: var(--font-mono);
  font-size: 11px;
  color: #8e8e93;
  display: flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.03);
  padding: 4px 9px;
  border-radius: 5px;
  border: 1px solid #222227;
}

.hud-live-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 6px #22c55e;
}

.hud-score-gauge {
  display: flex;
  align-items: center;
  gap: 10px;
}

.gauge-ring {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #141417;
  border: 2px solid #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 12px rgba(255, 255, 255, 0.15);
}

.gauge-num {
  font-family: var(--font-mono);
  font-size: 17px;
  font-weight: 900;
  color: #ffffff;
}

.gauge-max {
  display: none;
}

.gauge-caption {
  display: flex;
  flex-direction: column;
}

.gauge-title {
  font-family: var(--font-mono);
  font-size: 9.5px;
  font-weight: 700;
  color: #8e8e93;
  letter-spacing: 0.04em;
}

.gauge-status {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 800;
  color: #ffffff;
}

.hud-headline-wrap {
  display: flex;
  align-items: stretch;
  gap: 10px;
  margin-bottom: 12px;
}

.hud-accent-bar {
  width: 3px;
  background: #ffffff;
  border-radius: 2px;
  flex-shrink: 0;
  box-shadow: 0 0 8px rgba(255, 255, 255, 0.4);
}

.hud-headline-wrap .result-headline {
  margin-bottom: 0;
}

.hud-metrics-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: auto;
  padding-top: 18px;
}

.hud-metric-cell {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid #1e1e22;
  border-radius: 9px;
  padding: 10px 12px;
}

.hud-metric-label {
  font-family: var(--font-mono);
  font-size: 9.5px;
  font-weight: 700;
  color: #8e8e93;
  letter-spacing: 0.04em;
  margin-bottom: 4px;
}

.hud-metric-val {
  font-size: 12.5px;
  font-weight: 600;
  color: #ffffff;
  line-height: 1.4;
}

/* Tab 2: Vision Scanner Demo */
.lure-cards-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.lure-select-card {
  background: var(--bg-surface-raised);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-md);
  padding: 14px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.lure-select-card:hover {
  border-color: var(--border-strong);
}

.lure-select-card.selected {
  border-color: var(--text-primary);
  background: var(--bg-surface-high);
}

.lure-select-card h4 {
  font-size: 14px;
  margin-bottom: 4px;
  color: var(--text-primary);
}

.lure-select-card p {
  font-size: 12px;
  color: var(--text-secondary);
}

/* ==========================================================================
   Feature Grid (Everything in the App)
   ========================================================================== */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.feature-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}

.feature-card:hover {
  background: var(--bg-surface-raised);
  border-color: var(--border-strong);
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.feature-card.col-span-2 {
  grid-column: span 2;
}

.card-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--bg-surface-high);
  border: 1px solid var(--border-strong);
  display: grid;
  place-items: center;
  margin-bottom: 24px;
  color: var(--text-primary);
}

.card-icon svg {
  width: 24px;
  height: 24px;
}

.feature-card h3 {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text-primary);
  margin-bottom: 12px;
}

.feature-card p {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 20px;
  flex: 1;
}

.feature-meta-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
  border-top: 1px solid var(--border-subtle);
  padding-top: 16px;
}

.feature-meta-list li {
  font-size: 13px;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: 8px;
}

.feature-meta-list li::before {
  content: "";
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--text-primary);
}

/* ==========================================================================
   Claude for Startups / Technical Architecture Section
   ========================================================================== */
.claude-program-section {
  background: linear-gradient(180deg, rgba(16, 16, 18, 0.9) 0%, rgba(10, 10, 11, 0.95) 100%);
  border-top: 1px solid var(--border-default);
  border-bottom: 1px solid var(--border-default);
  padding: 100px 24px;
}

.architecture-diagram-box {
  background: var(--bg-base);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-xl);
  padding: 40px;
  margin-top: 48px;
  box-shadow: var(--shadow-lg);
}

.arch-flow {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  position: relative;
  margin-bottom: 48px;
}

.arch-node {
  background: var(--bg-surface);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-md);
  padding: 20px;
  display: flex;
  flex-direction: column;
  position: relative;
}

.arch-node-step {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-tertiary);
  margin-bottom: 8px;
}

.arch-node-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 6px;
}

.arch-node-desc {
  font-size: 12px;
  color: var(--text-secondary);
  line-height: 1.5;
}

.arch-node.highlight-claude {
  border-color: var(--text-primary);
  background: var(--bg-surface-raised);
}

.claude-pitch-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 40px;
}

.pitch-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-lg);
  padding: 24px;
}

.pitch-card h4 {
  font-size: 16px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.pitch-card p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.55;
}

/* ==========================================================================
   Pricing & Pro Tier
   ========================================================================== */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  max-width: 900px;
  margin: 0 auto;
}

.pricing-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-xl);
  padding: 40px;
  display: flex;
  flex-direction: column;
  position: relative;
}

.pricing-card.featured {
  background: var(--bg-surface-raised);
  border-color: var(--border-strong);
  box-shadow: var(--shadow-md);
}

.pricing-badge {
  position: absolute;
  top: 24px;
  right: 24px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 4px 11px;
  border-radius: 999px;
  background: #1c1c1d;
  color: #f5f5f5;
  border: 1px solid #2e2e30;
}

.plan-name {
  font-size: 20px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 8px;
}

.plan-price {
  font-size: 44px;
  font-weight: 850;
  letter-spacing: -0.03em;
  color: var(--text-primary);
  margin-bottom: 4px;
}

.plan-price span {
  font-size: 16px;
  font-weight: 400;
  color: var(--text-secondary);
}

.plan-desc {
  font-size: 14px;
  color: var(--text-secondary);
  margin-bottom: 28px;
}

.plan-features {
  list-style: none;
  padding: 0;
  margin: 0 0 36px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 1;
}

.plan-features li {
  font-size: 14px;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: 10px;
}

.plan-features li.included {
  color: var(--text-primary);
}

.check-icon {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  fill: var(--text-primary);
}

/* ==========================================================================
   Download Banner Section
   ========================================================================== */
.download-banner {
  background: #141415;
  border: 1px solid #272728;
  border-radius: var(--radius-xl);
  padding: 72px 56px;
  text-align: center;
  max-width: 1680px;
  width: 92%;
  margin: 0 auto;
  box-shadow: var(--shadow-lg);
}

.download-banner h2 {
  font-size: clamp(28px, 3.5vw, 44px);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--text-primary);
  margin-bottom: 16px;
}

.download-banner p {
  font-size: 18px;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto 36px;
}

.download-btns {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

/* ==========================================================================
   Footer & Legal Compatibility
   ========================================================================== */
.site-footer {
  border-top: 1px solid var(--border-subtle);
  background: var(--bg-base);
  padding: 64px 24px 48px;
  margin-top: 96px;
  position: relative;
  z-index: 10;
}

.footer-inner {
  max-width: 1680px;
  width: 92%;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}

.footer-brand h4 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--text-primary);
}

.footer-brand p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.6;
  max-width: 320px;
}

.footer-col h5 {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-primary);
  margin-bottom: 16px;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links a {
  text-decoration: none;
  color: var(--text-secondary);
  font-size: 14px;
  transition: color 0.15s ease;
}

.footer-links a:hover {
  color: var(--text-primary);
}

.footer-bottom {
  max-width: 1680px;
  width: 92%;
  margin: 0 auto;
  padding-top: 24px;
  border-top: 1px solid var(--border-subtle);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 14px;
  color: var(--text-tertiary);
}

/* ==========================================================================
   Subpages Style Preservation (privacy.html, terms.html, delete-account.html)
   ========================================================================== */
main:not(.landing-main) {
  max-width: 720px;
  margin: 0 auto;
  padding: 48px 20px 80px;
  position: relative;
  z-index: 10;
}

main:not(.landing-main) header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 32px;
}

main:not(.landing-main) header a {
  color: var(--text);
  text-decoration: none;
  font-weight: 700;
  font-size: 20px;
  letter-spacing: -0.01em;
}

.mark {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--accent);
  display: grid;
  place-items: center;
}

.mark svg {
  width: 20px;
  height: 20px;
  fill: var(--bg);
}

main:not(.landing-main) h1 {
  font-size: 32px;
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin: 0 0 8px;
}

main:not(.landing-main) h2 {
  font-size: 19px;
  margin: 32px 0 8px;
}

main:not(.landing-main) p,
main:not(.landing-main) li {
  color: var(--text);
}

.muted {
  color: var(--muted);
}

main:not(.landing-main) ul {
  padding-left: 20px;
}

main:not(.landing-main) li {
  margin: 6px 0;
}

main:not(.landing-main) a {
  color: var(--text);
}

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 20px 22px;
  margin: 16px 0;
}

.links {
  display: grid;
  gap: 12px;
  margin-top: 24px;
}

.links a {
  display: block;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 16px 18px;
  text-decoration: none;
  font-weight: 600;
}

.links a span {
  display: block;
  font-weight: 400;
  color: var(--muted);
  font-size: 14px;
}

main:not(.landing-main) footer {
  margin-top: 48px;
  color: var(--muted);
  font-size: 14px;
}

/* ==========================================================================
   Responsive & Mobile Optimization
   ========================================================================== */
@media (max-width: 992px) {
  /* Clean Fullscreen Hero on Mobile (100% Matching User Reference Image) */
  .hero-section {
    position: relative;
    overflow: hidden;
    min-height: calc(100dvh - 64px);
    width: 100%;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
  }

  .hero-inner {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
    padding: 36px 22px 42px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    box-sizing: border-box;
    text-align: left;
  }

  .hero-copy {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
    width: 100%;
    gap: 0;
    position: relative;
    z-index: 2;
  }

  .hero-title {
    font-size: clamp(34px, 8.5vw, 48px);
    font-weight: 850;
    line-height: 1.08;
    letter-spacing: -0.04em;
    color: var(--text-primary);
    margin-bottom: 16px;
    text-align: left;
  }

  .hero-title span {
    display: block;
    background: linear-gradient(180deg, #ffffff 30%, #a1a1a6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
  }

  .hero-subtitle {
    font-size: 15px;
    line-height: 1.55;
    color: var(--text-secondary);
    max-width: 100%;
    margin: 0 0 24px;
    text-align: left;
    display: block;
    -webkit-line-clamp: unset;
    overflow: visible;
  }

  .hero-cta-group {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: flex-start;
    align-items: center;
    margin: 0 0 32px;
    width: 100%;
  }

  .hero-cta-group .btn-play {
    padding: 10px 18px;
    border-radius: 12px;
  }

  .hero-cta-group .btn-secondary {
    display: inline-flex !important;
    padding: 10px 18px;
    border-radius: 12px;
    font-size: 13.5px;
    gap: 6px;
  }

  /* Clean Horizontal Divider & Metrics Row */
  .hero-metrics {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
    padding: 24px 0 0;
    margin-top: 0;
    background: transparent;
    border: none;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 0;
    width: 100%;
  }

  .metric-item {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    padding: 0;
  }

  .metric-value {
    font-size: 20px;
    font-weight: 850;
    color: #ffffff;
    font-family: var(--font-sans);
  }

  .metric-label {
    font-size: 11px;
    color: var(--text-secondary);
    margin-top: 0;
    line-height: 1.3;
  }

  /* NO Phone on Mobile Hero Above-the-Fold */
  .hero-visual {
    display: none !important;
  }

  /* Dedicated Mobile Phone Showcase Section (Appears Below Hero on Scroll) */
  .mobile-phone-showcase {
    display: block;
    background: var(--bg-base);
    padding: 48px 16px 64px;
    border-bottom: 1px solid var(--border-subtle);
    position: relative;
    z-index: 2;
  }

  .mobile-showcase-container {
    max-width: 480px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 22px;
    padding: 0;
  }

  .mobile-showcase-caption {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
  }

  .mobile-showcase-title {
    font-size: 23px;
    font-weight: 800;
    letter-spacing: -0.03em;
    color: #ffffff;
    line-height: 1.2;
  }

  .mobile-phone-showcase .phone-wrapper {
    display: flex;
    justify-content: center;
    width: 100%;
  }

  .mobile-phone-showcase .phone-mockup.s23-ultra {
    width: min(340px, 86vw);
    height: auto;
    aspect-ratio: 374 / 840;
    margin: 0 auto;
    transform: none;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.9);
  }

  .features-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .feature-card.col-span-2 {
    grid-column: span 1;
  }

  .tab-pane.active {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .arch-flow {
    grid-template-columns: 1fr 1fr;
    gap: 16px;
  }

  .claude-pitch-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .pricing-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .footer-inner {
    grid-template-columns: 1fr 1fr;
    gap: 36px;
  }
}

@media (max-width: 640px) {
  .site-nav .nav-inner {
    padding: 10px 14px;
  }

  .nav-links {
    display: none;
  }

  .brand-text {
    font-size: 18px;
  }

  .brand-logo-img {
    width: 32px;
    height: 32px;
  }

  .btn-sm {
    padding: 6px 11px;
    font-size: 11.5px;
  }

  .section-container {
    padding: 64px 16px;
  }

  .section-header {
    margin-bottom: 36px;
  }

  .section-title {
    font-size: clamp(26px, 6.5vw, 36px);
  }

  .section-desc {
    font-size: 15.5px;
  }

  /* Interactive Demo Mobile Tuning */
  .demo-section {
    padding: 0;
  }

  .demo-terminal {
    border-radius: 16px;
  }

  .corner-quarter-revolver {
    display: none;
  }

  .demo-topbar {
    padding: 12px 14px;
    padding-right: 14px;
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }

  .demo-compact-modes {
    display: flex;
    width: 100%;
    overflow-x: auto;
    gap: 6px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

  .demo-compact-modes::-webkit-scrollbar {
    display: none;
  }

  .compact-mode-btn {
    flex-shrink: 0;
    padding: 7px 13px;
    font-size: 12px;
    white-space: nowrap;
  }

  .demo-tabs {
    width: 100%;
    overflow-x: auto;
    display: flex;
    gap: 6px;
    padding-bottom: 4px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

  .demo-tab-btn {
    flex-shrink: 0;
    padding: 7px 12px;
    font-size: 12px;
    white-space: nowrap;
  }

  .demo-body {
    padding: 18px 14px;
  }

  .chip-option {
    padding: 7px 11px;
    font-size: 12px;
  }

  .lure-cards-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .result-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .result-metric {
    grid-column: span 1 !important;
  }

  /* Features & Cards Mobile Tuning */
  .features-grid {
    gap: 16px;
  }

  .feature-card {
    padding: 24px 18px;
    border-radius: 16px;
  }

  .feature-card h3 {
    font-size: 18px;
  }

  .feature-card p {
    font-size: 14px;
  }

  /* Claude Architecture Mobile Tuning */
  .claude-program-section {
    padding: 64px 16px;
  }

  .architecture-diagram-box {
    padding: 22px 16px;
    border-radius: 18px;
  }

  .arch-flow {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .arch-node {
    padding: 16px;
  }

  .pitch-card {
    padding: 20px 16px;
  }

  /* Pricing Cards Mobile Tuning */
  .pricing-card {
    padding: 28px 20px;
    border-radius: 18px;
  }

  .plan-price {
    font-size: 32px;
  }

  /* Download Banner Mobile Tuning */
  .download-banner {
    padding: 44px 20px;
    margin: 40px auto 16px;
    border-radius: 20px;
  }

  .download-banner h2 {
    font-size: 24px;
  }

  .download-banner p {
    font-size: 14.5px;
  }

  .download-btns .btn-play {
    width: 100%;
    justify-content: center;
  }

  .footer-inner {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 10px;
    text-align: center;
    font-size: 12px;
  }
}


/* ==========================================================================
   Cinematic Scroll Reveals ("Appear on Scroll")
   ========================================================================== */
.scroll-reveal {
  opacity: 0;
  transform: translateY(44px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.scroll-reveal.reveal-scale {
  transform: translateY(50px) scale(0.96);
  transition: opacity 0.9s cubic-bezier(0.16, 1, 0.3, 1), transform 0.9s cubic-bezier(0.16, 1, 0.3, 1);
}

.scroll-reveal.is-revealed {
  opacity: 1;
  transform: translateY(0) scale(1);
}

/* Stagger transition delay for child items inside grids */
.feature-card.scroll-reveal,
.arch-node.scroll-reveal,
.pitch-card.scroll-reveal,
.pricing-card.scroll-reveal {
  transition-delay: var(--reveal-delay, 0ms);
}

.feature-card,
.pricing-card,
.pitch-card {
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), 
              transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), 
              border-color 0.25s ease, 
              box-shadow 0.25s ease, 
              background-color 0.25s ease;
  will-change: transform, opacity;
}

