/* ==========================================================================
   PixelTimer Landing Page Stylesheet
   Modern Retro-Pixel Aesthetic | Dark Mode First
   ========================================================================== */

/* --------------------------------------------------------------------------
   Font Faces & Variables
   -------------------------------------------------------------------------- */
@font-face {
  font-family: 'Pixelify Sans';
  src: url('assets/fonts/pixelify_sans.ttf') format('truetype');
  font-weight: 400 700;
  font-display: swap;
}

@font-face {
  font-family: 'VT323';
  src: url('assets/fonts/vt323_regular.ttf') format('truetype');
  font-weight: 400;
  font-display: swap;
}

:root {
  /* Color Palette matching Android App Theme */
  --bg-navy: #050c14;
  --bg-panel: #07111a;
  --bg-panel-elevated: #0d1d29;
  --bg-card: rgba(10, 21, 29, 0.75);
  --bg-card-hover: rgba(16, 33, 44, 0.9);
  
  --border-subtle: #13202a;
  --border-pixel: #1e3a2f;
  --border-active: #8cd674;
  --border-glow: rgba(140, 214, 116, 0.4);

  --accent-mint: #8cd674;
  --accent-green: #537359;
  --accent-green-face: #1a3b2e;
  --accent-dim-green: #243d35;
  --accent-gold: #f4c062;
  --accent-purple: #7d65ab;
  --accent-coral: #e06c75;

  --text-cream: #f4ece1;
  --text-muted: #aaa8a2;
  --text-dim: #707d76;
  --text-dark: #050c14;

  /* Typography */
  --font-pixel: 'Pixelify Sans', system-ui, sans-serif;
  --font-digit: 'VT323', monospace;
  --font-body: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;

  /* Shadows & Elevations */
  --shadow-pixel: 0 4px 0 #0d1e16;
  --shadow-pixel-hover: 0 6px 0 #091710;
  --shadow-pixel-pressed: 0 1px 0 #0d1e16;
  --glow-mint-sm: 0 0 15px rgba(140, 214, 116, 0.25);
  --glow-mint-lg: 0 0 35px rgba(140, 214, 116, 0.35);

  /* Layout */
  --container-max: 1200px;
  --nav-height: 72px;
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 16px;
  --radius-xl: 24px;
}

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

html {
  scroll-behavior: smooth;
  color-scheme: dark;
  background-color: var(--bg-navy);
}

body {
  font-family: var(--font-body);
  color: var(--text-cream);
  background: var(--bg-navy);
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
  -webkit-font-smoothing: antialiased;
}

/* Pixel Background Grid Pattern */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image: 
    linear-gradient(to right, rgba(19, 32, 42, 0.3) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(19, 32, 42, 0.3) 1px, transparent 1px);
  background-size: 32px 32px;
  pointer-events: none;
  z-index: -2;
}

/* Subtle Vignette & Ambient Glow */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  background: radial-gradient(circle at 50% 10%, rgba(30, 60, 48, 0.35) 0%, transparent 60%),
              radial-gradient(circle at 80% 80%, rgba(13, 29, 41, 0.6) 0%, transparent 70%);
  pointer-events: none;
  z-index: -1;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

/* Scrollbar Customization */
::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: var(--bg-navy);
}

::-webkit-scrollbar-thumb {
  background: var(--accent-green-face);
  border: 2px solid var(--bg-navy);
}

::-webkit-scrollbar-thumb:hover {
  background: var(--accent-mint);
}

/* --------------------------------------------------------------------------
   Typography Utility Classes
   -------------------------------------------------------------------------- */
.pixel-font {
  font-family: var(--font-pixel);
  letter-spacing: 0.5px;
}

.digit-font {
  font-family: var(--font-digit);
  letter-spacing: 1px;
}

.text-mint {
  color: var(--accent-mint);
}

.text-gold {
  color: var(--accent-gold);
}

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

.container {
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: 24px;
}

/* --------------------------------------------------------------------------
   Pixel Button Component
   -------------------------------------------------------------------------- */
