:root {
  --bg: #0a0c14;
  --bg-alt: #0f1320;
  --surface: #141929;
  --surface-hover: #1a2136;
  --border: rgba(148, 163, 184, 0.14);
  --border-strong: rgba(148, 163, 184, 0.25);
  --text: #f1f5f9;
  --text-muted: #94a3b8;
  --accent: #5b3ff8;
  --accent-bright: #755bff;
  --cyan: #00e5ff;
  --pink: #ec4899;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow-lg: 0 24px 70px rgba(0, 0, 0, 0.45);
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

code,
kbd {
  font-family: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
}

code {
  background: rgba(91, 63, 248, 0.14);
  color: #c4b5fd;
  padding: 0.15em 0.45em;
  border-radius: 6px;
  font-size: 0.88em;
}

kbd {
  display: inline-block;
  padding: 0.12em 0.48em;
  font-size: 0.82em;
  font-weight: 600;
  color: #f8fafc;
  background: #1e253b;
  border: 1px solid rgba(148, 163, 184, 0.35);
  border-bottom-width: 2px;
  border-radius: 6px;
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.4);
  margin: 0 1px;
}

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

.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Ambient Background */
.bg-ambient {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
  overflow: hidden;
}

.orb {
  position: absolute;
  border-radius: 999px;
  filter: blur(110px);
  opacity: 0.32;
}

.orb-1 {
  width: 560px;
  height: 560px;
  background: #5b3ff8;
  top: -180px;
  left: -120px;
}

.orb-2 {
  width: 480px;
  height: 480px;
  background: #00c2ff;
  top: 120px;
  right: -140px;
  opacity: 0.2;
}

.grid-overlay {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(148, 163, 184, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(148, 163, 184, 0.04) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(circle at 50% 20%, black 20%, transparent 78%);
}

/* Navbar */
.navbar {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(10, 12, 20, 0.78);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
}

.brand-icon {
  display: inline-flex;
  filter: drop-shadow(0 6px 16px rgba(91, 63, 248, 0.45));
}

.brand-text {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 1.15rem;
  letter-spacing: -0.02em;
}

.version-pill {
  font-size: 0.72rem;
  font-weight: 700;
  color: #c4b5fd;
  background: rgba(91, 63, 248, 0.2);
  border: 1px solid rgba(91, 63, 248, 0.4);
  padding: 2px 8px;
  border-radius: 999px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  color: var(--text-muted);
  font-size: 0.94rem;
  font-weight: 500;
}

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

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 1px solid transparent;
  border-radius: 12px;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  transition: transform 0.16s ease, background 0.16s ease, border-color 0.16s ease, box-shadow 0.16s ease;
}

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

.btn:active {
  transform: translateY(0);
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent), #7c5cff);
  color: #ffffff;
  box-shadow: 0 10px 30px rgba(91, 63, 248, 0.36);
}

.btn-primary:hover {
  background: linear-gradient(135deg, #694eff, #8c6eff);
  box-shadow: 0 14px 36px rgba(91, 63, 248, 0.48);
}

.btn-secondary {
  background: #1c2238;
  color: #f8fafc;
  border-color: var(--border-strong);
}

.btn-secondary:hover {
  background: #252d47;
  border-color: rgba(148, 163, 184, 0.42);
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  border-color: var(--border);
}

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

.btn-sm {
  padding: 9px 15px;
  font-size: 0.88rem;
  border-radius: 10px;
}

.btn-lg {
  padding: 13px 22px;
  font-size: 0.98rem;
}

.btn-block {
  width: 100%;
  padding: 13px 20px;
  font-size: 0.96rem;
}

.btn-meta {
  display: block;
  font-size: 0.74rem;
  font-weight: 500;
  opacity: 0.85;
  margin-top: 1px;
}

/* Hero */
.hero {
  padding: 68px 0 64px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.02fr 1.12fr;
  gap: 44px;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 600;
  color: #bae6fd;
  background: rgba(0, 229, 255, 0.08);
  border: 1px solid rgba(0, 229, 255, 0.25);
  margin-bottom: 20px;
}

.badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--cyan);
  box-shadow: 0 0 12px var(--cyan);
}

