/* ==========================================================================
   LocalSubtitle - Modern macOS App Landing Page Stylesheet
   Designed with Apple Human Interface Guidelines & Modern Glassmorphism
   ========================================================================== */

:root {
  --bg-primary: #07080b;
  --bg-secondary: #0d0f17;
  --bg-tertiary: #141724;
  --bg-card: rgba(18, 21, 33, 0.7);
  --bg-card-hover: rgba(26, 31, 48, 0.85);
  --bg-glass: rgba(13, 16, 26, 0.65);
  
  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-medium: rgba(255, 255, 255, 0.14);
  --border-glow: rgba(56, 189, 248, 0.3);
  
  --text-primary: #f8fafc;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;
  
  --accent-cyan: #38bdf8;
  --accent-blue: #3b82f6;
  --accent-purple: #a855f7;
  --accent-violet: #818cf8;
  --accent-green: #10b981;
  --accent-amber: #f59e0b;
  --accent-red: #ef4444;

  --grad-cyan-purple: linear-gradient(135deg, #38bdf8 0%, #818cf8 50%, #c084fc 100%);
  --grad-apple: linear-gradient(180deg, rgba(255, 255, 255, 0.15) 0%, rgba(255, 255, 255, 0.03) 100%);
  --grad-surface: linear-gradient(180deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0) 100%);

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --radius-pill: 9999px;

  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 16px 48px rgba(0, 0, 0, 0.6);
  --shadow-glow: 0 0 40px rgba(56, 189, 248, 0.15);
  --shadow-purple-glow: 0 0 50px rgba(168, 85, 247, 0.15);

  --font-sans: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-mono: "SF Mono", Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
}

/* Reset & Base */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-family: var(--font-sans);
  background-color: var(--bg-primary);
  color: var(--text-primary);
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  line-height: 1.6;
}

body {
  position: relative;
  min-height: 100vh;
  overflow-x: hidden;
  background-color: var(--bg-primary);
}

/* Background Ambient Lighting */
.bg-ambient {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.ambient-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.35;
  will-change: transform;
  animation: floatOrb 20s infinite alternate ease-in-out;
}

.orb-1 {
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, #38bdf8 0%, rgba(56, 189, 248, 0) 70%);
  top: -150px;
  left: 20%;
}

.orb-2 {
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, #9333ea 0%, rgba(147, 51, 234, 0) 70%);
  top: 20%;
  right: -200px;
  animation-duration: 25s;
  animation-delay: -5s;
}

.orb-3 {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, #0284c7 0%, rgba(2, 132, 199, 0) 70%);
  bottom: 10%;
  left: -100px;
  animation-duration: 22s;
  animation-delay: -10s;
}

@keyframes floatOrb {
  0% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(60px, 40px) scale(1.08); }
  100% { transform: translate(-40px, 80px) scale(0.95); }
}

/* Container */
.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 1;
}

/* Typography Helpers */
.gradient-text {
  background: var(--grad-cyan-purple);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.gradient-text-silver {
  background: linear-gradient(180deg, #ffffff 30%, #94a3b8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

/* Buttons & Badges */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-sans);
  font-size: 15px;
  font-weight: 500;
  padding: 12px 24px;
  border-radius: var(--radius-pill);
  text-decoration: none;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  border: 1px solid transparent;
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(180deg, #ffffff 0%, #e2e8f0 100%);
  color: #090b10;
  box-shadow: 0 4px 16px rgba(255, 255, 255, 0.2), 0 1px 2px rgba(0, 0, 0, 0.5);
  font-weight: 600;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(255, 255, 255, 0.3), 0 2px 4px rgba(0, 0, 0, 0.6);
  background: #ffffff;
}

.btn-appstore {
  background: #0d1017;
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.22);
  padding: 8px 18px;
  border-radius: var(--radius-md);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4);
  position: relative;
  overflow: hidden;
}

