@charset "UTF-8";

/* ==========================================================================
   Google Antigravity Design System Tokens & Base
   ========================================================================== */

:root {
  color-scheme: dark;

  /* Palette - Antigravity Charcoal & Obsidian */
  --palette-grey-1200: #121317;
  --palette-grey-1100: #18191d;
  --palette-grey-1000: #212226;
  --palette-grey-900: #2f3034;
  --palette-grey-800: #45474d;
  --palette-grey-600: #6b7787;
  --palette-grey-400: #9aa5b5;
  --palette-grey-200: #cdd4dc;
  --palette-grey-100: #e1e6ec;
  --palette-grey-50: #eff2f7;
  --palette-grey-0: #ffffff;

  /* Brand Accents */
  --palette-blue-600: #3279f9;
  --palette-blue-500: #1a73e8;
  --palette-blue-400: #669df6;
  --palette-mint-500: #00e599;
  --palette-mint-400: #38ef7d;

  /* Theme Tokens (Dark by default) */
  --bg: var(--palette-grey-1200);
  --bg-gradient: radial-gradient(ellipse 80% 50% at 50% -10%, rgba(50, 121, 249, 0.16), transparent 75%);
  --surface: var(--palette-grey-1100);
  --surface-raised: var(--palette-grey-1000);
  --surface-overlay: rgba(18, 19, 23, 0.78);
  --surface-glass: rgba(24, 25, 29, 0.6);
  --surface-hover: rgba(255, 255, 255, 0.05);

  --text: #f8f9fc;
  --text-muted: var(--palette-grey-400);
  --text-subtle: var(--palette-grey-600);

  --line: rgba(255, 255, 255, 0.08);
  --line-strong: rgba(255, 255, 255, 0.16);
  --line-focus: var(--palette-blue-600);

  --accent: var(--palette-blue-600);
  --accent-hover: #4f8dfa;
  --accent-on-accent: #ffffff;
  --accent-subtle: rgba(50, 121, 249, 0.12);
  --accent-mint: var(--palette-mint-500);

  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.2);
  --shadow-md: 0 12px 32px rgba(0, 0, 0, 0.35);
  --shadow-lg: 0 24px 64px -12px rgba(0, 0, 0, 0.5);
  --shadow-glow: 0 0 80px -20px rgba(50, 121, 249, 0.3);

  --radius-xs: 4px;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --radius-xl: 24px;
  --radius-full: 999px;

  --font-sans: 'Google Sans Flex', 'Google Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-mono: 'Google Sans Code', ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  --font-symbols: 'Google Symbols', sans-serif;
}

/* Light Theme Variables */
:root[data-theme='light'] {
  color-scheme: light;
  --bg: #f8f9fc;
  --bg-gradient: radial-gradient(ellipse 80% 50% at 50% -10%, rgba(26, 115, 232, 0.1), transparent 75%);
  --surface: #ffffff;
  --surface-raised: #f1f4f9;
  --surface-overlay: rgba(248, 249, 252, 0.82);
  --surface-glass: rgba(255, 255, 255, 0.7);
  --surface-hover: rgba(0, 0, 0, 0.04);

  --text: #121317;
  --text-muted: #535d6e;
  --text-subtle: #7e8b9e;

  --line: rgba(0, 0, 0, 0.08);
  --line-strong: rgba(0, 0, 0, 0.16);
  --line-focus: var(--palette-blue-500);

  --accent: var(--palette-blue-500);
  --accent-hover: #1558b0;
  --accent-on-accent: #ffffff;
  --accent-subtle: rgba(26, 115, 232, 0.08);
  --accent-mint: #00a86b;

  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 12px 32px rgba(22, 33, 54, 0.08);
  --shadow-lg: 0 24px 64px -12px rgba(22, 33, 54, 0.12);
  --shadow-glow: 0 0 80px -20px rgba(26, 115, 232, 0.18);
}

