/* ==========================================================================
   Verbatim Landing Page - Modern Dark / Minimal macOS Native Aesthetic
   Fully Self-Contained - Zero external dependencies
   ========================================================================== */

:root {
  --bg-primary: #0a0b0d;
  --bg-secondary: #101216;
  --bg-card: #15181e;
  --bg-card-hover: #1b1f27;
  --bg-glass: rgba(21, 24, 30, 0.75);
  --bg-pill: rgba(255, 255, 255, 0.06);
  --bg-pill-hover: rgba(255, 255, 255, 0.1);

  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-card: rgba(255, 255, 255, 0.12);
  --border-focus: rgba(10, 132, 255, 0.5);

  --text-primary: #f5f5f7;
  --text-secondary: #9a9ba5;
  --text-muted: #646570;

  --accent-blue: #0a84ff;
  --accent-blue-hover: #0071e3;
  --accent-blue-glow: rgba(10, 132, 255, 0.25);
  --accent-red: #ff453a;
  --accent-red-glow: rgba(255, 69, 58, 0.25);
  --accent-purple: #bf5af2;
  --accent-green: #30d158;
  --accent-amber: #ffd60a;
  --accent-cyan: #64d2ff;

  --mac-traffic-red: #ff5f56;
  --mac-traffic-yellow: #ffbd2e;
  --mac-traffic-green: #27c93f;

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

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

  --shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.25);
  --shadow-md: 0 12px 32px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 24px 64px rgba(0, 0, 0, 0.6);
  --shadow-window: 0 30px 80px rgba(0, 0, 0, 0.75), 0 0 0 1px rgba(255, 255, 255, 0.1);

  --transition-fast: 0.18s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-normal: 0.28s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-smooth: 0.45s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Base Reset */
*, *::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.5;
  text-rendering: optimizeLegibility;
}

body {
  position: relative;
  overflow-x: hidden;
  background-color: var(--bg-primary);
  background-image: 
    radial-gradient(ellipse 80% 50% at 50% -10%, rgba(10, 132, 255, 0.12), transparent 70%),
    radial-gradient(ellipse 50% 40% at 90% 20%, rgba(191, 90, 242, 0.07), transparent 60%),
    radial-gradient(ellipse 40% 30% at 10% 40%, rgba(48, 209, 88, 0.05), transparent 50%);
  background-attachment: fixed;
  min-height: 100vh;
}

/* Background Grid Overlay (subtle) */
.bg-grid {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  background-size: 64px 64px;
  pointer-events: none;
  z-index: 0;
}

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

.container-narrow {
  max-width: 860px;
}

/* Typography Helpers */
h1, h2, h3, h4 {
  color: var(--text-primary);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.15;
}

p {
  color: var(--text-secondary);
  font-size: 1.0625rem;
  line-height: 1.6;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition-fast);
}