.btn-appstore:hover {
  border-color: rgba(56, 189, 248, 0.6);
  box-shadow: 0 8px 28px rgba(56, 189, 248, 0.25);
  transform: translateY(-2px);
}

.btn-appstore .appstore-inner {
  display: flex;
  align-items: center;
  gap: 12px;
}

.btn-appstore .appstore-text {
  display: flex;
  flex-direction: column;
  text-align: left;
  line-height: 1.2;
}

.btn-appstore .sub-label {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: var(--text-secondary);
  font-weight: 600;
}

.btn-appstore .main-label {
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -0.2px;
}

.coming-soon-pill {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  background: rgba(56, 189, 248, 0.15);
  border: 1px solid rgba(56, 189, 248, 0.4);
  color: var(--accent-cyan);
  padding: 2px 8px;
  border-radius: var(--radius-pill);
  margin-left: 6px;
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.06);
  color: var(--text-primary);
  border: 1px solid var(--border-subtle);
  backdrop-filter: blur(12px);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: var(--border-medium);
  transform: translateY(-2px);
}

.pill-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  font-size: 13px;
  font-weight: 500;
  color: var(--text-secondary);
  backdrop-filter: blur(10px);
}

.pill-badge .pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--accent-cyan);
  box-shadow: 0 0 10px var(--accent-cyan);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% { transform: scale(0.95); opacity: 0.8; }
  50% { transform: scale(1.25); opacity: 1; box-shadow: 0 0 14px var(--accent-cyan); }
  100% { transform: scale(0.95); opacity: 0.8; }
}

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

.site-header {
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  padding: 16px 0;
  background: rgba(7, 8, 11, 0.75);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid var(--border-subtle);
  transition: all 0.3s ease;
}

.site-header.scrolled {
  padding: 12px 0;
  border-bottom-color: var(--border-medium);
  background: rgba(7, 8, 11, 0.88);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand-link {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--text-primary);
  font-weight: 600;
  font-size: 18px;
  letter-spacing: -0.3px;
}

.brand-icon {
  width: 36px;
  height: 36px;
  border-radius: 9px;
  object-fit: cover;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

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

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

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

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

.mobile-menu-btn {
  display: none;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  color: var(--text-primary);
  cursor: pointer;
  padding: 7px 9px;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
}

.mobile-menu-btn:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: var(--border-medium);
}

.mobile-nav-drawer {
  display: none;
  width: 100%;
  background: rgba(10, 12, 18, 0.98);
  backdrop-filter: blur(28px);
  -webkit-backdrop-filter: blur(28px);
  border-bottom: 1px solid var(--border-subtle);
  padding: 16px 24px 20px;
  animation: slideDrawer 0.2s ease-out;
}

.mobile-nav-drawer.open {
  display: block;
}

.mobile-nav-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.mobile-nav-link {
  color: var(--text-primary);
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  display: block;
  transition: background 0.15s, color 0.15s;
}

.mobile-nav-link:hover {
  background: rgba(255, 255, 255, 0.08);
  color: var(--accent-cyan);
}

