/* ==========================================================================
   X多功能工作台 — Luxury Dark Obsidian & Spotlight Bento Landing Page
   ========================================================================== */

:root {
  --bg-obsidian: #04070d;
  --bg-surface: rgba(14, 20, 32, 0.65);
  --bg-card: rgba(17, 24, 39, 0.58);
  --border-glass: rgba(255, 255, 255, 0.085);
  --border-highlight: rgba(125, 211, 252, 0.28);

  --txt-main: #f8fafc;
  --txt-sub: #94a3b8;
  --txt-dim: #64748b;

  --blue: #1d9bf0;
  --sky: #38bdf8;
  --purple: #8b5cf6;
  --emerald: #00d68f;
  --pink: #ff4da0;
  --amber: #fbbf24;

  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "PingFang SC",
    "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
}

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

html {
  scroll-behavior: smooth;
}

body {
  background-color: var(--bg-obsidian);
  color: var(--txt-main);
  font-family: var(--font-sans);
  font-size: 15px;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

[hidden] {
  display: none !important;
}

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

/* ---- Background Mesh & Aurora Stage ---- */

.bg-stage {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  overflow: hidden;
}

.aurora {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.36;
  animation: float-aurora 16s ease-in-out infinite alternate;
}

.aurora-blue {
  width: 620px;
  height: 460px;
  top: -140px;
  left: 12%;
  background: radial-gradient(circle, #1d9bf0 0%, transparent 70%);
}

.aurora-purple {
  width: 560px;
  height: 480px;
  top: 40px;
  right: 8%;
  background: radial-gradient(circle, #7c3aed 0%, transparent 70%);
  animation-delay: -5s;
}

.aurora-emerald {
  width: 520px;
  height: 400px;
  bottom: -160px;
  left: 35%;
  background: radial-gradient(circle, #00ba7c 0%, transparent 72%);
  opacity: 0.2;
  animation-delay: -9s;
}

@keyframes float-aurora {
  0% { transform: translate3d(0, 0, 0) scale(1); }
  100% { transform: translate3d(28px, -24px, 0) scale(1.08); }
}

.grid-mesh {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 80% 55% at 50% 15%, #000 30%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 80% 55% at 50% 15%, #000 30%, transparent 100%);
}

/* ---- Floating Glass Navbar Island ---- */

.nav-wrap {
  position: sticky;
  top: 16px;
  z-index: 100;
  padding: 0 20px;
}

.nav-island {
  max-width: 1120px;
  margin: 0 auto;
  height: 58px;
  padding: 0 14px 0 16px;
  border-radius: 999px;
  background: rgba(10, 15, 26, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow:
    0 12px 36px rgba(0, 0, 0, 0.45),
    inset 0 1px 0 rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.nav-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: #ffffff;
}

.nav-logo {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  box-shadow: 0 2px 12px rgba(29, 155, 240, 0.35);
}

.nav-brand-name {
  font-size: 15.5px;
  font-weight: 800;
  letter-spacing: -0.01em;
}

.nav-version {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 2px 8px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  background: rgba(0, 214, 143, 0.13);
  color: var(--emerald);
  border: 1px solid rgba(0, 214, 143, 0.3);
}

.live-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--emerald);
  box-shadow: 0 0 8px var(--emerald);
}

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

.nav-links a {
  color: var(--txt-sub);
  text-decoration: none;
  font-size: 13.5px;
  font-weight: 600;
  transition: color 0.16s ease;
}

.nav-links a:hover {
  color: #ffffff;
}

.nav-cta {
  display: flex;
  align-items: center;
  gap: 8px;
}

/* ---- Buttons ---- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 999px;
  font-family: inherit;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform 0.14s ease, box-shadow 0.18s ease, background 0.18s ease, border-color 0.18s ease;
  white-space: nowrap;
}

.btn:active {
  transform: scale(0.97);
}

.btn-sm {
  height: 36px;
  padding: 0 15px;
  font-size: 13px;
}

.btn-lg {
  height: 50px;
  padding: 0 26px;
  font-size: 15px;
}

.btn-primary,
.btn-glow {
  background: linear-gradient(135deg, #1d9bf0 0%, #2563eb 100%);
  color: #ffffff;
  border-color: rgba(125, 211, 252, 0.4);
  box-shadow:
    0 6px 24px rgba(29, 155, 240, 0.38),
    inset 0 1px 0 rgba(255, 255, 255, 0.25);
}

.btn-primary:hover,
.btn-glow:hover {
  box-shadow:
    0 10px 32px rgba(29, 155, 240, 0.55),
    inset 0 1px 0 rgba(255, 255, 255, 0.35);
  filter: brightness(1.06);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.06);
  color: var(--txt-main);
  border-color: rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(10px);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.11);
  border-color: rgba(255, 255, 255, 0.26);
}

.btn-ghost {
  background: transparent;
  color: var(--txt-sub);
  border-color: rgba(255, 255, 255, 0.1);
}

.btn-ghost:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.06);
}

/* ---- Hero Section ---- */

.hero-section {
  padding: 68px 24px 44px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  border-radius: 999px;
  background: rgba(29, 155, 240, 0.1);
  border: 1px solid rgba(56, 189, 248, 0.28);
  color: #7dd3fc;
  font-size: 12.5px;
  font-weight: 600;
  margin-bottom: 24px;
}

.badge-spark {
  color: #38bdf8;
}

.hero-title {
  font-size: clamp(34px, 5.2vw, 60px);
  font-weight: 900;
  line-height: 1.14;
  letter-spacing: -0.025em;
  max-width: 900px;
  margin-bottom: 20px;
}

.gradient-text {
  background: linear-gradient(135deg, #60a5fa 0%, #38bdf8 38%, #c084fc 78%, #34d399 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-subtitle {
  max-width: 740px;
  font-size: clamp(15px, 1.8vw, 17.5px);
  color: var(--txt-sub);
  line-height: 1.72;
  margin-bottom: 32px;
}

.hero-subtitle strong {
  color: #e2e8f0;
  font-weight: 600;
}

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

.trust-pills {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  font-size: 12.5px;
  color: var(--txt-dim);
  font-weight: 600;
}

/* ---- Interactive Dual-Workbench Playground ---- */

.playground-section {
  padding: 12px 24px 80px;
}

.playground-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 11px 16px;
  margin-bottom: 14px;
  border-radius: 16px;
  background: rgba(15, 23, 42, 0.72);
  border: 1px solid var(--border-glass);
  backdrop-filter: blur(14px);
}

.toolbar-group {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.toolbar-label {
  font-size: 12.5px;
  color: var(--txt-sub);
  font-weight: 600;
}

.seg-group {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 4px;
  padding: 3px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.seg-btn {
  padding: 5px 12px;
  border-radius: 999px;
  border: none;
  background: transparent;
  color: var(--txt-sub);
  font-family: inherit;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.14s ease;
}

.seg-btn:hover {
  color: #ffffff;
}

.seg-btn.is-active {
  background: var(--blue);
  color: #ffffff;
  box-shadow: 0 2px 10px rgba(29, 155, 240, 0.4);
}

.workbench-stage {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 356px;
  gap: 18px;
  align-items: start;
}

/* Left Mock X Timeline Browser */
.mock-browser {
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow:
    0 24px 64px rgba(0, 0, 0, 0.6),
    0 0 0 1px rgba(56, 189, 248, 0.08);
  transition: background 0.2s ease, color 0.2s ease;
}

.mock-browser[data-xtheme="lights-out"] {
  --x-bg: #000000;
  --x-chrome: #0d1117;
  --x-line: #2f3336;
  --x-fg: #e7e9ea;
  --x-muted: #71767b;
  --st-bg: rgba(29, 155, 240, 0.15);
  --st-fg: #3aa8f7;
  --st-num: #63beff;
  --st-bd: rgba(29, 155, 240, 0.32);
  --un-bg: rgba(244, 33, 46, 0.08);
  --un-fg: #ff4d58;
  --un-bd: rgba(244, 33, 46, 0.52);
}

.mock-browser[data-xtheme="dim"] {
  --x-bg: #15202b;
  --x-chrome: #101923;
  --x-line: #38444d;
  --x-fg: #f7f9f9;
  --x-muted: #8b98a5;
  --st-bg: rgba(29, 155, 240, 0.17);
  --st-fg: #44b0ff;
  --st-num: #78c8ff;
  --st-bd: rgba(29, 155, 240, 0.36);
  --un-bg: rgba(244, 33, 46, 0.1);
  --un-fg: #ff5c66;
  --un-bd: rgba(244, 33, 46, 0.52);
}

.mock-browser[data-xtheme="light"] {
  --x-bg: #ffffff;
  --x-chrome: #f1f5f9;
  --x-line: #eff3f4;
  --x-fg: #0f1419;
  --x-muted: #536471;
  --st-bg: rgba(29, 155, 240, 0.11);
  --st-fg: #0d74be;
  --st-num: #095e9c;
  --st-bd: rgba(29, 155, 240, 0.26);
  --un-bg: rgba(244, 33, 46, 0.06);
  --un-fg: #e01b27;
  --un-bd: rgba(244, 33, 46, 0.45);
}

.browser-chrome {
  height: 42px;
  padding: 0 16px;
  background: var(--x-chrome);
  border-bottom: 1px solid var(--x-line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.traffic-dots {
  display: flex;
  gap: 6px;
}

.traffic-dots span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}
.traffic-dots span:nth-child(1) { background: #ef4444; }
.traffic-dots span:nth-child(2) { background: #f59e0b; }
.traffic-dots span:nth-child(3) { background: #10b981; }

.address-pill {
  padding: 3px 14px;
  border-radius: 999px;
  background: rgba(128, 128, 128, 0.12);
  color: var(--x-muted);
  font-size: 11.5px;
  font-family: var(--font-mono);
}

.chrome-tag {
  font-size: 11px;
  color: #38bdf8;
  font-weight: 600;
}

.x-feed-body {
  background: var(--x-bg);
  color: var(--x-fg);
}

.sim-tweet {
  padding: 15px 18px;
  border-bottom: 1px solid var(--x-line);
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.sim-tweet:last-child {
  border-bottom: none;
}

.sim-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-weight: 800;
  font-size: 13px;
  flex-shrink: 0;
}

.sim-main {
  min-width: 0;
  flex: 1;
}

.sim-head {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  margin-bottom: 4px;
}

.sim-name {
  font-weight: 800;
}

.sim-handle {
  color: var(--x-muted);
  font-size: 13px;
}

.sim-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 5px;
  margin: 4px 0 7px;
  font-variant-numeric: tabular-nums;
}

.sim-text {
  font-size: 14px;
  line-height: 1.55;
}

.sim-fold {
  margin: 8px 14px;
  padding: 7px 14px;
  border-radius: 9px;
  background: rgba(29, 155, 240, 0.09);
  color: var(--x-muted);
  border: 1px dashed rgba(29, 155, 240, 0.3);
  font-size: 12px;
  cursor: pointer;
}

/* Simulated Extension Capsules */
.sc-cap,
.demo-pill {
  display: inline-flex;
  align-items: center;
  gap: 3.5px;
  height: 22px;
  padding: 0 8.5px;
  border-radius: 999px;
  font-size: 12px;
  line-height: 1;
  font-weight: 600;
  border: 1px solid transparent;
  white-space: nowrap;
  user-select: none;
}

.dp-mutual { background: rgba(0, 186, 124, 0.18); color: #00d68f; border-color: rgba(0, 186, 124, 0.42); }
.dp-fan { background: rgba(249, 24, 128, 0.18); color: #ff4da0; border-color: rgba(249, 24, 128, 0.42); }
.dp-oneway { background: rgba(56, 189, 248, 0.16); color: #7dd3fc; border-color: rgba(56, 189, 248, 0.38); }
.dp-none { background: rgba(113, 118, 123, 0.22); color: #b8c2cc; border-color: rgba(139, 152, 165, 0.36); }
.dp-vip { background: rgba(251, 191, 36, 0.16); color: #fbbf24; border-color: rgba(251, 191, 36, 0.4); }
.dp-stat { background: var(--st-bg, rgba(29,155,240,0.15)); color: var(--st-fg, #3aa8f7); border-color: var(--st-bd, rgba(29,155,240,0.32)); font-weight: 500; }
.dp-stat b { color: var(--st-num, #63beff); font-weight: 700; }
.dp-elite { background: linear-gradient(135deg, rgba(139,92,246,0.24), rgba(29,155,240,0.24)); color: #cfc2ff; border-color: rgba(139,92,246,0.44); font-weight: 700; }
.dp-f4f { background: rgba(45, 212, 191, 0.16); color: #5eead4; border-color: rgba(45, 212, 191, 0.38); font-weight: 700; }
.dp-viral { background: rgba(251, 146, 60, 0.18); color: #fdba74; border-color: rgba(251, 146, 60, 0.42); font-weight: 700; }
.dp-meta { background: rgba(148, 163, 184, 0.15); color: #cbd5e1; border-color: rgba(148, 163, 184, 0.3); }
.dp-warn { background: rgba(244, 33, 46, 0.2); color: #ff6670; border-color: rgba(244, 33, 46, 0.48); font-weight: 700; }
.dp-note-purple { background: rgba(139, 92, 246, 0.22); color: #c4b5fd; border-color: rgba(139, 92, 246, 0.5); font-weight: 700; cursor: pointer; }
.dp-note-green { background: rgba(0, 186, 124, 0.2); color: #00e096; border-color: rgba(0, 186, 124, 0.48); font-weight: 700; cursor: pointer; }
.dp-note-empty { background: transparent; color: #94a3b8; border: 1px dashed rgba(148, 163, 184, 0.38); cursor: pointer; }

.sc-btn-follow { background: #1d9bf0; color: #ffffff; border-color: #1d9bf0; font-weight: 700; cursor: pointer; }
.sc-btn-unfollow { background: var(--un-bg); color: var(--un-fg); border-color: var(--un-bd); font-weight: 700; cursor: pointer; }
.sc-btn-confirm { background: #f4212e; color: #ffffff; border-color: #f4212e; font-weight: 700; cursor: pointer; }

/* Right Mock Control Center Popup */
.mock-popup-card {
  border-radius: 20px;
  padding: 15px;
  background: radial-gradient(125% 90% at 15% 0%, #172740 0%, #0b0f18 65%);
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow:
    0 24px 60px rgba(0, 0, 0, 0.65),
    inset 0 1px 0 rgba(255, 255, 255, 0.15);
  display: flex;
  flex-direction: column;
  gap: 11px;
}

.mp-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.mp-brand {
  display: flex;
  align-items: center;
  gap: 9px;
}

.mp-brand img {
  border-radius: 8px;
}

.mp-title-row {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
}

.mp-ver {
  font-size: 10px;
  font-weight: 700;
  padding: 1px 6px;
  border-radius: 999px;
  background: rgba(29, 155, 240, 0.2);
  color: #63beff;
}

.mp-sub {
  font-size: 11px;
  color: var(--txt-sub);
}

.mp-toggle-pill {
  width: 38px;
  height: 21px;
  border-radius: 999px;
  background: #1d9bf0;
  position: relative;
  box-shadow: 0 0 10px rgba(29, 155, 240, 0.45);
}

.mp-toggle-pill::after {
  content: "";
  position: absolute;
  top: 2.5px;
  right: 2.5px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #ffffff;
}

.mp-tabs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4px;
  padding: 3px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.05);
}

.mp-tab {
  height: 28px;
  border: none;
  border-radius: 7px;
  background: transparent;
  color: var(--txt-sub);
  font-family: inherit;
  font-size: 11.5px;
  font-weight: 700;
  cursor: pointer;
}

.mp-tab.is-active {
  background: rgba(29, 155, 240, 0.24);
  color: #ffffff;
}

.mp-body {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.mp-metrics {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
}

.mp-mcard {
  padding: 8px 4px;
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid rgba(255, 255, 255, 0.08);
  text-align: center;
  display: flex;
  flex-direction: column;
}

.mp-mcard b {
  font-size: 16px;
  color: #ffffff;
}
.mp-pink b { color: var(--pink); }
.mp-cyan b { color: var(--sky); }
.mp-green b { color: var(--emerald); }

.mp-mcard span {
  font-size: 10px;
  color: var(--txt-sub);
}

.mp-box {
  padding: 11px 12px;
  border-radius: 11px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.mp-box-title {
  font-size: 12px;
  font-weight: 700;
  margin-bottom: 6px;
  color: #ffffff;
}

.mp-checklist {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 5px;
  font-size: 11.5px;
  color: var(--txt-sub);
}

.mp-checklist span {
  color: var(--emerald);
  font-weight: 800;
  margin-right: 4px;
}

.mp-radar-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.mp-radar-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 10px;
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 12px;
}

.mp-desc {
  font-size: 11.5px;
  color: var(--txt-sub);
  margin-bottom: 8px;
}

.mp-fake-btn {
  text-align: center;
  padding: 6px;
  border-radius: 8px;
  background: rgba(29, 155, 240, 0.2);
  color: #63beff;
  border: 1px solid rgba(29, 155, 240, 0.4);
  font-size: 12px;
  font-weight: 700;
}

.mp-footer {
  text-align: center;
  font-size: 10.5px;
  color: var(--txt-dim);
  padding-top: 2px;
}

/* ---- Section Headers ---- */

.section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 44px;
}

.eyebrow {
  display: inline-block;
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: 0.14em;
  color: var(--sky);
  margin-bottom: 10px;
}

.section-header h2 {
  font-size: clamp(26px, 3.6vw, 38px);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}

.section-header p {
  color: var(--txt-sub);
  font-size: 15.5px;
}

/* ---- Spotlight Bento Grid ---- */

.bento-section {
  padding: 36px 24px 88px;
}

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

.bento-card {
  position: relative;
  padding: 26px;
  border-radius: 22px;
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  backdrop-filter: blur(16px);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: transform 0.22s ease, border-color 0.22s ease;
}

.bento-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    520px circle at var(--mx, 50%) var(--my, 0%),
    rgba(56, 189, 248, 0.11),
    transparent 45%
  );
  opacity: 0;
  transition: opacity 0.25s ease;
  pointer-events: none;
}

.bento-card:hover {
  transform: translateY(-3px);
  border-color: rgba(125, 211, 252, 0.28);
}

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

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

.bento-icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 19px;
  font-weight: 800;
}

.icon-pink { background: rgba(249, 24, 128, 0.16); color: #ff4da0; border: 1px solid rgba(249, 24, 128, 0.35); }
.icon-purple { background: rgba(139, 92, 246, 0.18); color: #c4b5fd; border: 1px solid rgba(139, 92, 246, 0.38); }
.icon-red { background: rgba(244, 33, 46, 0.18); color: #ff6670; border: 1px solid rgba(244, 33, 46, 0.38); }
.icon-amber { background: rgba(245, 158, 11, 0.18); color: #fbbf24; border: 1px solid rgba(245, 158, 11, 0.38); }
.icon-orange { background: rgba(251, 146, 60, 0.18); color: #fdba74; border: 1px solid rgba(251, 146, 60, 0.38); }
.icon-blue { background: rgba(29, 155, 240, 0.18); color: #63beff; border: 1px solid rgba(29, 155, 240, 0.38); }

.bento-card h3 {
  font-size: 18px;
  font-weight: 800;
  color: #ffffff;
}

.bento-card p {
  font-size: 14px;
  color: var(--txt-sub);
  line-height: 1.65;
  flex: 1;
}

.bento-card code {
  padding: 1px 6px;
  border-radius: 5px;
  background: rgba(255, 255, 255, 0.07);
  color: #e2e8f0;
  font-size: 12.5px;
}

.bento-visual-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  padding-top: 6px;
}

/* ---- Performance & Security Metrics ---- */

.perf-section {
  padding: 24px 24px 88px;
}

.perf-metrics {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.perf-card {
  padding: 26px 22px;
  border-radius: 20px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.045) 0%, rgba(255, 255, 255, 0.015) 100%);
  border: 1px solid var(--border-glass);
  text-align: center;
}

.perf-num {
  font-size: 42px;
  font-weight: 900;
  line-height: 1.1;
  background: linear-gradient(135deg, #ffffff 20%, #38bdf8 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 8px;
  font-variant-numeric: tabular-nums;
}

.perf-num span {
  font-size: inherit;
}

.perf-label {
  font-size: 15px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 8px;
}

.perf-card p {
  font-size: 13px;
  color: var(--txt-sub);
  line-height: 1.55;
}

/* ---- 3-Step Installation & Download CTA ---- */

.install-section {
  padding: 20px 24px 90px;
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-bottom: 36px;
}

.steps-grid.steps-grid-4 {
  grid-template-columns: repeat(4, 1fr);
}

.step-card {
  padding: 24px;
  border-radius: 20px;
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.step-num {
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 800;
  color: var(--sky);
  letter-spacing: 0.08em;
}

.step-card h3 {
  font-size: 17px;
  font-weight: 800;
}

.step-card p {
  font-size: 13.5px;
  color: var(--txt-sub);
}

.step-card code {
  padding: 1px 6px;
  border-radius: 5px;
  background: rgba(255, 255, 255, 0.08);
  color: #7dd3fc;
  font-family: var(--font-mono);
  font-size: 12.5px;
}

.copy-url-btn {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 9px 13px;
  border-radius: 10px;
  background: rgba(29, 155, 240, 0.12);
  border: 1px solid rgba(56, 189, 248, 0.32);
  color: #ffffff;
  cursor: pointer;
  font-family: inherit;
  transition: background 0.15s ease;
}

.copy-url-btn:hover {
  background: rgba(29, 155, 240, 0.22);
}

.copy-url-btn span {
  font-size: 12px;
  font-weight: 700;
  color: #63beff;
}

/* Download CTA Banner */
.download-cta-box {
  position: relative;
  overflow: hidden;
  padding: 36px 40px;
  border-radius: 26px;
  background: linear-gradient(135deg, rgba(22, 38, 68, 0.85) 0%, rgba(12, 18, 32, 0.92) 100%);
  border: 1px solid rgba(125, 211, 252, 0.3);
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.55);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.cta-glow {
  position: absolute;
  width: 380px;
  height: 380px;
  right: -80px;
  top: -160px;
  background: radial-gradient(circle, rgba(29, 155, 240, 0.32) 0%, transparent 70%);
  filter: blur(40px);
  pointer-events: none;
}

.cta-title-row {
  display: flex;
  align-items: center;
  gap: 16px;
}

.cta-icon {
  border-radius: 12px;
  box-shadow: 0 6px 20px rgba(29, 155, 240, 0.35);
}

.download-cta-box h2 {
  font-size: 24px;
  font-weight: 800;
  margin-bottom: 4px;
}

.cta-meta {
  color: var(--txt-sub);
  font-size: 13.5px;
}

.cta-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  position: relative;
  z-index: 1;
}

/* ---- Footer ---- */

.site-footer {
  padding-bottom: 44px;
}

.footer-inner {
  padding-top: 26px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-size: 13px;
  color: var(--txt-dim);
}

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

.footer-brand img {
  border-radius: 5px;
}

.footer-brand strong {
  color: var(--txt-sub);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
}

.footer-links a {
  color: var(--txt-sub);
  text-decoration: none;
}

.footer-links a:hover {
  color: #ffffff;
}

/* ---- Responsive Breakpoints ---- */

@media (max-width: 980px) {
  .workbench-stage {
    grid-template-columns: 1fr;
  }
  .bento-grid {
    grid-template-columns: 1fr 1fr;
  }
  .bento-card.span-2 {
    grid-column: span 2;
  }
  .perf-metrics {
    grid-template-columns: repeat(2, 1fr);
  }
  .steps-grid,
  .steps-grid.steps-grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 680px) {
  .nav-links {
    display: none;
  }
  .bento-grid,
  .perf-metrics,
  .steps-grid,
  .steps-grid.steps-grid-4 {
    grid-template-columns: 1fr;
  }
  .bento-card.span-2 {
    grid-column: span 1;
  }
  .download-cta-box {
    padding: 26px 22px;
  }
}