.hero-title {
  margin: 0 0 18px;
  font-size: clamp(2.25rem, 4.1vw, 3.35rem);
  line-height: 1.1;
  letter-spacing: -0.03em;
  font-weight: 800;
}

.gradient-text {
  background: linear-gradient(110deg, #a78bfa 0%, #60a5fa 50%, #00e5ff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-subtitle {
  margin: 0 0 28px;
  font-size: 1.04rem;
  color: var(--text-muted);
  max-width: 540px;
}

.hero-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 24px;
}

.hero-cta-row .btn-primary {
  text-align: left;
  padding: 12px 22px;
}

.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 20px;
  font-size: 0.84rem;
  color: var(--text-muted);
}

.hero-trust span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.hero-trust svg {
  color: #34d399;
}

/* Interactive App Preview */
.hero-showcase {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.showcase-toolbar-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.showcase-hint {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.theme-pills {
  display: inline-flex;
  background: rgba(20, 25, 41, 0.9);
  border: 1px solid var(--border);
  padding: 3px;
  border-radius: 10px;
  gap: 3px;
}

.theme-pill {
  border: none;
  background: transparent;
  color: var(--text-muted);
  font-family: inherit;
  font-size: 0.78rem;
  font-weight: 600;
  padding: 5px 10px;
  border-radius: 7px;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease;
}

.theme-pill.is-active {
  background: var(--accent);
  color: #ffffff;
}

.app-window {
  --app-bg: #0d0f17;
  --app-card: #151926;
  --app-border: #252c42;
  --app-text: #f1f5f9;
  --app-muted: #94a3b8;
  --app-accent: #5b3ff8;
  --app-box-bg: #0b0e18;

  background: var(--app-bg);
  color: var(--app-text);
  border: 1px solid var(--app-border);
  border-radius: 18px;
  box-shadow: var(--shadow-lg), 0 0 0 1px rgba(255, 255, 255, 0.04);
  overflow: hidden;
  transition: background 0.25s ease, border-color 0.25s ease, color 0.25s ease;
}

.app-window[data-app-theme="light"] {
  --app-bg: #f1f5f9;
  --app-card: #ffffff;
  --app-border: #cbd5e1;
  --app-text: #0f172a;
  --app-muted: #475569;
  --app-accent: #5b3ff8;
  --app-box-bg: #f8fafc;
}

.app-window[data-app-theme="colorful"] {
  --app-bg: #1a103c;
  --app-card: #261854;
  --app-border: #4c2e9c;
  --app-text: #fdf2f8;
  --app-muted: #d8b4fe;
  --app-accent: #ec4899;
  --app-box-bg: #1d1144;
  background-image: radial-gradient(circle at 85% 15%, rgba(236, 72, 153, 0.26), transparent 55%);
}

.app-titlebar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 11px 16px;
  background: var(--app-card);
  border-bottom: 1px solid var(--app-border);
  font-size: 0.84rem;
  font-weight: 600;
}

.app-title-left {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.mini-logo {
  display: inline-flex;
}

.app-pill-hotkey {
  font-family: "JetBrains Mono", monospace;
  font-size: 0.72rem;
  padding: 2px 7px;
  border-radius: 6px;
  background: rgba(91, 63, 248, 0.16);
  color: var(--app-accent);
}

.app-win-controls {
  display: inline-flex;
  gap: 7px;
}

.app-win-controls span {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: var(--app-border);
}

.app-body {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  padding: 14px;
}

.app-pane {
  background: var(--app-card);
  border: 1px solid var(--app-border);
  border-radius: 12px;
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.app-pane-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--app-muted);
}

.status-chip {
  font-size: 0.7rem;
  font-weight: 600;
  color: #34d399;
  background: rgba(52, 211, 153, 0.12);
  padding: 2px 7px;
  border-radius: 999px;
}

.snip-canvas {
  position: relative;
  background: #090d16;
  border: 1.5px dashed rgba(0, 229, 255, 0.65);
  border-radius: 10px;
  padding: 14px 12px;
  color: #e2e8f0;
  font-family: "JetBrains Mono", monospace;
  font-size: 0.74rem;
  line-height: 1.55;
  overflow: hidden;
  min-height: 126px;
}

.snip-doc-label {
  font-size: 0.65rem;
  color: #64748b;
  letter-spacing: 0.06em;
  margin-bottom: 6px;
}

.snip-line {
  margin: 0 0 6px;
}

.snip-line.dim {
  color: #94a3b8;
  margin-bottom: 0;
}

.hl-target {
  padding: 1px 4px;
  border-radius: 3px;
  transition: background 0.18s ease, box-shadow 0.18s ease;
}

.hl-target.is-highlighted {
  background: rgba(250, 204, 21, 0.34);
  box-shadow: inset 0 0 0 1px rgba(250, 204, 21, 0.75);
  color: #fef9c3;
}

.mosaic-target {
  display: inline-block;
  padding: 0 5px;
  border-radius: 3px;
  transition: all 0.18s ease;
}

.mosaic-target.is-mosaiced {
  color: transparent;
  text-shadow: 0 0 7px rgba(226, 232, 240, 0.85);
  background-image:
    repeating-linear-gradient(90deg, rgba(148, 163, 184, 0.55) 0 6px, rgba(51, 65, 85, 0.75) 6px 12px),
    repeating-linear-gradient(0deg, rgba(203, 213, 225, 0.35) 0 6px, rgba(30, 41, 59, 0.7) 6px 12px);
  background-blend-mode: overlay;
  user-select: none;
}

.anno-box {
  position: absolute;
  inset: 28px 10px 44px 10px;
  border: 2px solid #00e5ff;
  border-radius: 5px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.18s ease;
}

.anno-box.is-visible {
  opacity: 1;
}

.anno-arrow {
  position: absolute;
  right: 12px;
  bottom: 10px;
  width: 90px;
  height: 46px;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.18s ease;
}

.anno-arrow.is-visible {
  opacity: 1;
}

.anno-mini-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.anno-chip {
  border: 1px solid var(--app-border);
  background: var(--app-box-bg);
  color: var(--app-muted);
  font-family: inherit;
  font-size: 0.72rem;
  font-weight: 600;
  padding: 4px 8px;
  border-radius: 7px;
  cursor: pointer;
  transition: all 0.15s ease;
}

.anno-chip.is-on {
  border-color: var(--app-accent);
  background: rgba(91, 63, 248, 0.2);
  color: var(--app-text);
}

.mini-actions {
  display: inline-flex;
  gap: 6px;
}

.mini-btn {
  border: 1px solid var(--app-border);
  background: var(--app-box-bg);
  color: var(--app-text);
  font-family: inherit;
  font-size: 0.72rem;
  font-weight: 600;
  padding: 3px 8px;
  border-radius: 7px;
  cursor: pointer;
}

.mini-btn:hover {
  border-color: var(--app-accent);
}

.extracted-box {
  background: var(--app-box-bg);
  border: 1px solid var(--app-border);
  border-radius: 9px;
  padding: 10px;
  font-size: 0.78rem;
  line-height: 1.48;
  white-space: pre-line;
}

.trans-panel {
  background: var(--app-box-bg);
  border: 1px solid var(--app-border);
  border-radius: 9px;
  padding: 10px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.trans-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  font-size: 0.73rem;
  font-weight: 600;
  color: var(--app-muted);
}

.trans-header select {
  background: var(--app-card);
  color: var(--app-text);
  border: 1px solid var(--app-border);
  border-radius: 6px;
  padding: 3px 6px;
  font-size: 0.72rem;
  font-family: inherit;
}

.trans-output {
  font-size: 0.79rem;
  font-weight: 500;
  line-height: 1.45;
}

.trans-phonetic {
  font-size: 0.71rem;
  color: var(--app-muted);
  font-style: italic;
}

/* Metrics Strip */
.metrics-strip {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: rgba(20, 25, 41, 0.55);
  padding: 26px 0;
}

.metrics-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  text-align: center;
}