@keyframes slideDrawer {
  from { opacity: 0; transform: translateY(-8px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ==========================================================================
   Hero Section
   ========================================================================== */

.hero-section {
  padding: 80px 0 60px;
  text-align: center;
  position: relative;
}

.hero-content {
  max-width: 860px;
  margin: 0 auto 50px;
}

.hero-badge-wrap {
  margin-bottom: 24px;
}

.hero-title {
  font-size: 58px;
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -1.8px;
  margin-bottom: 24px;
}

.hero-subtitle {
  font-size: 20px;
  color: var(--text-secondary);
  line-height: 1.55;
  margin-bottom: 36px;
  font-weight: 400;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}

.hero-cta-group {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 28px;
}

.hero-specs {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  font-size: 13px;
  color: var(--text-muted);
  flex-wrap: wrap;
}

.hero-specs span {
  display: flex;
  align-items: center;
  gap: 6px;
}

/* ==========================================================================
   Interactive Media Player Mockup & Live Subtitle Simulator
   ========================================================================== */

.player-mockup-wrapper {
  max-width: 1040px;
  margin: 0 auto;
  position: relative;
}

.player-glow-backdrop {
  position: absolute;
  top: 10%;
  left: 5%;
  right: 5%;
  bottom: 0;
  background: radial-gradient(ellipse at center, rgba(56, 189, 248, 0.2) 0%, rgba(168, 85, 247, 0.15) 45%, rgba(0, 0, 0, 0) 75%);
  filter: blur(50px);
  z-index: 0;
  pointer-events: none;
}

.mac-player-window {
  position: relative;
  z-index: 2;
  border-radius: var(--radius-lg);
  background: #0d111a;
  border: 1px solid var(--border-medium);
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.75), 0 0 0 1px rgba(255, 255, 255, 0.08);
  overflow: hidden;
}

/* Window Titlebar */
.mac-titlebar {
  height: 42px;
  background: linear-gradient(180deg, #181c28 0%, #121520 100%);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 16px;
  border-bottom: 1px solid var(--border-subtle);
  user-select: none;
}

.traffic-lights {
  display: flex;
  align-items: center;
  gap: 8px;
}

.traffic-light {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  display: inline-block;
}

.light-red { background: #ff5f56; border: 1px solid #e0443e; }
.light-yellow { background: #ffbd2e; border: 1px solid #dea123; }
.light-green { background: #27c93f; border: 1px solid #1aab29; }

.window-title {
  font-size: 12px;
  font-weight: 500;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: 8px;
}

.window-title-badge {
  background: rgba(255, 255, 255, 0.08);
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 10px;
  color: var(--text-muted);
}

.player-scene-switchers {
  display: flex;
  align-items: center;
  gap: 8px;
}

.scene-btn {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  font-size: 11px;
  padding: 3px 10px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all 0.2s;
}

.scene-btn.active {
  background: rgba(56, 189, 248, 0.2);
  border-color: rgba(56, 189, 248, 0.5);
  color: #ffffff;
  font-weight: 600;
}

/* Player Stage */
.player-screen {
  position: relative;
  width: 100%;
  height: 540px;
  background-color: #050608;
  overflow: hidden;
}

.player-background-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 0.5s ease-in-out;
}

.player-overlay-gradient {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.2) 0%, rgba(0, 0, 0, 0.05) 50%, rgba(0, 0, 0, 0.75) 100%);
  pointer-events: none;
}

/* Streaming Service HUD (DRM Safe Demo) */
.streaming-hud-top {
  position: absolute;
  top: 18px;
  left: 20px;
  display: flex;
  align-items: center;
  gap: 12px;
  z-index: 5;
}

.drm-safe-tag {
  display: flex;
  align-items: center;
  gap: 6px;
  background: rgba(16, 185, 129, 0.18);
  border: 1px solid rgba(16, 185, 129, 0.4);
  color: #34d399;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  font-size: 11px;
  font-weight: 600;
  backdrop-filter: blur(8px);
}

.player-controls-bottom {
  position: absolute;
  bottom: 16px;
  left: 24px;
  right: 24px;
  display: flex;
  align-items: center;
  gap: 16px;
  z-index: 5;
}

.play-pause-icon,
.play-pause-btn {
  background: transparent;
  border: none;
  color: #ffffff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  padding: 0;
  border-radius: 6px;
  transition: transform 0.15s, background 0.15s;
}

.play-pause-btn:hover {
  background: rgba(255, 255, 255, 0.12);
  transform: scale(1.08);
}

.video-progress-bar {
  flex: 1;
  height: 4px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 2px;
  position: relative;
  overflow: hidden;
  cursor: pointer;
}

.video-progress-filled {
  height: 100%;
  width: 48%;
  background: #38bdf8;
  border-radius: 2px;
}

.video-time {
  font-size: 12px;
  font-family: var(--font-mono);
  color: #cbd5e1;
}

/* ==========================================================================
   The Floating LocalSubtitle NSPanel Overlay (Interactive)
   ========================================================================== */

.floating-subtitle-overlay {
  position: absolute;
  bottom: 80px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  width: 90%;
  max-width: 760px;
  background: rgba(11, 14, 22, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(28px) saturate(190%);
  -webkit-backdrop-filter: blur(28px) saturate(190%);
  border-radius: var(--radius-lg);
  padding: 16px 20px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.7), 0 0 0 1px rgba(255, 255, 255, 0.06);
  cursor: grab;
  transition: box-shadow 0.25s, border-color 0.25s;
  user-select: none;
}

.floating-subtitle-overlay:hover,
.floating-subtitle-overlay.is-hovered {
  border-color: rgba(56, 189, 248, 0.45);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.8), 0 0 24px rgba(56, 189, 248, 0.2);
}

.floating-subtitle-overlay.is-dragging {
  cursor: grabbing;
  border-color: var(--accent-cyan);
}

/* Quick Controls Hover Bar */
.overlay-quick-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 12px;
  margin-bottom: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  opacity: 0.9;
  transition: opacity 0.2s;
}

.overlay-traffic {
  display: flex;
  align-items: center;
  gap: 7px;
}

.overlay-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  cursor: pointer;
  transition: transform 0.15s;
}

