/* ============ MiuMiu VPN — Landing ============ */
:root {
  --bg: #05060f;
  --bg-2: #0a0d1f;
  --ink: #e8eaf6;
  --ink-dim: #9aa1c0;
  --ink-faint: #5c6280;
  --violet: #7c3aed;
  --indigo: #6366f1;
  --cyan: #22d3ee;
  --good: #34d399;
  --mid: #fbbf24;
  --glass: rgba(255, 255, 255, 0.04);
  --glass-border: rgba(255, 255, 255, 0.09);
  --radius: 18px;
  --font-display: "Space Grotesk", sans-serif;
  --font-body: "Inter", sans-serif;
  --font-mono: "JetBrains Mono", monospace;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

.mono { font-family: var(--font-mono); }
.good { color: var(--good) !important; }
.mid { color: var(--mid) !important; }

.container { max-width: 1180px; margin: 0 auto; padding: 0 24px; }

h1, h2, h3 { font-family: var(--font-display); font-weight: 700; letter-spacing: -0.02em; }

.grad-text {
  background: linear-gradient(100deg, #a78bfa 0%, #6366f1 45%, #22d3ee 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ---------- background orbs ---------- */
.bg-orbs { position: fixed; inset: 0; z-index: -1; overflow: hidden; }
.orb { position: absolute; border-radius: 50%; filter: blur(110px); opacity: 0.35; }
.orb-1 { width: 560px; height: 560px; background: #4c1d95; top: -180px; left: -120px; animation: drift 24s ease-in-out infinite alternate; }
.orb-2 { width: 460px; height: 460px; background: #1e3a8a; top: 30%; right: -160px; animation: drift 30s ease-in-out infinite alternate-reverse; }
.orb-3 { width: 420px; height: 420px; background: #164e63; bottom: -140px; left: 30%; animation: drift 27s ease-in-out infinite alternate; }
@keyframes drift {
  from { transform: translate(0, 0) scale(1); }
  to { transform: translate(60px, 40px) scale(1.12); }
}
.grid-overlay {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(120, 130, 220, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(120, 130, 220, 0.05) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, black 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, black 30%, transparent 75%);
}

/* ---------- glass ---------- */
.glass {
  background: var(--glass);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-radius: var(--radius);
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-display); font-weight: 600;
  border-radius: 12px; text-decoration: none; cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.25s ease, background 0.25s ease, border-color 0.25s ease;
  border: none;
}
.btn-primary {
  background: linear-gradient(120deg, var(--violet), var(--indigo) 55%, #0ea5e9);
  color: #fff;
  box-shadow: 0 8px 30px rgba(99, 102, 241, 0.35);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 40px rgba(99, 102, 241, 0.5); }
.btn-ghost {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--glass-border);
  color: var(--ink);
}
.btn-ghost:hover { background: rgba(255, 255, 255, 0.1); transform: translateY(-2px); }
.btn-sm { padding: 9px 18px; font-size: 14px; }
.btn-lg { padding: 15px 28px; font-size: 16px; }

/* ---------- nav ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  transition: background 0.3s ease, border-color 0.3s ease;
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: rgba(5, 6, 15, 0.75);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom-color: var(--glass-border);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.nav-logo { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.nav-cat { height: 38px; width: auto; }
.nav-wordmark { height: 26px; width: auto; filter: brightness(0) invert(1) opacity(0.95); }
.nav-links { display: flex; gap: 30px; }
.nav-links a {
  color: var(--ink-dim); text-decoration: none; font-size: 14.5px; font-weight: 500;
  transition: color 0.2s ease;
}
.nav-links a:hover { color: var(--ink); }
.nav-actions { display: flex; align-items: center; gap: 14px; }
.nav-burger { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 6px; }
.nav-burger span { width: 22px; height: 2px; background: var(--ink); border-radius: 2px; transition: 0.3s; }

/* ---------- hero ---------- */
.hero { padding: 150px 0 90px; position: relative; }
.hero-inner { display: grid; grid-template-columns: 1fr 1.05fr; gap: 56px; align-items: center; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 7px 16px; border-radius: 100px;
  background: rgba(124, 58, 237, 0.12); border: 1px solid rgba(124, 58, 237, 0.35);
  font-size: 13px; font-weight: 500; color: #c4b5fd;
  font-family: var(--font-mono); margin-bottom: 26px;
}
.pulse-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--good); animation: pulse 2s infinite; }
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(52, 211, 153, 0.5); }
  50% { box-shadow: 0 0 0 6px rgba(52, 211, 153, 0); }
}
.hero h1 { font-size: clamp(36px, 4.6vw, 56px); line-height: 1.1; margin-bottom: 22px; }
.hero-sub { color: var(--ink-dim); font-size: 17.5px; max-width: 520px; margin-bottom: 34px; }
.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 40px; }
.hero-stats { display: flex; align-items: center; gap: 26px; }
.stat strong { font-family: var(--font-display); font-size: 26px; display: block; line-height: 1.1; }
.stat span { color: var(--ink-faint); font-size: 13px; }
.stat-sep { width: 1px; height: 34px; background: var(--glass-border); }

