/* 
 * The Big Red Button - Landing Page Styles
 * Design read: macOS Utility Landing Page with a warm modern cyan aesthetic,
 * leaning toward light-mode paper base + vibrant cyan/teal accents + Cormorant Garamond/Geist + dynamic glassmorphism and pixel-perfect video aspect fitting.
 */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,400;0,500;0,600;0,700;1,400;1,500;1,600&family=Geist:wght@300;400;500;600;700&family=Outfit:wght@400;500;600;700;800&display=swap');

:root {
  /* Clean Warm Modern Cyan Color Tokens */
  --bg-base: #f5f1ea; /* Soft warm paper base background (matching the screenshot's warm clay/sand) */
  --bg-card: #ffffff; /* Pure white card backgrounds */
  --bg-card-hover: #faf9f6;
  --fg-primary: #111b1e; /* Rich dark slate/charcoal, high-end near-black */
  --fg-secondary: #475558;
  --fg-muted: #809295;
  
  /* Accent Colors (Modern cyan and mint-teal) */
  --accent-cyan: #007d9f; /* Deep modern cyan, passes contrast checks */
  --accent-cyan-rgb: 0, 125, 159;
  --accent-teal: #00937c; /* Fresh mint-teal */
  --accent-teal-rgb: 0, 147, 124;
  --accent-red: #ff3b30; /* Native macOS close traffic light red */
  --accent-orange: #ff9f0a; /* Native macOS minimize traffic light orange */
  
  --accent-gradient: linear-gradient(135deg, var(--accent-cyan) 0%, var(--accent-teal) 100%);
  
  /* Glassmorphism Refraction Variables */
  --glass-bg: rgba(255, 255, 255, 0.7);
  --glass-border: rgba(17, 27, 30, 0.08);
  --glass-border-glow: rgba(0, 125, 159, 0.25);
  
  --font-display: 'Cormorant Garamond', serif;
  --font-heading: 'Outfit', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-body: 'Geist', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-mono: 'Geist Mono', 'Fira Code', Consolas, Monaco, monospace;

  --transition-smooth: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-fast: all 0.15s cubic-bezier(0.16, 1, 0.3, 1);
  
  --border-radius-card: 8px; /* Clean, sharper, modern corners like in the screenshot */
  --border-radius-pill: 9999px;
  --border-radius-button: 4px; /* Sharper buttons to match high-end editorial layouts */
}

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

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

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

/* Ambient Radial Backglows */
.glow-bg {
  position: absolute;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(140px);
  z-index: -1;
  opacity: 0.25;
}

.glow-primary {
  top: -100px;
  left: 5%;
  background: radial-gradient(circle, rgba(var(--accent-cyan-rgb), 0.08) 0%, transparent 70%);
}

.glow-secondary {
  top: 600px;
  right: 5%;
  background: radial-gradient(circle, rgba(var(--accent-teal-rgb), 0.06) 0%, transparent 70%);
}

/* Typography */
h1, h2, h3, h4 {
  font-family: var(--font-heading);
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--fg-primary);
}

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

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

/* Scrollbar styling */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: var(--bg-base);
}
::-webkit-scrollbar-thumb {
  background: #dcd7ce;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--accent-cyan);
}

/* Container */
.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 40px;
}

/* Glassmorphism Panels */
.glass {
  background: var(--glass-bg);
  backdrop-filter: blur(20px) saturate(120%);
  -webkit-backdrop-filter: blur(20px) saturate(120%);
  border: 1px solid var(--glass-border);
  border-radius: var(--border-radius-card);
}

.glass-hover:hover {
  border-color: var(--glass-border-glow);
  box-shadow: 0 8px 32px rgba(var(--accent-cyan-rgb), 0.02);
  transform: translateY(-2px);
}

/* 1. Navigation Bar (Screenshot Style) */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 64px;
  z-index: 100;
  background: var(--bg-base);
  border-bottom: 1px solid rgba(17, 27, 30, 0.08);
  transition: var(--transition-smooth);
}

.navbar.scrolled {
  background: rgba(245, 241, 234, 0.9);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(17, 27, 30, 0.12);
}

.navbar-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 100%;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.15rem;
  letter-spacing: -0.01em;
  text-transform: uppercase;
}

