/* ==========================================================================
   ScreenRecorder by projectsfor.com - Design System & Stylesheet
   Aesthetic: "Creamy Obsidian Tech" - Dual Theme (Light default & Dark)
   ========================================================================== */

/* --------------------------------------------------------------------------
   Light Theme (Default): Warm creamy linen, ivory satin, amber gold accents
   -------------------------------------------------------------------------- */
:root,
[data-theme="light"] {
  /* Color Palette - Creamy Light */
  --bg-primary: #fbf9f4;
  --bg-surface: #ffffff;
  --bg-surface-elevated: #f3efe6;
  --bg-glass: rgba(251, 249, 244, 0.88);
  --bg-glass-card: rgba(255, 255, 255, 0.88);
  
  /* Cream & Golden Accents */
  --cream-50: #1c1917;
  --cream-100: #292524;
  --cream-200: #44403c;
  --cream-300: #78716c;
  --cream-400: #a8a29e;
  --cream-gold: #b37e33;
  --cream-glow: rgba(179, 126, 51, 0.16);
  --cream-border: rgba(50, 40, 30, 0.09);
  --cream-border-hover: rgba(179, 126, 51, 0.4);

  /* Neutrals */
  --text-primary: #191715;
  --text-secondary: #57524d;
  --text-muted: #857e74;
  --text-accent: #26221d;
  
  /* Functional Accents */
  --accent-red: #ea3943;
  --accent-red-glow: rgba(234, 57, 67, 0.25);
  --accent-green: #15803d;
  --accent-green-glow: rgba(21, 128, 61, 0.2);
  --accent-blue: #0284c7;
  --accent-purple: #9333ea;

  /* Typography */
  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-display: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

  /* Radii & Shadows */
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --radius-full: 9999px;
  
  --shadow-sm: 0 2px 10px rgba(60, 45, 30, 0.05);
  --shadow-md: 0 10px 30px rgba(60, 45, 30, 0.08);
  --shadow-lg: 0 22px 55px rgba(60, 45, 30, 0.12);
  --shadow-cream: 0 0 35px rgba(179, 126, 51, 0.14);
  --shadow-red: 0 0 25px rgba(234, 57, 67, 0.2);

  /* Atmospheric Theme Variables */
  --grid-line: rgba(70, 50, 30, 0.038);
  --hero-glow: radial-gradient(ellipse, rgba(212, 168, 100, 0.25) 0%, rgba(212, 168, 100, 0) 70%);
  --hero-bg-gradient: 
    radial-gradient(circle at 50% 0%, rgba(212, 168, 100, 0.18) 0%, transparent 60%),
    radial-gradient(circle at 10% 25%, rgba(14, 165, 233, 0.04) 0%, transparent 40%),
    radial-gradient(circle at 90% 40%, rgba(212, 168, 100, 0.12) 0%, transparent 50%),
    linear-gradient(to bottom, transparent, rgba(251, 249, 244, 0.9));
  
  --title-gradient: linear-gradient(135deg, #151311 20%, #3d352c 60%, #a86c23 100%);
  --btn-primary-bg: linear-gradient(135deg, #201b17, #0d0b09);
  --btn-primary-text: #faf8f5;
  --btn-primary-shadow: 0 6px 24px rgba(32, 27, 23, 0.25);
  --btn-secondary-bg: rgba(255, 255, 255, 0.9);
  --btn-secondary-text: #201b17;
  --table-th-bg: #f4eee2;
  --table-highlight-bg: rgba(179, 126, 51, 0.06);
  --card-featured-bg: linear-gradient(180deg, #ffffff 0%, #faf6ed 100%);
  --footer-bg: #ece5d8;
  --footer-border: rgba(50, 40, 30, 0.1);
  --announcement-bg: linear-gradient(90deg, rgba(179, 126, 51, 0.1), rgba(255, 255, 255, 0.95) 30%, rgba(255, 255, 255, 0.95) 70%, rgba(179, 126, 51, 0.1));
  --terminal-bg: #0f1218;
  --terminal-header-bg: #171b24;
  --attribution-card-bg: linear-gradient(135deg, #ffffff 0%, #f6f0e4 100%);
  --attribution-title-color: #1a1715;
  --btn-github-bg: rgba(0, 0, 0, 0.04);
  --btn-github-hover: rgba(0, 0, 0, 0.08);

  /* Transitions */
  --transition-fast: 0.15s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-normal: 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-smooth: 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

/* --------------------------------------------------------------------------
   Dark Theme: Creamy Obsidian, deep satin night glass, champagne glows
   -------------------------------------------------------------------------- */
[data-theme="dark"] {
  /* Color Palette - Cream & Obsidian Dark */
  --bg-primary: #0a0c10;
  --bg-surface: #11141b;
  --bg-surface-elevated: #161b24;
  --bg-glass: rgba(17, 20, 27, 0.85);
  --bg-glass-card: rgba(22, 27, 36, 0.65);
  
  /* Cream Accents */
  --cream-50: #fbf9f5;
  --cream-100: #f5efe6;
  --cream-200: #eadbce;
  --cream-300: #dfc8b0;
  --cream-400: #d4b491;
  --cream-gold: #e8cca4;
  --cream-glow: rgba(232, 204, 164, 0.15);
  --cream-border: rgba(245, 239, 230, 0.1);
  --cream-border-hover: rgba(232, 204, 164, 0.35);

  /* Neutrals */
  --text-primary: #f8f6f1;
  --text-secondary: #9da7b5;
  --text-muted: #657082;
  --text-accent: #f0e6d6;
  
  /* Functional Accents */
  --accent-red: #ff4757;
  --accent-red-glow: rgba(255, 71, 87, 0.35);
  --accent-green: #2ed573;
  --accent-green-glow: rgba(46, 213, 115, 0.25);
  --accent-blue: #38bdf8;
  --accent-purple: #a855f7;

  /* Shadows */
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 8px 30px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 20px 50px rgba(0, 0, 0, 0.6);
  --shadow-cream: 0 0 35px rgba(232, 204, 164, 0.12);
  --shadow-red: 0 0 25px rgba(255, 71, 87, 0.3);

  /* Atmospheric Theme Variables */
  --grid-line: rgba(245, 239, 230, 0.02);
  --hero-glow: radial-gradient(ellipse, rgba(232, 204, 164, 0.15) 0%, rgba(232, 204, 164, 0) 70%);
  --hero-bg-gradient: 
    radial-gradient(circle at 50% 0%, rgba(232, 204, 164, 0.08) 0%, transparent 60%),
    radial-gradient(circle at 10% 25%, rgba(56, 189, 248, 0.03) 0%, transparent 40%),
    radial-gradient(circle at 90% 40%, rgba(232, 204, 164, 0.04) 0%, transparent 50%),
    linear-gradient(to bottom, transparent, rgba(10, 12, 16, 0.8));
    
  --title-gradient: linear-gradient(135deg, #ffffff 10%, #fbf9f5 45%, #e8cca4 90%);
  --btn-primary-bg: linear-gradient(135deg, #ffffff, #f7efe4 45%, #e5c695 100%);
  --btn-primary-text: #090b0e;
  --btn-primary-shadow: 0 4px 24px rgba(229, 198, 149, 0.3);
  --btn-secondary-bg: rgba(22, 27, 36, 0.7);
  --btn-secondary-text: #f5efe6;
  --table-th-bg: #141720;
  --table-highlight-bg: rgba(232, 204, 164, 0.04);
  --card-featured-bg: linear-gradient(180deg, #161b24, #11141b);
  --footer-bg: #080a0d;
  --footer-border: var(--cream-border);
  --announcement-bg: linear-gradient(90deg, rgba(232, 204, 164, 0.12), rgba(17, 20, 27, 0.9) 30%, rgba(17, 20, 27, 0.9) 70%, rgba(232, 204, 164, 0.12));
  --terminal-bg: #0d1017;
  --terminal-header-bg: #141720;
  --attribution-card-bg: linear-gradient(135deg, rgba(26, 32, 44, 0.9) 0%, rgba(17, 20, 27, 0.95) 100%);
  --attribution-title-color: #ffffff;
  --btn-github-bg: rgba(255, 255, 255, 0.04);
  --btn-github-hover: rgba(255, 255, 255, 0.08);
}

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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  background-color: var(--bg-primary);
  color: var(--text-primary);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.65;
  overflow-x: hidden;
  position: relative;
  background-image: var(--hero-bg-gradient);
  background-attachment: fixed;
  transition: background-color var(--transition-normal), color var(--transition-normal);
}

/* Atmospheric Background Grid */
.bg-grid-overlay {
  position: fixed;
  inset: 0;
  background-image: 
    linear-gradient(to right, var(--grid-line) 1px, transparent 1px),
    linear-gradient(to bottom, var(--grid-line) 1px, transparent 1px);
  background-size: 48px 48px;
  pointer-events: none;
  z-index: 0;
}

/* Typography Hierarchy */
h1, h2, h3, h4, .brand-title {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.025em;
  color: var(--text-primary);
  line-height: 1.15;
}

p {
  color: var(--text-secondary);
}

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

code, pre {
  font-family: var(--font-mono);
}

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

/* ==========================================================================
   Top Announcement Bar
   ========================================================================== */
.announcement-bar {
  background: var(--announcement-bg);
  border-bottom: 1px solid var(--cream-border);
  padding: 10px 0;
  font-size: 13.5px;
  text-align: center;
  position: relative;
  z-index: 101;
  transition: background var(--transition-normal);
}

.announcement-content {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

.announcement-tag {
  background: rgba(179, 126, 51, 0.15);
  color: var(--cream-gold);
  border: 1px solid rgba(179, 126, 51, 0.3);
  padding: 2px 10px;
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.announcement-link {
  color: var(--cream-100);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.announcement-link:hover {
  color: var(--cream-gold);
  text-decoration: underline;
}

/* ==========================================================================
   Header & Navigation
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--bg-glass);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--cream-border);
  transition: all var(--transition-normal);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}

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

.brand-icon-box {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: linear-gradient(135deg, #241c14, #121419);
  border: 1px solid rgba(179, 126, 51, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25), 0 0 16px rgba(179, 126, 51, 0.1);
  position: relative;
  overflow: hidden;
}

.brand-icon-box::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(179, 126, 51, 0.25) 0%, transparent 70%);
  pointer-events: none;
}

.brand-titles {
  display: flex;
  flex-direction: column;
}

.brand-name {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--cream-50);
  display: flex;
  align-items: center;
  gap: 6px;
}

.brand-credit-badge {
  font-size: 11.5px;
  color: var(--text-muted);
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 4px;
}

.brand-credit-badge strong {
  color: var(--cream-gold);
  font-weight: 700;
}

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

.nav-link {
  font-size: 14.5px;
  font-weight: 500;
  color: var(--text-secondary);
  position: relative;
  padding: 6px 0;
}

.nav-link:hover, .nav-link.active {
  color: var(--cream-100);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0%;
  height: 2px;
  background: var(--cream-gold);
  transition: width var(--transition-normal);
  border-radius: 2px;
}

.nav-link:hover::after {
  width: 100%;
}

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

/* Theme Toggle Button */
.btn-theme-toggle {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--cream-border);
  background: var(--btn-secondary-bg);
  color: var(--text-primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--transition-fast);
  box-shadow: var(--shadow-sm);
}

.btn-theme-toggle:hover {
  border-color: var(--cream-border-hover);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
  color: var(--cream-gold);
}

/* Toggle Sun / Moon visibility based on active theme */
[data-theme="light"] .icon-sun,
:root:not([data-theme="dark"]) .icon-sun {
  display: none;
}

[data-theme="light"] .icon-moon,
:root:not([data-theme="dark"]) .icon-moon {
  display: inline-flex;
}

[data-theme="dark"] .icon-sun {
  display: inline-flex;
}

[data-theme="dark"] .icon-moon {
  display: none;
}

.btn-github {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--text-primary);
  background: var(--btn-github-bg);
  border: 1px solid var(--cream-border);
  border-radius: var(--radius-full);
  transition: all var(--transition-fast);
}

.btn-github:hover {
  background: var(--btn-github-hover);
  border-color: var(--cream-border-hover);
  transform: translateY(-1px);
}

.btn-github .star-count {
  background: rgba(179, 126, 51, 0.12);
  color: var(--cream-gold);
  padding: 1px 7px;
  border-radius: var(--radius-full);
  font-size: 11.5px;
  margin-left: 2px;
}

.btn-header-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 18px;
  font-size: 13.5px;
  font-weight: 700;
  color: #0d0f12;
  background: linear-gradient(135deg, #fff7eb, #e8cca4);
  border: 1px solid rgba(179, 126, 51, 0.3);
  border-radius: var(--radius-full);
  box-shadow: 0 2px 10px rgba(179, 126, 51, 0.2);
  transition: all var(--transition-fast);
}

.btn-header-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 18px rgba(179, 126, 51, 0.35);
  filter: brightness(1.04);
}

/* Mobile Nav Toggle */
.mobile-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--text-primary);
  cursor: pointer;
  padding: 6px;
}

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

.hero-glow-back {
  position: absolute;
  top: 10%;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 350px;
  background: var(--hero-glow);
  filter: blur(80px);
  pointer-events: none;
  z-index: 0;
}

.hero-meta-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 18px;
  background: var(--bg-surface);
  border: 1px solid var(--cream-border);
  border-radius: var(--radius-full);
  font-size: 13px;
  font-weight: 600;
  color: var(--cream-200);
  box-shadow: var(--shadow-sm);
  margin-bottom: 26px;
  backdrop-filter: blur(10px);
}

.pulse-indicator {
  width: 8px;
  height: 8px;
  background: var(--accent-green);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--accent-green);
  animation: pulseGreen 2s infinite ease-in-out;
}

@keyframes pulseGreen {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(1.3); }
}

.hero-title {
  font-size: clamp(38px, 6vw, 68px);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.08;
  max-width: 960px;
  margin: 0 auto 24px;
}

.hero-title-gradient {
  background: var(--title-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.hero-subtitle {
  font-size: clamp(17px, 2vw, 20px);
  color: var(--text-secondary);
  max-width: 720px;
  margin: 0 auto 36px;
  line-height: 1.6;
}

.hero-subtitle strong {
  color: var(--cream-100);
  font-weight: 700;
}

/* OS Detection Banner */
.os-detect-banner {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--cream-200);
  background: rgba(179, 126, 51, 0.08);
  border: 1px solid rgba(179, 126, 51, 0.2);
  padding: 5px 16px;
  border-radius: var(--radius-full);
  margin-bottom: 24px;
}

.os-detect-banner svg {
  color: var(--cream-gold);
}

/* Hero CTA Group */
.hero-cta-group {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}

.btn-primary-hero {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 16px 36px;
  font-size: 16px;
  font-weight: 700;
  font-family: var(--font-display);
  color: var(--btn-primary-text);
  background: var(--btn-primary-bg);
  border: 1px solid rgba(179, 126, 51, 0.4);
  border-radius: var(--radius-full);
  box-shadow: var(--btn-primary-shadow);
  transition: all var(--transition-normal);
  position: relative;
  overflow: hidden;
}

.btn-primary-hero:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 36px rgba(179, 126, 51, 0.35);
  filter: brightness(1.06);
}

.btn-primary-hero svg {
  transition: transform var(--transition-fast);
}

.btn-primary-hero:hover svg {
  transform: translateY(2px);
}

.btn-secondary-hero {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 28px;
  font-size: 15px;
  font-weight: 600;
  font-family: var(--font-display);
  color: var(--btn-secondary-text);
  background: var(--btn-secondary-bg);
  border: 1px solid var(--cream-border);
  border-radius: var(--radius-full);
  backdrop-filter: blur(12px);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-normal);
}

.btn-secondary-hero:hover {
  border-color: var(--cream-border-hover);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

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

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

.hero-meta-details .divider-dot {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--cream-border);
}

/* ==========================================================================
   Interactive Studio HUD / Recorder Mockup (High-End Studio Frame)
   ========================================================================== */
.studio-preview-wrapper {
  margin: 50px auto 30px;
  max-width: 1080px;
  position: relative;
  z-index: 2;
}

.mockup-window {
  background: #0e1117;
  border: 1px solid rgba(179, 126, 51, 0.25);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.65), 0 0 45px rgba(179, 126, 51, 0.12);
  position: relative;
  color: #f8f6f1;
}