.overlay-dot:hover {
  transform: scale(1.18);
}

.dot-red { background: #ff5f56; }
.dot-yellow { background: #ffbd2e; }

.live-indicator {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--accent-green);
  margin-left: 6px;
  background: rgba(16, 185, 129, 0.14);
  padding: 2px 7px;
  border-radius: var(--radius-pill);
}

.live-indicator .pulse-green {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 8px #10b981;
}

.overlay-pill-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.overlay-pill-btn {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--text-primary);
  font-size: 11px;
  font-weight: 500;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 5px;
  transition: all 0.2s;
}

.overlay-pill-btn:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.25);
}

.overlay-pill-btn.active {
  background: rgba(56, 189, 248, 0.2);
  border-color: rgba(56, 189, 248, 0.5);
  color: #38bdf8;
}

.font-size-adjusters {
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-pill);
  border: 1px solid rgba(255, 255, 255, 0.1);
  overflow: hidden;
}

.font-size-btn {
  background: transparent;
  border: none;
  color: var(--text-secondary);
  font-size: 11px;
  font-weight: 600;
  padding: 3px 8px;
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
}

.font-size-btn:hover {
  background: rgba(255, 255, 255, 0.15);
  color: #ffffff;
}

/* Subtitle Lines Display */
.subtitle-text-container {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-height: 64px;
  justify-content: center;
}

.subtitle-source-line {
  font-size: 14px;
  color: #cbd5e1;
  font-weight: 400;
  letter-spacing: 0.2px;
  opacity: 0.85;
  transition: opacity 0.3s, transform 0.3s;
}

.subtitle-target-line {
  font-size: 21px;
  font-weight: 600;
  color: #ffffff;
  line-height: 1.35;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.7);
  letter-spacing: -0.2px;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.subtitle-honorific-highlight {
  color: #38bdf8;
  font-weight: 700;
  background: rgba(56, 189, 248, 0.12);
  padding: 1px 4px;
  border-radius: 4px;
}