@media (prefers-color-scheme: light) {
  :root:not([data-theme]) {
    color-scheme: light;
    --bg: #f8f9fc;
    --bg-gradient: radial-gradient(ellipse 80% 50% at 50% -10%, rgba(26, 115, 232, 0.1), transparent 75%);
    --surface: #ffffff;
    --surface-raised: #f1f4f9;
    --surface-overlay: rgba(248, 249, 252, 0.82);
    --surface-glass: rgba(255, 255, 255, 0.7);
    --surface-hover: rgba(0, 0, 0, 0.04);

    --text: #121317;
    --text-muted: #535d6e;
    --text-subtle: #7e8b9e;

    --line: rgba(0, 0, 0, 0.08);
    --line-strong: rgba(0, 0, 0, 0.16);
    --line-focus: var(--palette-blue-500);

    --accent: var(--palette-blue-500);
    --accent-hover: #1558b0;
    --accent-on-accent: #ffffff;
    --accent-subtle: rgba(26, 115, 232, 0.08);
    --accent-mint: #00a86b;

    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 12px 32px rgba(22, 33, 54, 0.08);
    --shadow-lg: 0 24px 64px -12px rgba(22, 33, 54, 0.12);
    --shadow-glow: 0 0 80px -20px rgba(26, 115, 232, 0.18);
  }
}

/* ==========================================================================
   Global Reset & Typography
   ========================================================================== */

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
  -webkit-text-size-adjust: 100%;
}

body {
  background-color: var(--bg);
  background-image: var(--bg-gradient);
  background-attachment: fixed;
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 15px;
  line-height: 1.65;
  letter-spacing: -0.01em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.15s ease;
}

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

a:focus-visible,
button:focus-visible,
select:focus-visible,
[tabindex]:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.skip {
  position: absolute;
  top: -80px;
  left: 20px;
  padding: 10px 18px;
  background: var(--accent);
  color: var(--accent-on-accent);
  border-radius: var(--radius-full);
  font-weight: 500;
  font-size: 13px;
  z-index: 999;
  transition: top 0.2s ease;
}
.skip:focus {
  top: 16px;
}

.wrap {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding-left: 28px;
  padding-right: 28px;
}

/* Google Symbols Helper */
.symbol {
  font-family: var(--font-symbols);
  font-weight: 300;
  font-style: normal;
  font-size: 20px;
  line-height: 1;
  letter-spacing: normal;
  text-transform: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
  word-wrap: normal;
  direction: ltr;
  -webkit-font-smoothing: antialiased;
  font-variation-settings: 'FILL' 0, 'wght' 350, 'GRAD' 0, 'ROND' 50, 'opsz' 24;
  vertical-align: middle;
}
.symbol-filled {
  font-variation-settings: 'FILL' 1, 'wght' 400, 'GRAD' 0, 'ROND' 50, 'opsz' 24;
}
.symbol-sm {
  font-size: 15px;
}
.symbol-lg {
  font-size: 26px;
}

/* ==========================================================================
   Header & Navigation (Antigravity Floating Glass Header)
   ========================================================================== */

.header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: 72px;
  width: 100%;
  background: var(--surface-overlay);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--line);
  transition: background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}
.header.scrolled {
  box-shadow: var(--shadow-sm);
  border-bottom-color: var(--line-strong);
}

.header-inner {
  height: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -0.03em;
  color: var(--text);
  flex-shrink: 0;
}
.brand .mark {
  width: 28px;
  height: 28px;
  object-fit: contain;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}
.brand:hover .mark {
  transform: rotate(-6deg) scale(1.08);
}
.brand-badge {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.04em;
  padding: 2px 8px;
  border-radius: var(--radius-full);
  background: var(--accent-subtle);
  color: var(--accent);
  border: 1px solid rgba(50, 121, 249, 0.2);
}