.logo-dot {
  width: 12px;
  height: 12px;
  background-color: var(--accent-red);
  border-radius: 50%;
  position: relative;
  box-shadow: 0 0 6px rgba(255, 59, 48, 0.3);
}

.logo-dot::before {
  content: 'x';
  font-size: 8px;
  font-weight: 800;
  color: #4a0004;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -60%);
  line-height: 1;
  opacity: 0.7;
}

.logo-dot::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 18px;
  height: 18px;
  border: 1px solid rgba(255, 59, 48, 0.25);
  border-radius: 50%;
  animation: pulseLogo 2.5s infinite;
}

@keyframes pulseLogo {
  0% { transform: translate(-50%, -50%) scale(0.8); opacity: 0.8; }
  100% { transform: translate(-50%, -50%) scale(1.7); opacity: 0; }
}

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

.nav-link {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--fg-secondary);
}

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

.nav-cta {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-cyan);
  border-bottom: 2px solid var(--accent-cyan);
  padding: 2px 0;
  transition: var(--transition-fast);
}

.nav-cta:hover {
  color: var(--fg-primary);
  border-color: var(--fg-primary);
  transform: translateY(-1px);
}

.nav-cta:active {
  transform: translateY(0);
}

/* 2. Hero Section (Screenshot Grid Alignment) */
.hero {
  padding-top: 120px;
  padding-bottom: 80px;
  position: relative;
}

.hero-container {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.hero-header-line {
  display: flex;
  align-items: center;
  gap: 16px;
  border-bottom: 1px solid rgba(17, 27, 30, 0.08);
  padding-bottom: 20px;
  margin-bottom: -10px;
}

.hero-header-line::before {
  content: '';
  width: 48px;
  height: 1px;
  background-color: var(--accent-cyan);
}

.hero-eyebrow-text {
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--accent-cyan);
}

.hero h1 {
  font-family: var(--font-display);
  font-size: 4.8rem;
  line-height: 1.05;
  font-weight: 500;
  letter-spacing: -0.02em;
  margin-top: 10px;
  margin-bottom: 20px;
}

.accent-italic {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 400;
  color: var(--accent-cyan);
}

/* Meta Grid (Left subtext with border, right actions) */
.hero-meta-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 48px;
  border-top: 1px solid rgba(17, 27, 30, 0.08);
  padding-top: 32px;
}

.hero-meta-left {
  border-left: 2px solid var(--accent-cyan);
  padding-left: 24px;
}

.hero-subtitle {
  font-size: 1.15rem;
  line-height: 1.6;
  color: var(--fg-secondary);
}

.hero-meta-right {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.hero-actions {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.btn-group {
  display: flex;
  gap: 16px;
  width: 100%;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 24px;
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  border-radius: var(--border-radius-button);
  transition: var(--transition-smooth);
  cursor: pointer;
}

.btn-primary {
  background: var(--fg-primary);
  color: var(--bg-base);
  border: 1px solid var(--fg-primary);
}

.btn-primary:hover {
  background: var(--accent-cyan);
  border-color: var(--accent-cyan);
  color: #ffffff;
  transform: translateY(-2px);
}

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

.btn-secondary {
  background: transparent;
  color: var(--fg-primary);
  border: 1px solid rgba(17, 27, 30, 0.2);
}

.btn-secondary:hover {
  background: rgba(20, 33, 36, 0.04);
  border-color: var(--fg-primary);
  transform: translateY(-2px);
}

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

/* Console Install Block */
.console-block {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #1c2729;
  border: 1px solid rgba(255, 255, 255, 0.04);
  border-radius: var(--border-radius-button);
  padding: 10px 16px;
  max-width: 420px;
  width: 100%;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  box-shadow: 0 4px 12px rgba(20, 33, 36, 0.06);
  transition: var(--transition-smooth);
}

.console-block:hover {
  border-color: rgba(var(--accent-cyan-rgb), 0.35);
}

.console-text {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #e6f3f5;
}

.console-prompt {
  color: var(--accent-teal);
  user-select: none;
}

.console-copy-btn {
  background: transparent;
  border: none;
  color: #809295;
  cursor: pointer;
  padding: 6px;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-fast);
}

.console-copy-btn:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.08);
}

.console-copy-btn.copied {
  color: #00bda5;
}

/* 3. Hero Visual Asset (Mockup window with aspect ratio 16:9 Fitted) */
.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 24px;
  border-top: 1px solid rgba(17, 27, 30, 0.08);
  padding-top: 48px;
}