/* ==========================================================================
   Navigation Bar
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  width: 100%;
  z-index: 100;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  background: rgba(10, 11, 13, 0.82);
  border-bottom: 1px solid var(--border-subtle);
  transition: all var(--transition-normal);
}

.site-header.scrolled {
  background: rgba(10, 11, 13, 0.94);
  border-bottom-color: var(--border-card);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

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

.logo-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo-icon {
  width: 38px;
  height: 38px;
  border-radius: 9px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(255, 255, 255, 0.15);
  object-fit: cover;
  transition: transform var(--transition-fast);
}

.logo-brand:hover .logo-icon {
  transform: scale(1.05);
}

.logo-text {
  display: flex;
  align-items: center;
  gap: 8px;
}

.logo-title {
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text-primary);
}

.logo-badge {
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 3px 7px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.08);
  color: var(--text-secondary);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

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

.nav-link {
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--text-secondary);
  transition: color var(--transition-fast);
}

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

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

/* ==========================================================================
   Buttons & CTAs
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  font-size: 0.9375rem;
  font-weight: 600;
  padding: 10px 20px;
  border-radius: var(--radius-pill);
  border: 1px solid transparent;
  cursor: pointer;
  transition: all var(--transition-fast);
  white-space: nowrap;
  user-select: none;
}

.btn-primary {
  background: var(--accent-blue);
  color: #ffffff;
  box-shadow: 0 4px 14px var(--accent-blue-glow);
}

.btn-primary:hover {
  background: var(--accent-blue-hover);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(10, 132, 255, 0.4);
}

.btn-primary:active {
  transform: translateY(0);
}

.btn-secondary {
  background: var(--bg-pill);
  color: var(--text-primary);
  border-color: var(--border-card);
}

.btn-secondary:hover {
  background: var(--bg-pill-hover);
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-1px);
}

.btn-lg {
  font-size: 1.0625rem;
  padding: 14px 28px;
  border-radius: var(--radius-pill);
}

.btn-icon {
  width: 18px;
  height: 18px;
  fill: currentColor;
  flex-shrink: 0;
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero-section {
  padding: 80px 0 60px;
  text-align: center;
  position: relative;
}

.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--text-secondary);
  font-size: 0.8125rem;
  font-weight: 500;
  margin-bottom: 28px;
  backdrop-filter: blur(8px);
  animation: fadeInDown 0.8s ease backwards;
}

.hero-pill-sparkle {
  color: var(--accent-amber);
}

.hero-title {
  font-size: clamp(2.5rem, 6vw, 4.25rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.08;
  margin-bottom: 24px;
  max-width: 980px;
  margin-left: auto;
  margin-right: auto;
  background: linear-gradient(180deg, #ffffff 30%, rgba(255, 255, 255, 0.72) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: fadeInUp 0.8s 0.1s ease backwards;
}

.hero-subtitle {
  font-size: clamp(1.125rem, 2.2vw, 1.35rem);
  color: var(--text-secondary);
  max-width: 760px;
  margin: 0 auto 36px;
  font-weight: 400;
  line-height: 1.55;
  animation: fadeInUp 0.8s 0.2s ease backwards;
}

.hero-cta-group {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 20px;
  animation: fadeInUp 0.8s 0.3s ease backwards;
}

.hero-specs {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  color: var(--text-muted);
  font-size: 0.8125rem;
  font-weight: 500;
  animation: fadeInUp 0.8s 0.4s ease backwards;
}

.hero-spec-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.hero-spec-dot {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--text-muted);
}

/* ==========================================================================
   Interactive macOS Verbatim Window Mockup
   ========================================================================== */
.window-wrapper {
  margin: 54px auto 0;
  max-width: 1040px;
  perspective: 1200px;
  animation: zoomIn 0.9s 0.45s cubic-bezier(0.16, 1, 0.3, 1) backwards;
}

.mac-window {
  background: #18191c;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-window);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  position: relative;
  text-align: left;
}

/* Window Titlebar */
.mac-titlebar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 42px;
  padding: 0 16px;
  background: #1e2024;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  user-select: none;
}

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

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

.traffic-red { background: var(--mac-traffic-red); }
.traffic-yellow { background: var(--mac-traffic-yellow); }
.traffic-green { background: var(--mac-traffic-green); }

.mac-window-title {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--text-secondary);
  letter-spacing: -0.01em;
}

.mac-window-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 80px;
  justify-content: flex-end;
}

/* Audio Source Control Bar */
.source-control-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 18px;
  background: #141518;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 0.8125rem;
  flex-wrap: wrap;
  gap: 12px;
}

.source-inputs {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.source-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.04);
  padding: 5px 12px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255, 255, 255, 0.06);
  color: var(--text-primary);
  font-weight: 500;
}

.source-checkbox {
  width: 14px;
  height: 14px;
  accent-color: var(--accent-blue);
  cursor: pointer;
}

.source-icon-mic {
  color: var(--accent-blue);
}

