/* ============================================================
   CLASH WEBSITE — MAIN STYLESHEET  v2
   Design: Deep space · bold editorial · rich visuals
   ============================================================ */

/* ---------- Custom Properties ---------- */
:root {
  --bg:        #F5F7FC;
  --bg-1:      #EEF2FA;
  --bg-2:      #E4EAF5;
  --bg-card:   rgba(255,255,255,0.9);
  --bg-card-h: rgba(255,255,255,1);

  --accent:    #FF2D5B;
  --accent-h:  #E01F4A;
  --purple:    #7B3FE4;
  --cyan:      #0099CC;
  --green:     #00A86B;
  --yellow:    #D49800;

  --text:      #0F1829;
  --text-2:    #4A6080;
  --text-3:    #8AA0BF;

  --border:    rgba(0,0,0,0.08);
  --border-h:  rgba(0,0,0,0.18);

  --r:    12px;
  --r-lg: 20px;
  --r-xl: 28px;
  --transition: 0.24s cubic-bezier(0.4,0,0.2,1);
}

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

html { font-size: 16px; scroll-behavior: smooth; overflow-x: clip; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
  max-width: 100vw;
}

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

/* ---------- Layout ---------- */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 28px;
}

/* ---------- Section Header ---------- */
.sec-head {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 60px;
}

.sec-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255,45,91,0.1);
  border: 1px solid rgba(255,45,91,0.28);
  color: var(--accent);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 100px;
  margin-bottom: 18px;
}

.sec-head h2 {
  font-size: clamp(26px, 4vw, 42px);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.2;
  margin-bottom: 14px;
}

.sec-head p { font-size: 16px; color: var(--text-2); line-height: 1.7; }

.text-accent { color: var(--accent); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 26px;
  border-radius: 100px;
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
  border: none;
}

.btn-fire {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 0 28px rgba(255,45,91,0.38);
}
.btn-fire:hover {
  background: var(--accent-h);
  box-shadow: 0 0 44px rgba(255,45,91,0.6);
  transform: translateY(-1px);
}

.btn-outline {
  background: transparent;
  color: var(--text-2);
  border: 1.5px solid var(--border);
  font-size: 14px;
  padding: 10px 22px;
}
.btn-outline:hover {
  border-color: var(--accent);
  color: var(--accent);
  transform: translateY(-1px);
}

.btn-ghost {
  background: rgba(0,0,0,0.05);
  color: var(--text);
  border: 1px solid var(--border);
}
.btn-ghost:hover { background: rgba(0,0,0,0.09); border-color: var(--border-h); }

.btn-lg { padding: 16px 34px; font-size: 16px; }

/* ---------- Reveal ---------- */
.reveal-item {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal-item.visible { opacity: 1; transform: none; }

/* ---------- Orbs ---------- */
.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  pointer-events: none;
}

.orb-1 {
  width: 700px; height: 700px;
  background: radial-gradient(circle, var(--purple), transparent 70%);
  top: -200px; left: -200px;
  opacity: 0.12;
  animation: orbDrift 16s ease-in-out infinite alternate;
}
.orb-2 {
  width: 500px; height: 500px;
  background: radial-gradient(circle, var(--accent), transparent 70%);
  top: 10%; right: -120px;
  opacity: 0.08;
  animation: orbDrift 20s ease-in-out infinite alternate-reverse;
}
.orb-3 {
  width: 400px; height: 400px;
  background: radial-gradient(circle, #0099CC, transparent 70%);
  bottom: 0; left: 45%;
  opacity: 0.08;
  animation: orbDrift 24s ease-in-out infinite alternate;
}
.orb-4 {
  width: 600px; height: 600px;
  background: radial-gradient(circle, var(--purple), transparent 70%);
  top: -100px; right: -100px;
  opacity: 0.1;
  animation: orbDrift 18s ease-in-out infinite alternate;
}
.orb-5 {
  width: 350px; height: 350px;
  background: radial-gradient(circle, var(--accent), transparent 70%);
  bottom: -80px; left: -80px;
  opacity: 0.08;
  animation: orbDrift 14s ease-in-out infinite alternate-reverse;
}

@keyframes orbDrift {
  0%   { transform: translate(0, 0) scale(1); }
  100% { transform: translate(40px, 50px) scale(1.1); }
}

/* ============================================================
   NAV (injected by header.js)
   ============================================================ */
.site-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  height: 66px;
  display: flex;
  align-items: center;
  background: rgba(245,247,252,0.85);
  backdrop-filter: blur(22px);
  -webkit-backdrop-filter: blur(22px);
  border-bottom: 1px solid rgba(0,0,0,0.07);
  transition: background var(--transition);
}
.site-nav.scrolled { background: rgba(245,247,252,0.97); }

.nav-inner {
  width: 100%; max-width: 1200px;
  margin: 0 auto; padding: 0 28px;
  display: flex; align-items: center;
}

.nav-logo {
  display: flex; align-items: center; gap: 10px;
  font-size: 20px; font-weight: 800; letter-spacing: -0.03em;
  flex-shrink: 0;
}
.nav-logo-icon {
  width: 33px; height: 33px; border-radius: 9px;
  background: transparent;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden; flex-shrink: 0;
}
.nav-logo-icon img {
  width: 100%; height: 100%;
  object-fit: cover;
  border-radius: 9px;
}

.nav-links {
  display: flex; align-items: center; gap: 2px;
  list-style: none; margin-left: 44px;
}
.nav-links a {
  display: block; padding: 7px 13px;
  font-size: 14px; font-weight: 500; color: var(--text-2);
  border-radius: 8px; transition: var(--transition);
}
.nav-links a:hover { color: var(--text); background: rgba(0,0,0,0.06); }
.nav-links a.active { color: var(--accent); font-weight: 600; background: var(--accent-dim, rgba(255,45,91,0.10)); }

.nav-right { margin-left: auto; display: flex; align-items: center; gap: 10px; }

.nav-lang {
  display: flex; align-items: center; gap: 6px;
  padding: 6px 14px;
  background: transparent; border: 1px solid var(--border);
  border-radius: 100px; font-size: 13px; color: var(--text-2);
  cursor: pointer; transition: var(--transition); white-space: nowrap;
}
.nav-lang:hover { border-color: var(--border-h); color: var(--text); }
.nav-lang[aria-expanded="true"] { border-color: var(--border-h); color: var(--text); }
.nav-lang[aria-expanded="true"] .lang-chevron { transform: rotate(180deg); }
.lang-chevron { transition: transform 0.2s ease; }