.mac-mockup-window {
  width: 100%;
  max-width: 800px;
  background: #ffffff;
  border: 1px solid rgba(20, 33, 36, 0.1);
  border-radius: 8px;
  box-shadow: 0 32px 80px rgba(20, 33, 36, 0.06), 0 2px 6px rgba(0, 0, 0, 0.01);
  overflow: hidden;
  transition: var(--transition-smooth);
}

.mac-mockup-window:hover {
  transform: translateY(-4px);
  box-shadow: 0 40px 96px rgba(20, 33, 36, 0.1);
}

.mac-mockup-titlebar {
  height: 36px;
  background: #efede9;
  border-bottom: 1px solid rgba(20, 33, 36, 0.06);
  display: flex;
  align-items: center;
  padding: 0 16px;
  position: relative;
}

.mac-mockup-lights {
  display: flex;
  gap: 8px;
  position: absolute;
  left: 16px;
}

.mac-mockup-light {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  display: block;
}

.mac-mockup-close { background-color: var(--accent-red); }
.mac-mockup-minimize { background-color: var(--accent-orange); }
.mac-mockup-zoom { background-color: #30d158; }

.mac-mockup-title {
  width: 100%;
  text-align: center;
  font-size: 0.75rem;
  color: var(--fg-secondary);
  font-weight: 500;
  font-family: var(--font-mono);
  letter-spacing: 0.02em;
}

.mac-mockup-content {
  position: relative;
  width: 100%;
  aspect-ratio: 16/9; /* Match 16:9 aspect ratio of the video precisely */
  background: #000000;
  overflow: hidden;
}

.hero-demo-video {
  width: 100%;
  height: 100%;
  object-fit: contain; /* Exact fit without cropping */
  display: block;
  cursor: pointer; /* Cue to fullscreen click */
  transition: var(--transition-smooth);
}

.hero-demo-video:hover {
  filter: brightness(1.05);
}

/* 4. Interactive Simulator Section */
.simulator-section {
  padding: 96px 0;
  text-align: center;
  border-top: 1px solid rgba(17, 27, 30, 0.08);
}

.simulator-header {
  margin-bottom: 48px;
}

.simulator-header h2 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 2.75rem;
  margin-bottom: 12px;
}

.simulator-header p {
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto;
}

/* Simulator Box Layout */
.simulator-container {
  max-width: 860px;
  margin: 0 auto;
  overflow: hidden;
  box-shadow: 0 24px 64px rgba(20, 33, 36, 0.06);
}

/* Simulated Controls Panel */
.sim-controls-panel {
  background: rgba(255, 255, 255, 0.85);
  border-bottom: 1px solid var(--glass-border);
  padding: 14px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.sim-toggle-wrapper {
  display: flex;
  align-items: center;
  gap: 12px;
}

.sim-toggle-label {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--fg-secondary);
}

/* Switch Toggle Slider */
.switch {
  position: relative;
  display: inline-block;
  width: 44px;
  height: 24px;
}

.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #e3ded8;
  transition: .3s;
  border-radius: 24px;
  border: 1px solid var(--glass-border);
}

.slider:before {
  position: absolute;
  content: "";
  height: 16px;
  width: 16px;
  left: 3px;
  bottom: 3px;
  background-color: #ffffff;
  transition: .3s;
  border-radius: 50%;
}

input:checked + .slider {
  background: var(--accent-gradient);
}

input:checked + .slider:before {
  transform: translateX(20px);
}

.btn-reset {
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid var(--glass-border);
  padding: 6px 14px;
  border-radius: 6px;
  color: var(--fg-primary);
  font-size: 0.85rem;
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition-fast);
  display: flex;
  align-items: center;
  gap: 8px;
}

.btn-reset:hover {
  background: #ffffff;
  border-color: rgba(20, 33, 36, 0.15);
}

