/* ============================================
   CSS Custom Properties
   ============================================ */
:root {
  /* Colors - Deep blue-black palette */
  --bg-deep: #050b11;
  --bg-primary: #0a1219;
  --bg-elevated: #0f1821;
  --surface: rgba(15, 28, 38, 0.65);
  --surface-glass: rgba(18, 33, 45, 0.4);
  --border: rgba(25, 199, 161, 0.12);
  --border-strong: rgba(25, 199, 161, 0.24);

  /* Text colors */
  --text-primary: #f0f6fa;
  --text-secondary: #b4c5d1;
  --text-muted: #7a8e9d;

  /* Accent colors */
  --accent-teal: #19c7a1;
  --accent-teal-bright: #2ae6be;
  --accent-amber: #ffb14a;
  --accent-amber-bright: #ffc97a;
  --accent-blue: #23aef0;

  /* Gradients */
  --gradient-primary: linear-gradient(135deg, var(--accent-teal) 0%, var(--accent-blue) 100%);
  --gradient-accent: linear-gradient(135deg, var(--accent-teal-bright) 0%, var(--accent-amber-bright) 100%);
  --gradient-surface: linear-gradient(160deg, rgba(18, 33, 45, 0.95) 0%, rgba(10, 21, 30, 0.85) 100%);

  /* Shadows */
  --shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.25);
  --shadow-md: 0 12px 32px rgba(0, 0, 0, 0.35);
  --shadow-lg: 0 24px 64px rgba(0, 0, 0, 0.45);
  --glow-teal: 0 0 40px rgba(25, 199, 161, 0.4);
  --glow-amber: 0 0 40px rgba(255, 177, 74, 0.3);

  /* Spacing */
  --space-xs: 8px;
  --space-sm: 12px;
  --space-md: 16px;
  --space-lg: 24px;
  --space-xl: 32px;
  --space-2xl: 48px;
  --space-3xl: 64px;

  /* Border radius */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 20px;
  --radius-2xl: 24px;

  /* Typography */
  --font-sans: "Space Grotesk", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-mono: "IBM Plex Mono", "SF Mono", Menlo, Monaco, monospace;

  /* Animation timing */
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --ease-smooth: cubic-bezier(0.4, 0, 0.2, 1);
  --ease-in-out: cubic-bezier(0.45, 0, 0.55, 1);
}

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

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

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  html {
    scroll-behavior: auto;
  }
}

body {
  min-height: 100vh;
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-primary);
  background: var(--bg-primary);
  overflow-x: hidden;
  position: relative;
}

/* ============================================
   Aurora Background Canvas
   ============================================ */
#aurora-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -2;
  opacity: 0.35;
  pointer-events: none;
}

.grid-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  background-image:
    radial-gradient(circle at 1px 1px, rgba(25, 199, 161, 0.08) 1px, transparent 0);
  background-size: 40px 40px;
  pointer-events: none;
  opacity: 0.3;
}

/* ============================================
   Header
   ============================================ */
.site-header {
  position: sticky;
  top: 16px;
  z-index: 100;
  max-width: 1200px;
  margin: 16px auto 0;
  padding: 12px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--surface-glass);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  backdrop-filter: blur(20px) saturate(180%);
  box-shadow: var(--shadow-sm);
  transition: all 0.3s var(--ease-smooth);
}

.site-header:hover {
  border-color: var(--border-strong);
  box-shadow: var(--shadow-md);
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--text-primary);
  transition: transform 0.3s var(--ease-spring);
}

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

.brand-icon-img {
  border-radius: 8px;
  filter: drop-shadow(0 2px 8px rgba(106, 142, 176, 0.4));
}

.brand-name {
  font-size: 1.1rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.site-nav {
  display: flex;
  gap: 24px;
  align-items: center;
}

.site-nav a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  transition: color 0.2s ease;
  position: relative;
}

.site-nav a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gradient-primary);
  transition: width 0.3s var(--ease-spring);
}

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

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

/* ============================================
   Main Container
   ============================================ */
main {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px 80px;
}

/* ============================================
   Hero Section
   ============================================ */
.hero {
  margin-top: 80px;
  text-align: center;
}

.eyebrow {
  display: inline-block;
  margin-bottom: 24px;
  padding: 6px 14px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent-amber);
  background: rgba(255, 177, 74, 0.1);
  border: 1px solid rgba(255, 177, 74, 0.2);
  border-radius: 100px;
}

/* Hero App Icon */
.hero-icon-wrapper {
  margin: 0 auto 32px;
  display: flex;
  justify-content: center;
}