/* Language dropdown */
.nav-lang-wrap { position: relative; }
.lang-dropdown {
  display: none;
  position: absolute; top: calc(100% + 8px); right: 0;
  min-width: 148px;
  background: var(--surface, #fff);
  border: 1px solid var(--border);
  border-radius: 12px;
  box-shadow: 0 8px 28px rgba(0,0,0,0.10);
  padding: 6px;
  list-style: none;
  z-index: 999;
  animation: langDropIn 0.15s ease;
}
.lang-dropdown.open { display: block; }
@keyframes langDropIn {
  from { opacity: 0; transform: translateY(-6px); }
  to   { opacity: 1; transform: translateY(0); }
}
.lang-dropdown li a {
  display: flex; align-items: center; gap: 8px;
  padding: 8px 12px; border-radius: 8px;
  font-size: 13px; color: var(--text-2);
  transition: background 0.15s, color 0.15s;
  white-space: nowrap;
}
.lang-dropdown li a:hover { background: var(--bg-2, rgba(0,0,0,0.04)); color: var(--text); }
.lang-dropdown li[aria-selected="true"] a { color: var(--accent); font-weight: 600; }
.lang-check { width: 14px; display: flex; align-items: center; justify-content: center; font-size: 11px; color: var(--accent); flex-shrink: 0; }

.nav-dl-btn {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 8px 18px; background: var(--accent); color: #fff;
  border-radius: 100px; font-size: 14px; font-weight: 600;
  transition: var(--transition); box-shadow: 0 0 18px rgba(255,45,91,0.3);
}
.nav-dl-btn:hover { background: var(--accent-h); box-shadow: 0 0 28px rgba(255,45,91,0.5); }

.nav-burger {
  display: none; align-items: center; justify-content: center;
  width: 38px; height: 38px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: var(--surface-2, rgba(255,255,255,0.06));
  color: var(--text-2);
  cursor: pointer; margin-left: auto;
  transition: var(--transition);
}
.nav-burger:hover {
  background: rgba(255,45,91,0.12);
  border-color: rgba(255,45,91,0.35);
  color: var(--accent);
}
.nav-burger-close { display: none; }
.nav-burger.open { background: rgba(255,45,91,0.12); border-color: rgba(255,45,91,0.35); color: var(--accent); }
.nav-burger.open .nav-burger-open  { display: none; }
.nav-burger.open .nav-burger-close { display: block; }

@keyframes slideDown {
  from { opacity: 0; transform: translateY(-8px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  min-height: 100vh;
  padding-top: 66px;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-bg { position: absolute; inset: 0; overflow: hidden; }

.hero-grid {
  position: relative; z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 64px;
  align-items: center;
  padding: 80px 0 96px;
}

/* Hero Copy */
.hero-kicker {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 12px; font-weight: 700; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--accent);
  margin-bottom: 22px;
}
.kicker-pulse {
  display: inline-block; width: 8px; height: 8px;
  border-radius: 50%; background: var(--accent);
  box-shadow: 0 0 10px var(--accent);
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.85); }
}

.hero-h1 {
  font-size: clamp(36px, 4.2vw, 58px);
  font-weight: 900;
  letter-spacing: -0.035em;
  line-height: 1.06;
  display: flex; flex-direction: column; gap: 2px;
  margin-bottom: 24px;
}
.h1-line-1 { color: var(--text); }
.h1-line-2 { color: var(--accent); }

.hero-sub {
  font-size: 16px; line-height: 1.85; color: var(--text-2);
  max-width: 480px; margin-bottom: 20px;
}

.hero-platform-tabs {
  display: flex; align-items: center; gap: 6px;
  flex-wrap: wrap; margin-bottom: 20px;
}
.hpt-tab {
  display: flex; align-items: center; gap: 6px;
  padding: 7px 14px; border-radius: 8px; border: 1px solid transparent;
  background: var(--surface-2, rgba(255,255,255,0.06));
  color: var(--text-2); font-size: 13px; font-weight: 500;
  cursor: pointer; transition: all 0.18s ease;
  white-space: nowrap; text-decoration: none;
}
.hpt-tab i { font-size: 14px; }
.hpt-tab:hover {
  background: var(--surface-3, rgba(255,255,255,0.1));
  color: var(--text);
  border-color: rgba(255,255,255,0.12);
}
.hpt-tab.active {
  background: var(--accent-dim, rgba(255,45,91,0.12));
  color: var(--accent);
  border-color: rgba(255,45,91,0.35);
}

.hero-btns {
  display: flex; align-items: center; gap: 12px;
  flex-wrap: wrap; margin-bottom: 40px;
}

.hero-proof {
  display: flex; align-items: center; gap: 0; flex-wrap: nowrap;
}
.proof-item {
  display: flex; align-items: baseline; gap: 5px;
  padding: 0 14px; font-size: 13px; color: var(--text-2);
  white-space: nowrap;
}
.proof-item:first-child { padding-left: 0; }
.proof-num { font-size: 17px; font-weight: 800; color: var(--text); }
.proof-dot {
  width: 3px; height: 3px; border-radius: 50%;
  background: var(--text-3);
}

/* Hero Visual */
.hero-visual-wrap {
  position: relative;
  display: flex; align-items: center; justify-content: center;
}

/* Floating badges */
.float-badge {
  position: absolute;
  z-index: 10;
  display: flex; align-items: center; gap: 10px;
  background: rgba(255,255,255,0.97);
  border: 1px solid rgba(0,0,0,0.1);
  border-radius: var(--r);
  padding: 10px 16px;
  backdrop-filter: blur(16px);
  box-shadow: 0 8px 32px rgba(0,0,0,0.12);
  white-space: nowrap;
  animation: floatBadge 4s ease-in-out infinite alternate;
}
.float-badge.fb-top {
  top: -12px; right: -20px;
  animation-delay: 0s;
}
.float-badge.fb-bot {
  bottom: -12px; left: -20px;
  animation-delay: 2s;
}
@keyframes floatBadge {
  0%   { transform: translateY(0); }
  100% { transform: translateY(-8px); }
}
.fb-icon {
  width: 30px; height: 30px; border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  font-size: 14px;
}
.fb-icon.green { background: rgba(0,217,139,0.2); color: var(--green); }
.fb-icon.accent { background: rgba(255,45,91,0.2); color: var(--accent); }
.fb-title { font-size: 13px; font-weight: 700; color: var(--text); }
.fb-sub { font-size: 11px; color: var(--text-2); }

/* App window */
.app-window {
  width: 100%;
  max-width: 520px;
  background: rgba(8,12,28,0.97);
  border: 1px solid rgba(0,0,0,0.15);
  border-radius: 18px;
  overflow: hidden;
  box-shadow:
    0 30px 70px rgba(0,0,0,0.25),
    0 0 0 1px rgba(255,255,255,0.06),
    0 0 80px rgba(123,63,228,0.12);
  position: relative; z-index: 1;
  animation: windowFloat 7s ease-in-out infinite;
}
@keyframes windowFloat {
  0%, 100% { transform: translateY(0) rotate(-0.5deg); }
  50%       { transform: translateY(-12px) rotate(0.5deg); }
}

.aw-titlebar {
  display: flex; align-items: center; gap: 12px;
  padding: 12px 16px;
  background: rgba(255,255,255,0.03);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.aw-dots { display: flex; gap: 6px; }
.awd {
  width: 12px; height: 12px; border-radius: 50%;
  flex-shrink: 0;
}
.awd-r { background: #FF5F57; }
.awd-y { background: #FEBC2E; }
.awd-g { background: #28C840; }
.aw-name {
  flex: 1; text-align: center; font-size: 12px;
  color: var(--text-3); margin-left: -80px;
  font-family: 'SF Mono', monospace;
}
.aw-status {
  display: flex; align-items: center; gap: 5px;
  font-size: 11px; color: var(--green);
}
.awst-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 6px var(--green);
  animation: pulse 1.5s ease-in-out infinite;
}

.aw-body {
  display: flex;
  height: 320px;
}

/* Sidebar */
.aw-sidebar {
  width: 52px; flex-shrink: 0;
  background: rgba(255,255,255,0.02);
  border-right: 1px solid rgba(255,255,255,0.05);
  display: flex; flex-direction: column; align-items: center;
  padding: 14px 0; gap: 6px;
}
.aws-logo {
  width: 32px; height: 32px; border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 10px;
}
.aws-items { display: flex; flex-direction: column; gap: 4px; }
.awsi {
  width: 34px; height: 34px; border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  font-size: 13px; color: var(--text-3); cursor: pointer;
  transition: var(--transition);
}
.awsi:hover { background: rgba(255,255,255,0.07); color: var(--text-2); }
.awsi.active { background: rgba(255,45,91,0.15); color: var(--accent); }

/* Main area */
.aw-main {
  flex: 1; overflow: hidden;
  padding: 14px 16px; display: flex; flex-direction: column; gap: 10px;
}
.awm-section-title {
  font-size: 10px; font-weight: 700; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--text-3);
  margin-bottom: 4px;
}

/* Proxy groups */
.proxy-groups { display: flex; flex-direction: column; gap: 4px; }
.pg-row {
  display: flex; align-items: center; justify-content: space-between;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.05);
  border-radius: 8px; padding: 6px 10px;
  transition: var(--transition);
}
.pg-row.pg-active { border-color: rgba(255,45,91,0.25); background: rgba(255,45,91,0.06); }
.pg-left { display: flex; align-items: center; gap: 7px; }
.pg-color { width: 7px; height: 7px; border-radius: 50%; }
.c-pink { background: var(--accent); box-shadow: 0 0 6px var(--accent); }
.c-blue { background: var(--cyan); }
.c-green { background: var(--green); }
.pg-name { font-size: 12px; color: var(--text); }
.pg-right { display: flex; align-items: center; gap: 8px; }
.pg-node { font-size: 11px; color: var(--text-2); }
.direct-tag { color: var(--green); font-weight: 600; font-size: 11px; }
.pg-lat { font-size: 10px; font-weight: 600; padding: 1px 6px; border-radius: 4px; }
.lat-good { background: rgba(0,217,139,0.15); color: var(--green); }
.lat-ok   { background: rgba(255,184,0,0.12); color: var(--yellow); }

/* Traffic stats */
.traffic-strip {
  display: flex; align-items: center;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.05);
  border-radius: 8px; padding: 8px 12px; gap: 0;
}
.ts-item { flex: 1; display: flex; align-items: center; gap: 7px; }
.ts-arrow { font-size: 10px; width: 20px; height: 20px; border-radius: 5px; display: flex; align-items: center; justify-content: center; }
.ts-arrow.up   { background: rgba(255,45,91,0.15); color: var(--accent); }
.ts-arrow.down { background: rgba(0,201,255,0.12); color: var(--cyan); }
.ts-speed { font-size: 13px; font-weight: 700; color: var(--text); line-height: 1.2; }
.ts-label { font-size: 10px; color: var(--text-3); }
.ts-divider { width: 1px; height: 28px; background: rgba(255,255,255,0.06); margin: 0 8px; }

/* Traffic chart */
.traffic-chart {
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(255,255,255,0.05);
  border-radius: 8px; padding: 8px 10px;
}
.tc-label {
  display: flex; justify-content: space-between; align-items: center;
  font-size: 10px; color: var(--text-3); margin-bottom: 6px;
}
.tc-total { font-family: 'SF Mono', monospace; font-size: 10px; }
.tc-bars {
  display: flex; align-items: flex-end; gap: 3px;
  height: 32px;
}
.tcb {
  flex: 1; height: var(--h);
  background: rgba(123,63,228,0.3);
  border-radius: 2px;
  transition: height 0.3s ease;
}
.tcb.tcb-active { background: linear-gradient(0deg, var(--purple), var(--accent)); }

/* Requests list */
.req-list { display: flex; flex-direction: column; gap: 6px; margin-top: 2px; }
.req-item {
  display: flex; align-items: center; gap: 7px;
  font-size: 11px; padding: 3px 0;
  border-bottom: 1px solid rgba(255,255,255,0.04);
}
.req-item:last-child { border-bottom: none; }
.req-dot { width: 7px; height: 7px; border-radius: 50%; flex-shrink: 0; }
.req-dot.proxy  { background: var(--accent); }
.req-dot.direct { background: var(--green); }
.req-host { flex: 1; color: var(--text); font-family: 'SF Mono', monospace; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.req-via { color: var(--text-2); font-size: 10px; white-space: nowrap; }
.req-ms  { color: var(--text-3); font-size: 10px; white-space: nowrap; }

/* ============================================================
   STATS STRIP
   ============================================================ */
.stats-strip {
  position: relative; z-index: 1;
  background: rgba(0,0,0,0.03);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.ss-inner {
  display: flex; align-items: center;
  padding: 28px 0; gap: 0;
}

.ss-item {
  flex: 1; text-align: center;
  padding: 0 20px;
}

.ss-num {
  font-size: clamp(28px, 3.5vw, 42px);
  font-weight: 900; letter-spacing: -0.03em;
  color: var(--accent); line-height: 1;
  margin-bottom: 4px;
}
.ss-num.ss-plain em {
  font-style: normal; font-size: 0.65em; font-weight: 700;
}

.ss-label { font-size: 13px; color: var(--text-2); }

.ss-sep {
  width: 1px; height: 48px;
  background: var(--border);
  flex-shrink: 0;
}

/* ============================================================
   SPOTLIGHT
   ============================================================ */
.spotlight {
  padding: 120px 0;
  position: relative;
  overflow: hidden;
}

.spotlight::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: linear-gradient(180deg, transparent 0%, rgba(123,63,228,0.03) 50%, transparent 100%);
  pointer-events: none;
}

.spotlight-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 80px;
  align-items: center;
}

/* Routing diagram container */
.spotlight-visual { position: relative; }

.routing-diagram {
  background: rgba(255,255,255,0.95);
  border: 1px solid rgba(123,63,228,0.2);
  border-radius: var(--r-xl);
  padding: 32px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.1),
              0 0 60px rgba(123,63,228,0.06);
}