/* ---------- dashboard mockup ---------- */
.hero-visual { position: relative; }
.dash-glow {
  position: absolute; inset: 8% -4% -6% -4%; z-index: -1;
  background: radial-gradient(ellipse at center, rgba(99, 102, 241, 0.22), transparent 65%);
  filter: blur(30px);
}
.dash { overflow: hidden; box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5); animation: float 7s ease-in-out infinite; }
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}
.dash-titlebar {
  display: flex; align-items: center; justify-content: space-between;
  padding: 13px 18px; border-bottom: 1px solid var(--glass-border);
  background: rgba(255, 255, 255, 0.02);
}
.dash-dots { display: flex; gap: 7px; }
.dash-dots span { width: 11px; height: 11px; border-radius: 50%; background: rgba(255,255,255,0.14); }
.dash-dots span:first-child { background: #f87171; }
.dash-dots span:nth-child(2) { background: #fbbf24; }
.dash-dots span:nth-child(3) { background: #34d399; }
.dash-title { display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; color: var(--ink-dim); }
.dash-cat { height: 18px; }
.dash-core { font-size: 11.5px; color: var(--ink-faint); }
.dash-body { padding: 18px; display: flex; flex-direction: column; gap: 14px; }

.dash-status {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 16px; border-radius: 13px;
  background: rgba(52, 211, 153, 0.06); border: 1px solid rgba(52, 211, 153, 0.22);
}
.conn-state { display: flex; align-items: center; gap: 13px; }
.conn-ring {
  width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center;
  border: 2px solid rgba(52, 211, 153, 0.4); animation: pulse 2s infinite;
}
.conn-dot { width: 14px; height: 14px; border-radius: 50%; background: var(--good); }
.conn-label { font-family: var(--font-display); font-weight: 700; font-size: 13.5px; letter-spacing: 0.12em; color: var(--good); }
.conn-time { font-size: 12px; color: var(--ink-faint); }
.conn-proto { font-size: 12px; color: var(--ink-dim); background: rgba(255,255,255,0.05); padding: 6px 11px; border-radius: 8px; }

.dash-grid { display: grid; grid-template-columns: 1.3fr 1.2fr 0.8fr; gap: 12px; }
.dash-card { background: rgba(255,255,255,0.03); border: 1px solid var(--glass-border); border-radius: 13px; padding: 13px 14px; }
.dc-label { font-size: 10.5px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-faint); font-weight: 600; margin-bottom: 6px; }
.dc-value { font-weight: 600; font-size: 14.5px; }
.dc-sub { font-size: 11.5px; color: var(--ink-faint); margin-top: 3px; }

.dash-graph { background: rgba(255,255,255,0.03); border: 1px solid var(--glass-border); border-radius: 13px; padding: 13px 14px 8px; }
.graph-head { display: flex; justify-content: space-between; align-items: center; font-size: 12px; color: var(--ink-dim); margin-bottom: 8px; }
.graph-legend { display: flex; gap: 14px; font-size: 11.5px; }
.lg-down { color: var(--cyan); }
.lg-up { color: #a78bfa; }
#trafficSvg { width: 100%; height: 84px; display: block; }

.dash-bottom { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.dash-routing, .dash-diag { background: rgba(255,255,255,0.03); border: 1px solid var(--glass-border); border-radius: 13px; padding: 13px 14px; }
.route-row, .diag-row { display: flex; justify-content: space-between; align-items: center; font-size: 12.5px; color: var(--ink-dim); padding: 5px 0; }
.diag-row .mono { font-size: 11.5px; }
.toggle {
  width: 34px; height: 19px; border-radius: 100px; background: rgba(255,255,255,0.12);
  position: relative; display: inline-block; transition: background 0.25s;
}
.toggle i { position: absolute; top: 2.5px; left: 3px; width: 14px; height: 14px; border-radius: 50%; background: #fff; transition: left 0.25s; }
.toggle.on { background: linear-gradient(90deg, var(--indigo), var(--cyan)); }
.toggle.on i { left: 17px; }

/* ---------- phone mockup (real app UI) ---------- */
.hero-visual { display: grid; place-items: center; }
.phone {
  width: 300px; border-radius: 44px; padding: 11px;
  background: linear-gradient(160deg, #1b2030, #090b12);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 34px 90px rgba(0, 0, 0, 0.55), inset 0 0 0 1.5px rgba(255,255,255,0.05);
}
.hero-phone { animation: float 7s ease-in-out infinite; }
.phone-screen {
  position: relative; border-radius: 34px; overflow: hidden;
  background: linear-gradient(180deg, #f6f9fc 0%, #eaf0f6 100%);
  min-height: 560px; display: flex; flex-direction: column; align-items: center;
  font-family: var(--font-body); color: #414b5c;
  padding: 20px 18px 16px;
}
.shot-screen { padding: 0; min-height: 0; }
.shot-screen img { display: block; width: 100%; height: auto; }
.punch { width: 20px; height: 20px; border-radius: 50%; background: #0a0c12; margin: 4px auto 0; flex-shrink: 0; }
.app-logo { height: 40px; width: auto; margin: 30px auto 8px; }

.ring-wrap { position: relative; width: 214px; height: 214px; margin: 26px auto 0; }
.ring-svg { width: 100%; height: 100%; filter: drop-shadow(0 10px 22px rgba(17, 116, 176, 0.28)); }
.ring-arc { animation: ringIn 1.8s ease forwards; }
@keyframes ringIn { from { stroke-dashoffset: 490; } to { stroke-dashoffset: 0; } }
.ring-center {
  position: absolute; inset: 0; display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 4px;
}
.ring-center b { font-family: var(--font-display); font-size: 16px; color: #14324a; }
.ring-center span { font-size: 12.5px; color: #8b96a6; }
.tap-hint { margin: 26px 0 0; font-size: 13.5px; font-weight: 600; color: #55606f; }

.accel-pill {
  display: flex; align-items: center; gap: 10px;
  margin-top: 30px; width: 100%; padding: 13px 16px;
  border: 1.5px solid #1b9cc9; border-radius: 100px;
  background: rgba(27, 156, 201, 0.06); font-size: 13.5px;
}
.accel-dot { width: 9px; height: 9px; border-radius: 50%; background: #35c3e6; box-shadow: 0 0 8px rgba(53, 195, 230, 0.7); }
.accel-name { color: #1b8fc0; font-weight: 700; flex: 1; }
.accel-pill b { color: #1b8fc0; font-size: 12.5px; letter-spacing: 0.05em; }
.accel-pill i { color: #9aa6b4; font-style: normal; font-size: 15px; }

.app-tabbar {
  margin-top: auto; width: 100%; display: flex; gap: 6px;
  background: #ffffff; border-radius: 100px; padding: 6px;
  box-shadow: 0 6px 22px rgba(30, 50, 80, 0.1);
}
.app-tab {
  flex: 1; display: flex; align-items: center; justify-content: center; gap: 7px;
  padding: 10px 0; border-radius: 100px; font-size: 12px; font-weight: 600; color: #6b7684;
}
.app-tab.active { background: #e4e9ef; color: #2c3542; }

/* showcase phones row */
.phones-row {
  display: flex; justify-content: center; align-items: flex-start;
  gap: 34px; flex-wrap: wrap;
}
.phone-shot { display: flex; flex-direction: column; align-items: center; gap: 16px; }
.phone-shot .phone { width: 268px; }
.phone-shot .phone-screen { min-height: 500px; }
.phone-shot figcaption { font-family: var(--font-display); font-weight: 600; font-size: 15px; color: var(--ink-dim); }
.phone-shot:nth-child(2) { transform: translateY(26px); }

.app-light .app-screen-title {
  font-family: var(--font-display); font-weight: 700; font-size: 17px;
  color: #1e2937; margin: 18px 0 14px; align-self: flex-start;
}
.srv-list { width: 100%; display: flex; flex-direction: column; gap: 9px; }
.app-srv {
  display: flex; align-items: center; gap: 12px; width: 100%;
  background: #ffffff; border-radius: 16px; padding: 12px 14px;
  box-shadow: 0 3px 14px rgba(30, 50, 80, 0.07);
  border: 1.5px solid transparent;
}
.app-srv.selected { border-color: #1b9cc9; background: rgba(27, 156, 201, 0.05); }
.app-srv .srv-flag { font-size: 20px; }
.app-srv .srv-flag.tool-ic {
  font-size: 14px; width: 32px; height: 32px; flex-shrink: 0;
  display: grid; place-items: center; border-radius: 10px;
  background: linear-gradient(135deg, rgba(53, 195, 230, 0.16), rgba(14, 111, 174, 0.14)); color: #0f6faf;
}
.app-srv .srv-info { flex: 1; display: flex; flex-direction: column; }
.app-srv .srv-info b { font-size: 13.5px; color: #22303f; }
.app-srv .srv-info span { font-size: 11px; color: #939dab; }
.srv-check { color: #1b9cc9; font-weight: 700; }
.srv-ms { font-family: var(--font-mono); font-size: 11.5px; color: #7c8794; }
.srv-ms.strong { color: #0f6faf; font-weight: 600; }
.srv-ms.ok { color: #16a37a; font-weight: 600; }
.app-light .app-tabbar { margin-top: auto; }

/* ---------- sections ---------- */
.section { padding: 96px 0; position: relative; }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 56px; }
.section-tag {
  display: inline-block; font-family: var(--font-mono); font-size: 12.5px; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--cyan); margin-bottom: 14px;
  padding: 5px 14px; border: 1px solid rgba(34, 211, 238, 0.25); border-radius: 100px;
  background: rgba(34, 211, 238, 0.06);
}
.section-head h2 { font-size: clamp(28px, 3.4vw, 42px); margin-bottom: 16px; }
.section-head p { color: var(--ink-dim); font-size: 16.5px; }

/* ---------- features ---------- */
.features-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.feature-card { padding: 26px 22px; transition: transform 0.3s ease, border-color 0.3s ease, background 0.3s ease; }
.feature-card:hover {
  transform: translateY(-6px);
  border-color: rgba(124, 58, 237, 0.4);
  background: rgba(124, 58, 237, 0.06);
}
.fc-icon {
  width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; margin-bottom: 18px;
  background: linear-gradient(135deg, rgba(124, 58, 237, 0.18), rgba(34, 211, 238, 0.12));
  border: 1px solid rgba(124, 58, 237, 0.3); color: #a5b4fc;
}
.fc-icon svg { width: 23px; height: 23px; }
.feature-card h3 { font-size: 16.5px; margin-bottom: 9px; }
.feature-card p { font-size: 13.5px; color: var(--ink-dim); line-height: 1.55; }
.fc-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 13px; }
.fc-chips span {
  font-family: var(--font-mono); font-size: 10.5px; padding: 3.5px 9px; border-radius: 6px;
  background: rgba(34, 211, 238, 0.08); border: 1px solid rgba(34, 211, 238, 0.2); color: #67e8f9;
}

/* ---------- showcase ---------- */
.showcase { padding: 0; overflow: hidden; }
.showcase-tabs {
  display: flex; gap: 4px; padding: 12px 14px; border-bottom: 1px solid var(--glass-border);
  overflow-x: auto; background: rgba(255,255,255,0.02);
}
.tab {
  padding: 9px 18px; border-radius: 10px; border: 1px solid transparent;
  background: none; color: var(--ink-dim); font-family: var(--font-display);
  font-size: 14px; font-weight: 600; cursor: pointer; white-space: nowrap;
  transition: all 0.25s ease;
}
.tab:hover { color: var(--ink); background: rgba(255,255,255,0.05); }
.tab.active {
  color: #fff; background: linear-gradient(120deg, rgba(124,58,237,0.28), rgba(34,211,238,0.18));
  border-color: rgba(124, 58, 237, 0.4);
}
.tab-panel { display: none; padding: 22px; min-height: 380px; animation: fadeUp 0.4s ease; }
.tab-panel.active { display: block; }
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}
.panel-toolbar { display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; }
.pt-title { font-family: var(--font-display); font-weight: 600; font-size: 15px; }
.pt-actions { font-size: 12px; color: var(--cyan); }

.server-row {
  display: flex; align-items: center; gap: 15px; padding: 13px 16px;
  border: 1px solid var(--glass-border); border-radius: 13px; margin-bottom: 9px;
  background: rgba(255,255,255,0.02); transition: background 0.2s, border-color 0.2s;
}
.server-row:hover { background: rgba(255,255,255,0.05); }
.server-row.active-row { border-color: rgba(52, 211, 153, 0.35); background: rgba(52, 211, 153, 0.05); }
.srv-flag { font-size: 22px; }
.srv-info { flex: 1; display: flex; flex-direction: column; }
.srv-info b { font-size: 14px; }
.srv-info span { font-size: 11.5px; color: var(--ink-faint); }
.srv-ping { font-size: 13px; }
.srv-badge {
  font-size: 11px; font-weight: 600; color: var(--good);
  padding: 4px 11px; border-radius: 100px; background: rgba(52, 211, 153, 0.12);
  border: 1px solid rgba(52, 211, 153, 0.3);
}

.rule-row {
  display: flex; align-items: center; gap: 15px; padding: 13px 16px;
  border: 1px solid var(--glass-border); border-radius: 13px; margin-bottom: 9px;
  background: rgba(255,255,255,0.02); font-size: 13px;
}
.rule-row .mono { flex: 1; color: var(--ink-dim); font-size: 12.5px; }
.rule-note { color: var(--ink-faint); font-size: 12px; }
.rule-badge {
  font-family: var(--font-mono); font-size: 10.5px; font-weight: 600; letter-spacing: 0.08em;
  padding: 4px 10px; border-radius: 7px; min-width: 62px; text-align: center;
}
.rule-badge.proxy { background: rgba(99, 102, 241, 0.15); color: #a5b4fc; border: 1px solid rgba(99, 102, 241, 0.35); }
.rule-badge.direct { background: rgba(52, 211, 153, 0.12); color: var(--good); border: 1px solid rgba(52, 211, 153, 0.3); }
.rule-badge.block { background: rgba(248, 113, 113, 0.12); color: #f87171; border: 1px solid rgba(248, 113, 113, 0.3); }

.config-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.config-card {
  display: flex; flex-direction: column; gap: 5px; padding: 18px;
  border: 1px solid var(--glass-border); border-radius: 13px; background: rgba(255,255,255,0.02);
}
.config-card b { font-size: 14.5px; }
.config-card .mono { font-size: 12px; color: var(--ink-dim); }
.cfg-meta { font-size: 11.5px; color: var(--ink-faint); }
.config-card.add {
  border-style: dashed; align-items: center; justify-content: center; text-align: center;
  color: var(--ink-dim); cursor: pointer; transition: 0.25s;
}
.config-card.add:hover { border-color: var(--indigo); color: var(--ink); }
.config-card.add span { font-size: 12px; color: var(--ink-faint); }

.tools-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.tool-card { padding: 17px; border: 1px solid var(--glass-border); border-radius: 13px; background: rgba(255,255,255,0.02); }
.tl-row { display: flex; justify-content: space-between; font-size: 13px; color: var(--ink-dim); padding: 5px 0; }
.tl-row b { color: var(--ink); font-weight: 500; font-size: 12.5px; }
.gauge { position: relative; width: 150px; margin: 6px auto 0; }
.gauge svg { width: 100%; display: block; }
.gauge-arc { animation: gaugeIn 1.6s ease forwards; }
@keyframes gaugeIn { from { stroke-dashoffset: 157; } }
.gauge-val { position: absolute; bottom: 2px; left: 0; right: 0; text-align: center; font-size: 21px; font-weight: 600; }
.gauge-val span { font-size: 11px; color: var(--ink-faint); }

/* ---------- tech ---------- */
.tech-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 13px; margin-bottom: 44px; }
.tech-chip {
  display: flex; align-items: center; gap: 10px; padding: 12px 22px;
  font-family: var(--font-mono); font-size: 14px; font-weight: 500;
  border-radius: 100px; transition: transform 0.25s, border-color 0.25s;
}
.tech-chip:hover { transform: translateY(-3px); border-color: rgba(124, 58, 237, 0.5); }
.tc-dot { width: 8px; height: 8px; border-radius: 50%; background: #a78bfa; box-shadow: 0 0 10px #a78bfa; }
.tc-dot.c2 { background: var(--indigo); box-shadow: 0 0 10px var(--indigo); }
.tc-dot.c3 { background: var(--cyan); box-shadow: 0 0 10px var(--cyan); }

.tech-terminal { max-width: 640px; margin: 0 auto; overflow: hidden; }
.tech-terminal pre { padding: 22px 26px; font-size: 13px; line-height: 1.75; overflow-x: auto; }
.tk-k { color: #a5b4fc; }
.tk-s { color: #67e8f9; }
.tk-p { color: var(--ink-faint); }

/* ---------- security ---------- */
.security-inner { display: grid; grid-template-columns: 1.15fr 1fr; gap: 60px; align-items: center; }
.security-copy h2 { font-size: clamp(28px, 3.4vw, 42px); margin: 14px 0 16px; }
.security-copy > p { color: var(--ink-dim); margin-bottom: 30px; }
.sec-list { list-style: none; display: flex; flex-direction: column; gap: 18px; }
.sec-list li { display: flex; gap: 15px; align-items: flex-start; }
.sec-ic {
  color: var(--cyan); font-size: 15px; margin-top: 2px;
  width: 34px; height: 34px; flex-shrink: 0; display: grid; place-items: center;
  border-radius: 10px; background: rgba(34, 211, 238, 0.08); border: 1px solid rgba(34, 211, 238, 0.22);
}
.sec-list b { display: block; font-size: 15.5px; font-family: var(--font-display); }
.sec-list li span:not(.sec-ic) { font-size: 13.5px; color: var(--ink-dim); }

.security-visual { display: grid; place-items: center; }
.sec-ring { position: relative; width: 320px; height: 320px; display: grid; place-items: center; }
.sec-ring-inner {
  width: 210px; height: 210px; border-radius: 50%; display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 12px; z-index: 2;
}
.sec-cat { width: 100px; filter: drop-shadow(0 0 24px rgba(34, 211, 238, 0.45)); }
.sec-status { font-size: 10.5px; letter-spacing: 0.14em; color: var(--cyan); }
.ring { position: absolute; border-radius: 50%; border: 1px solid rgba(124, 58, 237, 0.3); }
.r1 { inset: 12%; animation: spin 14s linear infinite; border-top-color: rgba(34, 211, 238, 0.8); }
.r2 { inset: 4%; animation: spin 22s linear infinite reverse; border-bottom-color: rgba(124, 58, 237, 0.8); }
.r3 { inset: -4%; animation: spin 30s linear infinite; border-left-color: rgba(99, 102, 241, 0.6); }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- comparison ---------- */
.compare-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; max-width: 860px; margin: 0 auto; }
.compare-card { padding: 34px 32px; }
.compare-card h3 { font-size: 19px; margin-bottom: 22px; color: var(--ink-dim); }
.compare-card ul { list-style: none; display: flex; flex-direction: column; gap: 14px; }
.compare-card li { display: flex; align-items: center; gap: 12px; font-size: 15px; }
.compare-card.dim { opacity: 0.75; }
.compare-card.dim li { color: var(--ink-dim); }
.x { color: #f87171; font-size: 13px; }
.v { color: var(--good); font-size: 13px; }
.compare-card.highlight {
  border-color: rgba(124, 58, 237, 0.5);
  background: linear-gradient(160deg, rgba(124, 58, 237, 0.1), rgba(34, 211, 238, 0.05));
  box-shadow: 0 20px 60px rgba(124, 58, 237, 0.18);
}
.cc-badge {
  display: inline-flex; align-items: center; gap: 9px; margin-bottom: 22px;
  font-family: var(--font-display); font-weight: 700; font-size: 19px;
}
.cc-badge img { height: 30px; }

/* ---------- download ---------- */
.download-card { text-align: center; padding: 64px 30px; position: relative; overflow: hidden; }
.download-card::before {
  content: ""; position: absolute; inset: -50% 20%;
  background: radial-gradient(ellipse at center, rgba(124, 58, 237, 0.18), transparent 60%);
  pointer-events: none;
}
.dl-cat { width: 86px; margin-bottom: 18px; filter: drop-shadow(0 0 26px rgba(99, 102, 241, 0.5)); }
.download-card h2 { font-size: clamp(28px, 3.4vw, 40px); margin-bottom: 13px; }
.download-card p { color: var(--ink-dim); margin-bottom: 34px; }
.store-buttons { display: flex; gap: 15px; justify-content: center; flex-wrap: wrap; position: relative; }
.store-btn {
  display: flex; align-items: center; gap: 13px; text-decoration: none;
  padding: 12px 24px; border-radius: 13px; color: var(--ink);
  background: rgba(255, 255, 255, 0.06); border: 1px solid var(--glass-border);
  transition: transform 0.25s, background 0.25s, border-color 0.25s;
}
.store-btn:hover { transform: translateY(-3px); background: rgba(255,255,255,0.1); border-color: rgba(124, 58, 237, 0.5); }
.store-btn span { display: flex; flex-direction: column; text-align: left; line-height: 1.25; }
.store-btn small { font-size: 11px; color: var(--ink-faint); }
.store-btn b { font-family: var(--font-display); font-size: 16px; }
.dl-note { margin-top: 26px; font-size: 12px; color: var(--ink-faint); }

/* ---------- footer ---------- */
.footer { border-top: 1px solid var(--glass-border); padding: 60px 0 30px; background: rgba(0,0,0,0.25); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 0.8fr 0.8fr 1.2fr; gap: 40px; margin-bottom: 44px; }
.footer-brand p { color: var(--ink-faint); font-size: 13.5px; margin-top: 16px; max-width: 300px; }
.footer-col h4 { font-family: var(--font-display); font-size: 14px; margin-bottom: 15px; }
.footer-col a { display: block; color: var(--ink-dim); text-decoration: none; font-size: 13.5px; padding: 4.5px 0; transition: color 0.2s; }
.footer-col a:hover { color: var(--ink); }
.footer-company p { color: var(--ink-dim); font-size: 13px; line-height: 1.8; margin-bottom: 10px; }
.footer-company b { color: var(--ink); }
.footer-company .mono { font-size: 12.5px; color: var(--cyan); }
.footer-bottom {
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px;
  padding-top: 24px; border-top: 1px solid var(--glass-border);
  font-size: 12.5px; color: var(--ink-faint);
}

/* ---------- reveal animations ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }
.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }

/* ---------- responsive ---------- */
@media (max-width: 1024px) {
  .hero-inner { grid-template-columns: 1fr; gap: 48px; }
  .hero-copy { text-align: center; }
  .hero-sub { margin-left: auto; margin-right: auto; }
  .hero-ctas, .hero-stats { justify-content: center; }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .security-inner { grid-template-columns: 1fr; gap: 44px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 720px) {
  .nav-links {
    display: none; position: absolute; top: 72px; left: 0; right: 0;
    flex-direction: column; gap: 0; padding: 12px 24px 20px;
    background: rgba(5, 6, 15, 0.96); backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--glass-border);
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 12px 0; font-size: 16px; }
  .nav-burger { display: flex; }
  .hero { padding: 120px 0 70px; }
  .section { padding: 68px 0; }
  .features-grid { grid-template-columns: 1fr; }
  .dash-grid { grid-template-columns: 1fr 1fr; }
  .dash-grid .dash-card:last-child { grid-column: span 2; }
  .dash-bottom { grid-template-columns: 1fr; }
  .compare-grid { grid-template-columns: 1fr; }
  .config-grid, .tools-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 30px; }
  .rule-note { display: none; }
  .hero-stats { gap: 18px; }
  .dash-status { flex-direction: column; gap: 10px; align-items: flex-start; }
  .phone-shot:nth-child(2) { transform: none; }
  .phones-row { gap: 40px; }
}
