/* ═══════════════════════════════════════════════════════════
   ChronoCode — Premium Desktop-Grade Design System
   High-density layout • Abstract backgrounds • Animated UI
   ═══════════════════════════════════════════════════════════ */

/* ─── TAILWIND-LIKE CUSTOM PROPERTIES ─── */
:root {
  /* Surface Palette */
  --surface-000: #020304;
  --surface-100: #060809;
  --surface-200: #0c0e11;
  --surface-300: #12151a;
  --surface-400: #1a1e25;
  --surface-500: #242a33;
  --surface-600: #333b47;

  /* Text Palette */
  --text-100: #f0f2f5;
  --text-200: #c8cdd6;
  --text-300: #8a919e;
  --text-400: #5c6370;
  --text-500: #3d4350;

  /* Accent Palette */
  --lime: #c5f21d;
  --lime-dim: rgba(197, 242, 29, 0.12);
  --lime-glow: rgba(197, 242, 29, 0.25);
  --indigo: #6366f1;
  --indigo-dim: rgba(99, 102, 241, 0.12);
  --indigo-glow: rgba(99, 102, 241, 0.3);
  --emerald: #10b981;
  --emerald-dim: rgba(16, 185, 129, 0.12);
  --crimson: #ef4444;
  --crimson-dim: rgba(239, 68, 68, 0.12);
  --amber: #f59e0b;

  /* Border */
  --border-subtle: rgba(255, 255, 255, 0.04);
  --border-default: rgba(255, 255, 255, 0.07);
  --border-strong: rgba(255, 255, 255, 0.12);
  --border-active: rgba(255, 255, 255, 0.18);

  /* Spacing Scale (compact desktop density) */
  --sp-1: 4px;
  --sp-2: 8px;
  --sp-3: 12px;
  --sp-4: 16px;
  --sp-5: 20px;
  --sp-6: 24px;
  --sp-8: 32px;
  --sp-10: 40px;
  --sp-12: 48px;
  --sp-16: 64px;
  --sp-20: 80px;

  /* Radius */
  --radius-sm: 4px;
  --radius-md: 6px;
  --radius-lg: 10px;
  --radius-xl: 14px;

  /* Shadows */
  --shadow-card: 0 1px 2px rgba(0,0,0,0.5), 0 4px 16px rgba(0,0,0,0.3);
  --shadow-elevated: 0 4px 24px rgba(0,0,0,0.6), 0 12px 48px rgba(0,0,0,0.4);
  --shadow-glow-lime: 0 0 20px rgba(197,242,29,0.15), 0 0 60px rgba(197,242,29,0.05);
  --shadow-glow-indigo: 0 0 20px rgba(99,102,241,0.2), 0 0 60px rgba(99,102,241,0.08);

  /* Transitions */
  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* ─── RESET ─── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }
body {
  background: var(--surface-000);
  color: var(--text-100);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  line-height: 1.5;
  letter-spacing: -0.01em;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
img { max-width: 100%; display: block; }

/* ─── ABSTRACT BACKGROUND: DOT MATRIX ─── */
.bg-dots {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image: radial-gradient(circle, var(--surface-400) 1px, transparent 1px);
  background-size: 24px 24px;
  opacity: 0.3;
}

/* ─── ABSTRACT BACKGROUND: GRID OVERLAY ─── */
.bg-grid {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image:
    linear-gradient(var(--border-subtle) 1px, transparent 1px),
    linear-gradient(90deg, var(--border-subtle) 1px, transparent 1px);
  background-size: 48px 48px;
}

/* ─── ABSTRACT BACKGROUND: GRID LASER SWEEP ─── */
.bg-grid::after {
  content: '';
  position: absolute;
  left: 0;
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--indigo), var(--lime), var(--indigo), transparent);
  opacity: 0.15;
  top: -1px;
  animation: laser-sweep 10s linear infinite;
  pointer-events: none;
}

@keyframes laser-sweep {
  0% { top: -1px; opacity: 0; }
  3% { opacity: 0.15; }
  97% { opacity: 0.15; }
  100% { top: 100%; opacity: 0; }
}

/* ─── AMBIENT NEON ORBS ─── */
.ambient-orb {
  position: fixed;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  filter: blur(120px);
  pointer-events: none;
  z-index: 0;
  transition: left 0.6s var(--ease-out-expo), top 0.6s var(--ease-out-expo);
}
.ambient-orb.orb-indigo {
  background: radial-gradient(circle, rgba(99,102,241,0.08) 0%, transparent 70%);
  top: -100px;
  left: 20%;
}
.ambient-orb.orb-lime {
  background: radial-gradient(circle, rgba(197,242,29,0.05) 0%, transparent 70%);
  bottom: -200px;
  right: 10%;
  width: 600px;
  height: 600px;
}