.routing-diagram svg { width: 100%; height: auto; display: block; }

/* Spotlight copy */
.spotlight-copy .sec-tag { margin-bottom: 16px; }
.spotlight-copy h2 {
  font-size: clamp(28px, 3.5vw, 46px);
  font-weight: 800; letter-spacing: -0.03em;
  line-height: 1.18; margin-bottom: 18px;
}
.spotlight-copy p {
  font-size: 15px; line-height: 1.85;
  color: var(--text-2); margin-bottom: 26px;
}

.feature-checklist {
  list-style: none; display: flex; flex-direction: column; gap: 11px;
  margin-bottom: 32px;
}
.feature-checklist li {
  display: flex; align-items: center; gap: 10px;
  font-size: 14px; color: var(--text);
}
.feature-checklist li i {
  width: 20px; height: 20px; border-radius: 5px;
  background: rgba(0,217,139,0.15);
  color: var(--green);
  font-size: 10px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}

/* ============================================================
   FEATURES CARDS
   ============================================================ */
.features-sec { padding: 0 0 120px; }

.feat-cards {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  grid-template-rows: auto auto;
  gap: 18px;
}

/* The wide card spans all 3 columns on the second row */
.feat-card-wide { grid-column: 1 / 4; }

.feat-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  overflow: hidden;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}
.feat-card:hover {
  background: var(--bg-card-h);
  border-color: var(--border-h);
  transform: translateY(-3px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.12);
}