/* Window Titlebar */
.mockup-titlebar {
  background: #141822;
  border-bottom: 1px solid rgba(245, 239, 230, 0.08);
  padding: 12px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.window-dots {
  display: flex;
  align-items: center;
  gap: 8px;
}

.window-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
}

.dot-close { background: #ff5f56; }
.dot-min { background: #ffbd2e; }
.dot-max { background: #27c93f; }

.mockup-app-title {
  font-size: 12.5px;
  font-weight: 600;
  color: #9da7b5;
  display: flex;
  align-items: center;
  gap: 8px;
}

.badge-tag-stream {
  background: rgba(46, 213, 115, 0.15);
  color: var(--accent-green);
  border: 1px solid rgba(46, 213, 115, 0.3);
  font-size: 10.5px;
  padding: 1px 8px;
  border-radius: var(--radius-full);
  font-weight: 700;
}

.window-status-pills {
  display: flex;
  align-items: center;
  gap: 10px;
}

.status-pill-metric {
  font-size: 11px;
  font-family: var(--font-mono);
  background: rgba(255, 255, 255, 0.06);
  padding: 3px 8px;
  border-radius: var(--radius-sm);
  color: #eadbce;
}

/* Mockup Canvas Screen */
.mockup-canvas-area {
  height: 480px;
  position: relative;
  background: linear-gradient(135deg, #090b0e 0%, #11141c 50%, #0d1017 100%);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.mockup-desktop-bg {
  position: absolute;
  inset: 0;
  background-image: 
    radial-gradient(circle at 50% 40%, rgba(232, 204, 164, 0.08) 0%, transparent 65%),
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 100% 100%, 32px 32px, 32px 32px;
  opacity: 0.8;
}

/* Simulated Content inside canvas */
.canvas-content-layer {
  position: relative;
  z-index: 2;
  text-align: center;
  pointer-events: none;
  max-width: 600px;
  padding: 20px;
}

.canvas-live-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  background: rgba(255, 71, 87, 0.15);
  border: 1px solid rgba(255, 71, 87, 0.35);
  border-radius: var(--radius-full);
  color: #ff6b81;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  margin-bottom: 16px;
  animation: pulseRed 2s infinite ease-in-out;
}

@keyframes pulseRed {
  0%, 100% { box-shadow: 0 0 0 rgba(255, 71, 87, 0); }
  50% { box-shadow: 0 0 20px rgba(255, 71, 87, 0.4); }
}

.canvas-timecode {
  font-family: var(--font-mono);
  font-size: 48px;
  font-weight: 700;
  letter-spacing: 2px;
  color: #fbf9f5;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.6);
  margin-bottom: 10px;
}

.canvas-stream-info {
  font-size: 13.5px;
  color: #9da7b5;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
}

/* Animated Audio Waveform Canvas */
.waveform-container {
  margin-top: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3px;
  height: 38px;
}

.wave-bar {
  width: 4px;
  height: 8px;
  background: linear-gradient(to top, #e8cca4, #ffffff);
  border-radius: 4px;
  transition: height 0.1s ease;
}

/* Toggleable Webcam PIP */
.webcam-pip {
  position: absolute;
  bottom: 24px;
  right: 24px;
  width: 140px;
  height: 140px;
  border-radius: 50%;
  border: 2px solid #e8cca4;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6), 0 0 20px rgba(232, 204, 164, 0.3);
  z-index: 5;
  background: #171b24;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-normal);
}

.webcam-pip.hidden {
  opacity: 0;
  transform: scale(0.6);
  pointer-events: none;
}

.webcam-avatar-sim {
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: linear-gradient(135deg, #1f2736, #2d374d);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  color: #eadbce;
  font-size: 11px;
}

.webcam-live-indicator {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--accent-green);
  box-shadow: 0 0 8px var(--accent-green);
}

/* Floating Control HUD */
.mockup-controls-hud {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(18, 22, 30, 0.88);
  border: 1px solid rgba(232, 204, 164, 0.28);
  border-radius: var(--radius-full);
  padding: 8px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.7), var(--shadow-cream);
  backdrop-filter: blur(24px);
  z-index: 10;
}

.hud-btn {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: #9da7b5;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--transition-fast);
  position: relative;
}

.hud-btn:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
  border-color: #e8cca4;
  transform: translateY(-2px);
}

.hud-btn.active {
  background: rgba(232, 204, 164, 0.2);
  border-color: #e8cca4;
  color: #e8cca4;
}

.hud-btn-record {
  background: var(--accent-red);
  color: #fff;
  border: 2px solid rgba(255, 255, 255, 0.8);
  width: 48px;
  height: 48px;
  box-shadow: 0 0 20px var(--accent-red-glow);
}

.hud-btn-record:hover {
  background: #ff2a3c;
  transform: scale(1.06);
  box-shadow: 0 0 28px rgba(255, 42, 60, 0.6);
}

.hud-btn-record.recording {
  background: #11141b;
  border-color: var(--accent-red);
  color: var(--accent-red);
  animation: pulseRecording 1.5s infinite;
}

@keyframes pulseRecording {
  0%, 100% { box-shadow: 0 0 10px rgba(255, 71, 87, 0.3); }
  50% { box-shadow: 0 0 25px rgba(255, 71, 87, 0.8); }
}

.hud-separator {
  width: 1px;
  height: 24px;
  background: rgba(255, 255, 255, 0.12);
}

.hud-status-text {
  font-size: 12px;
  font-weight: 600;
  color: #eadbce;
  padding: 0 6px;
}

/* ==========================================================================
   Trust & Tech Badges Bar
   ========================================================================== */
.trust-badges-bar {
  padding: 40px 0 60px;
  border-bottom: 1px solid var(--cream-border);
}

.trust-title {
  text-align: center;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  margin-bottom: 24px;
}

.badges-grid {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 36px;
  flex-wrap: wrap;
}

.tech-badge-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14.5px;
  font-weight: 600;
  color: var(--text-secondary);
  opacity: 0.9;
  transition: all var(--transition-fast);
}

.tech-badge-item:hover {
  opacity: 1;
  color: var(--cream-100);
}

.tech-badge-item svg {
  color: var(--cream-gold);
}

/* ==========================================================================
   Feature Bento Grid
   ========================================================================== */
.features-section {
  padding: 100px 0;
  position: relative;
}

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

.section-tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--cream-gold);
  background: rgba(179, 126, 51, 0.1);
  border: 1px solid rgba(179, 126, 51, 0.25);
  padding: 4px 14px;
  border-radius: var(--radius-full);
  margin-bottom: 16px;
}