.hero-icon {
  display: block;
  border-radius: 20%;
  filter: drop-shadow(0 8px 24px rgba(106, 142, 176, 0.5));
  animation: heroIconFloat 3s ease-in-out infinite, heroIconGlow 2s ease-in-out infinite alternate;
}

@keyframes heroIconFloat {
  0%, 100% {
    transform: translateY(0) scale(1);
  }
  50% {
    transform: translateY(-8px) scale(1.02);
  }
}

@keyframes heroIconGlow {
  from {
    filter: drop-shadow(0 8px 24px rgba(106, 142, 176, 0.4));
  }
  to {
    filter: drop-shadow(0 12px 40px rgba(106, 142, 176, 0.7)) drop-shadow(0 0 60px rgba(184, 198, 214, 0.3));
  }
}

.hero-title {
  font-size: clamp(2.5rem, 8vw, 6rem);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin: 0 auto 24px;
  max-width: 20ch;
}

.hero-word {
  display: inline-block;
  opacity: 0;
  transform: translateY(30px) rotateX(-20deg);
  animation: wordReveal 0.8s var(--ease-spring) forwards;
  animation-delay: calc(var(--delay) * 0.15s + 0.5s);
}

.product-name {
  display: block;
  font-size: 1.3em;
  letter-spacing: -0.03em;
  background: linear-gradient(135deg, #f0f6fa 0%, #b4c5d1 40%, #6A8EB0 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  filter: drop-shadow(0 0 30px rgba(106, 142, 176, 0.5));
  margin-bottom: 8px;
}

.accent-word {
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  background-image: url('');
  background-size: 200px 200px;
  filter: drop-shadow(0 0 12px rgba(200, 200, 200, 0.25));
}

@keyframes wordReveal {
  to {
    opacity: 1;
    transform: translateY(0) rotateX(0);
  }
}

.hero-copy {
  font-size: 1.2rem;
  line-height: 1.7;
  color: var(--text-secondary);
  max-width: 60ch;
  margin: 0 auto 32px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 64px;
}

/* ============================================
   Buttons
   ============================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  border-radius: 100px;
  transition: all 0.3s var(--ease-spring);
  position: relative;
  overflow: hidden;
  cursor: pointer;
  border: none;
}

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

.btn-primary {
  color: #042117;
  background: var(--gradient-primary);
  box-shadow: 0 8px 24px rgba(25, 199, 161, 0.35);
}

.btn-primary:hover {
  box-shadow: 0 12px 32px rgba(25, 199, 161, 0.5);
}

.btn-large {
  padding: 18px 36px;
  font-size: 1.1rem;
}

.btn-ghost {
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border);
  backdrop-filter: blur(10px);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--border-strong);
}

/* Shimmer effect */
.shimmer::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.3),
    transparent
  );
  animation: shimmer 3s infinite;
}

@keyframes shimmer {
  0%, 100% { left: -100%; }
  50% { left: 100%; }
}

/* Glow effect */
.glow {
  animation: glow 2s ease-in-out infinite alternate;
}

@keyframes glow {
  from {
    box-shadow: 0 8px 24px rgba(25, 199, 161, 0.35);
  }
  to {
    box-shadow: 0 8px 32px rgba(25, 199, 161, 0.6), 0 0 40px rgba(25, 199, 161, 0.3);
  }
}

/* ============================================
   Editor Mockup
   ============================================ */
.editor-mock {
  max-width: 900px;
  margin: 0 auto;
  background: #0a1117;
  border: 1px solid rgba(25, 199, 161, 0.2);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow:
    var(--shadow-lg),
    0 0 60px rgba(25, 199, 161, 0.15),
    inset 0 1px 0 rgba(255, 255, 255, 0.05);
  position: relative;
}