/* Feature card visual header */
.fc-visual {
  position: relative;
  height: 200px;
  overflow: hidden;
  display: flex; align-items: center; justify-content: center;
}

.fc-vis-label {
  position: absolute;
  top: 14px; left: 14px;
  font-size: 10px; font-weight: 700; letter-spacing: 0.1em;
  text-transform: uppercase; color: rgba(0,0,0,0.5);
  background: rgba(0,0,0,0.07);
  padding: 3px 10px; border-radius: 100px;
}

/* Protocol visual */
.fc-vis-proto {
  background: linear-gradient(135deg, #EEF1FF 0%, #F3EEFF 100%);
}
.proto-stack {
  display: flex; flex-direction: column; justify-content: center;
  gap: 10px; padding: 20px 24px; width: 100%; height: 100%;
  box-sizing: border-box;
}
.ps-row {
  display: flex; align-items: baseline; gap: 16px;
}
.ps-item {
  font-family: 'SF Mono', 'Fira Code', monospace;
  font-weight: 700; white-space: nowrap;
  letter-spacing: -0.02em;
  transition: color 0.3s ease;
}
.ps-1 { font-size: 30px; color: rgba(255,45,91,0.85); }
.ps-2 { font-size: 24px; color: rgba(123,63,228,0.75); }
.ps-3 { font-size: 22px; color: rgba(0,150,200,0.65); }
.ps-4 { font-size: 20px; color: rgba(200,140,0,0.6); }
.ps-5 { font-size: 16px; color: rgba(0,160,100,0.6); }
.ps-6 { font-size: 14px; color: rgba(0,0,0,0.25); }

/* Performance visual */
.fc-vis-perf {
  background: linear-gradient(135deg, #EBF3FF 0%, #F0EAFF 100%);
  flex-direction: column; gap: 12px;
}
.speed-gauge { display: flex; flex-direction: column; align-items: center; }
.sg-ring svg { width: 120px; height: 70px; }
.sg-label {
  font-size: 10px; color: var(--text-3); text-align: center; margin-top: 4px;
}
.perf-items {
  display: flex; gap: 24px;
}
.pi {
  display: flex; flex-direction: column; align-items: center; gap: 2px;
}
.pi-val { font-size: 15px; font-weight: 800; color: var(--text); }
.pi-k   { font-size: 10px; color: var(--text-3); }

/* OSS visual (GitHub contribution-style grid) */
.fc-vis-oss {
  background: linear-gradient(135deg, #EEF1FF 0%, #F0EAFF 100%);
  flex-direction: column; gap: 14px;
}
.contrib-grid {
  display: flex; flex-direction: column; gap: 4px;
}
.cg-row { display: flex; gap: 4px; }
.cg-c {
  width: 14px; height: 14px; border-radius: 3px;
  background: rgba(0,0,0,0.06);
}
.cg-c.l1 { background: rgba(123,63,228,0.15); }
.cg-c.l2 { background: rgba(123,63,228,0.35); }
.cg-c.l3 { background: rgba(123,63,228,0.55); }
.cg-c.l4 { background: rgba(123,63,228,0.8); }

.oss-stars {
  display: flex; align-items: center; gap: 7px;
  font-size: 16px; font-weight: 800; color: #B07A00;
}
.oss-stars i { font-size: 14px; }

/* Platform visual */
.fc-vis-platform {
  background: linear-gradient(135deg, #EBF3FF 0%, #EEF1FF 100%);
  height: 180px;
}
.platform-icons-showcase {
  display: flex; gap: 0; align-items: stretch; width: 100%; height: 100%;
}
.pis-item {
  flex: 1; display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 8px;
  position: relative; overflow: hidden;
  transition: var(--transition);
}
.pis-item:hover { background: rgba(0,0,0,0.05); }
.pis-item i { font-size: 28px; position: relative; z-index: 1; }
.pis-item span { font-size: 11px; color: var(--text-2); position: relative; z-index: 1; }
.pis-glow {
  position: absolute; width: 80px; height: 80px;
  border-radius: 50%; filter: blur(28px); opacity: 0;
  transition: opacity 0.3s;
}
.pis-item:hover .pis-glow { opacity: 0.6; }
.glow-win { background: #0078D4; }
.glow-mac { background: #9d9d9d; }
.glow-lnx { background: #FFA500; }
.glow-and { background: #3DDC84; }
.glow-ios { background: #FF9F0A; }

.pis-win i { color: #0078D4; }
.pis-mac i { color: #c8c8c8; }
.pis-lnx i { color: #FFA500; }
.pis-and i { color: #3DDC84; }
.pis-ios i { color: #FF9F0A; }

/* Dividers between platform items */
.pis-item + .pis-item {
  border-left: 1px solid rgba(0,0,0,0.07);
}

/* Feature card body */
.fc-body {
  padding: 24px 26px 28px;
  flex: 1; display: flex; flex-direction: column;
}
.fc-icon-row { margin-bottom: 12px; }
.fci-badge {
  display: inline-flex; align-items: center; justify-content: center;
  width: 38px; height: 38px; border-radius: 10px;
  font-size: 17px;
  background: rgba(255,45,91,0.12); color: var(--accent);
}
.fci-badge.fci-yellow  { background: rgba(255,184,0,0.12); color: var(--yellow); }
.fci-badge.fci-purple  { background: rgba(123,63,228,0.15); color: #C197FF; }
.fci-badge.fci-cyan    { background: rgba(0,201,255,0.1); color: var(--cyan); }

.fc-body h3 {
  font-size: 19px; font-weight: 700; letter-spacing: -0.02em;
  margin-bottom: 8px; color: var(--text); line-height: 1.3;
}
.fc-body p { font-size: 13px; line-height: 1.7; color: var(--text-2); flex: 1; }

.fc-link {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 12px; color: var(--accent);
  border: 1px solid rgba(255,45,91,0.22);
  padding: 4px 10px; border-radius: 6px;
  font-family: 'SF Mono', monospace;
  transition: var(--transition); margin-top: 14px;
  align-self: flex-start;
}
.fc-link:hover { background: rgba(255,45,91,0.1); border-color: rgba(255,45,91,0.45); }

/* ============================================================
   DOWNLOAD SECTION
   ============================================================ */
.dl-sec {
  padding: 120px 0;
  position: relative; overflow: hidden;
}
.dl-sec-bg { position: absolute; inset: 0; pointer-events: none; }

.dl-cards {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
}

.dl-card {
  display: flex; flex-direction: column;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  overflow: hidden;
  transition: var(--transition);
  cursor: pointer;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}
.dl-card:hover {
  background: var(--bg-card-h);
  border-color: var(--border-h);
  transform: translateY(-4px);
  box-shadow: 0 12px 36px rgba(0,0,0,0.12);
}

/* Visual area (top of download card) */
.dlc-visual {
  height: 120px;
  display: flex; align-items: center; justify-content: center;
  position: relative; overflow: hidden;
}

.dlc-big-icon {
  font-size: 52px;
  position: relative; z-index: 1;
  transition: transform var(--transition);
}
.dl-card:hover .dlc-big-icon { transform: scale(1.1); }

.dlc-vis-bg {
  position: absolute; inset: 0;
  transition: opacity var(--transition);
}
.dl-card:hover .dlc-vis-bg { opacity: 0.8; }

.dlcv-win .dlc-big-icon { color: #0078D4; }
.dlcvb-win { background: radial-gradient(circle at center, rgba(0,120,212,0.25) 0%, transparent 70%); }

.dlcv-mac .dlc-big-icon { color: #d0d0d0; }
.dlcvb-mac { background: radial-gradient(circle at center, rgba(200,200,200,0.15) 0%, transparent 70%); }

.dlcv-lnx .dlc-big-icon { color: #FFA500; }
.dlcvb-lnx { background: radial-gradient(circle at center, rgba(255,165,0,0.2) 0%, transparent 70%); }

.dlcv-and .dlc-big-icon { color: #3DDC84; }
.dlcvb-and { background: radial-gradient(circle at center, rgba(61,220,132,0.2) 0%, transparent 70%); }

.dlcv-ios .dlc-big-icon { color: #FF9F0A; }
.dlcvb-ios { background: radial-gradient(circle at center, rgba(255,159,10,0.2) 0%, transparent 70%); }

.dlc-info {
  padding: 16px 16px 8px;
  flex: 1;
}
.dlc-os {
  font-size: 16px; font-weight: 800; color: var(--text);
  margin-bottom: 3px; letter-spacing: -0.02em;
}
.dlc-sub {
  font-size: 11px; color: var(--text-3); margin-bottom: 10px; line-height: 1.5;
}
.dlc-app {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.dlc-rec-tag {
  font-size: 9.5px;
  font-weight: 700;
  color: var(--accent);
  background: rgba(255,45,91,0.08);
  border: 1px solid rgba(255,45,91,0.2);
  border-radius: 4px;
  padding: 1px 5px;
  letter-spacing: 0.03em;
  flex-shrink: 0;
}
.dlc-app-name {
  font-size: 11.5px;
  color: var(--text-2);
  font-weight: 500;
}

.dlc-action {
  padding: 0 16px 16px;
}
.dlc-btn {
  display: flex; align-items: center; justify-content: center; gap: 7px;
  background: var(--accent);
  color: #fff;
  border-radius: 100px; padding: 9px 16px;
  font-size: 13px; font-weight: 600;
  width: 100%; transition: var(--transition);
}
.dl-card:hover .dlc-btn { box-shadow: 0 0 20px rgba(255,45,91,0.35); }

.dlc-btn-store {
  background: rgba(0,0,0,0.07);
  border: 1px solid rgba(0,0,0,0.12);
  color: var(--text-2);
}
.dl-card:hover .dlc-btn-store { background: rgba(0,0,0,0.11); box-shadow: none; }

.dl-more {
  display: flex;
  justify-content: center;
  margin-top: 24px;
}

.dl-note {
  display: flex; align-items: flex-start; gap: 10px;
  margin-top: 28px; padding: 14px 20px;
  background: rgba(0,201,255,0.06);
  border: 1px solid rgba(0,201,255,0.16);
  border-radius: var(--r);
  font-size: 13px; color: var(--text-2); line-height: 1.7;
}
.dl-note i { color: var(--cyan); flex-shrink: 0; margin-top: 2px; }
.dl-note a { color: var(--cyan); text-decoration: underline; text-underline-offset: 3px; }

/* ============================================================
   GITHUB SECTION
   ============================================================ */
.github-sec { padding: 0 0 100px; }

.github-band {
  background: linear-gradient(135deg,
    rgba(123,63,228,0.08) 0%,
    rgba(255,255,255,0.95) 40%,
    rgba(255,255,255,0.95) 60%,
    rgba(255,45,91,0.06) 100%);
  border: 1px solid rgba(0,0,0,0.08);
  border-radius: var(--r-xl);
  padding: 48px 52px;
  display: flex; align-items: center;
  justify-content: space-between; gap: 40px;
  position: relative; overflow: hidden;
  box-shadow: 0 4px 24px rgba(0,0,0,0.07);
}
.github-band::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; bottom: 0;
  background: url("data:image/svg+xml,%3Csvg width='40' height='40' viewBox='0 0 40 40' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Ccircle cx='20' cy='20' r='1' fill='rgba(0,0,0,0.04)'/%3E%3C/g%3E%3C/svg%3E");
  pointer-events: none;
}

.gb-left {
  display: flex; align-items: flex-start; gap: 24px; flex: 1; min-width: 0;
  position: relative;
}
.gb-icon {
  font-size: 48px; color: var(--text);
  flex-shrink: 0; margin-top: -4px;
  opacity: 0.8;
}
.gb-left h3 {
  font-size: 22px; font-weight: 800;
  letter-spacing: -0.02em; margin-bottom: 8px; color: var(--text);
}
.gb-left p {
  font-size: 14px; color: var(--text-2); line-height: 1.6; margin-bottom: 14px;
}
.gb-link {
  font-family: 'SF Mono', monospace; font-size: 13px;
  color: var(--accent);
  border-bottom: 1px solid rgba(255,45,91,0.35);
  padding-bottom: 1px;
  transition: var(--transition);
}
.gb-link:hover { border-color: var(--accent); }

.gb-right {
  display: flex; align-items: center; gap: 28px; flex-shrink: 0;
  position: relative;
}
.gb-stars {
  display: flex; flex-direction: column; align-items: center; gap: 4px;
}
.gb-stars i { font-size: 20px; color: var(--yellow); }
.gb-star-num {
  font-size: 36px; font-weight: 900; letter-spacing: -0.04em;
  color: var(--text); line-height: 1;
}
.gb-star-label { font-size: 12px; color: var(--text-2); }

/* ============================================================
   CTA
   ============================================================ */
.cta-sec {
  padding: 100px 0;
  position: relative; overflow: hidden;
  text-align: center;
}

.cta-bg-orb {
  position: absolute;
  width: 900px; height: 400px;
  border-radius: 50%;
  background: radial-gradient(ellipse, rgba(123,63,228,0.08) 0%, rgba(255,45,91,0.05) 40%, transparent 70%);
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  filter: blur(40px);
  pointer-events: none;
}

.cta-inner {
  position: relative; z-index: 1;
  max-width: 680px; margin: 0 auto;
}

.cta-label {
  display: inline-block;
  font-size: 12px; font-weight: 700; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--text-3);
  margin-bottom: 16px;
}

.cta-inner h2 {
  font-size: clamp(32px, 5vw, 58px);
  font-weight: 900; letter-spacing: -0.03em; line-height: 1.1;
  margin-bottom: 18px;
}
.cta-inner p {
  font-size: 17px; color: var(--text-2); line-height: 1.7;
  margin-bottom: 36px;
}
.cta-btns {
  display: flex; align-items: center; justify-content: center;
  gap: 14px; flex-wrap: wrap;
}

/* ============================================================
   FOOTER (injected by footer.js)
   ============================================================ */
.site-footer {
  background: var(--bg-1);
  border-top: 1px solid var(--border);
  padding: 72px 0 40px;
}
.footer-inner { max-width: 1200px; margin: 0 auto; padding: 0 28px; }
.footer-top {
  display: grid;
  grid-template-columns: 1.7fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 52px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 32px;
}
.ft-brand p {
  font-size: 13px; color: var(--text-2); line-height: 1.75;
  max-width: 260px; margin: 14px 0 20px;
}
.ft-github-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(0,0,0,0.04);
  border: 1px solid var(--border); border-radius: 8px;
  padding: 8px 14px; font-size: 12px; color: var(--text-2);
  font-family: 'SF Mono', monospace; transition: var(--transition);
}
.ft-github-badge:hover { border-color: var(--border-h); color: var(--text); }
.ft-github-badge i { color: var(--text); font-size: 14px; }
.footer-col h4 {
  font-size: 11px; font-weight: 700; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--text-3); margin-bottom: 18px;
}
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-col ul li a {
  font-size: 14px; color: var(--text-2); transition: var(--transition);
}
.footer-col ul li a:hover { color: var(--text); }
.footer-bottom {
  display: flex; align-items: center;
  justify-content: space-between; gap: 20px; flex-wrap: wrap;
}
.footer-copy { font-size: 13px; color: var(--text-3); }
.footer-tagline {
  font-size: 13px; color: var(--text-3);
  letter-spacing: 0.04em;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1100px) {
  .dl-cards { grid-template-columns: repeat(3, 1fr); }
  .dl-cards .dl-card:nth-child(4) { grid-column: 1; }
  .dl-cards .dl-card:nth-child(5) { grid-column: 2; }
}

@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
    padding: 60px 0 80px;
    gap: 56px;
  }
  .hero-h1 { font-size: clamp(32px, 7vw, 48px); }
  .hero-sub { margin: 0 auto 36px; }
  .hero-btns { justify-content: center; }
  .hero-proof { justify-content: center; }

  .hero-visual-wrap { display: none; }
  .hero-platform-tabs { justify-content: center; }

  .spotlight-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .feat-cards {
    grid-template-columns: 1fr 1fr;
  }
  .feat-card-wide { grid-column: 1 / 3; }

  .footer-top { grid-template-columns: 1fr 1fr; gap: 36px; }

  .github-band {
    flex-direction: column;
    text-align: center;
    padding: 40px 36px;
  }
  .gb-left { flex-direction: column; align-items: center; text-align: center; }
  .gb-right { flex-direction: column; align-items: center; gap: 20px; }
}

/* Mobile-only nav elements hidden by default on desktop */
.nav-mobile-divider, .nav-mobile-lang-row { display: none; }

@media (max-width: 768px) {
  .container { padding: 0 18px; }

  /* Nav mobile */
  .nav-links, .nav-lang-wrap, .nav-dl-btn { display: none; }
  .nav-burger { display: flex; }
  .nav-mobile-divider { display: list-item; }
  .nav-mobile-lang-row { display: flex; }
  .nav-links.mobile-open {
    display: flex; flex-direction: column;
    position: absolute; top: 66px; left: 0; right: 0;
    margin-left: 0;
    background: rgba(245,247,252,0.97);
    backdrop-filter: blur(22px);
    -webkit-backdrop-filter: blur(22px);
    border-bottom: 1px solid rgba(0,0,0,0.06);
    padding: 10px 14px 16px; gap: 2px;
    animation: slideDown 0.2s ease;
    box-shadow: 0 4px 16px rgba(0,0,0,0.04);
  }
  .nav-links.mobile-open .nav-link,
  .nav-links.mobile-open [role="menuitem"] {
    display: block; padding: 11px 14px; border-radius: 10px;
    color: #333; font-size: 15px; font-weight: 500;
    transition: var(--transition);
  }
  .nav-links.mobile-open [role="menuitem"]:hover,
  .nav-links.mobile-open [role="menuitem"].active {
    background: rgba(255,45,91,0.08);
    color: var(--accent);
  }
  .nav-mobile-divider {
    height: 1px; background: var(--border);
    margin: 6px 14px;
  }
  .nav-mobile-lang-row {
    display: flex; flex-direction: column;
    padding: 8px 14px; gap: 8px;
  }
  .nav-mobile-lang-label {
    font-size: 12px; color: #999;
    display: flex; align-items: center; gap: 5px;
  }
  .nav-mobile-langs {
    display: flex; flex-wrap: wrap; gap: 6px;
  }
  .nml-item {
    font-size: 12px; padding: 4px 10px; border-radius: 20px;
    border: 1px solid var(--border); color: #666;
    background: #f5f5f7; transition: var(--transition);
  }
  .nml-item:hover { border-color: var(--accent); color: var(--accent); background: rgba(255,45,91,0.06); }
  .nml-active { border-color: var(--accent) !important; color: var(--accent) !important; background: rgba(255,45,91,0.08) !important; font-weight: 600; }

  /* Hero */
  .hero { padding-top: 66px; }
  .hero-grid { padding: 36px 0 60px; gap: 40px; }
  .hero-h1 { font-size: clamp(28px, 8vw, 40px); overflow-wrap: break-word; word-break: break-word; }
  .hero-sub { font-size: 14px; max-width: 100%; }
  .hero-proof { flex-wrap: wrap; justify-content: center; row-gap: 6px; }
  .proof-item { padding: 0 10px; }
  .float-badge { display: none; }
  .app-window { max-width: 100%; }
  .aw-body { height: 280px; }

  /* Stats strip */
  .ss-inner { flex-wrap: wrap; gap: 24px; padding: 28px 0; }
  .ss-item { flex: 0 0 calc(50% - 12px); }
  .ss-sep { display: none; }

  /* Spotlight */
  .spotlight { padding: 80px 0; }

  /* Features */
  .feat-cards { grid-template-columns: 1fr; }
  .feat-card-wide { grid-column: 1; }
  .fc-visual { height: 160px; }
  .fc-vis-platform { height: 120px; }

  /* Download */
  .dl-sec { padding: 80px 0; }
  .dl-cards {
    grid-template-columns: 1fr 1fr;
  }
  .dl-cards .dl-card:nth-child(5) {
    grid-column: 1 / 3;
  }

  /* Footer */
  .footer-top { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; text-align: center; }

  /* CTA */
  .cta-sec { padding: 80px 0; }
  .cta-btns { flex-direction: column; align-items: stretch; }
  .cta-btns .btn { justify-content: center; }
}

@media (max-width: 520px) {
  .dl-cards { grid-template-columns: 1fr; }
  .dl-cards .dl-card:nth-child(5) { grid-column: 1; }

  .hero-btns { flex-direction: column; }
  .hero-btns .btn { justify-content: center; width: 100%; }
}

/* ============================================================
   USE CASES — BENTO GRID
   ============================================================ */
.usecases-sec { padding: 0 0 120px; }

.uc-bento {
  display: grid;
  grid-template-columns: 1.35fr 1fr 1fr;
  grid-auto-rows: minmax(240px, auto);
  gap: 14px;
}

/* Tile 1 spans 2 rows */
.uc-bento > .uc-tile:nth-child(1) { grid-row: 1 / 3; }

.uc-tile {
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: var(--transition);
  background: var(--bg-card);
  box-shadow: 0 2px 12px rgba(0,0,0,0.05);
}
.uc-tile:hover {
  border-color: var(--border-h);
  transform: translateY(-3px);
  box-shadow: 0 18px 50px rgba(0,0,0,0.1);
}

/* Background art zones */
.uc-bg {
  flex-shrink: 0;
  position: relative;
  overflow: hidden;
}

.uc-hero .uc-bg {
  flex: 1;
  min-height: 270px;
  background: linear-gradient(148deg, #FFF0F3 0%, #FFF8F5 60%, #F8F0FF 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}

.uc-dark .uc-bg,
.uc-light .uc-bg { height: 140px; }

.uc-light .uc-bg {
  background: linear-gradient(135deg, #ECFFF7 0%, #EDF5FF 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}

.uc-bg-stream {
  background: linear-gradient(145deg, #0d1117 0%, #1a1a2e 100%) !important;
  display: flex;
  align-items: center;
  justify-content: center;
}
.uc-bg-dev {
  background: #0d1117 !important;
  display: flex;
  align-items: flex-start;
  padding: 16px 20px;
}
.uc-bg-game {
  background: linear-gradient(145deg, #0f0820 0%, #1a0f2e 100%) !important;
  display: flex;
  align-items: center;
  justify-content: center;
}
.uc-bg-corp {
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Globe network */
.globe-net {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.globe-net svg { width: 88%; max-width: 280px; height: auto; }

/* Stream showcase */
.stream-showcase {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.ss-screen {
  width: 64px;
  height: 44px;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.13);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 1;
}
.ss-play {
  width: 24px;
  height: 24px;
  background: var(--accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-left: 2px;
}
.ss-play i { font-size: 9px; color: #fff; }
.ss-tags { position: absolute; inset: 0; pointer-events: none; }
.sst {
  position: absolute;
  font-weight: 700;
  letter-spacing: 0.01em;
  white-space: nowrap;
}
.sst-1 { top: 18%; left: 6%;  font-size: 13px; color: rgba(229,9,20,0.55); }
.sst-2 { top: 12%; right: 7%; font-size: 11px; color: rgba(17,60,207,0.45); }
.sst-3 { bottom: 22%; left: 7%; font-size: 12px; color: rgba(255,255,255,0.2); }
.sst-4 { bottom: 16%; right: 6%; font-size: 11px; color: rgba(30,215,96,0.45); }
.sst-5 { top: 48%; right: 5%; font-size: 10px; color: rgba(255,255,255,0.15); }

/* Terminal art */
.term-art {
  display: flex;
  flex-direction: column;
  gap: 5px;
  width: 100%;
}
.ta-line {
  font-family: 'SF Mono', 'Fira Code', monospace;
  font-size: 10.5px;
  color: rgba(255,255,255,0.32);
  line-height: 1.55;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.ta-prompt { color: rgba(0,217,139,0.75); margin-right: 5px; }
.ta-speed   { color: rgba(0,217,139,0.6); }
.ta-dim     { opacity: 0.7; }
.ta-gap     { margin-top: 3px; }

/* Game ping art */
.ping-art {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}
.pa-ping {
  display: flex;
  align-items: baseline;
  gap: 4px;
  line-height: 1;
}
.pa-num {
  font-size: 56px;
  font-weight: 900;
  letter-spacing: -0.05em;
  color: rgba(0,217,139,0.85);
  font-family: 'Inter', sans-serif;
  line-height: 1;
}
.pa-ms {
  font-size: 16px;
  font-weight: 700;
  color: rgba(255,255,255,0.3);
}
.pa-bars {
  display: flex;
  align-items: flex-end;
  gap: 4px;
  height: 22px;
}
.pb { width: 6px; border-radius: 2px; background: rgba(0,217,139,0.35); }
.pb-1 { height: 8px; }
.pb-2 { height: 13px; }
.pb-3 { height: 18px; }
.pb-4 { height: 22px; background: rgba(0,217,139,0.75); }

/* Corporate nodes art */
.corp-art {
  display: flex;
  align-items: center;
  gap: 6px;
}
.ca-node {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 17px;
  flex-shrink: 0;
}
.ca-office {
  background: rgba(0,168,107,0.12);
  color: var(--green);
  border: 1.5px solid rgba(0,168,107,0.28);
}
.ca-remote {
  background: rgba(0,153,204,0.1);
  color: var(--cyan);
  border: 1.5px solid rgba(0,153,204,0.28);
}
.ca-path {
  display: flex;
  align-items: center;
  gap: 5px;
  flex: 1;
}
.ca-dash {
  flex: 1;
  height: 1.5px;
  background: repeating-linear-gradient(
    90deg,
    rgba(0,0,0,0.14) 0px,
    rgba(0,0,0,0.14) 5px,
    transparent 5px,
    transparent 9px
  );
}
.ca-shield {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(123,63,228,0.12);
  border: 1.5px solid rgba(123,63,228,0.28);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  color: #C197FF;
  flex-shrink: 0;
}

/* Tile content */
.uc-content {
  padding: 20px 24px 24px;
  flex-shrink: 0;
}
.uc-hero .uc-content { padding: 22px 28px 28px; }
.uc-label {
  display: inline-block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-3);
  margin-bottom: 9px;
}
.uc-content h3 {
  font-size: 17px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--text);
  line-height: 1.3;
  margin-bottom: 9px;
}
.uc-hero .uc-content h3 { font-size: 20px; }
.uc-content p {
  font-size: 13px;
  line-height: 1.72;
  color: var(--text-2);
}
.uc-sites {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 14px;
}
.uc-sites span {
  font-size: 11px;
  color: var(--accent);
  background: rgba(255,45,91,0.08);
  border: 1px solid rgba(255,45,91,0.18);
  padding: 3px 9px;
  border-radius: 100px;
}

/* ============================================================
   QUICK START — THREE-STEP FLOW
   ============================================================ */
.quickstart-sec { padding: 0 0 120px; }

.qs-flow {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 22px;
  align-items: stretch;
}

.qs-step { display: flex; flex-direction: column; }

/* Step label with number badge + connecting line */
.qs-step-label {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  margin-bottom: 14px;
  position: relative;
}
.qs-badge {
  display: inline-flex;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255,45,91,0.09);
  border: 1.5px solid rgba(255,45,91,0.26);
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 800;
  color: var(--accent);
  letter-spacing: -0.02em;
  flex-shrink: 0;
  position: relative;
  z-index: 1;
}
.qs-badge-done {
  background: rgba(0,168,107,0.1);
  border-color: rgba(0,168,107,0.3);
  color: var(--green);
}
.qs-step-line {
  position: absolute;
  left: calc(50% + 20px);
  right: calc(-50% - 2px);
  top: 50%;
  transform: translateY(-50%);
  height: 1.5px;
  background: repeating-linear-gradient(
    90deg,
    rgba(255,45,91,0.2) 0px,
    rgba(255,45,91,0.2) 6px,
    transparent 6px,
    transparent 12px
  );
}

/* Cards */
.qs-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
  transition: var(--transition);
  flex: 1;
  display: flex;
  flex-direction: column;
}
.qs-step:hover .qs-card {
  border-color: rgba(255,45,91,0.22);
  box-shadow: 0 14px 44px rgba(0,0,0,0.1);
  transform: translateY(-2px);
}

/* Visual headers */
.qs-visual {
  height: 155px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative;
}
.qsv-dl     { background: linear-gradient(135deg, #EBF3FF 0%, #EFF0FF 100%); }
.qsv-import { background: linear-gradient(135deg, #F5F0FF 0%, #FFF0F5 100%); }
.qsv-connect{ background: linear-gradient(135deg, #ECFFF7 0%, #F0FBFF 100%); }

/* Download visual */
.qdl-mock {
  width: 80%;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.qdl-file {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 10.5px;
  font-family: 'SF Mono', monospace;
  color: var(--text-2);
  overflow: hidden;
}
.qdl-file i { color: var(--purple); font-size: 15px; flex-shrink: 0; }
.qdl-bar-wrap {
  height: 5px;
  background: rgba(0,0,0,0.08);
  border-radius: 100px;
  overflow: hidden;
}
.qdl-bar {
  height: 100%;
  background: linear-gradient(90deg, var(--purple), var(--accent));
  border-radius: 100px;
  animation: dlProgress 3s ease-in-out infinite;
}
@keyframes dlProgress {
  0%   { width: 0; }
  65%  { width: 90%; }
  80%  { width: 100%; }
  100% { width: 100%; }
}
.qdl-meta {
  display: flex;
  justify-content: space-between;
  font-size: 10px;
  font-family: 'SF Mono', monospace;
}
.qdl-size  { color: var(--text-3); }
.qdl-speed { color: var(--cyan); }

/* Import visual */
.qimp-mock {
  width: 82%;
  display: flex;
  flex-direction: column;
  gap: 9px;
}
.qimp-hint {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-3);
}
.qimp-input {
  display: flex;
  align-items: center;
  gap: 7px;
  background: rgba(255,255,255,0.85);
  border: 1px solid rgba(0,0,0,0.1);
  border-radius: 8px;
  padding: 7px 10px;
  font-size: 10px;
  font-family: 'SF Mono', monospace;
}
.qimp-input i { color: var(--cyan); flex-shrink: 0; }
.qimp-url {
  color: var(--text-2);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.qimp-btn {
  background: var(--accent);
  color: #fff;
  border-radius: 100px;
  padding: 8px 14px;
  font-size: 12px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 7px;
  justify-content: center;
}

/* Connect visual */
.qcon-mock {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 11px;
}
.qcon-toggle {
  width: 52px;
  height: 28px;
  background: var(--green);
  border-radius: 100px;
  position: relative;
  box-shadow: 0 0 18px rgba(0,217,139,0.32);
}
.qcon-ball {
  position: absolute;
  top: 3px;
  right: 3px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 2px 6px rgba(0,0,0,0.15);
}
.qcon-info {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  color: var(--green);
}
.qcon-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 8px var(--green);
  animation: pulse 1.5s ease-in-out infinite;
}
.qcon-rule {
  font-size: 10.5px;
  color: var(--text-3);
}

/* Step body */
.qs-body { padding: 20px 22px 24px; flex: 1; }
.qs-body h3 {
  font-size: 16px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text);
  margin-bottom: 9px;
  line-height: 1.35;
}
.qs-body p {
  font-size: 12.5px;
  line-height: 1.76;
  color: var(--text-2);
  margin-bottom: 14px;
}
.qs-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 600;
  color: var(--accent);
  transition: gap var(--transition);
}
.qs-cta:hover { gap: 10px; }
.qs-cta i { font-size: 11px; }

/* ============================================================
   FAQ — SIDEBAR + ACCORDION
   ============================================================ */
.faq-sec { padding: 0 0 100px; }

.faq-wrap {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 80px;
  align-items: start;
}

.faq-sidebar .sec-tag { margin-bottom: 18px; }
.faq-sidebar h2 {
  font-size: clamp(24px, 2.8vw, 38px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.22;
  margin-bottom: 16px;
}
.faq-sidebar p {
  font-size: 14px;
  color: var(--text-2);
  line-height: 1.72;
  margin-bottom: 22px;
}
.faq-hint-box {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  font-size: 12px;
  color: var(--text-3);
  line-height: 1.65;
  padding: 12px 14px;
  background: rgba(0,0,0,0.03);
  border: 1px solid var(--border);
  border-radius: var(--r);
  margin-bottom: 22px;
}
.faq-hint-box i { color: var(--yellow); margin-top: 1px; flex-shrink: 0; }

/* Accordion */
.faq-accordion { border-top: 1px solid var(--border); }
.faq-item      { border-bottom: 1px solid var(--border); }

.faq-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 19px 2px;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  font-family: inherit;
}
.faq-trigger > span {
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
  line-height: 1.45;
  flex: 1;
  transition: color var(--transition);
}
.faq-trigger:hover > span { color: var(--accent); }

.faq-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(0,0,0,0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  color: var(--text-3);
  flex-shrink: 0;
  transition: var(--transition);
}
.faq-item.open .faq-icon {
  background: rgba(255,45,91,0.1);
  color: var(--accent);
  transform: rotate(45deg);
}
.faq-item.open .faq-trigger > span { color: var(--accent); }

/* Smooth auto-height animation via grid-template-rows trick */
.faq-panel {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.32s cubic-bezier(0.4, 0, 0.2, 1);
}
.faq-item.open .faq-panel { grid-template-rows: 1fr; }
.faq-panel-inner { overflow: hidden; }
.faq-panel-inner p {
  font-size: 14px;
  line-height: 1.85;
  color: var(--text-2);
  padding: 0 2px 20px;
}
.faq-panel-inner strong { color: var(--text); font-weight: 600; }

/* ============================================================
   RESPONSIVE — NEW SECTIONS
   ============================================================ */
@media (max-width: 1100px) {
  .uc-bento {
    grid-template-columns: 1fr 1fr;
  }
  .uc-bento > .uc-tile:nth-child(1) {
    grid-column: 1 / 3;
    grid-row: auto;
  }
  .uc-hero .uc-bg { min-height: 210px; }
}

@media (max-width: 1024px) {
  .qs-flow {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .qs-step { flex-direction: row; gap: 20px; align-items: flex-start; }
  .qs-step-label {
    flex-direction: column;
    align-items: center;
    gap: 6px;
    margin-bottom: 0;
    flex-shrink: 0;
  }
  .qs-step-line {
    position: static;
    transform: none;
    width: 1.5px;
    height: 40px;
    flex: none;
    margin-left: 0;
    background: repeating-linear-gradient(
      180deg,
      rgba(255,45,91,0.2) 0px,
      rgba(255,45,91,0.2) 5px,
      transparent 5px,
      transparent 10px
    );
  }
  .qs-card { flex: 1; }

  .faq-wrap {
    grid-template-columns: 1fr;
    gap: 44px;
  }
  .faq-sidebar { text-align: center; }
  .faq-hint-box { text-align: left; }
  .faq-sidebar .btn { width: 100%; justify-content: center; }
}

@media (max-width: 768px) {
  .usecases-sec { padding: 0 0 80px; }
  .uc-bento { grid-template-columns: 1fr; }
  .uc-bento > .uc-tile:nth-child(1) { grid-column: 1; }
  .uc-hero .uc-bg { min-height: 180px; }
  .uc-dark .uc-bg,
  .uc-light .uc-bg { height: 120px; }

  .quickstart-sec { padding: 0 0 80px; }
  .qs-step { flex-direction: column; }
  .qs-step-label { flex-direction: row; justify-content: flex-start; margin-bottom: 12px; }
  .qs-step-line {
    position: static;
    transform: none;
    flex: 1;
    height: 1.5px;
    width: auto;
    background: repeating-linear-gradient(
      90deg,
      rgba(255,45,91,0.2) 0px,
      rgba(255,45,91,0.2) 6px,
      transparent 6px,
      transparent 12px
    );
    margin-left: 6px;
  }
  .qs-visual { height: 130px; }

  .faq-sec { padding: 0 0 80px; }
  .faq-sidebar h2 { font-size: clamp(22px, 6vw, 32px); }
}