/* Simulated macOS Desktop Wallpaper (Warm theme gradient) */
.sim-desktop {
  background: linear-gradient(135deg, #f2eae0 0%, #e0d4bc 100%);
  height: 480px;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

/* Simulated Menubar */
.sim-menubar {
  height: 26px;
  background: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(20, 33, 36, 0.05);
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 16px;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--fg-primary);
  user-select: none;
  z-index: 50;
}

.sim-menubar-left {
  display: flex;
  gap: 16px;
  align-items: center;
}

.sim-apple-icon {
  font-size: 0.95rem;
  cursor: pointer;
}

.sim-menubar-right {
  display: flex;
  align-items: center;
  gap: 14px;
}

.sim-status-icon {
  width: 18px;
  height: 18px;
  border-radius: 4px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.2s;
}

.sim-status-icon:hover {
  background-color: rgba(20, 33, 36, 0.06);
}

.status-indicator-dot {
  width: 8px;
  height: 8px;
  background-color: var(--accent-red);
  border-radius: 50%;
  box-shadow: 0 0 6px rgba(255, 59, 48, 0.5);
  transition: var(--transition-fast);
}

.sim-status-icon.paused .status-indicator-dot {
  background-color: var(--fg-muted);
  box-shadow: none;
}

/* Simulated Dropdown Menu */
.sim-dropdown {
  position: absolute;
  top: 30px;
  right: 12px;
  width: 230px;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid var(--glass-border);
  border-radius: 8px;
  box-shadow: 0 12px 32px rgba(20, 33, 36, 0.06);
  padding: 5px;
  display: none;
  flex-direction: column;
  gap: 2px;
  z-index: 90;
  text-align: left;
  font-size: 0.8rem;
}

.sim-dropdown.active {
  display: flex;
  animation: dropdownFadeIn 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.sim-dropdown-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 6px 10px;
  border-radius: 4px;
  color: var(--fg-primary);
  cursor: pointer;
  transition: var(--transition-fast);
}

.sim-dropdown-item:hover {
  background: var(--accent-gradient);
  color: #ffffff;
}

.sim-dropdown-item.checked::after {
  content: '✓';
  font-weight: bold;
}

.sim-dropdown-divider {
  height: 1px;
  background: rgba(20, 33, 36, 0.05);
  margin: 3px 0;
}

.sim-dropdown-item.warning {
  color: var(--accent-red);
  font-weight: 500;
}

.sim-dropdown-item.warning:hover {
  background: rgba(255, 59, 48, 0.08);
  color: var(--accent-red);
}

/* Simulated Window Area */
.sim-window-area {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 20px;
  position: relative;
}

.sim-window {
  width: 400px;
  height: 240px;
  background: #ffffff;
  border: 1px solid rgba(20, 33, 36, 0.08);
  border-radius: 12px;
  box-shadow: 0 20px 48px rgba(20, 33, 36, 0.08);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1.2), opacity 0.3s ease;
  transform: scale(1);
  opacity: 1;
}

.sim-window.closed {
  transform: scale(0.7) translateY(32px);
  opacity: 0;
  pointer-events: none;
}

.sim-titlebar {
  height: 34px;
  background: #efede9;
  border-bottom: 1px solid rgba(20, 33, 36, 0.05);
  display: flex;
  align-items: center;
  padding: 0 16px;
  position: relative;
}

.sim-traffic-lights {
  display: flex;
  gap: 8px;
  position: absolute;
  left: 16px;
}

.sim-light {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  position: relative;
  font-size: 6px;
  font-weight: 800;
  color: rgba(0, 0, 0, 0.5);
  user-select: none;
}

.sim-light::before {
  content: '';
  opacity: 0;
  transition: opacity 0.1s;
}

.sim-traffic-lights:hover .sim-light::before {
  opacity: 1;
}

.sim-light-close {
  background-color: var(--accent-red);
}
.sim-light-close::before {
  content: 'x';
  margin-top: -2px;
}

.sim-light-minimize {
  background-color: var(--accent-orange);
}
.sim-light-minimize::before {
  content: '-';
}

.sim-light-zoom {
  background-color: #30d158;
}
.sim-light-zoom::before {
  content: '+';
}

.sim-window-title {
  width: 100%;
  text-align: center;
  font-size: 0.8rem;
  color: var(--fg-secondary);
  font-weight: 500;
}

.sim-window-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 20px;
  text-align: center;
  background: radial-gradient(circle at center, #ffffff 0%, #faf8f5 100%);
  cursor: pointer;
  user-select: none;
}

.sim-app-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: linear-gradient(135deg, #1db954 0%, #121212 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(29, 185, 84, 0.15);
  margin-bottom: 10px;
}