.header-nav {
  display: flex;
  align-items: center;
  gap: 8px;
}
.header-nav a {
  padding: 7px 14px;
  border-radius: var(--radius-full);
  font-size: 13.5px;
  font-weight: 450;
  color: var(--text-muted);
  transition: color 0.15s ease, background 0.15s ease;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.header-nav a:hover {
  color: var(--text);
  background: var(--surface-hover);
}

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

/* Theme Toggle Pill */
.theme-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: var(--radius-full);
  background: var(--surface-raised);
  border: 1px solid var(--line);
  color: var(--text-muted);
  transition: all 0.2s ease;
  cursor: pointer;
}
.theme-toggle:hover {
  color: var(--text);
  border-color: var(--line-strong);
  background: var(--surface-hover);
}
.theme-icon {
  font-size: 18px;
}
.theme-icon-sun {
  display: none;
}
:root[data-theme='light'] .theme-icon-sun {
  display: inline-flex;
}
:root[data-theme='light'] .theme-icon-moon {
  display: none;
}
@media (prefers-color-scheme: light) {
  :root:not([data-theme]) .theme-icon-sun {
    display: inline-flex;
  }
  :root:not([data-theme]) .theme-icon-moon {
    display: none;
  }
}

/* Language Picker Styled Pill */
.language-picker {
  position: relative;
  display: inline-flex;
  align-items: center;
}
.language-picker select {
  appearance: none;
  -webkit-appearance: none;
  background: var(--surface-raised);
  border: 1px solid var(--line);
  border-radius: var(--radius-full);
  color: var(--text-muted);
  font-family: var(--font-sans);
  font-size: 12.5px;
  font-weight: 450;
  padding: 8px 30px 8px 14px;
  cursor: pointer;
  transition: all 0.2s ease;
}
.language-picker select:hover {
  color: var(--text);
  border-color: var(--line-strong);
}
.language-picker .picker-arrow {
  position: absolute;
  right: 10px;
  pointer-events: none;
  color: var(--text-subtle);
  font-size: 14px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ==========================================================================
   Buttons (Antigravity Pill Buttons)
   ========================================================================== */

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: var(--radius-full);
  padding: 11px 24px;
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: -0.01em;
  text-decoration: none;
  cursor: pointer;
  border: 1px solid transparent;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  white-space: nowrap;
  user-select: none;
}
.button:hover {
  transform: translateY(-1.5px);
}
.button:active {
  transform: translateY(0);
}

.button-primary {
  background: var(--accent);
  color: var(--accent-on-accent);
  border-color: var(--accent);
  box-shadow: 0 4px 16px rgba(50, 121, 249, 0.28);
}
.button-primary:hover {
  background: var(--accent-hover);
  border-color: var(--accent-hover);
  box-shadow: 0 8px 24px rgba(50, 121, 249, 0.38);
}

.button-secondary {
  background: var(--surface-glass);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  color: var(--text);
  border: 1px solid var(--line-strong);
}
.button-secondary:hover {
  background: var(--surface-hover);
  border-color: var(--text-muted);
}

.button-compact {
  padding: 8px 18px;
  font-size: 13px;
}

/* ==========================================================================
   Hero Section (Antigravity Big Headline & Mesh Glow)
   ========================================================================== */

.hero {
  position: relative;
  text-align: center;
  padding-top: 84px;
  padding-bottom: 60px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.eyebrow-pill {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 6px 16px;
  border-radius: var(--radius-full);
  background: var(--surface-raised);
  border: 1px solid var(--line);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.12em;
  color: var(--text-muted);
  margin-bottom: 28px;
  box-shadow: var(--shadow-sm);
}
.eyebrow-pill .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--palette-mint-500);
  box-shadow: 0 0 10px rgba(0, 229, 153, 0.7);
  animation: pulseDot 2.4s infinite ease-in-out;
}
@keyframes pulseDot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.85); }
}

