/* Hovpn — hovpn.vip website. © 2026 Mohsen / Hovpn. */
:root {
  --bg: #0b0c11;
  --bg-2: #12141c;
  --surface: #161923;
  --surface-2: #1c2030;
  --border: #262a38;
  --text: #eef0f7;
  --muted: #9aa0b2;
  --faint: #626880;
  --accent: #4f8bff;
  --accent-2: #7b73ff;
  --green: #34d17a;
  --radius: 14px;
  --max: 1080px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.6; font-size: 16px; -webkit-font-smoothing: antialiased;
}
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 22px; }
h1, h2, h3 { line-height: 1.2; letter-spacing: -0.02em; }
h1 { font-size: clamp(30px, 5vw, 46px); margin: 0 0 14px; }
h2 { font-size: clamp(23px, 3.5vw, 30px); margin: 48px 0 16px; }
h3 { font-size: 18px; margin: 22px 0 8px; }
p { color: var(--muted); }

/* Header */
header.site {
  position: sticky; top: 0; z-index: 20;
  background: rgba(11,12,17,0.82); backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
header.site .wrap { display: flex; align-items: center; gap: 14px; height: 62px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 18px; color: var(--text); }
.brand img { width: 30px; height: 30px; border-radius: 8px; }
.brand span { color: var(--muted); font-weight: 400; }
nav.top { margin-left: auto; display: flex; gap: 22px; align-items: center; }
nav.top a { color: var(--muted); font-size: 15px; }
nav.top a:hover { color: var(--text); text-decoration: none; }
.btn {
  display: inline-flex; align-items: center; gap: 8px; justify-content: center;
  background: var(--accent-2); color: #fff; padding: 10px 18px; border-radius: 10px;
  font-weight: 600; font-size: 15px; border: none; cursor: pointer;
}
.btn:hover { background: #6a62e6; text-decoration: none; }
.btn.ghost { background: transparent; border: 1px solid var(--border); color: var(--text); }
.btn.ghost:hover { background: var(--surface-2); }

/* Hero */
.hero { padding: 70px 0 40px; text-align: center; position: relative; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; top: -160px; left: 50%; transform: translateX(-50%);
  width: 700px; height: 500px; border-radius: 50%;
  background: radial-gradient(circle, rgba(79,139,255,0.16), transparent 62%); pointer-events: none;
}
.hero img.logo { width: 132px; height: 132px; object-fit: contain; margin-bottom: 18px; }
.hero .sub { font-size: 19px; max-width: 620px; margin: 0 auto 26px; }
.cta { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.badge { display: inline-block; font-size: 13px; color: var(--faint); margin-top: 18px; }

/* Cards / sections */
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }
.card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 20px; }
.card h3 { margin-top: 0; }
.card p { margin: 0; font-size: 15px; }
.icon-dot { width: 38px; height: 38px; border-radius: 10px; background: var(--surface-2); display: grid; place-items: center; margin-bottom: 12px; font-size: 20px; }

/* Steps */
.steps { counter-reset: step; display: grid; gap: 14px; }
.step { display: flex; gap: 16px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 18px 20px; }
.step::before {
  counter-increment: step; content: counter(step);
  flex-shrink: 0; width: 30px; height: 30px; border-radius: 50%;
  background: var(--accent-2); color: #fff; font-weight: 700;
  display: grid; place-items: center;
}
.step h3 { margin: 2px 0 4px; }
.step p { margin: 0; font-size: 15px; }

.note {
  background: linear-gradient(180deg, rgba(123,115,255,0.10), rgba(123,115,255,0.04));
  border: 1px solid rgba(123,115,255,0.28); border-radius: var(--radius);
  padding: 16px 18px; margin: 20px 0; font-size: 15px; color: var(--text);
}
.note strong { color: #b7b2ff; }

.shots { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 20px; }
.shots img { width: 100%; border-radius: var(--radius); border: 1px solid var(--border); }
@media (max-width: 720px) { .shots { grid-template-columns: 1fr; } nav.top a:not(.btn) { display: none; } }

.proto { display: flex; flex-wrap: wrap; gap: 8px; }
.proto span { background: var(--surface-2); border: 1px solid var(--border); border-radius: 999px; padding: 5px 13px; font-size: 14px; color: var(--muted); }

/* Content pages */
.content { padding: 40px 0 20px; }
.content h1 { margin-bottom: 6px; }
.content .updated { color: var(--faint); font-size: 14px; margin-bottom: 28px; }
.content h2 { font-size: 22px; }
.content ul { color: var(--muted); }
.content code { background: var(--surface-2); padding: 2px 6px; border-radius: 5px; font-size: 14px; color: #cdd3e6; }
.content details { background: var(--surface); border: 1px solid var(--border); border-radius: 10px; padding: 12px 16px; margin: 10px 0; }
.content summary { cursor: pointer; font-weight: 600; color: var(--text); }
.content details p { margin: 10px 0 2px; }

/* Footer */
footer.site { border-top: 1px solid var(--border); margin-top: 60px; padding: 34px 0; }
footer.site .wrap { display: flex; flex-wrap: wrap; gap: 20px; align-items: center; }
footer.site nav { display: flex; gap: 20px; flex-wrap: wrap; }
footer.site nav a { color: var(--muted); font-size: 14px; }
footer.site .copy { color: var(--faint); font-size: 14px; margin-left: auto; }