.sim-app-icon svg {
  width: 22px;
  height: 22px;
  fill: #fff;
}

.sim-window-content h4 {
  font-size: 1rem;
  margin-bottom: 2px;
  font-weight: 600;
}

.sim-window-content p {
  font-size: 0.8rem;
  color: var(--fg-secondary);
}

/* Audio Visualizer styling */
.waveform-container {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 3px;
  height: 36px;
  margin: 10px 0;
  width: 100%;
}

.waveform-container .bar {
  width: 3px;
  height: 4px;
  background-color: var(--accent-cyan);
  border-radius: 1.5px;
  transition: height 0.15s ease;
}

.waveform-container.playing .bar {
  animation: bounce 1s ease-in-out infinite alternate;
}

/* Waveform organic stagger delay */
.waveform-container.playing .bar:nth-child(2n) { animation-delay: 0.2s; }
.waveform-container.playing .bar:nth-child(3n) { animation-delay: 0.4s; }
.waveform-container.playing .bar:nth-child(4n) { animation-delay: 0.1s; }
.waveform-container.playing .bar:nth-child(5n) { animation-delay: 0.6s; }

@keyframes bounce {
  0% { height: 4px; }
  100% { height: 32px; }
}

.sim-prompt {
  margin-top: 8px;
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--accent-cyan);
  min-height: 1.2em;
}

/* Simulated OS Activity Dock */
.sim-dock {
  height: 48px;
  background: rgba(255, 255, 255, 0.4);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid var(--glass-border);
  border-radius: 12px;
  margin: 0 auto 12px;
  width: max-content;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 12px;
  z-index: 10;
}

.sim-dock-item {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: rgba(20, 33, 36, 0.04);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: pointer;
}

.sim-dock-item:hover {
  transform: scale(1.15) translateY(-4px);
}

.sim-dock-item.active::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 50%;
  transform: translateX(-50%);
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background-color: var(--fg-primary);
}

.sim-dock-spotify {
  background: #1db954;
}

.sim-dock-spotify svg {
  width: 18px;
  height: 18px;
  fill: white;
}

/* Simulated Process Monitor Panel */
.sim-process-bar {
  background: rgba(255, 255, 255, 0.85);
  border-top: 1px solid var(--glass-border);
  padding: 10px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.75rem;
  z-index: 10;
  font-family: var(--font-mono);
}

.sim-process-info {
  display: flex;
  align-items: center;
  gap: 8px;
}

.sim-process-badge {
  padding: 2px 8px;
  border-radius: 4px;
  font-weight: 600;
  font-size: 0.7rem;
}

.sim-process-badge.running {
  background: rgba(48, 209, 88, 0.1);
  color: #30d158;
  border: 1px solid rgba(48, 209, 88, 0.25);
}

.sim-process-badge.terminated {
  background: rgba(255, 59, 48, 0.1);
  color: var(--accent-red);
  border: 1px solid rgba(255, 59, 48, 0.25);
}

.sim-process-badge.bg-idle {
  background: rgba(255, 159, 10, 0.15);
  color: #e65100;
  border: 1px solid rgba(255, 159, 10, 0.25);
  animation: glowPulse 1.5s infinite alternate;
}

@keyframes glowPulse {
  0% { box-shadow: 0 0 2px rgba(255, 159, 10, 0.1); }
  100% { box-shadow: 0 0 8px rgba(255, 159, 10, 0.25); }
}

.sim-process-explain {
  color: var(--fg-secondary);
}

/* Accessibility Settings Sandbox Mock Modal */
.settings-sandbox-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(20, 33, 36, 0.2);
  backdrop-filter: blur(8px);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 99;
}

.settings-sandbox-overlay.active {
  display: flex;
}