.source-icon-speaker {
  color: var(--accent-purple);
}

.source-name {
  font-size: 0.8125rem;
}

.source-vu-bar {
  width: 48px;
  height: 6px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 3px;
  overflow: hidden;
  position: relative;
}

.source-vu-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--accent-green) 70%, var(--accent-amber) 90%, var(--accent-red) 100%);
  border-radius: 3px;
  transition: width 0.1s ease;
}

.vu-mic-live {
  animation: pulseVU1 1.2s infinite ease-in-out;
}

.vu-sys-live {
  animation: pulseVU2 1.6s infinite ease-in-out;
}

.source-badge-echoguard {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: var(--accent-cyan);
  border: 1px solid rgba(100, 210, 255, 0.35);
  background: rgba(100, 210, 255, 0.08);
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  font-size: 0.75rem;
  font-weight: 600;
}

.source-status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--accent-green);
}

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent-green);
  box-shadow: 0 0 10px rgba(48, 209, 88, 0.6);
  animation: breathe 2s infinite ease-in-out;
}

/* App Toolbar with Tabs */
.app-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 20px;
  background: #1a1b1f;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.enhance-voice-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--text-primary);
  font-size: 0.8125rem;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.enhance-voice-btn.active, .enhance-voice-btn:hover {
  background: rgba(255, 214, 10, 0.15);
  border-color: rgba(255, 214, 10, 0.4);
  color: #fff;
}

.segmented-picker {
  display: inline-flex;
  background: rgba(0, 0, 0, 0.4);
  padding: 3px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.segment-btn {
  background: transparent;
  border: none;
  color: var(--text-secondary);
  font-size: 0.8125rem;
  font-weight: 600;
  padding: 6px 16px;
  border-radius: 6px;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.segment-btn.active {
  background: #2a2c33;
  color: var(--text-primary);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.35);
}

.segment-btn:hover:not(.active) {
  color: var(--text-primary);
}

/* App Body Layout: Sidebar + Main Content */
.app-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  min-height: 440px;
  background: #18191c;
}

/* Sidebar */
.app-sidebar {
  background: #151619;
  border-right: 1px solid rgba(255, 255, 255, 0.06);
  padding: 14px 12px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.sidebar-search {
  position: relative;
}

.search-input {
  width: 100%;
  background: #212328;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-sm);
  color: var(--text-primary);
  font-size: 0.8125rem;
  padding: 7px 10px 7px 30px;
  outline: none;
}

.search-input:focus {
  border-color: var(--accent-blue);
}

.search-icon {
  position: absolute;
  left: 10px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
  width: 13px;
  height: 13px;
}

.sidebar-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 0 6px;
}

.heading-badge {
  background: rgba(255, 255, 255, 0.08);
  padding: 1px 7px;
  border-radius: var(--radius-pill);
  font-size: 0.6875rem;
}

.recording-list {
  display: flex;
  flex-direction: column;
  gap: 4px;
  overflow-y: auto;
  max-height: 340px;
}

.recording-item {
  display: flex;
  flex-direction: column;
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all var(--transition-fast);
  background: transparent;
}

.recording-item:hover {
  background: rgba(255, 255, 255, 0.04);
}