.section-title {
  font-size: clamp(30px, 4vw, 44px);
  margin-bottom: 18px;
  line-height: 1.15;
}

.section-desc {
  font-size: 17px;
  color: var(--text-secondary);
}

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

.bento-card {
  background: var(--bg-surface);
  border: 1px solid var(--cream-border);
  border-radius: var(--radius-lg);
  padding: 36px;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-normal);
  display: flex;
  flex-direction: column;
}

.bento-card:hover {
  border-color: var(--cream-border-hover);
  transform: translateY(-4px);
  box-shadow: var(--shadow-md), var(--shadow-cream);
}

.bento-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--cream-gold), transparent);
  opacity: 0;
  transition: opacity var(--transition-normal);
}

.bento-card:hover::before {
  opacity: 1;
}

.bento-col-8 { grid-column: span 8; }
.bento-col-4 { grid-column: span 4; }
.bento-col-6 { grid-column: span 6; }
.bento-col-12 { grid-column: span 12; }

.bento-icon-box {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: rgba(179, 126, 51, 0.1);
  border: 1px solid rgba(179, 126, 51, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--cream-gold);
  margin-bottom: 22px;
}

.bento-title {
  font-size: 22px;
  margin-bottom: 12px;
  color: var(--cream-50);
}

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

.bento-visual-stat {
  margin-top: auto;
  background: var(--bg-surface-elevated);
  border: 1px solid var(--cream-border);
  border-radius: var(--radius-md);
  padding: 16px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.stat-metric-large {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 800;
  color: var(--cream-gold);
}

.stat-metric-label {
  font-size: 12px;
  color: var(--text-muted);
}

/* ==========================================================================
   Benchmark & Comparison Section
   ========================================================================== */
.comparison-section {
  padding: 80px 0 100px;
  position: relative;
}

.table-wrapper {
  background: var(--bg-surface);
  border: 1px solid var(--cream-border);
  border-radius: var(--radius-lg);
  overflow-x: auto;
  box-shadow: var(--shadow-md);
}

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

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

.comparison-table th {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 700;
  color: var(--text-secondary);
  background: var(--table-th-bg);
}

.comparison-table th.highlight-col {
  color: var(--cream-gold);
  background: var(--table-highlight-bg);
  border-left: 1px solid var(--cream-border);
  border-right: 1px solid var(--cream-border);
}

.comparison-table td.highlight-col {
  background: var(--table-highlight-bg);
  font-weight: 600;
  color: var(--cream-50);
  border-left: 1px solid var(--cream-border);
  border-right: 1px solid var(--cream-border);
}

.feature-name-cell {
  font-weight: 600;
  color: var(--text-primary);
  font-size: 14.5px;
}

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

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

/* ==========================================================================
   Download Hub (The Setup .exe & Linux Section)
   ========================================================================== */
.downloads-section {
  padding: 100px 0;
  position: relative;
}

.downloads-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  max-width: 1040px;
  margin: 0 auto 50px;
}