/* ─── LAYOUT UTILITIES ─── */
.site-wrap {
  position: relative;
  z-index: 10;
  min-height: 100vh;
}
.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 var(--sp-6);
}
.container-tight {
  max-width: 880px;
}
.container-wide {
  max-width: 1280px;
}

/* ─── NAVBAR ─── */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 52px;
  background: rgba(6, 8, 9, 0.75);
  backdrop-filter: blur(20px) saturate(1.2);
  -webkit-backdrop-filter: blur(20px) saturate(1.2);
  border-bottom: 1px solid var(--border-default);
  z-index: 200;
  display: flex;
  align-items: center;
}
.navbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 var(--sp-6);
}
.nav-brand {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  font-size: 15px;
  letter-spacing: -0.03em;
  color: var(--text-100);
}
.nav-brand img {
  width: 24px;
  height: 24px;
  border-radius: var(--radius-sm);
}
.nav-links {
  display: flex;
  align-items: center;
  gap: var(--sp-1);
}
.nav-link {
  font-size: 13px;
  font-weight: 500;
  color: var(--text-300);
  padding: 6px 10px;
  border-radius: var(--radius-sm);
  transition: color 0.15s, background 0.15s;
}
.nav-link:hover {
  color: var(--text-100);
  background: rgba(255,255,255,0.04);
}
.nav-link.active {
  color: var(--text-100);
  background: rgba(255,255,255,0.06);
}
.nav-cta .btn-nav {
  font-size: 12px;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: var(--radius-md);
  background: var(--text-100);
  color: var(--surface-000);
  transition: all 0.2s var(--ease-out-expo);
}
.nav-cta .btn-nav:hover {
  background: var(--lime);
  transform: translateY(-1px);
  box-shadow: var(--shadow-glow-lime);
}

/* ─── BUTTONS ─── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-2);
  font-weight: 600;
  border-radius: var(--radius-md);
  transition: all 0.25s var(--ease-out-expo);
  white-space: nowrap;
  position: relative;
  overflow: hidden;
}
.btn::before {
  content: '';
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.25s;
}
.btn:hover::before { opacity: 1; }

/* Primary: Indigo gradient */
.btn-primary {
  background: linear-gradient(135deg, var(--indigo), #4f46e5);
  color: #fff;
  padding: 10px 22px;
  font-size: 14px;
  box-shadow: 0 2px 12px rgba(99,102,241,0.25);
}
.btn-primary::before {
  background: linear-gradient(135deg, #5558e8, #6366f1);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 20px rgba(99,102,241,0.35), var(--shadow-glow-indigo);
}

/* Secondary: Ghost */
.btn-secondary {
  background: transparent;
  color: var(--text-200);
  border: 1px solid var(--border-strong);
  padding: 10px 22px;
  font-size: 14px;
}
.btn-secondary:hover {
  border-color: var(--text-300);
  color: var(--text-100);
  background: rgba(255,255,255,0.03);
  transform: translateY(-1px);
}

/* Download Button: Premium animated */
.btn-download {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  padding: 10px 20px;
  font-size: 13px;
  font-weight: 600;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-strong);
  background: var(--surface-200);
  color: var(--text-100);
  transition: all 0.3s var(--ease-out-expo);
  position: relative;
  overflow: hidden;
}
.btn-download::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--lime-dim), transparent);
  opacity: 0;
  transition: opacity 0.3s;
}
.btn-download:hover {
  border-color: var(--lime);
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 0 0 1px var(--lime), var(--shadow-glow-lime);
  color: var(--lime);
}
.btn-download:hover::before { opacity: 1; }
.btn-download:active {
  transform: translateY(0) scale(0.98);
}
.btn-download .dl-icon {
  width: 14px;
  height: 14px;
  transition: transform 0.3s var(--ease-spring);
}
.btn-download:hover .dl-icon {
  transform: translateY(2px);
  animation: dl-bounce 0.6s var(--ease-spring);
}
@keyframes dl-bounce {
  0% { transform: translateY(0); }
  30% { transform: translateY(4px); }
  60% { transform: translateY(-1px); }
  100% { transform: translateY(2px); }
}