.recording-item.selected {
  background: #262931;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.item-title {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.item-meta {
  font-size: 0.75rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.item-sparkle {
  color: var(--accent-amber);
  font-size: 0.75rem;
}

/* Main Display Area */
.app-content {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 24px 32px 18px;
  position: relative;
  background: #18191c;
}

/* Tab Panels */
.tab-panel {
  display: none;
  flex-direction: column;
  height: 100%;
}

.tab-panel.active {
  display: flex;
}

/* Tab: Audio Recording */
.recording-header {
  text-align: center;
  margin-top: 10px;
  margin-bottom: 24px;
}

.recording-title {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 4px;
}

.recording-subtitle {
  font-size: 0.8125rem;
  color: var(--text-muted);
}

.waveform-container {
  margin: 16px 0;
  position: relative;
  background: rgba(0, 0, 0, 0.2);
  border-radius: var(--radius-md);
  padding: 20px 16px;
  border: 1px solid rgba(255, 255, 255, 0.04);
}

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

.waveform-timestamps {
  display: flex;
  justify-content: space-between;
  font-size: 0.8125rem;
  font-family: var(--font-mono);
  color: var(--text-muted);
  margin-top: 8px;
}

/* Transport Controls Bar */
.transport-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.transport-speed {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--text-secondary);
  background: rgba(255, 255, 255, 0.06);
  padding: 4px 10px;
  border-radius: 6px;
}

.transport-buttons {
  display: flex;
  align-items: center;
  gap: 16px;
}

.ctrl-btn {
  background: transparent;
  border: none;
  color: var(--text-primary);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform var(--transition-fast);
}

.ctrl-btn:hover {
  transform: scale(1.1);
}

.ctrl-skip {
  color: var(--text-secondary);
  font-size: 0.8125rem;
  font-weight: 600;
  position: relative;
}

.ctrl-play {
  width: 44px;
  height: 44px;
  background: #ffffff;
  border-radius: 50%;
  color: #000000;
  box-shadow: 0 4px 12px rgba(255, 255, 255, 0.2);
}

.ctrl-record {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--accent-red);
  color: #fff;
  border: 3px solid rgba(255, 69, 58, 0.35);
  box-shadow: 0 0 16px var(--accent-red-glow);
}

.btn-export-mp3 {
  background: var(--accent-blue);
  color: #fff;
  font-size: 0.8125rem;
  font-weight: 600;
  padding: 7px 16px;
  border-radius: var(--radius-pill);
  border: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.btn-export-mp3:hover {
  background: var(--accent-blue-hover);
  box-shadow: 0 4px 12px var(--accent-blue-glow);
}

/* Tab: Transcript */
.transcript-wrapper {
  overflow-y: auto;
  max-height: 320px;
  padding-right: 8px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.transcript-entry {
  display: flex;
  gap: 14px;
  font-size: 0.875rem;
  line-height: 1.5;
  background: rgba(255, 255, 255, 0.02);
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  border-left: 3px solid var(--accent-blue);
}

.transcript-entry.speaker-alt {
  border-left-color: var(--accent-purple);
}

.transcript-time {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--text-muted);
  flex-shrink: 0;
  padding-top: 2px;
}

.transcript-speaker {
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 2px;
}

.transcript-text {
  color: var(--text-secondary);
}

.tab-action-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

/* Tab: Recap */
.recap-wrapper {
  overflow-y: auto;
  max-height: 320px;
  padding-right: 8px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.recap-card {
  background: #1c1e23;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-sm);
  padding: 14px 18px;
}

.recap-card-title {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.recap-card-body {
  font-size: 0.8125rem;
  color: var(--text-secondary);
  line-height: 1.55;
}

.recap-card-body ul {
  list-style: none;
  padding-left: 0;
}

.recap-card-body li {
  position: relative;
  padding-left: 16px;
  margin-bottom: 4px;
}

.recap-card-body li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: var(--accent-blue);
  font-weight: bold;
}

/* ==========================================================================
   Metrics Bar
   ========================================================================== */
.metrics-section {
  padding: 40px 0 60px;
  border-bottom: 1px solid var(--border-subtle);
}

.metrics-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.metric-card {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-md);
  padding: 24px;
  text-align: center;
  transition: transform var(--transition-fast), border-color var(--transition-fast);
}

.metric-card:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 255, 255, 0.2);
}

.metric-value {
  font-size: 2.25rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--text-primary);
  margin-bottom: 6px;
  background: linear-gradient(180deg, #ffffff, #c7c7cc);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.metric-label {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 4px;
}