.download-card {
  background: var(--bg-surface);
  border: 1px solid var(--cream-border);
  border-radius: var(--radius-xl);
  padding: 40px;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: all var(--transition-normal);
  display: flex;
  flex-direction: column;
}

.download-card:hover {
  border-color: var(--cream-border-hover);
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg), var(--shadow-cream);
}

.download-card.card-featured {
  background: var(--card-featured-bg);
  border-color: rgba(179, 126, 51, 0.3);
}

.download-card.card-featured::after {
  content: 'RECOMMENDED';
  position: absolute;
  top: 24px;
  right: -32px;
  transform: rotate(45deg);
  background: var(--cream-gold);
  color: #0d0f12;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.08em;
  padding: 4px 36px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.download-os-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
}

.os-icon-large {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: var(--bg-surface-elevated);
  border: 1px solid var(--cream-border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-primary);
}

.download-os-title {
  font-size: 24px;
}

.download-os-meta {
  font-size: 13px;
  color: var(--text-muted);
}

.download-spec-list {
  list-style: none;
  margin-bottom: 28px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

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

.download-spec-list li svg {
  color: var(--cream-gold);
  flex-shrink: 0;
}

.download-action-group {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.btn-download-primary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
  background: var(--btn-primary-bg);
  color: var(--btn-primary-text);
  border: 1px solid rgba(179, 126, 51, 0.3);
  border-radius: var(--radius-md);
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  transition: all var(--transition-fast);
  box-shadow: var(--btn-primary-shadow);
}

.btn-download-primary:hover {
  filter: brightness(1.05);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(179, 126, 51, 0.35);
}

.download-secondary-links {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 13px;
  color: var(--text-muted);
  padding-top: 6px;
}

.download-secondary-links a:hover {
  color: var(--cream-gold);
  text-decoration: underline;
}

/* SHA256 Checksum Box */
.checksum-box {
  margin-top: 18px;
  padding: 10px 14px;
  background: var(--bg-surface-elevated);
  border: 1px solid var(--cream-border);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 11.5px;
  color: var(--text-muted);
}

.checksum-hash {
  max-width: 320px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.btn-copy-hash {
  background: none;
  border: none;
  color: var(--cream-gold);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 11px;
  font-weight: 700;
}

.btn-copy-hash:hover {
  text-decoration: underline;
}

/* ==========================================================================
   Developer & Terminal Section
   ========================================================================== */
.dev-section {
  padding: 80px 0;
  position: relative;
}

.terminal-card {
  max-width: 860px;
  margin: 0 auto;
  background: var(--terminal-bg);
  border: 1px solid rgba(179, 126, 51, 0.25);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}

.terminal-header {
  background: var(--terminal-header-bg);
  padding: 12px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(245, 239, 230, 0.08);
}

.terminal-tabs {
  display: flex;
  gap: 12px;
}

.terminal-tab-btn {
  background: none;
  border: none;
  color: #9da7b5;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  padding: 5px 12px;
  border-radius: var(--radius-sm);
  transition: all var(--transition-fast);
}

.terminal-tab-btn.active {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.12);
}

.terminal-body {
  padding: 24px;
  font-family: var(--font-mono);
  font-size: 14px;
  line-height: 1.8;
  color: #9da7b5;
  position: relative;
}

.terminal-snippet {
  display: none;
}

.terminal-snippet.active {
  display: block;
}

.terminal-line {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 6px;
}

.terminal-prompt {
  color: #e8cca4;
  user-select: none;
}

.terminal-cmd {
  color: #fbf9f5;
}

.terminal-comment {
  color: #657082;
  font-style: italic;
}

.btn-copy-terminal {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #f5efe6;
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  font-size: 12px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.btn-copy-terminal:hover {
  background: rgba(255, 255, 255, 0.16);
  border-color: #e8cca4;
}

/* ==========================================================================
   Company Attribution Spotlight (projectsfor.com)
   ========================================================================== */
.attribution-section {
  padding: 80px 0;
  position: relative;
}

.attribution-card {
  max-width: 1040px;
  margin: 0 auto;
  background: var(--attribution-card-bg);
  border: 1px solid rgba(179, 126, 51, 0.35);
  border-radius: var(--radius-xl);
  padding: 50px;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-lg), var(--shadow-cream);
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 40px;
  align-items: center;
}

.attribution-card::before {
  content: '';
  position: absolute;
  top: -100px;
  right: -100px;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(179, 126, 51, 0.15) 0%, transparent 70%);
  pointer-events: none;
}