.pixel-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-pixel);
  font-size: 1rem;
  font-weight: 700;
  text-transform: uppercase;
  padding: 12px 24px;
  background: var(--accent-green-face);
  color: var(--text-cream);
  border: 2px solid var(--accent-mint);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-pixel);
  transition: all 0.15s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  user-select: none;
}

.pixel-btn:hover {
  background: #235240;
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: var(--shadow-pixel-hover), var(--glow-mint-sm);
}

.pixel-btn:active {
  transform: translateY(2px);
  box-shadow: var(--shadow-pixel-pressed);
}

.pixel-btn-primary {
  background: var(--accent-mint);
  color: var(--text-dark);
  border-color: #a4e690;
  box-shadow: 0 4px 0 #4a823b;
}

.pixel-btn-primary:hover {
  background: #9fe287;
  color: var(--text-dark);
  box-shadow: 0 6px 0 #4a823b, var(--glow-mint-lg);
}

.pixel-btn-primary:active {
  transform: translateY(2px);
  box-shadow: 0 2px 0 #4a823b;
}

.pixel-btn-outline {
  background: rgba(10, 21, 29, 0.6);
  border-color: var(--border-subtle);
  color: var(--text-cream);
  box-shadow: 0 4px 0 #0a131b;
}

.pixel-btn-outline:hover {
  border-color: var(--accent-mint);
  background: rgba(16, 35, 48, 0.8);
  box-shadow: 0 6px 0 #0a131b, var(--glow-mint-sm);
}

.pixel-btn-sm {
  padding: 8px 16px;
  font-size: 0.875rem;
}

.pixel-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-pixel);
  font-size: 0.8125rem;
  padding: 4px 12px;
  background: rgba(26, 59, 46, 0.5);
  border: 1px solid var(--border-pixel);
  color: var(--accent-mint);
  border-radius: var(--radius-sm);
  text-transform: uppercase;
}

.pixel-badge-dot {
  width: 8px;
  height: 8px;
  background: var(--accent-mint);
  border-radius: 50%;
  animation: pulse-dot 2s infinite ease-in-out;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.8); }
}

/* --------------------------------------------------------------------------
   Navigation Bar
   -------------------------------------------------------------------------- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--nav-height);
  background: rgba(5, 12, 20, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-subtle);
  z-index: 1000;
  display: flex;
  align-items: center;
}

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

.nav-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-pixel);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-cream);
}

.brand-icon {
  width: 36px;
  height: 36px;
  background: var(--accent-green-face);
  border: 2px solid var(--accent-mint);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  box-shadow: var(--shadow-pixel);
}

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

.nav-link {
  font-size: 0.9375rem;
  color: var(--text-muted);
  font-weight: 500;
  transition: color 0.2s ease;
  position: relative;
}

.nav-link:hover {
  color: var(--accent-mint);
}

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

.sound-toggle-btn {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  background: rgba(13, 29, 41, 0.6);
  border: 1px solid var(--border-subtle);
  color: var(--text-cream);
  font-size: 1.1rem;
  transition: all 0.2s ease;
}

.sound-toggle-btn:hover {
  border-color: var(--accent-mint);
  color: var(--accent-mint);
  background: var(--bg-panel-elevated);
}

.mobile-menu-btn {
  display: none;
  font-size: 1.5rem;
  color: var(--text-cream);
}

/* --------------------------------------------------------------------------
   Hero Section & Interactive Live Timer
   -------------------------------------------------------------------------- */
.hero {
  padding-top: calc(var(--nav-height) + 60px);
  padding-bottom: 80px;
  position: relative;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
}

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

.hero-title {
  font-family: var(--font-pixel);
  font-size: clamp(2.5rem, 5vw, 4rem);
  line-height: 1.1;
  letter-spacing: -0.5px;
  color: var(--text-cream);
}

.hero-title span {
  color: var(--accent-mint);
  display: inline-block;
  text-shadow: 0 0 20px rgba(140, 214, 116, 0.4);
}

.hero-description {
  font-size: 1.125rem;
  color: var(--text-muted);
  max-width: 540px;
  line-height: 1.7;
}

.hero-cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 10px;
}