.metric-item strong {
  display: block;
  font-size: 1.55rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #ffffff;
}

.metric-item span {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* Sections */
.section {
  padding: 84px 0;
}

.section-alt {
  background: var(--bg-alt);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.section-head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 48px;
}

.eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 10px;
}

.section-head h2 {
  margin: 0 0 14px;
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  line-height: 1.18;
  letter-spacing: -0.025em;
}

.section-head p {
  margin: 0;
  color: var(--text-muted);
  font-size: 1rem;
}

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

.bento-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px;
  transition: transform 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}

.bento-card:hover {
  transform: translateY(-3px);
  border-color: rgba(91, 63, 248, 0.45);
  background: var(--surface-hover);
}

.bento-span-2 {
  grid-column: span 2;
}

.card-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  margin-bottom: 16px;
}

.card-icon.indigo { background: rgba(91, 63, 248, 0.2); }
.card-icon.cyan { background: rgba(0, 229, 255, 0.16); }
.card-icon.emerald { background: rgba(16, 185, 129, 0.18); }
.card-icon.pink { background: rgba(236, 72, 153, 0.18); }
.card-icon.amber { background: rgba(245, 158, 11, 0.18); }
.card-icon.violet { background: rgba(168, 85, 247, 0.2); }

.bento-card h3 {
  margin: 0 0 10px;
  font-size: 1.16rem;
  letter-spacing: -0.01em;
}