.company-badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--cream-gold);
  background: rgba(179, 126, 51, 0.12);
  border: 1px solid rgba(179, 126, 51, 0.25);
  padding: 4px 14px;
  border-radius: var(--radius-full);
  margin-bottom: 20px;
}

.attribution-title {
  font-size: clamp(26px, 3vw, 36px);
  margin-bottom: 18px;
  color: var(--attribution-title-color);
}

.attribution-title span {
  color: var(--cream-gold);
}

.attribution-desc {
  font-size: 16px;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 28px;
}

.attribution-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  background: var(--btn-primary-bg);
  color: var(--btn-primary-text);
  font-size: 15px;
  font-weight: 700;
  border-radius: var(--radius-full);
  transition: all var(--transition-fast);
  box-shadow: var(--btn-primary-shadow);
}

.attribution-cta-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(179, 126, 51, 0.35);
}

.attribution-stats-box {
  background: var(--bg-surface);
  border: 1px solid var(--cream-border);
  border-radius: var(--radius-lg);
  padding: 30px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  box-shadow: var(--shadow-sm);
}

.stat-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--cream-border);
  padding-bottom: 14px;
}

.stat-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.stat-item-label {
  font-size: 14px;
  color: var(--text-secondary);
}

.stat-item-val {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  color: var(--cream-50);
}