.hero-metrics {
  display: flex;
  gap: 32px;
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid var(--border-subtle);
}

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

.metric-val {
  font-family: var(--font-digit);
  font-size: 2rem;
  color: var(--accent-mint);
  line-height: 1;
}

.metric-label {
  font-size: 0.8125rem;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-top: 4px;
}

/* Interactive Hero Timer Canvas Card */
.hero-timer-card {
  position: relative;
  background: var(--bg-panel);
  border: 2px solid var(--border-pixel);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6), var(--shadow-pixel);
}

/* Dynamic Live Scene Background */
.timer-scene-view {
  position: relative;
  width: 100%;
  height: 260px;
  overflow: hidden;
  border-bottom: 2px solid var(--border-pixel);
}

.scene-img-layer {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  image-rendering: pixelated;
  image-rendering: crisp-edges;
  transition: opacity 1s ease-in-out, transform 8s ease-out;
}

.scene-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(7, 17, 26, 0.95) 0%, rgba(7, 17, 26, 0.1) 60%, transparent 100%);
  pointer-events: none;
}

.scene-live-tag {
  position: absolute;
  top: 16px;
  left: 16px;
  background: rgba(5, 12, 20, 0.85);
  backdrop-filter: blur(6px);
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-pixel);
  font-family: var(--font-pixel);
  font-size: 0.75rem;
  display: flex;
  align-items: center;
  gap: 6px;
}

.scene-status-name {
  color: var(--accent-mint);
  text-transform: uppercase;
}

/* Quick demo mode speedrun badge */
.speedrun-toggle {
  position: absolute;
  top: 16px;
  right: 16px;
  background: rgba(5, 12, 20, 0.85);
  border: 1px solid var(--border-subtle);
  color: var(--accent-gold);
  font-family: var(--font-pixel);
  font-size: 0.75rem;
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.speedrun-toggle:hover {
  border-color: var(--accent-gold);
  box-shadow: 0 0 10px rgba(244, 192, 98, 0.3);
}

/* Timer Control Console */
.timer-console {
  padding: 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  background: var(--bg-panel);
}

.timer-modes {
  display: flex;
  gap: 8px;
  margin-bottom: 20px;
  background: rgba(5, 12, 20, 0.6);
  padding: 4px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-subtle);
}

.timer-mode-btn {
  font-family: var(--font-pixel);
  font-size: 0.8125rem;
  padding: 6px 14px;
  border-radius: var(--radius-sm);
  color: var(--text-muted);
  transition: all 0.2s ease;
}

.timer-mode-btn.active {
  background: var(--accent-green-face);
  color: var(--accent-mint);
  border: 1px solid var(--border-pixel);
}

.timer-display {
  font-family: var(--font-digit);
  font-size: 5.5rem;
  line-height: 1;
  color: var(--accent-mint);
  text-shadow: 0 0 25px rgba(140, 214, 116, 0.35);
  letter-spacing: 3px;
  user-select: none;
}

.timer-progress-track {
  width: 100%;
  height: 8px;
  background: rgba(19, 32, 42, 0.8);
  border-radius: 4px;
  margin-top: 16px;
  margin-bottom: 24px;
  overflow: hidden;
  border: 1px solid var(--border-subtle);
}

.timer-progress-bar {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--accent-green), var(--accent-mint));
  transition: width 0.3s linear;
}

.timer-controls {
  display: flex;
  align-items: center;
  gap: 16px;
}

.action-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-width: 120px;
}

/* --------------------------------------------------------------------------
   Environments Showcase Section
   -------------------------------------------------------------------------- */
.section {
  padding-block: 90px;
  position: relative;
}

.section-header {
  text-align: center;
  max-width: 680px;
  margin-inline: auto;
  margin-bottom: 56px;
}

.section-tag {
  margin-bottom: 12px;
}

.section-title {
  font-family: var(--font-pixel);
  font-size: clamp(2rem, 3.5vw, 2.75rem);
  color: var(--text-cream);
  line-height: 1.2;
}

.section-desc {
  font-size: 1.0625rem;
  color: var(--text-muted);
  margin-top: 12px;
}

.env-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
}