.sandbox-modal {
  width: 400px;
  background: #ffffff;
  border: 1px solid rgba(20, 33, 36, 0.08);
  border-radius: 8px;
  box-shadow: 0 24px 64px rgba(20, 33, 36, 0.06);
  padding: 20px;
  text-align: left;
  animation: modalSlideUp 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.sandbox-modal-title {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 12px;
  border-bottom: 1px solid rgba(20, 33, 36, 0.06);
  padding-bottom: 10px;
}

.sandbox-modal-close {
  cursor: pointer;
  color: var(--fg-secondary);
  font-size: 1.2rem;
  line-height: 1;
}

.sandbox-modal-close:hover {
  color: var(--fg-primary);
}

.sandbox-modal-desc {
  font-size: 0.8rem;
  color: var(--fg-secondary);
  margin-bottom: 16px;
}

.sandbox-settings-panel {
  background: #faf8f5;
  border: 1px solid rgba(20, 33, 36, 0.05);
  border-radius: 6px;
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.sandbox-setting-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 6px 8px;
  border-radius: 6px;
  transition: background-color 0.3s;
}

.sandbox-setting-app {
  display: flex;
  align-items: center;
  gap: 10px;
}

.app-icon-terminal::before {
  content: '💻';
  font-size: 0.95rem;
}

.logo-dot-static {
  width: 10px;
  height: 10px;
  background-color: var(--accent-red);
  border-radius: 50%;
  box-shadow: 0 0 4px rgba(255, 59, 48, 0.3);
}

.sandbox-setting-row span {
  font-size: 0.85rem;
  font-weight: 500;
}

/* 5. Features Section (Asymmetric Bento Grid) */
.features-section {
  padding: 96px 0;
  background: linear-gradient(180deg, var(--bg-base) 0%, rgba(245, 241, 234, 0.6) 100%);
  position: relative;
  border-top: 1px solid rgba(17, 27, 30, 0.08);
}

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

.section-header h2 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 2.75rem;
  margin-bottom: 16px;
}

.section-header p {
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto;
}

/* Bento Grid */
.bento-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 24px;
}

.bento-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: space-between;
  padding: 32px;
  text-align: left;
  border-radius: var(--border-radius-card);
  transition: var(--transition-smooth);
}

/* Bento Sizing & Background Diversity (Clean Light Gradient Accents) */
.bento-hero {
  grid-column: span 3;
  /* Visual variety: Soft Cyan gradient tint */
  background: linear-gradient(135deg, rgba(0, 125, 159, 0.03) 0%, #ffffff 100%);
  border-color: rgba(0, 125, 159, 0.15);
}

.bento-featured {
  grid-column: span 3;
  /* Visual variety: Soft Teal gradient tint */
  background: linear-gradient(135deg, rgba(0, 147, 124, 0.02) 0%, #ffffff 100%);
  border-color: rgba(0, 147, 124, 0.12);
}

.bento-card:not(.bento-hero):not(.bento-featured) {
  grid-column: span 2;
  background: #ffffff;
}

.bento-github {
  /* Visual variety: Muted gray/sand grid tint */
  background: linear-gradient(135deg, rgba(146, 142, 143, 0.02) 0%, #ffffff 100%);
}

.card-icon-wrapper {
  margin-bottom: 24px;
}

.card-icon {
  width: 44px;
  height: 44px;
  border-radius: 6px;
  background: rgba(0, 125, 159, 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-cyan);
  border: 1px solid rgba(0, 125, 159, 0.12);
}

.card-content h3 {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  margin-bottom: 12px;
  font-weight: 600;
  color: var(--fg-primary);
}

.card-content p {
  font-size: 0.9rem;
  line-height: 1.5;
  color: var(--fg-secondary);
}

/* 6. Installation Section */
.install-section {
  padding: 96px 0;
  border-top: 1px solid rgba(17, 27, 30, 0.08);
}

.install-container {
  max-width: 760px;
  margin: 0 auto;
}

/* Custom Setup Tabs */
.tabs-header {
  display: flex;
  border-bottom: 1px solid var(--glass-border);
  margin-bottom: 32px;
  gap: 8px;
}

.tab-btn {
  background: transparent;
  border: none;
  color: var(--fg-secondary);
  font-family: var(--font-heading);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 600;
  padding: 12px 16px;
  cursor: pointer;
  position: relative;
  transition: var(--transition-fast);
}

.tab-btn:hover {
  color: var(--fg-primary);
}

.tab-btn.active {
  color: var(--accent-cyan);
}

.tab-btn.active::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--accent-gradient);
}

.tab-content {
  display: none;
}

.tab-content.active {
  display: block;
  animation: fadeIn 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.step-card {
  padding: 24px;
  margin-bottom: 24px;
  background: var(--bg-card);
  border: 1px solid var(--glass-border);
  border-radius: var(--border-radius-card);
  box-shadow: 0 4px 20px rgba(20, 33, 36, 0.01);
}

.step-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}

.step-num {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--accent-gradient);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: 600;
}