/* OS-specific accent borders on hover */
.btn-download[data-os="windows"]:hover {
  border-color: var(--indigo);
  box-shadow: 0 0 0 1px var(--indigo), var(--shadow-glow-indigo);
  color: var(--indigo);
}
.btn-download[data-os="windows"]:hover::before {
  background: linear-gradient(135deg, var(--indigo-dim), transparent);
}
.btn-download[data-os="macos"]:hover {
  border-color: var(--text-300);
  box-shadow: 0 0 0 1px var(--text-400), 0 0 20px rgba(255,255,255,0.05);
}
.btn-download[data-os="macos"]:hover::before {
  background: linear-gradient(135deg, rgba(255,255,255,0.04), transparent);
}
.btn-download[data-os="linux"]:hover {
  border-color: var(--amber);
  box-shadow: 0 0 0 1px var(--amber), 0 0 20px rgba(245,158,11,0.15);
  color: var(--amber);
}
.btn-download[data-os="linux"]:hover::before {
  background: linear-gradient(135deg, rgba(245,158,11,0.1), transparent);
}

/* ─── CARDS ─── */
.card {
  background: var(--surface-100);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  transition: all 0.3s var(--ease-out-expo);
}
.card:hover {
  border-color: var(--border-strong);
  box-shadow: var(--shadow-elevated);
}
.card-glass {
  background: rgba(6, 8, 9, 0.5);
  backdrop-filter: blur(16px) saturate(1.1);
  -webkit-backdrop-filter: blur(16px) saturate(1.1);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
}
.card-glass:hover {
  border-color: var(--border-strong);
  background: rgba(6, 8, 9, 0.65);
}

/* ─── TAG / BADGE ─── */
.tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 999px;
}
.tag-lime {
  color: var(--lime);
  background: var(--lime-dim);
}
.tag-indigo {
  color: var(--indigo);
  background: var(--indigo-dim);
}
.tag-icon {
  width: 12px;
  height: 12px;
}