.hero-title {
  font-size: clamp(44px, 7vw, 84px);
  line-height: 1.05;
  letter-spacing: -0.045em;
  font-weight: 600;
  margin-bottom: 24px;
  max-width: 960px;
}
.hero-gradient {
  background: linear-gradient(135deg, #3279f9 0%, #00e599 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
:root[data-theme='light'] .hero-gradient {
  background: linear-gradient(135deg, #1a73e8 0%, #00a86b 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-intro {
  font-size: clamp(16px, 2vw, 19px);
  line-height: 1.65;
  color: var(--text-muted);
  max-width: 680px;
  margin: 0 auto 36px;
}

.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-bottom: 28px;
  flex-wrap: wrap;
}

.hero-meta {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  margin-bottom: 48px;
}

.release-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 14px;
  border-radius: var(--radius-full);
  background: var(--surface-raised);
  border: 1px solid var(--line);
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-muted);
  transition: all 0.2s ease;
}
.release-pill:hover {
  border-color: var(--accent);
  color: var(--text);
}
.release-tag {
  color: var(--text-subtle);
}
.release-version {
  color: var(--palette-mint-500);
  font-weight: 600;
}

.tech-stack-strip {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--text-subtle);
}
.dot-sep {
  display: inline-block;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--text-subtle);
  opacity: 0.6;
}

/* ==========================================================================
   App Preview Showcase (Antigravity Style Canvas Frame)
   ========================================================================== */

.app-showcase {
  position: relative;
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
}

.showcase-glow {
  position: absolute;
  top: 10%;
  left: 5%;
  right: 5%;
  bottom: 10%;
  background: radial-gradient(ellipse at 50% 30%, rgba(50, 121, 249, 0.25), transparent 70%);
  filter: blur(60px);
  z-index: 0;
  pointer-events: none;
}
:root[data-theme='light'] .showcase-glow {
  background: radial-gradient(ellipse at 50% 30%, rgba(26, 115, 232, 0.14), transparent 70%);
}

.showcase-window {
  position: relative;
  z-index: 1;
  background: var(--surface);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg), var(--shadow-glow);
  transition: border-color 0.3s ease;
}
.showcase-window:hover {
  border-color: rgba(50, 121, 249, 0.3);
}