.step-title {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 600;
}

.step-desc {
  font-size: 0.9rem;
  color: var(--fg-secondary);
  margin-bottom: 16px;
}

.step-list {
  margin-left: 20px;
  color: var(--fg-secondary);
  font-size: 0.9rem;
  line-height: 1.8;
}

/* Pre / Code Formatting */
pre {
  background: #142124;
  padding: 16px;
  border-radius: 6px;
  overflow-x: auto;
  border: 1px solid rgba(255,255,255,0.04);
  font-family: var(--font-mono);
  font-size: 0.85rem;
  margin-top: 10px;
}

pre code {
  color: #e0f2f5;
}

.code-title {
  font-size: 0.75rem;
  color: var(--fg-muted);
  font-family: var(--font-mono);
  margin-bottom: 6px;
  display: block;
}

.method-tip {
  margin-top: 16px;
  padding: 14px 18px;
  border-radius: 6px;
  background: rgba(255, 159, 10, 0.05);
  border-left: 3px solid #ff9f0a;
  font-size: 0.85rem;
  color: var(--fg-secondary);
  line-height: 1.6;
}

.method-tip strong {
  color: var(--fg-primary);
}

.warning-text {
  color: #e65100;
}

/* 7. FAQ Accordion Section */
.faq-section {
  padding: 96px 0;
  background: linear-gradient(180deg, rgba(245, 241, 234, 0.6) 0%, var(--bg-base) 100%);
  border-top: 1px solid rgba(17, 27, 30, 0.08);
}

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

.faq-item {
  border: 1px solid var(--glass-border);
  border-radius: 8px;
  background: var(--glass-bg);
  overflow: hidden;
  transition: var(--transition-smooth);
}

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

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  padding: 0 24px;
  color: var(--fg-secondary);
  font-size: 0.9rem;
  line-height: 1.6;
}

.faq-item.active {
  border-color: rgba(0, 125, 159, 0.2);
  background: rgba(0, 125, 159, 0.01);
}

.faq-item.active .faq-answer {
  max-height: 200px;
  padding-bottom: 20px;
}

.faq-icon {
  width: 16px;
  height: 16px;
  position: relative;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.faq-icon::before, .faq-icon::after {
  content: '';
  position: absolute;
  background-color: var(--fg-secondary);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Horizontal line */
.faq-icon::before {
  top: 7px;
  left: 0;
  width: 16px;
  height: 2px;
}

/* Vertical line */
.faq-icon::after {
  top: 0;
  left: 7px;
  width: 2px;
  height: 16px;
}

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

/* 8. Footer */
.footer {
  padding: 80px 0 40px;
  border-top: 1px solid rgba(17, 27, 30, 0.08);
}

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

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

.footer-link {
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--fg-secondary);
}

.footer-link:hover {
  color: var(--fg-primary);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  border-top: 1px solid rgba(20, 33, 36, 0.05);
  padding-top: 24px;
  font-size: 0.85rem;
  color: var(--fg-muted);
}

/* Responsive Layout Adjustments */
@media (max-width: 1024px) {
  .hero-meta-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  
  .hero h1 {
    font-size: 3.8rem;
  }
  
  .hero-actions {
    align-items: center;
    width: 100%;
  }
  
  .btn-group {
    justify-content: center;
  }
  
  .console-block {
    margin: 0 auto;
  }
  
  .bento-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .bento-hero, .bento-featured {
    grid-column: span 2;
  }
  
  .bento-card:not(.bento-hero):not(.bento-featured) {
    grid-column: span 1;
  }
}

@media (max-width: 768px) {
  .container {
    padding: 0 24px;
  }
  
  .navbar-container {
    justify-content: center;
  }
  
  .nav-links {
    display: none;
  }
  
  .nav-cta {
    display: none;
  }
  
  .hero {
    padding-top: 100px;
    padding-bottom: 64px;
  }
  
  .hero h1 {
    font-size: 3rem;
  }
  
  .bento-grid {
    grid-template-columns: 1fr;
  }
  
  .bento-hero, .bento-featured, .bento-card:not(.bento-hero):not(.bento-featured) {
    grid-column: span 1;
  }
  
  .footer-content {
    flex-direction: column;
    text-align: center;
  }
  
  .footer-links {
    justify-content: center;
  }
  
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}
