/* TOR VPN landing — simple, readable */
:root {
  --bg: #0c1020;
  --surface: #141a2e;
  --surface-hover: #1a2238;
  --text: #e8ecf4;
  --muted: #98a3bb;
  --accent: #5b9cff;
  --accent-strong: #3d7eea;
  --success: #3dd598;
  --border: rgba(255, 255, 255, 0.08);
  --radius: 12px;
  --radius-lg: 20px;
  --shadow: 0 8px 32px rgba(0, 0, 0, 0.35);
  --font: "Manrope", system-ui, -apple-system, sans-serif;
  --max: 1080px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--accent);
  color: #fff;
  padding: 0.5rem 1rem;
  z-index: 100;
}

.skip-link:focus {
  left: 1rem;
  top: 1rem;
}

.wrap {
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
}

h1, h2, h3 {
  line-height: 1.25;
  font-weight: 700;
}

h1 { font-size: clamp(1.75rem, 4vw, 2.35rem); }
h2.section-title { font-size: clamp(1.4rem, 3vw, 1.85rem); }
h3 { font-size: 1.05rem; margin-top: 0; }

p { margin: 0 0 1rem; }
p:last-child { margin-bottom: 0; }

a {
  color: var(--accent);
  text-decoration: none;
}
a:hover { text-decoration: underline; }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(12, 16, 32, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem 0;
  flex-wrap: wrap;
}

.logo {
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--text);
  text-decoration: none;
}
.logo span { color: var(--accent); }

.nav {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.nav-toggle {
  display: none;
  font-family: inherit;
  font-size: 0.9rem;
  padding: 0.45rem 0.85rem;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text);
  cursor: pointer;
}

.nav-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 1.25rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-list a {
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 500;
  text-decoration: none;
}
.nav-list a:hover { color: var(--text); }

.header-cta { white-space: nowrap; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  padding: 0.65rem 1.25rem;
  border-radius: 10px;
  font-family: inherit;
  font-weight: 600;
  font-size: 0.95rem;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.2s, transform 0.15s;
}

.btn:active { transform: scale(0.98); }

.btn-primary {
  background: linear-gradient(135deg, var(--accent-strong), var(--accent));
  color: #fff;
}
.btn-primary:hover { filter: brightness(1.08); text-decoration: none; }

.btn-ghost {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border);
}
.btn-ghost:hover { background: var(--surface); text-decoration: none; }

.btn-light {
  background: #fff;
  color: var(--bg);
}
.btn-light:hover { filter: brightness(0.95); text-decoration: none; }

.btn-sm { padding: 0.45rem 0.9rem; font-size: 0.85rem; }
.btn-block { width: 100%; }

/* Hero */
.hero {
  padding: 2.5rem 0 3rem;
  background: radial-gradient(ellipse 80% 60% at 50% -20%, rgba(91, 156, 255, 0.2), transparent);
}

.hero-grid {
  display: grid;
  gap: 2rem;
  align-items: start;
}

@media (min-width: 900px) {
  .hero-grid {
    grid-template-columns: 1fr min(320px, 100%);
  }
}

.eyebrow {
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--success);
  margin: 0 0 0.75rem;
}

.lead {
  font-size: 1.05rem;
  color: var(--muted);
  max-width: 38rem;
  margin-bottom: 1.25rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.hero-bullets {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.25rem;
  font-size: 0.9rem;
  color: var(--muted);
}

.hero-bullets li {
  position: relative;
  padding-left: 1.1rem;
}
.hero-bullets li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
}

.hero-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  box-shadow: var(--shadow);
}

.hero-card-label {
  font-size: 0.85rem;
  color: var(--muted);
  margin: 0 0 0.35rem;
}

.hero-price {
  margin: 0 0 0.75rem;
  font-size: 2.25rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.hero-price .currency { font-size: 1.5rem; opacity: 0.9; }
.hero-price .period { font-size: 1rem; font-weight: 600; color: var(--muted); }

.hero-card-note {
  font-size: 0.92rem;
  color: var(--muted);
  margin-bottom: 1rem;
}

.hero-card-fine {
  font-size: 0.75rem;
  color: var(--muted);
  margin: 0.85rem 0 0;
  opacity: 0.85;
}

/* Sections */
.section {
  padding: 2.75rem 0;
}

.section:nth-child(even of .section) {
  background: rgba(255, 255, 255, 0.02);
}

.section-intro {
  color: var(--muted);
  max-width: 42rem;
  margin: -0.25rem 0 1.75rem;
}

.section-title {
  margin: 0 0 0.75rem;
}

.card-grid {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem 1.35rem;
  transition: border-color 0.2s, background 0.2s;
}

.card:hover {
  border-color: rgba(91, 156, 255, 0.35);
  background: var(--surface-hover);
}

.card p { color: var(--muted); font-size: 0.95rem; margin: 0; }

.service-tags {
  list-style: none;
  padding: 0;
  margin: 0 0 1rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.service-tags li {
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 0.4rem 0.9rem;
  border-radius: 999px;
  font-size: 0.88rem;
  font-weight: 500;
}

.service-groups {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-bottom: 1rem;
}

.service-group h3 {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text);
  margin: 0 0 0.65rem;
  letter-spacing: 0.02em;
}

.referral-grid .referral-card h3 {
  color: var(--accent);
}

.referral-cta-wrap {
  margin: 1.25rem 0 0;
}

.disclaimer {
  font-size: 0.82rem;
  color: var(--muted);
  max-width: 48rem;
}

/* Steps */
.steps {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 1.25rem;
  counter-reset: none;
}

@media (min-width: 720px) {
  .steps {
    grid-template-columns: repeat(3, 1fr);
  }
}

.steps li {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem;
  position: relative;
}

.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  border-radius: 8px;
  background: rgba(91, 156, 255, 0.2);
  color: var(--accent);
  font-weight: 700;
  font-size: 0.9rem;
  margin-bottom: 0.65rem;
}