/* Real-Time Audio Visualizer Canvas */
.waveform-canvas-container {
  height: 20px;
  margin-top: 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.waveform-canvas {
  width: 100%;
  height: 100%;
}

.overlay-status-badge {
  font-size: 10px;
  font-family: var(--font-mono);
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 8px;
}

/* Drag Hint tooltip */
.drag-hint {
  font-size: 11px;
  color: var(--text-muted);
  font-style: italic;
  display: flex;
  align-items: center;
  gap: 4px;
}

/* Interactive Controls Bar Below Mockup */
.mockup-interactive-bar {
  margin-top: 24px;
  background: rgba(18, 22, 34, 0.7);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 14px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  backdrop-filter: blur(16px);
}

.sim-control-group {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.sim-label {
  font-size: 12px;
  color: var(--text-muted);
  text-transform: uppercase;
  font-weight: 600;
  letter-spacing: 0.5px;
}

.sim-btn-pill {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  font-size: 13px;
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  cursor: pointer;
  transition: all 0.2s;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.sim-btn-pill:hover {
  background: rgba(255, 255, 255, 0.1);
  color: var(--text-primary);
}

.sim-btn-pill.active {
  background: rgba(56, 189, 248, 0.18);
  border-color: rgba(56, 189, 248, 0.5);
  color: var(--accent-cyan);
  font-weight: 600;
}

/* ==========================================================================
   Features Section - The 4 Core Pillars
   ========================================================================== */

.section {
  padding: 100px 0;
  position: relative;
}

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

.section-tag {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--accent-cyan);
  margin-bottom: 12px;
  display: block;
}

.section-title {
  font-size: 40px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -1.2px;
  margin-bottom: 18px;
}

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

/* Grid layout for cards */
.pillars-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 36px;
  backdrop-filter: blur(20px);
  position: relative;
  overflow: hidden;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.feature-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--grad-surface);
}

.feature-card:hover {
  border-color: var(--border-medium);
  background: var(--bg-card-hover);
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg), var(--shadow-glow);
}

.card-icon-box {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: rgba(56, 189, 248, 0.1);
  border: 1px solid rgba(56, 189, 248, 0.25);
  color: var(--accent-cyan);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  margin-bottom: 22px;
}

.feature-card:nth-child(2) .card-icon-box {
  background: rgba(168, 85, 247, 0.1);
  border-color: rgba(168, 85, 247, 0.25);
  color: var(--accent-purple);
}

.feature-card:nth-child(3) .card-icon-box {
  background: rgba(16, 185, 129, 0.1);
  border-color: rgba(16, 185, 129, 0.25);
  color: var(--accent-green);
}

.feature-card:nth-child(4) .card-icon-box {
  background: rgba(245, 158, 11, 0.1);
  border-color: rgba(245, 158, 11, 0.25);
  color: var(--accent-amber);
}

.card-title {
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.4px;
  margin-bottom: 12px;
}

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

.card-tags {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.tag-badge {
  font-size: 11px;
  font-weight: 600;
  padding: 3px 9px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  color: var(--text-muted);
}

/* ==========================================================================
   Interactive Showcase / Deep Dive Grid
   ========================================================================== */

.deep-dive-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.deep-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 28px;
  transition: all 0.25s ease;
}

.deep-card:hover {
  border-color: var(--border-medium);
  background: var(--bg-card-hover);
  transform: translateY(-2px);
}

.deep-card-icon {
  font-size: 28px;
  margin-bottom: 16px;
}

.deep-card h4 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 8px;
}

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

/* ==========================================================================
   Architecture & Pipeline Visualizer
   ========================================================================== */

.arch-visualizer {
  background: rgba(13, 16, 26, 0.8);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-xl);
  padding: 48px;
  backdrop-filter: blur(24px);
  position: relative;
  overflow: hidden;
}

.arch-steps-container {
  display: flex;
  align-items: stretch;
  justify-content: space-between;
  gap: 16px;
  position: relative;
  overflow-x: auto;
  padding-bottom: 12px;
}

.arch-step {
  flex: 1;
  min-width: 170px;
  background: rgba(25, 30, 48, 0.6);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 20px 16px;
  text-align: center;
  position: relative;
  transition: all 0.25s ease;
}

.arch-step:hover {
  border-color: var(--accent-cyan);
  background: rgba(35, 42, 68, 0.8);
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(56, 189, 248, 0.2);
}