.window-bar {
  height: 42px;
  background: var(--surface-raised);
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 18px;
}
.window-dots {
  display: flex;
  align-items: center;
  gap: 7px;
}
.window-dot {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--line-strong);
}
.window-dot.close { background: #ff5f56; }
.window-dot.min { background: #ffbd2e; }
.window-dot.max { background: #27c93f; }

.window-title {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-muted);
  letter-spacing: 0.02em;
}

.window-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}
.window-tag {
  font-family: var(--font-mono);
  font-size: 10px;
  padding: 2px 8px;
  border-radius: var(--radius-full);
  background: var(--surface);
  border: 1px solid var(--line);
  color: var(--text-subtle);
}

.preview-stage {
  position: relative;
  line-height: 0;
  overflow: hidden;
}
.workspace-image {
  display: block;
  width: 100%;
  height: auto;
  user-select: none;
  pointer-events: none;
}

/* Floating Feature Callout Pins */
.preview-chip {
  position: absolute;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: var(--radius-full);
  background: rgba(18, 19, 23, 0.85);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: #ffffff;
  font-size: 12.5px;
  font-weight: 500;
  box-shadow: var(--shadow-md);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.2s ease;
  pointer-events: auto;
}
:root[data-theme='light'] .preview-chip {
  background: rgba(255, 255, 255, 0.9);
  border-color: rgba(0, 0, 0, 0.12);
  color: #121317;
}
.preview-chip:hover {
  transform: scale(1.05);
  border-color: var(--accent);
}
.preview-chip .symbol {
  color: var(--accent);
  font-size: 16px;
}
.preview-chip.chip-1 {
  top: 18px;
  left: 24px;
}
.preview-chip.chip-2 {
  bottom: 24px;
  left: 24px;
}
.preview-chip.chip-3 {
  bottom: 24px;
  right: 24px;
}

/* ==========================================================================
   Section Headers (Antigravity Clean Style)
   ========================================================================== */

.section-header {
  text-align: center;
  max-width: 780px;
  margin: 0 auto 56px;
}
.section-header.text-left {
  text-align: left;
  margin-left: 0;
}
.section-eyebrow {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.14em;
  color: var(--accent);
  margin-bottom: 14px;
  text-transform: uppercase;
}
.section-title {
  font-size: clamp(32px, 4.5vw, 48px);
  line-height: 1.15;
  letter-spacing: -0.035em;
  font-weight: 600;
  margin-bottom: 16px;
}
.section-desc {
  font-size: 16px;
  line-height: 1.7;
  color: var(--text-muted);
}

/* ==========================================================================
   Antigravity Feature Explorer Grid
   ========================================================================== */

.features {
  padding-top: 120px;
  padding-bottom: 96px;
}

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

.feature-card {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 36px 30px;
  display: flex;
  flex-direction: column;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.feature-card:hover {
  background: var(--surface-raised);
  border-color: var(--line-strong);
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.feature-icon-box {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background: var(--accent-subtle);
  border: 1px solid rgba(50, 121, 249, 0.18);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
}
.feature-icon-box .symbol {
  font-size: 24px;
}

.feature-card h3 {
  font-size: 19px;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
  color: var(--text);
}

.feature-card p {
  font-size: 14px;
  line-height: 1.7;
  color: var(--text-muted);
  margin-bottom: 24px;
  flex-grow: 1;
}

.feature-tag {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  color: var(--text-subtle);
  text-transform: uppercase;
}

/* ==========================================================================
   Workflow Steps Section (Antigravity 01/02/03)
   ========================================================================== */

.workflow {
  padding-top: 80px;
  padding-bottom: 110px;
  border-top: 1px solid var(--line);
}

.workflow-layout {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 72px;
  align-items: center;
}

.workflow-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.workflow-copy .section-title {
  margin-bottom: 20px;
}
.workflow-copy .text-muted {
  color: var(--text-subtle);
}
.workflow-copy .cta-link {
  margin-top: 24px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--accent);
  font-weight: 500;
  font-size: 14px;
  transition: gap 0.2s ease;
}
.workflow-copy .cta-link:hover {
  gap: 10px;
  color: var(--accent-hover);
}

.workflow-steps {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.step-card {
  display: flex;
  gap: 24px;
  padding: 24px 28px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  transition: all 0.25s ease;
}
.step-card:hover {
  background: var(--surface-raised);
  border-color: var(--line-strong);
  transform: translateX(4px);
}

.step-number {
  font-family: var(--font-mono);
  font-size: 14px;
  font-weight: 600;
  color: var(--accent);
  background: var(--accent-subtle);
  width: 36px;
  height: 36px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.step-content h3 {
  font-size: 17px;
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--text);
}
.step-content p {
  font-size: 13.5px;
  line-height: 1.65;
  color: var(--text-muted);
}

/* ==========================================================================
   Download & Platform Installer Section (Antigravity Style)
   ========================================================================== */

.install {
  padding-top: 100px;
  padding-bottom: 100px;
  border-top: 1px solid var(--line);
  position: relative;
}

.install-backdrop {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-xl);
  padding: 64px 48px;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}
.install-backdrop::before {
  content: '';
  position: absolute;
  top: -200px;
  right: -200px;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(50, 121, 249, 0.12), transparent 70%);
  pointer-events: none;
}

.package-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin: 40px auto 20px;
  max-width: 900px;
}

.package-card {
  background: var(--surface-raised);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 32px;
  display: flex;
  flex-direction: column;
  transition: all 0.25s ease;
}
.package-card:hover {
  border-color: var(--line-strong);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.package-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}
.package-platform {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--accent);
  font-weight: 600;
}
.package-badge {
  font-size: 10.5px;
  font-weight: 500;
  padding: 3px 9px;
  border-radius: var(--radius-full);
  background: rgba(0, 229, 153, 0.12);
  color: var(--palette-mint-500);
  border: 1px solid rgba(0, 229, 153, 0.25);
}

.package-card h3 {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 12px;
  color: var(--text);
}
.package-card p {
  font-size: 13.5px;
  line-height: 1.7;
  color: var(--text-muted);
  margin-bottom: 24px;
  flex-grow: 1;
}