.metric-sub {
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* ==========================================================================
   Bento Grid Features Section
   ========================================================================== */
.features-section {
  padding: 90px 0 80px;
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 16px;
}

.section-title {
  font-size: clamp(2rem, 4vw, 2.75rem);
  letter-spacing: -0.03em;
  margin-bottom: 16px;
}

.section-subtitle {
  font-size: 1.125rem;
  max-width: 620px;
  margin: 0 auto;
}

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

.bento-card {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  padding: 36px 30px;
  position: relative;
  overflow: hidden;
  transition: all var(--transition-normal);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.bento-card:hover {
  background: var(--bg-card-hover);
  border-color: rgba(255, 255, 255, 0.22);
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

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

.bento-card.col-span-3 {
  grid-column: span 3;
}

.card-icon-wrap {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.icon-blue { color: var(--accent-blue); background: rgba(10, 132, 255, 0.12); }
.icon-purple { color: var(--accent-purple); background: rgba(191, 90, 242, 0.12); }
.icon-green { color: var(--accent-green); background: rgba(48, 209, 88, 0.12); }
.icon-amber { color: var(--accent-amber); background: rgba(255, 214, 10, 0.12); }
.icon-cyan { color: var(--accent-cyan); background: rgba(100, 210, 255, 0.12); }
.icon-red { color: var(--accent-red); background: rgba(255, 69, 58, 0.12); }

.card-title {
  font-size: 1.35rem;
  font-weight: 700;
  margin-bottom: 12px;
  letter-spacing: -0.02em;
}

.card-desc {
  font-size: 0.9375rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 24px;
}

/* Feature specific badge tags */
.feature-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: auto;
}

.feature-tag {
  font-size: 0.75rem;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--text-secondary);
}

/* Card Visual Mockups */
.card-mini-visual {
  background: rgba(0, 0, 0, 0.35);
  border-radius: var(--radius-sm);
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  margin-top: 16px;
  font-family: var(--font-mono);
  font-size: 0.75rem;
}

/* ==========================================================================
   Architecture & Privacy Deep Dive
   ========================================================================== */
.privacy-section {
  padding: 80px 0;
  background: linear-gradient(180deg, transparent, rgba(16, 18, 22, 0.6) 50%, transparent);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

.privacy-banner {
  background: linear-gradient(135deg, rgba(21, 24, 30, 0.9), rgba(16, 18, 22, 0.9));
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-xl);
  padding: 48px;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 40px;
  align-items: center;
}

.privacy-content h3 {
  font-size: 2rem;
  margin-bottom: 16px;
  letter-spacing: -0.03em;
}

.privacy-checklist {
  list-style: none;
  margin-top: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.privacy-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.9375rem;
  color: var(--text-secondary);
}

.privacy-check-icon {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: rgba(48, 209, 88, 0.15);
  color: var(--accent-green);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 0.75rem;
  margin-top: 2px;
}

/* Comparison Table */
.comparison-box {
  background: rgba(0, 0, 0, 0.4);
  border-radius: var(--radius-md);
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.comparison-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.8125rem;
}

.comparison-table th {
  text-align: left;
  padding: 8px 12px;
  color: var(--text-muted);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  font-weight: 600;
  text-transform: uppercase;
  font-size: 0.6875rem;
  letter-spacing: 0.05em;
}

.comparison-table td {
  padding: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  color: var(--text-secondary);
}

.comparison-table td.col-verbatim {
  color: var(--text-primary);
  font-weight: 600;
}


/* ==========================================================================
   Technical Specifications
   ========================================================================== */
.specs-section {
  padding: 80px 0;
}

.specs-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 40px;
}

.spec-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-md);
}

.spec-title {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-secondary);
}

.spec-value {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--text-primary);
  font-family: var(--font-mono);
}

/* ==========================================================================
   FAQ Section
   ========================================================================== */