.step-num {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: rgba(56, 189, 248, 0.2);
  color: var(--accent-cyan);
  font-size: 11px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
}

.step-title {
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--text-primary);
}

.step-desc {
  font-size: 12px;
  color: var(--text-secondary);
  line-height: 1.4;
}

.arch-step-connector {
  display: flex;
  align-items: center;
  color: var(--text-muted);
  font-size: 18px;
}

/* ==========================================================================
   Comparison Table Section
   ========================================================================== */

.comparison-wrapper {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  overflow: hidden;
  backdrop-filter: blur(20px);
}

.table-responsive {
  width: 100%;
  overflow-x: auto;
}

.comparison-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}

.comparison-table th,
.comparison-table td {
  padding: 18px 24px;
  border-bottom: 1px solid var(--border-subtle);
}

.comparison-table th {
  background: rgba(255, 255, 255, 0.03);
  font-size: 14px;
  font-weight: 600;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.8px;
}

.comparison-table th.highlight-col,
.comparison-table td.highlight-col {
  background: rgba(56, 189, 248, 0.05);
  border-left: 1px solid rgba(56, 189, 248, 0.15);
  border-right: 1px solid rgba(56, 189, 248, 0.15);
}

.comparison-table td {
  font-size: 14px;
  color: var(--text-secondary);
}

.comparison-table tr:hover td {
  background: rgba(255, 255, 255, 0.02);
}

.check-green {
  color: var(--accent-green);
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.cross-red {
  color: var(--accent-red);
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  opacity: 0.8;
}

/* ==========================================================================
   Languages Grid
   ========================================================================== */

.languages-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
  gap: 14px;
}

.language-pill-item {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  transition: all 0.2s ease;
  cursor: default;
}

.language-pill-item:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--border-medium);
  transform: translateY(-2px);
}

.lang-flag {
  font-size: 24px;
}

.lang-details {
  display: flex;
  flex-direction: column;
}

.lang-name {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-primary);
}

.lang-native {
  font-size: 12px;
  color: var(--text-muted);
}

/* ==========================================================================
   Waitlist & App Store Launch Section
   ========================================================================== */

.waitlist-section {
  padding: 80px 0;
}

.waitlist-card {
  background: linear-gradient(135deg, rgba(30, 37, 56, 0.8) 0%, rgba(13, 16, 26, 0.9) 100%);
  border: 1px solid rgba(56, 189, 248, 0.35);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.7), var(--shadow-glow);
  border-radius: var(--radius-xl);
  padding: 60px 40px;
  text-align: center;
  max-width: 820px;
  margin: 0 auto;
  position: relative;
  overflow: hidden;
}

.waitlist-card::after {
  content: "";
  position: absolute;
  top: -50%;
  left: 50%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(56, 189, 248, 0.15) 0%, rgba(0, 0, 0, 0) 70%);
  transform: translateX(-50%);
  pointer-events: none;
}

.waitlist-icon-badge {
  width: 72px;
  height: 72px;
  border-radius: 18px;
  margin: 0 auto 24px;
  object-fit: cover;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.6);
  border: 2px solid rgba(255, 255, 255, 0.2);
}

.waitlist-title {
  font-size: 36px;
  font-weight: 700;
  letter-spacing: -1px;
  margin-bottom: 14px;
}

.waitlist-desc {
  font-size: 17px;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto 32px;
  line-height: 1.55;
}

.waitlist-form {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  max-width: 480px;
  margin: 0 auto 20px;
  flex-wrap: wrap;
}