.mock-topbar {
  height: 48px;
  display: flex;
  align-items: center;
  padding: 0 16px;
  background: linear-gradient(180deg, #0f1821 0%, #0a1117 100%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

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

.traffic-lights span {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  transition: transform 0.2s ease;
}

.traffic-lights span:hover {
  transform: scale(1.15);
}

.tl-red {
  background: #ff5f56;
  box-shadow: 0 0 8px rgba(255, 95, 86, 0.5);
}

.tl-yellow {
  background: #ffbd2e;
  box-shadow: 0 0 8px rgba(255, 189, 46, 0.5);
}

.tl-green {
  background: #27c93f;
  box-shadow: 0 0 8px rgba(39, 201, 63, 0.5);
}

.mock-title {
  margin: 0 0 0 12px;
  font-size: 0.9rem;
  color: var(--text-secondary);
  font-weight: 500;
}

.mock-spacer {
  flex: 1;
}

.mock-body {
  display: flex;
  min-height: 400px;
  position: relative;
}

.line-numbers {
  padding: 20px 12px;
  background: rgba(0, 0, 0, 0.2);
  border-right: 1px solid rgba(255, 255, 255, 0.05);
  color: var(--text-muted);
  font-family: var(--font-mono);
  font-size: 0.9rem;
  line-height: 1.8;
  text-align: right;
  user-select: none;
  min-width: 48px;
}

.mock-content {
  flex: 1;
  padding: 20px;
  position: relative;
}

.mock-content pre {
  margin: 0;
  font-family: var(--font-mono);
  font-size: 0.95rem;
  line-height: 1.8;
  color: #e8f2f8;
}

.mock-content code {
  display: block;
}

.cursor {
  position: absolute;
  width: 2px;
  height: 20px;
  background: var(--accent-teal);
  box-shadow: 0 0 8px var(--accent-teal);
  animation: blink 1s step-end infinite;
}

@keyframes blink {
  0%, 50% { opacity: 1; }
  51%, 100% { opacity: 0; }
}

/* Scanline effect */
.scanline {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    180deg,
    transparent 0%,
    rgba(25, 199, 161, 0.03) 50%,
    transparent 100%
  );
  background-size: 100% 8px;
  pointer-events: none;
  opacity: 0.5;
  animation: scanline 8s linear infinite;
}

@keyframes scanline {
  0% { background-position: 0 0; }
  100% { background-position: 0 400px; }
}

/* ============================================
   Stats Strip
   ============================================ */
.stats-strip {
  max-width: 900px;
  margin: 32px auto 0;
  padding: 24px;
  display: grid;
  grid-template-columns: repeat(7, auto);
  gap: 20px;
  align-items: center;
  justify-content: center;
  background: var(--surface-glass);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(20px);
}

.stat-item {
  text-align: center;
}

.stat-value {
  font-size: 2rem;
  font-weight: 700;
  background: var(--gradient-accent);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin-bottom: 4px;
}

.stat-label {
  font-size: 0.8rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.stat-divider {
  width: 1px;
  height: 40px;
  background: var(--border);
}

/* ============================================
   Section Headers
   ============================================ */
.section-header {
  text-align: center;
  margin-bottom: 48px;
}

.section-title {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin: 0 0 12px;
}

.section-subtitle {
  font-size: 1.2rem;
  color: var(--text-secondary);
  margin: 0;
}

/* ============================================
   Features Section
   ============================================ */
.features {
  margin-top: 120px;
}

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

.feature-card {
  padding: 32px;
  border-radius: var(--radius-xl);
  border: 1px solid var(--border);
  background: var(--surface-glass);
  backdrop-filter: blur(20px);
  transition: all 0.4s var(--ease-spring);
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(
    circle at var(--mouse-x, 50%) var(--mouse-y, 50%),
    rgba(25, 199, 161, 0.08),
    transparent 50%
  );
  opacity: 0;
  transition: opacity 0.3s ease;
}

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

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

.feature-icon {
  width: 48px;
  height: 48px;
  margin-bottom: 20px;
  color: var(--accent-teal);
  display: flex;
  align-items: center;
  justify-content: center;
}

.feature-card h3 {
  font-size: 1.3rem;
  font-weight: 600;
  margin: 0 0 12px;
  color: var(--text-primary);
}

.feature-card p {
  margin: 0;
  color: var(--text-secondary);
  line-height: 1.6;
}

.feature-detail {
  margin-top: 16px;
}

.metric-badge {
  display: inline-block;
  padding: 6px 12px;
  font-size: 0.85rem;
  font-weight: 600;
  font-family: var(--font-mono);
  color: var(--accent-teal);
  background: rgba(25, 199, 161, 0.1);
  border: 1px solid rgba(25, 199, 161, 0.2);
  border-radius: 6px;
}

/* Find demo animation */
.feature-demo {
  margin-top: 16px;
}

.find-highlight {
  display: inline-block;
  padding: 4px 8px;
  background: rgba(25, 199, 161, 0.2);
  border-bottom: 2px solid var(--accent-teal);
  font-family: var(--font-mono);
  font-size: 0.9rem;
  animation: highlight-pulse 2s ease-in-out infinite;
}

@keyframes highlight-pulse {
  0%, 100% { background: rgba(25, 199, 161, 0.2); }
  50% { background: rgba(25, 199, 161, 0.4); }
}

/* Theme toggle demo */
.theme-toggle {
  display: flex;
  gap: 8px;
  margin-top: 16px;
}

.theme-btn {
  flex: 1;
  padding: 8px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border);
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.theme-btn:hover {
  border-color: var(--border-strong);
  transform: scale(1.05);
}

.theme-btn.active {
  border-color: var(--accent-teal);
  background: rgba(25, 199, 161, 0.1);
}

.theme-swatch {
  display: block;
  width: 100%;
  height: 40px;
  border-radius: 6px;
  transition: transform 0.3s ease;
}

.theme-swatch.dark {
  background: linear-gradient(135deg, #0a1219 0%, #0f1821 100%);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.theme-swatch.light {
  background: linear-gradient(135deg, #f0f6fa 0%, #e4ecf2 100%);
  border: 1px solid rgba(0, 0, 0, 0.1);
}

/* ============================================
   Use Cases Section
   ============================================ */
.usecases {
  margin-top: 120px;
}

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

.usecase-card {
  padding: 32px;
  border-radius: var(--radius-xl);
  border: 1px solid var(--border);
  background: var(--surface-glass);
  backdrop-filter: blur(20px);
  transition: all 0.4s var(--ease-spring);
  text-align: center;
}

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

.usecase-emoji {
  font-size: 2.4rem;
  margin-bottom: 16px;
  line-height: 1;
}

.usecase-card h3 {
  font-size: 1.2rem;
  font-weight: 600;
  margin: 0 0 10px;
  color: var(--text-primary);
}

.usecase-card p {
  margin: 0;
  color: var(--text-secondary);
  line-height: 1.6;
  font-size: 0.95rem;
}

@media (max-width: 768px) {
  .usecase-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .usecase-grid {
    grid-template-columns: 1fr;
  }
}

/* ============================================
   Comparison Section
   ============================================ */
.comparison {
  margin-top: 120px;
  padding: 64px 48px;
  background: var(--gradient-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-2xl);
  box-shadow: var(--shadow-md);
}

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

.comparison-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  font-size: 1rem;
}

.comparison-table th,
.comparison-table td {
  padding: 14px 20px;
  text-align: left;
  border-bottom: 1px solid var(--border);
}

.comparison-table thead th {
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  padding-bottom: 12px;
}

.comparison-table thead th.col-tinytext {
  color: var(--accent-teal);
}

.comparison-table thead th.col-other {
  color: var(--text-muted);
}

.comparison-table tbody tr {
  transition: background 0.2s ease;
}

.comparison-table tbody tr:hover {
  background: rgba(25, 199, 161, 0.04);
}

.comparison-table tbody tr:last-child td {
  border-bottom: none;
}

.row-label {
  font-weight: 600;
  color: var(--text-secondary);
}

.val-good {
  color: var(--accent-teal-bright);
  font-weight: 600;
  font-family: var(--font-mono);
  font-size: 0.95rem;
}

.val-bad {
  color: var(--text-muted);
  font-family: var(--font-mono);
  font-size: 0.95rem;
}

/* ============================================
   Philosophy Section
   ============================================ */
.philosophy {
  margin-top: 120px;
  padding: 80px 48px;
  background: radial-gradient(
    ellipse at top,
    rgba(25, 199, 161, 0.08) 0%,
    transparent 50%
  );
  border-radius: var(--radius-2xl);
}

.philosophy-content {
  max-width: 1000px;
  margin: 0 auto;
}

.manifesto {
  margin: 0 0 64px;
  text-align: center;
}

.quote-text {
  font-size: clamp(1.3rem, 3vw, 2rem);
  line-height: 1.5;
  font-weight: 500;
  color: var(--text-primary);
  font-style: italic;
  position: relative;
  padding: 0 32px;
}

.quote-text::before,
.quote-text::after {
  content: '"';
  font-size: 4rem;
  position: absolute;
  color: var(--accent-teal);
  opacity: 0.3;
  font-family: Georgia, serif;
}

.quote-text::before {
  top: -20px;
  left: 0;
}

.quote-text::after {
  bottom: -40px;
  right: 0;
}

.philosophy-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
}

.philosophy-item {
  padding: 24px;
  background: var(--surface-glass);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(20px);
  transition: all 0.3s var(--ease-spring);
}

.philosophy-item:hover {
  transform: translateY(-4px);
  border-color: var(--border-strong);
}

.philosophy-item h3 {
  font-size: 1.2rem;
  margin: 0 0 12px;
  color: var(--accent-teal-bright);
}

.philosophy-item p {
  margin: 0;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ============================================
   Keyboard Shortcuts Section
   ============================================ */
.shortcuts {
  margin-top: 120px;
}

.shortcuts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
}

.shortcut-card {
  padding: 24px;
  background: var(--surface-glass);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(20px);
  text-align: center;
  transition: all 0.3s var(--ease-spring);
  cursor: pointer;
}

.shortcut-card:hover {
  transform: translateY(-4px) scale(1.02);
  border-color: var(--accent-teal);
  box-shadow: var(--shadow-md), 0 0 30px rgba(25, 199, 161, 0.2);
}

.key-combo {
  display: flex;
  gap: 6px;
  justify-content: center;
  align-items: center;
  margin-bottom: 12px;
}

.key {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 36px;
  height: 36px;
  padding: 0 10px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.05) 100%);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 6px;
  font-family: var(--font-sans);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-primary);
  box-shadow:
    0 1px 0 0 rgba(255, 255, 255, 0.1) inset,
    0 2px 4px rgba(0, 0, 0, 0.2);
  transition: all 0.2s ease;
}