/* ==========================================================================
   FAQ Section Accordion
   ========================================================================== */
.faq-section {
  padding: 80px 0 100px;
}

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

.faq-item {
  background: var(--bg-surface);
  border: 1px solid var(--cream-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-normal);
}

.faq-item.active {
  border-color: var(--cream-border-hover);
  background: var(--bg-surface-elevated);
}

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

.faq-question-btn:hover {
  color: var(--cream-gold);
}

.faq-icon-chevron {
  transition: transform var(--transition-normal);
  color: var(--cream-gold);
  flex-shrink: 0;
}

.faq-item.active .faq-icon-chevron {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s cubic-bezier(0.16, 1, 0.3, 1), padding 0.35s ease;
  padding: 0 26px;
  color: var(--text-secondary);
  font-size: 15px;
  line-height: 1.7;
}

.faq-item.active .faq-answer {
  max-height: 400px;
  padding-bottom: 24px;
}

/* ==========================================================================
   Toast Notification
   ========================================================================== */
.toast-notice {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background: #181d26;
  border: 1px solid var(--cream-gold);
  color: #fbf9f5;
  padding: 12px 20px;
  border-radius: var(--radius-md);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5), 0 0 20px rgba(179, 126, 51, 0.25);
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 13.5px;
  font-weight: 600;
  z-index: 1000;
  opacity: 0;
  transform: translateY(20px);
  pointer-events: none;
  transition: all var(--transition-normal);
}