.waitlist-input {
  flex: 1;
  min-width: 240px;
  background: rgba(10, 13, 20, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #ffffff;
  padding: 14px 20px;
  border-radius: var(--radius-pill);
  font-size: 15px;
  font-family: var(--font-sans);
  outline: none;
  transition: all 0.2s;
}

.waitlist-input:focus {
  border-color: var(--accent-cyan);
  box-shadow: 0 0 16px rgba(56, 189, 248, 0.35);
  background: rgba(10, 13, 20, 0.95);
}

.waitlist-success-msg {
  display: none;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: #34d399;
  font-size: 15px;
  font-weight: 600;
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid rgba(16, 185, 129, 0.35);
  padding: 12px 20px;
  border-radius: var(--radius-pill);
  max-width: 480px;
  margin: 0 auto 16px;
  text-align: center;
}

.waitlist-error-msg {
  display: none;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: #f87171;
  font-size: 14px;
  font-weight: 500;
  background: rgba(239, 68, 68, 0.15);
  border: 1px solid rgba(239, 68, 68, 0.35);
  padding: 12px 20px;
  border-radius: var(--radius-pill);
  max-width: 480px;
  margin: 0 auto 16px;
  text-align: center;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-to-content:focus {
  position: fixed;
  top: 16px;
  left: 16px;
  width: auto;
  height: auto;
  padding: 10px 18px;
  margin: 0;
  clip: auto;
  white-space: normal;
  background: #0d111a;
  color: var(--accent-cyan);
  border: 1px solid var(--accent-cyan);
  border-radius: var(--radius-sm);
  z-index: 10000;
  font-weight: 600;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.8);
}

/* ==========================================================================
   How It Works - Friendly 3 Steps
   ========================================================================== */

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

.how-step-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  backdrop-filter: blur(20px);
  position: relative;
  transition: all 0.3s ease;
  text-align: left;
}

.how-step-card:hover {
  border-color: var(--border-medium);
  background: var(--bg-card-hover);
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg), var(--shadow-glow);
}

.how-step-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: rgba(56, 189, 248, 0.15);
  border: 1px solid rgba(56, 189, 248, 0.3);
  color: var(--accent-cyan);
  font-weight: 700;
  font-size: 16px;
  margin-bottom: 20px;
}

.how-step-title {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 12px;
  color: var(--text-primary);
}

.how-step-desc {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ==========================================================================
   FAQ Section
   ========================================================================== */

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

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: border-color 0.2s ease;
}

.faq-item:hover {
  border-color: var(--border-medium);
}

.faq-item.active {
  border-color: rgba(56, 189, 248, 0.4);
}

.faq-question {
  width: 100%;
  padding: 22px 26px;
  background: transparent;
  border: none;
  color: var(--text-primary);
  font-size: 17px;
  font-weight: 600;
  text-align: left;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  gap: 16px;
}

.faq-icon {
  font-size: 18px;
  color: var(--text-muted);
  transition: transform 0.25s ease;
}

.faq-item.active .faq-icon {
  transform: rotate(45deg);
  color: var(--accent-cyan);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s cubic-bezier(0.16, 1, 0.3, 1), padding 0.3s;
  padding: 0 26px;
}

.faq-item.active .faq-answer {
  max-height: 280px;
  padding-bottom: 22px;
}

.faq-answer p {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ==========================================================================
   Footer
   ========================================================================== */

.site-footer {
  border-top: 1px solid var(--border-subtle);
  padding: 60px 0 36px;
  background: #050609;
  position: relative;
  z-index: 1;
}

.footer-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 40px;
  margin-bottom: 48px;
}

.footer-brand {
  max-width: 320px;
}

.footer-desc {
  font-size: 14px;
  color: var(--text-secondary);
  margin-top: 14px;
  line-height: 1.55;
}

.footer-columns {
  display: flex;
  gap: 60px;
  flex-wrap: wrap;
}

.footer-col h5 {
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: var(--text-muted);
  margin-bottom: 18px;
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

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

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

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--border-subtle);
  padding-top: 28px;
  font-size: 13px;
  color: var(--text-muted);
  flex-wrap: wrap;
  gap: 16px;
}

/* ==========================================================================
   Waitlist Modal
   ========================================================================== */

