/* VutVPN — shared styles */
@import url('https://fonts.googleapis.com/css2?family=Be+Vietnam+Pro:wght@400;500;600;800&family=JetBrains+Mono:wght@500&display=swap');

:root {
  --bg: #0B0E14;
  --bg2: #11161F;
  --card: #161C28;
  --line: #232C3B;
  --accent: #4F8CFF;
  --accent-2: #6FA0FF;
  --green: #22C55E;
  --muted: #8B95A7;
  --text: #EAF0F8;
  --maxw: 1080px;
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Be Vietnam Pro', system-ui, sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--accent-2); }

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

/* ---------- Nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(11, 14, 20, 0.72);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav .wrap { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 18px; color: var(--text); }
.brand .logo { width: 30px; height: 30px; }
.nav-links { display: flex; gap: 26px; align-items: center; }
.nav-links a { color: var(--muted); font-size: 14px; font-weight: 500; }
.nav-links a:hover { color: var(--text); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 13px 22px; border-radius: 12px; font-weight: 600; font-size: 15px;
  border: 1px solid transparent; cursor: pointer; transition: transform .15s ease, box-shadow .15s ease;
}
.btn-primary {
  color: #fff;
  background: linear-gradient(135deg, var(--accent), #2E6BF0);
  box-shadow: 0 8px 30px rgba(79,140,255,.35);
}
.btn-primary:hover { transform: translateY(-2px); color: #fff; box-shadow: 0 12px 38px rgba(79,140,255,.45); }
.btn-ghost { color: var(--text); border-color: var(--line); background: var(--card); }
.btn-ghost:hover { color: var(--text); border-color: var(--accent); }

/* ---------- Hero ---------- */
.hero { position: relative; padding: 96px 0 72px; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: -40% 0 auto 0; height: 720px;
  background: radial-gradient(60% 60% at 50% 0%, rgba(79,140,255,.20), transparent 70%);
  pointer-events: none;
}
.hero-grid { position: relative; display: grid; grid-template-columns: 1.15fr .85fr; gap: 48px; align-items: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 600; color: var(--accent-2);
  background: rgba(79,140,255,.10); border: 1px solid rgba(79,140,255,.25);
  padding: 6px 13px; border-radius: 999px; margin-bottom: 22px;
}
.eyebrow .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--green); box-shadow: 0 0 10px var(--green); }
h1 { font-size: clamp(38px, 6vw, 60px); font-weight: 800; line-height: 1.05; letter-spacing: -0.02em; }
h1 .grad { background: linear-gradient(120deg, var(--accent-2), var(--green)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lead { color: var(--muted); font-size: 18px; margin: 22px 0 32px; max-width: 30em; }
.cta-row { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }
.cta-note { color: var(--muted); font-size: 13px; margin-top: 16px; }

/* hero visual — V mark with speed sweep */
.hero-art { position: relative; display: flex; justify-content: center; }
.badge {
  width: 230px; height: 230px; border-radius: 52px; position: relative;
  background: linear-gradient(150deg, #4F8CFF, #18336E);
  box-shadow: 0 30px 80px rgba(79,140,255,.30), inset 0 1px 0 rgba(255,255,255,.15);
  display: grid; place-items: center;
}
.badge svg { width: 150px; height: 150px; }
.sweep { position: absolute; inset: 0; border-radius: 52px; overflow: hidden; }
.sweep::after {
  content: ""; position: absolute; top: 0; left: -60%; width: 45%; height: 100%;
  background: linear-gradient(100deg, transparent, rgba(255,255,255,.22), transparent);
  transform: skewX(-18deg); animation: sweep 3.6s ease-in-out infinite;
}
@keyframes sweep { 0% { left: -60%; } 55%,100% { left: 130%; } }

/* ---------- Sections ---------- */
section { padding: 64px 0; }
.section-head { max-width: 38em; margin-bottom: 40px; }
.section-head .kicker { color: var(--accent-2); font-weight: 600; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; }
h2 { font-size: clamp(26px, 3.6vw, 36px); font-weight: 800; letter-spacing: -0.02em; margin: 8px 0 12px; }
.section-head p { color: var(--muted); font-size: 16px; }

.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.card {
  background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 24px;
  transition: border-color .2s ease, transform .2s ease;
}
.card:hover { border-color: rgba(79,140,255,.4); transform: translateY(-3px); }
.card .ic { width: 42px; height: 42px; border-radius: 11px; display: grid; place-items: center; margin-bottom: 14px; background: rgba(79,140,255,.12); color: var(--accent); }
.card h3 { font-size: 17px; font-weight: 600; margin-bottom: 6px; }
.card p { color: var(--muted); font-size: 14px; }

/* control / transparency band */
.band { background: linear-gradient(180deg, var(--bg2), var(--bg)); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.control-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px 36px; margin-top: 22px; }
.control-list li { list-style: none; color: var(--muted); padding-left: 30px; position: relative; }
.control-list li::before { content: "✓"; position: absolute; left: 0; top: 0; color: var(--green); font-weight: 700; }
.control-list b { color: var(--text); font-weight: 600; }

/* download steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 28px; counter-reset: s; }
.step { background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 22px; }
.step .n { counter-increment: s; font-family: 'JetBrains Mono', monospace; color: var(--accent); font-size: 13px; font-weight: 500; }
.step .n::before { content: "0" counter(s); }
.step h4 { margin: 8px 0 6px; font-size: 16px; }
.step p { color: var(--muted); font-size: 14px; }

/* ---------- Footer ---------- */
footer { border-top: 1px solid var(--line); padding: 40px 0; }
.foot { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; }
.foot .brand { font-size: 16px; }
.foot-links { display: flex; gap: 22px; flex-wrap: wrap; }
.foot-links a { color: var(--muted); font-size: 14px; }
.foot-links a:hover { color: var(--text); }
.foot small { color: #5C6678; font-size: 12px; display: block; margin-top: 6px; }

/* ---------- Legal pages ---------- */
.legal { padding: 56px 0 80px; }
.legal .meta { color: var(--muted); font-size: 14px; margin-bottom: 8px; }
.legal h1 { font-size: clamp(30px, 5vw, 44px); margin-bottom: 8px; }
.legal article { max-width: 760px; margin-top: 36px; }
.legal article h2 { font-size: 21px; margin: 36px 0 10px; }
.legal article h3 { font-size: 17px; margin: 22px 0 8px; color: var(--text); }
.legal article p, .legal article li { color: #C2CCDB; font-size: 15.5px; }
.legal article p { margin-bottom: 12px; }
.legal article ul { margin: 0 0 14px 22px; }
.legal article li { margin-bottom: 6px; }
.legal article strong { color: var(--text); }
.callout {
  background: rgba(245,158,11,.08); border: 1px solid rgba(245,158,11,.3);
  border-radius: 12px; padding: 16px 18px; margin: 22px 0; color: #E7D6B4; font-size: 14.5px;
}
.callout b { color: #F7C56B; }

/* ---------- Responsive ---------- */
@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; gap: 36px; }
  .hero-art { order: -1; }
  .grid, .steps, .control-list { grid-template-columns: 1fr; }
  .nav-links { display: none; }
  .hero { padding: 64px 0 48px; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; scroll-behavior: auto; }
}

/* Install help (unknown sources) */
.install-help {
  max-width: 760px; margin: 26px auto 0; text-align: left;
  border: 1px solid var(--line); border-radius: 14px;
  background: var(--card); padding: 18px 22px;
}
.install-help summary {
  cursor: pointer; font-weight: 700; font-size: 16px; color: var(--text);
  list-style: none;
}
.install-help summary::-webkit-details-marker { display: none; }
.install-help summary::before { content: "▸ "; color: var(--accent); }
.install-help[open] summary::before { content: "▾ "; }
.install-help p { color: var(--muted); margin: 14px 0 0; line-height: 1.6; }
.install-help ol { color: var(--muted); margin: 12px 0 0; padding-left: 22px; line-height: 1.85; }
.install-help b { color: var(--text); }
.install-help .note { font-size: 14px; opacity: .9; }