.steps p {
  font-size: 0.92rem;
  color: var(--muted);
  margin: 0;
}

/* FAQ */
.faq-list {
  margin: 0;
  max-width: 42rem;
}

.faq-item {
  border-bottom: 1px solid var(--border);
}

.faq-q {
  width: 100%;
  text-align: left;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 600;
  color: var(--text);
  background: none;
  border: none;
  padding: 1rem 2rem 1rem 0;
  cursor: pointer;
  position: relative;
}

.faq-q::after {
  content: "";
  position: absolute;
  right: 0.25rem;
  top: 50%;
  width: 8px;
  height: 8px;
  border-right: 2px solid var(--muted);
  border-bottom: 2px solid var(--muted);
  transform: translateY(-60%) rotate(45deg);
  transition: transform 0.2s;
}

.faq-q[aria-expanded="true"]::after {
  transform: translateY(-30%) rotate(225deg);
}

.faq-a {
  margin: 0;
  padding: 0 0 1rem;
  color: var(--muted);
  font-size: 0.95rem;
}

/* CTA */
.cta-banner {
  padding: 2.5rem 0;
  background: linear-gradient(135deg, var(--accent-strong), #2a4a9e);
}

.cta-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
}

.cta-title {
  margin: 0 0 0.35rem;
  font-size: 1.5rem;
  color: #fff;
}

.cta-text {
  margin: 0;
  color: rgba(255, 255, 255, 0.9);
  max-width: 36rem;
}

.cta-text a {
  color: #fff;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.cta-text a:hover {
  text-decoration: none;
}

.cta-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  align-items: center;
}

.btn-outline-light {
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255, 255, 255, 0.88);
}

.btn-outline-light:hover {
  background: rgba(255, 255, 255, 0.12);
  text-decoration: none;
}

/* Footer */
.site-footer {
  padding: 2rem 0 3rem;
  border-top: 1px solid var(--border);
}

.footer-inner {
  text-align: center;
}

.footer-brand {
  font-size: 0.92rem;
  color: var(--muted);
  margin: 0 0 0.75rem;
}

.footer-brand span { color: var(--accent); }

.footer-note {
  font-size: 0.78rem;
  color: var(--muted);
  opacity: 0.85;
}

.footer-note code {
  background: var(--surface);
  padding: 0.1rem 0.35rem;
  border-radius: 4px;
  font-size: 0.85em;
}

/* News */
.news-grid {
  margin-top: 0.25rem;
}

.news-excerpt {
  margin: 0.35rem 0 1rem;
}

.pagination {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
  margin-top: 1.5rem;
}

.pagination .page-item {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.55rem 0.85rem;
  border-radius: 10px;
  border: 1px solid var(--border);
  color: var(--muted);
  font-weight: 600;
  text-decoration: none;
  background: rgba(255, 255, 255, 0.02);
}

.pagination .page-item:hover {
  color: var(--text);
  border-color: rgba(91, 156, 255, 0.35);
}

.pagination .page-item.is-active {
  color: #fff;
  border-color: rgba(91, 156, 255, 0.65);
  background: rgba(91, 156, 255, 0.25);
}

.news-article .wrap {
  max-width: 760px;
}

.news-article .article-body {
  color: var(--muted);
}

.news-article .article-body p {
  margin: 0 0 1rem;
}

/* Mobile nav */
@media (max-width: 768px) {
  .nav-toggle {
    display: inline-flex;
  }

  .nav-list {
    display: none;
    flex-direction: column;
    width: 100%;
    padding: 0.75rem 0;
    border-top: 1px solid var(--border);
    margin-top: 0.5rem;
  }

  .nav-list.is-open {
    display: flex;
  }

  .nav {
    flex: 1 1 100%;
    order: 3;
    flex-direction: column;
    align-items: stretch;
  }

  .header-inner {
    flex-wrap: wrap;
  }

  .header-cta {
    margin-left: auto;
  }
}