.modal-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(14px);
  z-index: 999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.modal-backdrop.open {
  display: flex;
  animation: fadeIn 0.2s ease-out;
}

.modal-card {
  background: #0d101a;
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-xl);
  padding: 40px;
  max-width: 480px;
  width: 100%;
  position: relative;
  box-shadow: 0 25px 80px rgba(0, 0, 0, 0.85);
  text-align: center;
  animation: slideUp 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes slideUp {
  from { transform: translateY(20px) scale(0.96); opacity: 0; }
  to { transform: translateY(0) scale(1); opacity: 1; }
}

.modal-close-btn {
  position: absolute;
  top: 16px;
  right: 16px;
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-size: 20px;
  cursor: pointer;
  padding: 6px;
  transition: color 0.2s;
}

.modal-close-btn:hover {
  color: #ffffff;
}

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */

@media (max-width: 1024px) {
  .hero-title {
    font-size: 46px;
  }
  .deep-dive-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .hero-title {
    font-size: 36px;
    letter-spacing: -1px;
  }
  .hero-subtitle {
    font-size: 16px;
  }
  .pillars-grid {
    grid-template-columns: 1fr;
  }
  .deep-dive-grid {
    grid-template-columns: 1fr;
  }
  .nav-links {
    display: none;
  }
  .mobile-menu-btn {
    display: block;
  }
  .player-screen {
    height: 420px;
  }
  .floating-subtitle-overlay {
    width: 95%;
    padding: 12px 14px;
    bottom: 60px;
  }
  .subtitle-target-line {
    font-size: 17px;
  }
  .subtitle-source-line {
    font-size: 12px;
  }
  .how-it-works-grid {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   Legal & Document Pages (Privacy Policy & Terms)
   ========================================================================== */

.legal-page {
  padding: 60px 0 100px;
}

.legal-container {
  max-width: 880px;
  margin: 0 auto;
}

.legal-header {
  text-align: center;
  margin-bottom: 48px;
}

.legal-header .pill-badge {
  margin-bottom: 18px;
}

.legal-title {
  font-size: 44px;
  font-weight: 700;
  letter-spacing: -1.2px;
  margin-bottom: 14px;
}

.legal-date {
  font-size: 14px;
  color: var(--text-muted);
}

.legal-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: 50px 48px;
  backdrop-filter: blur(24px);
  box-shadow: var(--shadow-lg);
  line-height: 1.8;
  color: #cbd5e1;
}

.legal-card h2 {
  font-size: 22px;
  font-weight: 600;
  color: #ffffff;
  margin: 36px 0 14px;
  letter-spacing: -0.3px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.legal-card h2:first-of-type {
  margin-top: 0;
}

.legal-card h3 {
  font-size: 17px;
  font-weight: 600;
  color: #e2e8f0;
  margin: 24px 0 10px;
}

.legal-card p {
  margin-bottom: 18px;
  font-size: 15.5px;
}

.legal-card ul {
  margin-bottom: 22px;
  padding-left: 24px;
}

.legal-card li {
  margin-bottom: 8px;
  font-size: 15px;
}

.legal-card strong {
  color: #ffffff;
}

.legal-callout {
  background: rgba(16, 185, 129, 0.08);
  border: 1px solid rgba(16, 185, 129, 0.3);
  border-radius: var(--radius-md);
  padding: 22px 26px;
  margin: 28px 0;
}

.legal-callout-title {
  font-size: 16px;
  font-weight: 600;
  color: #34d399;
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
}

.legal-callout p {
  margin: 0;
  font-size: 14.5px;
  color: #e2e8f0;
}

.legal-nav-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--accent-cyan);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 24px;
  transition: transform 0.2s;
}

.legal-nav-back:hover {
  transform: translateX(-4px);
}

@media (max-width: 768px) {
  .legal-title {
    font-size: 32px;
  }
  .legal-card {
    padding: 28px 20px;
  }
}