.toast-notice.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ==========================================================================
   Site Footer
   ========================================================================== */
.site-footer {
  background: var(--footer-bg);
  border-top: 1px solid var(--footer-border);
  padding: 80px 0 40px;
  position: relative;
  transition: background var(--transition-normal);
}

.footer-top-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.2fr;
  gap: 40px;
  margin-bottom: 60px;
}

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

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

.footer-col-title {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--cream-50);
  margin-bottom: 18px;
}

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

.footer-links-list a {
  font-size: 14px;
  color: var(--text-secondary);
}

.footer-links-list a:hover {
  color: var(--cream-gold);
}

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

.footer-bottom-bar strong {
  color: var(--cream-gold);
}

/* ==========================================================================
   Responsive Adaptations
   ========================================================================== */
@media (max-width: 1024px) {
  .bento-col-8, .bento-col-4, .bento-col-6 {
    grid-column: span 12;
  }
  .attribution-card {
    grid-template-columns: 1fr;
    padding: 36px;
  }
  .footer-top-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .nav-links, .btn-github {
    display: none;
  }
  .mobile-toggle {
    display: block;
  }
  .downloads-grid {
    grid-template-columns: 1fr;
  }
  .mockup-canvas-area {
    height: 360px;
  }
  .canvas-timecode {
    font-size: 34px;
  }
  .webcam-pip {
    width: 90px;
    height: 90px;
    bottom: 16px;
    right: 16px;
  }
  .mockup-controls-hud {
    padding: 6px 12px;
    gap: 8px;
  }
  .footer-top-grid {
    grid-template-columns: 1fr;
  }
}