.bento-card p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.94rem;
}

.feature-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}

.feature-tags span {
  font-size: 0.76rem;
  font-weight: 600;
  color: #cbd5e1;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border);
  padding: 4px 10px;
  border-radius: 999px;
}

/* Annotation Tools Grid */
.tools-showcase {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.tool-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px;
}

.tool-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: rgba(91, 63, 248, 0.18);
  border: 1px solid rgba(91, 63, 248, 0.35);
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.tool-card h4 {
  margin: 0 0 8px;
  font-size: 1.04rem;
}

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

/* Steps */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.step-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  position: relative;
}

.step-num {
  font-family: "JetBrains Mono", monospace;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--cyan);
  margin-bottom: 12px;
}

.step-card h3 {
  margin: 0 0 10px;
  font-size: 1.14rem;
}

.step-card p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.93rem;
}

/* Download Section */
.download-box {
  background: linear-gradient(180deg, rgba(20, 25, 41, 0.95), rgba(15, 19, 32, 0.98));
  border: 1px solid rgba(91, 63, 248, 0.35);
  border-radius: 24px;
  padding: 52px 40px;
  box-shadow: var(--shadow-lg);
}

.download-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
  margin-bottom: 24px;
}

.dl-card {
  position: relative;
  background: rgba(10, 12, 20, 0.65);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.dl-card-featured {
  border-color: rgba(91, 63, 248, 0.65);
  box-shadow: 0 0 0 1px rgba(91, 63, 248, 0.25), 0 18px 40px rgba(91, 63, 248, 0.14);
}

.dl-ribbon {
  position: absolute;
  top: 16px;
  right: 16px;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  background: linear-gradient(135deg, var(--accent), #7c5cff);
  color: #ffffff;
  padding: 4px 10px;
  border-radius: 999px;
}

.dl-card-head h3 {
  margin: 0 0 4px;
  font-size: 1.2rem;
}

.dl-filename {
  font-family: "JetBrains Mono", monospace;
  font-size: 0.84rem;
  color: var(--cyan);
}

.dl-desc {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.92rem;
}

.dl-specs {
  list-style: none;
  margin: 0 0 6px;
  padding: 0;
  display: grid;
  gap: 6px;
  font-size: 0.88rem;
  color: #cbd5e1;
}

.checksum-row {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  color: var(--text-muted);
  padding-top: 4px;
}

.checksum-val {
  flex: 1;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.copy-hash-btn {
  border: 1px solid var(--border);
  background: transparent;
  color: #cbd5e1;
  font-family: inherit;
  font-size: 0.74rem;
  font-weight: 600;
  padding: 3px 9px;
  border-radius: 6px;
  cursor: pointer;
}

.copy-hash-btn:hover {
  border-color: var(--accent);
  color: #ffffff;
}

.smartscreen-note {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  background: rgba(245, 158, 11, 0.08);
  border: 1px solid rgba(245, 158, 11, 0.28);
  border-radius: 14px;
  padding: 16px 20px;
  font-size: 0.9rem;
  color: #fde68a;
}

.smartscreen-icon {
  font-size: 1.3rem;
  line-height: 1.2;
}

/* FAQ */
.faq-wrap {
  max-width: 820px;
}

.faq-list {
  display: grid;
  gap: 12px;
}

.faq-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 18px 22px;
}

.faq-item summary {
  cursor: pointer;
  font-weight: 600;
  font-size: 1rem;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.faq-item summary::after {
  content: "+";
  font-size: 1.25rem;
  color: var(--cyan);
  margin-left: 12px;
}

.faq-item[open] summary::after {
  content: "−";
}

.faq-item p {
  margin: 12px 0 0;
  color: var(--text-muted);
  font-size: 0.94rem;
}

/* Footer */
.footer {
  border-top: 1px solid var(--border);
  padding: 32px 0 42px;
  background: rgba(10, 12, 20, 0.85);
}

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

.footer-left p {
  margin: 6px 0 0;
  color: var(--text-muted);
  font-size: 0.88rem;
}

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

.footer-link {
  color: #cbd5e1;
  font-size: 0.9rem;
}

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

/* Modal */
.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: rgba(5, 7, 14, 0.78);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.modal-backdrop[hidden] {
  display: none;
}

.modal-card {
  position: relative;
  width: 100%;
  max-width: 500px;
  background: #141929;
  border: 1px solid rgba(91, 63, 248, 0.45);
  border-radius: 20px;
  padding: 28px;
  box-shadow: var(--shadow-lg);
}

.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 32px;
  height: 32px;
  border: none;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--text-muted);
  font-size: 1.3rem;
  cursor: pointer;
}

.modal-close:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.12);
}