.faq-section {
  padding: 80px 0;
  border-top: 1px solid var(--border-subtle);
}

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

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

.faq-item:hover {
  border-color: rgba(255, 255, 255, 0.2);
}

.faq-question {
  width: 100%;
  text-align: left;
  background: transparent;
  border: none;
  padding: 20px 24px;
  font-size: 1.0625rem;
  font-weight: 600;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  user-select: none;
}

.faq-icon {
  width: 20px;
  height: 20px;
  transition: transform var(--transition-normal);
  color: var(--text-muted);
  flex-shrink: 0;
}

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

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition-normal) ease-in-out;
  padding: 0 24px;
}

.faq-item.open .faq-answer {
  max-height: 300px;
  padding-bottom: 22px;
}

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

/* ==========================================================================
   Bottom CTA Banner
   ========================================================================== */
.cta-banner-section {
  padding: 70px 0 100px;
}

.cta-banner {
  background: radial-gradient(circle at 50% 0%, rgba(10, 132, 255, 0.18), transparent 70%),
              linear-gradient(180deg, #15181e 0%, #0d0e12 100%);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius-xl);
  padding: 64px 32px;
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.cta-banner h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  letter-spacing: -0.03em;
  margin-bottom: 16px;
}

.cta-banner p {
  font-size: 1.125rem;
  max-width: 580px;
  margin: 0 auto 36px;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  border-top: 1px solid var(--border-subtle);
  padding: 40px 0;
  background: var(--bg-primary);
  font-size: 0.875rem;
  color: var(--text-muted);
}

.footer-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.footer-links {
  display: flex;
  align-items: center;
  gap: 24px;
}

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

/* Toast Notifications */
.toast-notification {
  position: fixed;
  bottom: 28px;
  right: 28px;
  background: #24272f;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius-pill);
  padding: 12px 22px;
  display: flex;
  align-items: center;
  gap: 10px;
  color: #ffffff;
  font-size: 0.875rem;
  font-weight: 500;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  transform: translateY(100px);
  opacity: 0;
  transition: all var(--transition-normal);
  z-index: 1000;
  pointer-events: none;
}

.toast-notification.show {
  transform: translateY(0);
  opacity: 1;
}

.toast-icon {
  color: var(--accent-green);
}

/* ==========================================================================
   Keyframe Animations
   ========================================================================== */
@keyframes fadeInDown {
  from { opacity: 0; transform: translateY(-16px); }
  to { opacity: 1; transform: translateY(0); }
}

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

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

@keyframes breathe {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.6; transform: scale(0.92); }
}

@keyframes pulseVU1 {
  0%, 100% { width: 45%; }
  30% { width: 85%; }
  60% { width: 60%; }
  80% { width: 92%; }
}

@keyframes pulseVU2 {
  0%, 100% { width: 35%; }
  25% { width: 70%; }
  50% { width: 40%; }
  75% { width: 82%; }
}

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */
@media (max-width: 980px) {
  .app-layout {
    grid-template-columns: 1fr;
  }
  .app-sidebar {
    display: none; /* Hide sidebar in mobile mockup to keep it clean and readable */
  }
  .bento-grid {
    grid-template-columns: 1fr;
  }
  .bento-card.col-span-2,
  .bento-card.col-span-3 {
    grid-column: span 1;
  }
  .metrics-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .privacy-banner {
    grid-template-columns: 1fr;
    padding: 32px 24px;
  }
  .specs-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
  }
  .hero-section {
    padding: 50px 0 40px;
  }
  .source-control-bar {
    flex-direction: column;
    align-items: flex-start;
  }
  .app-content {
    padding: 16px;
  }
  .transport-bar {
    flex-wrap: wrap;
    gap: 14px;
    justify-content: center;
  }
  .metrics-grid {
    grid-template-columns: 1fr;
  }
  .footer-content {
    flex-direction: column;
    text-align: center;
    gap: 16px;
  }
}