.download-release {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  font-size: 13.5px;
  color: var(--accent);
  transition: color 0.15s ease, gap 0.15s ease;
}
.download-release:hover {
  color: var(--accent-hover);
  gap: 12px;
}

.package-note {
  text-align: center;
  font-size: 12.5px;
  color: var(--text-subtle);
  margin: 24px auto 36px;
  max-width: 720px;
}

/* ==========================================================================
   Terminal / Quick Launch Box (Google Sans Code)
   ========================================================================== */

.terminal-box {
  max-width: 820px;
  margin: 36px auto 48px;
  background: var(--palette-grey-1200);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}
:root[data-theme='light'] .terminal-box {
  background: #18191d;
  color: #f8f9fc;
}

.terminal-header {
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 16px;
  background: rgba(255, 255, 255, 0.04);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  font-family: var(--font-mono);
  font-size: 11.5px;
  color: var(--palette-grey-400);
}
.terminal-header .dots {
  display: flex;
  gap: 6px;
}
.terminal-header .dot-item {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
}

.copy-button {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #f8f9fc;
  font-family: var(--font-mono);
  font-size: 11px;
  transition: all 0.2s ease;
}
.copy-button:hover {
  background: rgba(255, 255, 255, 0.16);
  border-color: rgba(255, 255, 255, 0.25);
}

.terminal-body {
  padding: 16px 20px;
  overflow-x: auto;
}
.terminal-body pre {
  margin: 0;
  font-family: var(--font-mono);
  font-size: 13px;
  line-height: 1.8;
  color: var(--palette-mint-400);
}
.terminal-status {
  padding: 0 20px 12px;
  min-height: 24px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  color: var(--palette-mint-500);
  transition: opacity 0.2s ease;
}

/* Setup Notes 3-Column */
.setup-notes {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  max-width: 900px;
  margin: 40px auto 0;
}
.setup-note-item {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.setup-note-item strong {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  color: var(--text);
  letter-spacing: 0.04em;
}
.setup-note-item p {
  font-size: 13px;
  line-height: 1.65;
  color: var(--text-muted);
}

/* ==========================================================================
   Footer (Antigravity Minimalist Footer)
   ========================================================================== */

.footer {
  border-top: 1px solid var(--line);
  background: var(--bg);
  padding: 56px 0 40px;
  margin-top: 60px;
}

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

.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 18px;
  font-weight: 600;
  color: var(--text);
}
.footer-brand .mark {
  width: 26px;
  height: 26px;
}
.footer-brand .company {
  font-size: 12px;
  font-weight: 400;
  color: var(--text-subtle);
}

.footer-tagline {
  font-size: 13px;
  color: var(--text-muted);
}

.footer-links {
  display: flex;
  align-items: center;
  gap: 24px;
  font-size: 13px;
  color: var(--text-muted);
}
.footer-links a:hover {
  color: var(--text);
}
.footer-links .back-to-top {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: var(--accent);
}

.footer-bottom {
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12px;
  color: var(--text-subtle);
}

/* ==========================================================================
   Responsive Adaptations
   ========================================================================== */

@media (max-width: 1024px) {
  .feature-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .workflow-layout {
    grid-template-columns: 1fr;
    gap: 48px;
  }
}

@media (max-width: 768px) {
  .header-inner {
    padding: 0 20px;
  }
  .header-nav {
    display: none;
  }
  .hero {
    padding-top: 60px;
    padding-bottom: 40px;
  }
  .hero-title {
    font-size: 38px;
    letter-spacing: -0.03em;
  }
  .feature-grid {
    grid-template-columns: 1fr;
  }
  .package-grid {
    grid-template-columns: 1fr;
  }
  .setup-notes {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .preview-chip {
    display: none;
  }
  .install-backdrop {
    padding: 40px 24px;
  }
  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }
  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
}

@media (max-width: 520px) {
  .header-actions .button-compact {
    display: none;
  }
}

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