.modal-badge {
  display: inline-block;
  font-size: 0.74rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #34d399;
  background: rgba(52, 211, 153, 0.14);
  padding: 4px 10px;
  border-radius: 999px;
  margin-bottom: 12px;
}

.modal-card h3 {
  margin: 0 0 8px;
  font-size: 1.3rem;
}

.modal-sub {
  margin: 0 0 18px;
  color: var(--text-muted);
  font-size: 0.92rem;
}

.modal-steps {
  margin: 0 0 22px;
  padding-left: 20px;
  display: grid;
  gap: 10px;
  color: #e2e8f0;
  font-size: 0.92rem;
}

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

/* Toast */
.toast {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 120;
  background: #1e2438;
  color: #ffffff;
  border: 1px solid rgba(91, 63, 248, 0.55);
  padding: 12px 18px;
  border-radius: 12px;
  font-size: 0.9rem;
  font-weight: 500;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.45);
}

/* Responsive */
@media (max-width: 980px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }

  .bento-grid,
  .tools-showcase,
  .steps-grid,
  .download-cards {
    grid-template-columns: 1fr;
  }

  .bento-span-2 {
    grid-column: span 1;
  }

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

  .nav-links {
    display: none;
  }
}

@media (max-width: 640px) {
  .app-body {
    grid-template-columns: 1fr;
  }

  .download-box {
    padding: 32px 20px;
  }
}