.env-card {
  background: var(--bg-card);
  border: 2px solid var(--border-subtle);
  border-radius: var(--radius-md);
  overflow: hidden;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
}

.env-card:hover {
  transform: translateY(-6px);
  border-color: var(--accent-mint);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.5), var(--glow-mint-sm);
}

.env-card.active-scene {
  border-color: var(--accent-mint);
  box-shadow: 0 0 0 2px var(--accent-mint), var(--glow-mint-sm);
}

.env-thumb-wrap {
  width: 100%;
  height: 170px;
  overflow: hidden;
  position: relative;
}

.env-thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
  image-rendering: pixelated;
  transition: transform 0.4s ease;
}

.env-card:hover .env-thumb {
  transform: scale(1.08);
}

.env-meta {
  padding: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--bg-panel);
}

.env-name {
  font-family: var(--font-pixel);
  font-size: 1.0625rem;
  color: var(--text-cream);
}

.env-vibe {
  font-size: 0.75rem;
  color: var(--accent-mint);
  background: rgba(26, 59, 46, 0.5);
  padding: 2px 8px;
  border-radius: var(--radius-sm);
}

/* --------------------------------------------------------------------------
   Interactive Feature Tour & Phone Mockup
   -------------------------------------------------------------------------- */
.showcase-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 60px;
  align-items: center;
}

/* Crafted Android Phone Mockup */
.phone-mockup-wrapper {
  display: flex;
  justify-content: center;
  position: relative;
}

.phone-device {
  width: 310px;
  height: 620px;
  background: #02070c;
  border: 10px solid #14212c;
  border-radius: 42px;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.8),
              0 0 0 2px #263c4e,
              inset 0 0 0 1px rgba(255, 255, 255, 0.1);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

/* Camera Punch-Hole */
.phone-punchhole {
  position: absolute;
  top: 14px;
  left: 50%;
  transform: translateX(-50%);
  width: 12px;
  height: 12px;
  background: #000;
  border-radius: 50%;
  z-index: 20;
  box-shadow: 0 0 2px rgba(255, 255, 255, 0.2);
}

/* Screen Content */
.phone-screen {
  flex: 1;
  position: relative;
  background: #050c14;
  overflow: hidden;
}

.phone-screen-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

/* Reflection Sheen */
.phone-sheen {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.08) 0%, transparent 50%);
  pointer-events: none;
  z-index: 10;
}

/* Feature Tabs on Right */
.feature-tabs {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.feature-tab-item {
  background: var(--bg-card);
  border: 2px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 24px;
  cursor: pointer;
  transition: all 0.25s ease;
}

.feature-tab-item:hover {
  border-color: var(--border-pixel);
  background: var(--bg-card-hover);
}

.feature-tab-item.active {
  border-color: var(--accent-mint);
  background: rgba(16, 38, 30, 0.4);
  box-shadow: var(--shadow-pixel), var(--glow-mint-sm);
}

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

.tab-icon {
  width: 36px;
  height: 36px;
  background: var(--accent-green-face);
  border: 1px solid var(--border-pixel);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
}

.tab-title {
  font-family: var(--font-pixel);
  font-size: 1.25rem;
  color: var(--text-cream);
}

.feature-tab-item.active .tab-title {
  color: var(--accent-mint);
}

.tab-desc {
  font-size: 0.9375rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* --------------------------------------------------------------------------
   Features Grid Section
   -------------------------------------------------------------------------- */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.feature-box {
  background: var(--bg-panel);
  border: 2px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  transition: all 0.25s ease;
  position: relative;
  overflow: hidden;
}

.feature-box::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--border-pixel), transparent);
  transition: background 0.3s ease;
}

.feature-box:hover {
  border-color: var(--border-pixel);
  transform: translateY(-4px);
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.4);
}

.feature-box:hover::before {
  background: linear-gradient(90deg, transparent, var(--accent-mint), transparent);
}

.feature-icon-badge {
  width: 48px;
  height: 48px;
  background: var(--accent-green-face);
  border: 1px solid var(--accent-mint);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 20px;
  box-shadow: var(--shadow-pixel);
}