.shortcut-card:hover .key {
  background: linear-gradient(180deg, rgba(25, 199, 161, 0.2) 0%, rgba(25, 199, 161, 0.1) 100%);
  border-color: var(--accent-teal);
  transform: translateY(-2px);
}

.shortcut-label {
  display: block;
  font-size: 0.9rem;
  color: var(--text-secondary);
  font-weight: 500;
}

/* ============================================
   Download Section
   ============================================ */
.download {
  margin-top: 120px;
  padding: 80px 48px;
  background:
    radial-gradient(
      ellipse at center,
      rgba(25, 199, 161, 0.15) 0%,
      transparent 70%
    ),
    var(--gradient-surface);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-2xl);
  box-shadow: var(--shadow-lg);
  text-align: center;
}

.download-content {
  max-width: 700px;
  margin: 0 auto;
}

.download-title {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 700;
  line-height: 1.1;
  margin: 0 0 20px;
  background: var(--gradient-accent);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.download-copy {
  font-size: 1.2rem;
  line-height: 1.7;
  color: var(--text-secondary);
  margin: 0 0 40px;
}

.download-meta {
  margin-top: 16px;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.app-store-icon {
  flex-shrink: 0;
}

/* ============================================
   Footer
   ============================================ */
.site-footer {
  max-width: 1200px;
  margin: 80px auto 0;
  padding: 40px 24px;
  border-top: 1px solid var(--border);
}

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

.footer-brand {
  display: flex;
  align-items: center;
  gap: 16px;
}

.footer-icon-img {
  border-radius: 6px;
  filter: drop-shadow(0 2px 8px rgba(106, 142, 176, 0.3));
}

.footer-title {
  font-size: 1.1rem;
  font-weight: 600;
  margin: 0;
  color: var(--text-primary);
}

.footer-tagline {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin: 0;
}

.footer-meta {
  text-align: right;
}

.footer-meta p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.footer-link {
  color: var(--accent-teal);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s ease;
}

.footer-link:hover {
  color: var(--accent-teal-bright);
}

/* ============================================
   Reveal Animations
   ============================================ */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition:
    opacity 0.8s var(--ease-smooth),
    transform 0.8s var(--ease-spring);
  transition-delay: var(--delay, 0s);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================
   Glassmorphism
   ============================================ */
.glass {
  background: var(--surface-glass);
  backdrop-filter: blur(20px) saturate(180%);
  border: 1px solid var(--border);
}

/* ============================================
   Responsive Design
   ============================================ */
@media (max-width: 1024px) {
  .comparison-table th,
  .comparison-table td {
    padding: 12px 14px;
    font-size: 0.9rem;
  }
}

@media (max-width: 768px) {
  .site-header {
    flex-direction: column;
    gap: 12px;
  }

  .site-nav {
    width: 100%;
    justify-content: space-around;
    flex-wrap: wrap;
  }

  .hero {
    margin-top: 48px;
  }

  .hero-icon {
    width: 100px;
    height: 100px;
  }

  .stats-strip {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .stat-divider {
    display: none;
  }

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

  .comparison,
  .philosophy,
  .download {
    padding: 48px 24px;
  }

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

  .footer-content {
    flex-direction: column;
    text-align: center;
  }

  .footer-meta {
    text-align: center;
  }
}

@media (max-width: 480px) {
  main {
    padding: 0 16px 48px;
  }

  .hero-actions {
    flex-direction: column;
    width: 100%;
  }

  .btn {
    width: 100%;
    justify-content: center;
  }

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

  .comparison-table th,
  .comparison-table td {
    padding: 10px 10px;
    font-size: 0.8rem;
  }
}