/* ─── HERO SECTION ─── */
.hero {
  min-height: 85vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-top: 52px; /* navbar height */
  padding-bottom: var(--sp-8);
  position: relative;
}
.hero-content {
  text-align: center;
  max-width: 720px;
  margin: 0 auto;
}
.hero-title {
  font-family: 'Outfit', sans-serif;
  font-size: clamp(32px, 5vw, 52px);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin-bottom: var(--sp-4);
  background: linear-gradient(180deg, var(--text-100) 0%, var(--text-300) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-desc {
  font-size: 15px;
  color: var(--text-300);
  line-height: 1.6;
  max-width: 520px;
  margin: 0 auto var(--sp-6) auto;
}
.hero-actions {
  display: flex;
  gap: var(--sp-3);
  justify-content: center;
  flex-wrap: wrap;
}
.hero-mockup {
  margin-top: var(--sp-6);
  width: 100%;
  max-width: 920px;
  margin-left: auto;
  margin-right: auto;
}

/* ─── MOCKUP FRAME ─── */
.mockup {
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid var(--border-default);
  box-shadow: var(--shadow-elevated);
  background: var(--surface-100);
}
.mockup-bar {
  height: 34px;
  background: var(--surface-200);
  border-bottom: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  padding: 0 var(--sp-4);
  gap: var(--sp-2);
}
.mockup-dots {
  display: flex;
  gap: 6px;
}
.mockup-dots span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}
.mockup-dots .d-red { background: #ff5f56; }
.mockup-dots .d-yellow { background: #ffbd2e; }
.mockup-dots .d-green { background: #27c93f; }
.mockup-title {
  flex: 1;
  text-align: center;
  font-size: 11px;
  color: var(--text-400);
  font-family: 'JetBrains Mono', monospace;
}
.mockup-status {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 9px;
  font-family: 'JetBrains Mono', monospace;
  color: var(--emerald);
  letter-spacing: 0.5px;
}
.mockup-status .dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--emerald);
  box-shadow: 0 0 6px var(--emerald);
}
.mockup-body {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  height: 320px;
}
.mockup-pane {
  display: flex;
  flex-direction: column;
}
.mockup-pane + .mockup-pane {
  border-left: 1px solid var(--border-subtle);
}
.pane-bar {
  height: 30px;
  background: var(--surface-200);
  border-bottom: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  padding: 0 var(--sp-3);
  font-size: 10px;
  color: var(--text-400);
  gap: 6px;
}
.pane-bar svg { width: 12px; height: 12px; }
.pane-code {
  flex: 1;
  padding: var(--sp-4);
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  line-height: 1.7;
  color: var(--text-300);
  overflow: auto;
  background: var(--surface-000);
}
.pane-code .kw { color: var(--indigo); }
.pane-code .str { color: var(--lime); }
.pane-code .cmt { color: var(--text-500); font-style: italic; }
.pane-code .fn { color: var(--amber); }
.pane-code .add { color: var(--emerald); background: var(--emerald-dim); padding: 1px 4px; border-radius: 2px; }

/* Mockup timeline side */
.pane-timeline {
  padding: var(--sp-3);
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
}
.tl-nodes {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.tl-node {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-md);
  background: var(--surface-300);
  border: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'JetBrains Mono', monospace;
  font-size: 9px;
  font-weight: 700;
  color: var(--text-400);
  cursor: pointer;
  transition: all 0.2s var(--ease-out-expo);
}
.tl-node:hover {
  border-color: var(--indigo);
  color: var(--text-200);
}
.tl-node.active {
  background: var(--indigo);
  border-color: var(--indigo);
  color: #fff;
  box-shadow: 0 0 12px var(--indigo-glow);
  transform: scale(1.08);
}
.tl-node.pulse {
  animation: node-pulse 2s ease-in-out infinite;
}
@keyframes node-pulse {
  0%, 100% { box-shadow: 0 0 0 0 var(--lime-glow); border-color: var(--lime); }
  50% { box-shadow: 0 0 0 6px transparent; }
}
.tl-detail {
  background: var(--surface-200);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: var(--sp-3);
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 11px;
}
.tl-row {
  display: flex;
  justify-content: space-between;
}
.tl-label { color: var(--text-400); }
.tl-val { font-weight: 500; }
.tl-val.lime { color: var(--lime); }
.tl-val.indigo { color: var(--indigo); }

/* ─── SECTION TITLES ─── */
.section { padding: var(--sp-12) 0; }
.section-sm { padding: var(--sp-8) 0; }
.section-head {
  margin-bottom: var(--sp-6);
  text-align: center;
}
.section-title {
  font-family: 'Outfit', sans-serif;
  font-size: 26px;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: var(--sp-2);
}
.section-desc {
  font-size: 14px;
  color: var(--text-300);
  max-width: 440px;
  margin: 0 auto;
}

/* ─── FEATURES GRID ─── */
.features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--sp-4);
}
.feature-card {
  padding: var(--sp-5);
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
}
.feature-card:hover {
  transform: translateY(-2px);
}
.feature-icon-wrap {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-md);
  background: var(--indigo-dim);
  border: 1px solid rgba(99,102,241,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--indigo);
  transition: all 0.2s;
}
.feature-card:hover .feature-icon-wrap {
  background: var(--indigo);
  color: #fff;
  border-color: var(--indigo);
  box-shadow: 0 0 16px var(--indigo-glow);
}
.feature-icon-wrap svg { width: 18px; height: 18px; }
.feature-title {
  font-size: 15px;
  font-weight: 600;
  color: var(--text-100);
}
.feature-desc {
  font-size: 13px;
  color: var(--text-300);
  line-height: 1.5;
}

/* ─── STEPS / HOW IT WORKS ─── */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-4);
}
.step-card {
  padding: var(--sp-5);
  position: relative;
}
.step-num {
  font-family: 'Outfit', sans-serif;
  font-size: 48px;
  font-weight: 800;
  color: rgba(255,255,255,0.025);
  position: absolute;
  top: var(--sp-3);
  right: var(--sp-4);
  line-height: 1;
  transition: color 0.3s;
}
.step-card:hover .step-num {
  color: var(--lime-dim);
}
.step-title {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-100);
  margin-bottom: var(--sp-1);
}
.step-desc {
  font-size: 12px;
  color: var(--text-300);
  line-height: 1.5;
}

/* ─── DOWNLOAD SECTION ─── */
.download-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-4);
}
.dl-card {
  padding: var(--sp-6);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: var(--sp-4);
}
.dl-os-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s var(--ease-out-expo);
}
.dl-os-icon svg { width: 24px; height: 24px; }
.dl-os-icon.os-windows {
  background: var(--indigo-dim);
  border: 1px solid rgba(99,102,241,0.15);
  color: var(--indigo);
}
.dl-os-icon.os-macos {
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border-default);
  color: var(--text-200);
}
.dl-os-icon.os-linux {
  background: rgba(245,158,11,0.08);
  border: 1px solid rgba(245,158,11,0.12);
  color: var(--amber);
}
.dl-card:hover .dl-os-icon {
  transform: scale(1.1);
}
.dl-os-name {
  font-size: 16px;
  font-weight: 600;
  color: var(--text-100);
}
.dl-os-detail {
  font-size: 11px;
  color: var(--text-400);
  font-family: 'JetBrains Mono', monospace;
}
.dl-specs {
  display: flex;
  gap: var(--sp-3);
  font-size: 11px;
  color: var(--text-400);
}
.dl-spec {
  display: flex;
  align-items: center;
  gap: 4px;
}
.dl-spec svg { width: 10px; height: 10px; }