.feature-heading {
  font-family: var(--font-pixel);
  font-size: 1.25rem;
  color: var(--text-cream);
  margin-bottom: 12px;
}

.feature-text {
  font-size: 0.9375rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* --------------------------------------------------------------------------
   Comparison Table
   -------------------------------------------------------------------------- */
.comparison-card {
  background: var(--bg-panel);
  border: 2px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-top: 40px;
}

.table-wrapper {
  overflow-x: auto;
}

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

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

.comparison-table th {
  background: rgba(13, 29, 41, 0.5);
  font-family: var(--font-pixel);
  font-size: 1.0625rem;
  color: var(--text-cream);
}

.comparison-table th.highlight-col,
.comparison-table td.highlight-col {
  background: rgba(26, 59, 46, 0.2);
  border-inline: 1px solid var(--border-pixel);
}

.comparison-table td {
  font-size: 0.9375rem;
  color: var(--text-muted);
}

.feature-check {
  color: var(--accent-mint);
  font-weight: 700;
  font-size: 1.2rem;
}

.feature-cross {
  color: var(--accent-coral);
  font-size: 1.1rem;
}

/* --------------------------------------------------------------------------
   Download Section
   -------------------------------------------------------------------------- */
.download-section {
  background: radial-gradient(circle at 50% 50%, rgba(26, 59, 46, 0.4) 0%, rgba(5, 12, 20, 0.9) 70%);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

.download-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
  margin-top: 40px;
}

.download-card {
  background: var(--bg-panel);
  border: 2px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: all 0.25s ease;
  position: relative;
}

.download-card.primary {
  border-color: var(--accent-mint);
  background: var(--bg-panel-elevated);
  box-shadow: var(--shadow-pixel), var(--glow-mint-sm);
}

.download-card:hover {
  transform: translateY(-6px);
  border-color: var(--accent-mint);
}

.download-icon {
  font-size: 3rem;
  margin-bottom: 16px;
}

.download-title {
  font-family: var(--font-pixel);
  font-size: 1.5rem;
  margin-bottom: 8px;
  color: var(--text-cream);
}

.download-desc {
  font-size: 0.9375rem;
  color: var(--text-muted);
  margin-bottom: 24px;
  max-width: 280px;
}

.download-meta {
  margin-top: 16px;
  font-size: 0.75rem;
  color: var(--text-dim);
  font-family: var(--font-digit);
  letter-spacing: 0.5px;
}

/* --------------------------------------------------------------------------
   FAQ Accordion Section
   -------------------------------------------------------------------------- */
.faq-list {
  max-width: 800px;
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

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

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

.faq-question {
  width: 100%;
  padding: 20px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: var(--font-pixel);
  font-size: 1.125rem;
  color: var(--text-cream);
  text-align: left;
  cursor: pointer;
}

.faq-icon {
  font-size: 1.25rem;
  color: var(--accent-mint);
  transition: transform 0.2s ease;
}

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

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

.faq-item.active .faq-answer {
  max-height: 200px;
  padding-bottom: 20px;
  transition: max-height 0.3s cubic-bezier(1, 0, 1, 0);
}

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

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */
.footer {
  padding-block: 60px 30px;
  border-top: 1px solid var(--border-subtle);
  background: #02070c;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 32px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(19, 32, 42, 0.5);
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-links {
  display: flex;
  gap: 24px;
  font-size: 0.9375rem;
  color: var(--text-muted);
}

.footer-links a:hover {
  color: var(--accent-mint);
}

.footer-bottom {
  padding-top: 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 0.8125rem;
  color: var(--text-dim);
}

/* --------------------------------------------------------------------------
   Responsive Breakpoints
   -------------------------------------------------------------------------- */
@media (max-width: 992px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .showcase-grid {
    grid-template-columns: 1fr;
  }

  .phone-mockup-wrapper {
    order: -1;
  }

  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
  }
  
  .mobile-menu-btn {
    display: block;
  }

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

  .hero-metrics {
    flex-wrap: wrap;
    gap: 20px;
  }

  .timer-display {
    font-size: 4.2rem;
  }
}