/* ─── SUPPORT GRID ─── */
.support-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--sp-4);
}
.support-card {
  padding: var(--sp-5);
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
}
.support-card:hover {
  transform: translateY(-2px);
}
.support-icon-wrap {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
}
.support-icon-wrap svg { width: 18px; height: 18px; }
.support-icon-wrap.si-indigo {
  background: var(--indigo-dim);
  border: 1px solid rgba(99,102,241,0.15);
  color: var(--indigo);
}
.support-icon-wrap.si-lime {
  background: var(--lime-dim);
  border: 1px solid rgba(197,242,29,0.12);
  color: var(--lime);
}
.support-icon-wrap.si-emerald {
  background: var(--emerald-dim);
  border: 1px solid rgba(16,185,129,0.15);
  color: var(--emerald);
}
.support-icon-wrap.si-amber {
  background: rgba(245,158,11,0.08);
  border: 1px solid rgba(245,158,11,0.12);
  color: var(--amber);
}
.support-title {
  font-size: 15px;
  font-weight: 600;
  color: var(--text-100);
}
.support-desc {
  font-size: 13px;
  color: var(--text-300);
  line-height: 1.5;
  flex: 1;
}

/* Quick links strip */
.quick-links {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--sp-3);
}
.ql-item {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  padding: var(--sp-3) var(--sp-4);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-subtle);
  transition: all 0.2s;
}
.ql-item:hover {
  border-color: var(--border-strong);
  background: rgba(255,255,255,0.02);
}
.ql-item svg { width: 16px; height: 16px; color: var(--text-400); flex-shrink: 0; }
.ql-item:hover svg { color: var(--lime); }
.ql-text { display: flex; flex-direction: column; }
.ql-label { font-size: 13px; font-weight: 500; color: var(--text-200); }
.ql-sub { font-size: 11px; color: var(--text-400); }

/* ─── FOOTER ─── */
.footer {
  border-top: 1px solid var(--border-default);
  background: var(--surface-100);
  padding: var(--sp-4) 0;
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.footer-left {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
  font-size: 11px;
  color: var(--text-400);
}
.footer-left img { width: 18px; height: 18px; border-radius: 3px; }
.footer-links {
  display: flex;
  gap: var(--sp-4);
}
.footer-link {
  font-size: 11px;
  color: var(--text-400);
  transition: color 0.15s;
}
.footer-link:hover { color: var(--text-200); }

/* ─── RESPONSIVE ─── */
@media (max-width: 768px) {
  .hero { min-height: auto; padding-top: 72px; padding-bottom: var(--sp-6); }
  .hero-title { font-size: 28px; }
  .features-grid, .steps-grid, .download-grid, .support-grid { grid-template-columns: 1fr; }
  .quick-links { grid-template-columns: 1fr; }
  .mockup-body { grid-template-columns: 1fr; height: auto; }
  .mockup-pane + .mockup-pane { border-left: none; border-top: 1px solid var(--border-subtle); }
  .mockup-body .mockup-pane:first-child { min-height: 240px; }
  .mockup-body .mockup-pane:last-child { min-height: 200px; }
  .nav-links { display: none; }
  .footer-inner { flex-direction: column; gap: var(--sp-3); text-align: center; }
}

/* ─── SCROLL ANIMATIONS ─── */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s var(--ease-out-expo), transform 0.6s var(--ease-out-expo);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ─── TOAST ─── */
.toast {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: var(--surface-300);
  border: 1px solid var(--border-strong);
  color: var(--text-100);
  padding: 10px 18px;
  border-radius: var(--radius-md);
  font-size: 12px;
  font-weight: 500;
  box-shadow: var(--shadow-elevated);
  transform: translateY(80px);
  opacity: 0;
  transition: all 0.35s var(--ease-out-expo);
  z-index: 1000;
}
.toast.show {
  transform: translateY(0);
  opacity: 1;
}
