/* ─── Variables ──────────────────────────────────────────────────────────── */
:root {
  --bg: #07090d;
  --bg-soft: #0d1118;
  --card: rgba(255, 255, 255, 0.05);
  --card-strong: rgba(255, 255, 255, 0.08);
  --text: #f5f7fb;
  --muted: #9aa3b2;
  --line: rgba(255, 255, 255, 0.1);
  --accent: #7c5cff;
  --accent-2: #29d3ff;
  --success: #9effc8;
  --radius: 24px;
  --shadow: 0 20px 80px rgba(0, 0, 0, 0.35);
  --container: 1200px;
}

/* ─── Reset & Base ───────────────────────────────────────────────────────── */
* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, Arial, Helvetica, sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(124, 92, 255, 0.22), transparent 30%),
    radial-gradient(circle at top right, rgba(41, 211, 255, 0.14), transparent 28%),
    linear-gradient(180deg, #07090d 0%, #090c12 45%, #07090d 100%);
  line-height: 1.5;
  min-height: 100vh;
}

img {
  max-width: 100%;
  display: block;
}

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

h1, h2, h3, p {
  margin: 0;
}

/* ─── Layout ─────────────────────────────────────────────────────────────── */
.container {
  width: min(calc(100% - 40px), var(--container));
  margin: 0 auto;
}

.section {
  padding: 80px 0;
}

/* ─── Eyebrow ────────────────────────────────────────────────────────────── */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  margin-bottom: 15px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.03);
  color: var(--muted);
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  box-shadow: 0 0 18px rgba(124, 92, 255, 0.8);
  flex-shrink: 0;
}

/* ─── Typography ─────────────────────────────────────────────────────────── */
h1 {
  font-size: clamp(42px, 8vw, 88px);
  line-height: 0.95;
  letter-spacing: -0.04em;
  max-width: 920px;
}

h2 {
  font-size: clamp(30px, 5vw, 52px);
  line-height: 1.02;
  letter-spacing: -0.03em;
  max-width: 760px;
}

.lead {
  margin-top: 24px;
  font-size: 18px;
  color: var(--muted);
  max-width: 720px;
}

.section-head {
  margin-bottom: 36px;
}

.gradient-text {
  background: linear-gradient(135deg, #ffffff 0%, #cabfff 35%, #8ccfff 70%, #ffffff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ─── Header ─────────────────────────────────────────────────────────────── */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  background: rgba(7, 9, 13, 0.6);
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.admin-bar .header {
  top: 32px;
}

.header-inner {
  min-height: 84px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.logo {
  display: inline-flex;
  align-items: center;
  min-width: 160px;
  flex-shrink: 0;
}

.logo img {
  height: 51px;
  width: auto;
  object-fit: contain;
}

/* ─── Navigation ─────────────────────────────────────────────────────────── */
.nav {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.nav a {
  padding: 12px 18px;
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.84);
  border: 1px solid transparent;
  transition: 0.25s ease;
  font-size: 14px;
  white-space: nowrap;
}

.nav a:hover,
.nav a:focus-visible {
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.04);
  color: #fff;
}

.nav a.nav-cta {
  border: 1px solid rgba(124, 92, 255, 0.35);
  background: linear-gradient(135deg, rgba(124, 92, 255, 0.18), rgba(41, 211, 255, 0.1));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

/* ─── Mobile Nav Toggle ──────────────────────────────────────────────────── */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 28px;
  height: 20px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 110;
  flex-shrink: 0;
}

.nav-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background: rgba(255, 255, 255, 0.84);
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.nav-toggle.is-open span:nth-child(1) {
  transform: translateY(9px) rotate(45deg);
}

.nav-toggle.is-open span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.nav-toggle.is-open span:nth-child(3) {
  transform: translateY(-9px) rotate(-45deg);
}

/* ─── Buttons ────────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 0 22px;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.04);
  color: #fff;
  font-weight: 600;
  font-size: 15px;
  transition: 0.25s ease;
  cursor: pointer;
}

.btn:hover {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.08);
}

.btn-primary {
  border-color: rgba(124, 92, 255, 0.35);
  background: linear-gradient(135deg, var(--accent), #5f7cff 55%, var(--accent-2));
  box-shadow: 0 12px 40px rgba(124, 92, 255, 0.28);
}

.btn-primary:hover {
  box-shadow: 0 16px 48px rgba(124, 92, 255, 0.38);
}

/* ─── Hero ───────────────────────────────────────────────────────────────── */
.hero {
  position: relative;
  padding: 92px 0 48px;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 28px;
  align-items: stretch;
}

.hero-copy {
  padding: 24px 0;
}

.hero-actions {
  margin-top: 34px;
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.hero-card {
  position: relative;
  border: 1px solid var(--line);
  border-radius: 32px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.03)),
    rgba(12, 16, 24, 0.9);
  box-shadow: var(--shadow);
  overflow: hidden;
  min-height: 540px;
  padding: 28px;
}

.hero-card::before {
  content: "";
  position: absolute;
  inset: auto -60px -80px auto;
  width: 240px;
  height: 240px;
  background: radial-gradient(circle, rgba(124, 92, 255, 0.4), transparent 70%);
  filter: blur(18px);
}

.hero-panel {
  position: absolute;
  inset: 26px;
  border-radius: 28px;
  border: 1px solid rgba(255, 255, 255, 0.07);
  background:
    radial-gradient(circle at 20% 20%, rgba(124, 92, 255, 0.16), transparent 28%),
    radial-gradient(circle at 80% 22%, rgba(41, 211, 255, 0.12), transparent 24%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.02));
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.mini-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  color: var(--muted);
  font-size: 13px;
}

.status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid rgba(158, 255, 200, 0.18);
  background: rgba(158, 255, 200, 0.07);
  color: #dcffef;
  font-size: 13px;
}

.status::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--success);
  box-shadow: 0 0 16px rgba(158, 255, 200, 0.9);
  flex-shrink: 0;
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin-top: 22px;
}

.metric {
  padding: 18px;
  border-radius: 20px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
}

.metric-value {
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -0.03em;
}

.metric-label {
  margin-top: 6px;
  color: var(--muted);
  font-size: 14px;
}

/* ─── Chips ──────────────────────────────────────────────────────────────── */
.feature-ticker {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 24px;
}

.chip {
  padding: 12px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--line);
  color: rgba(255, 255, 255, 0.88);
  font-size: 14px;
}

/* ─── Services Grid ──────────────────────────────────────────────────────── */
.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.card {
  border-radius: 28px;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.02));
  padding: 28px;
  box-shadow: var(--shadow);
  transition: transform 0.25s ease, border-color 0.25s ease;
}

.card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 255, 255, 0.18);
}

.card-index {
  display: inline-flex;
  width: 44px;
  height: 44px;
  border-radius: 14px;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(124, 92, 255, 0.18), rgba(41, 211, 255, 0.12));
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: #fff;
  font-weight: 700;
  margin-bottom: 22px;
  font-size: 15px;
}

.card h3 {
  font-size: 24px;
  margin-bottom: 12px;
  letter-spacing: -0.02em;
}

.card p {
  color: var(--muted);
  font-size: 16px;
}

/* ─── VPN Section ────────────────────────────────────────────────────────── */
.vpn-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
  align-items: stretch;
}

.vpn-main {
  min-height: 100%;
}

.vpn-list {
  list-style: none;
  margin: 28px 0 0;
  padding: 0;
  display: grid;
  gap: 14px;
}

.vpn-list li {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 18px;
  border-radius: 18px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
  color: rgba(255, 255, 255, 0.9);
  font-size: 15px;
}

.vpn-list li::before {
  content: "";
  width: 10px;
  height: 10px;
  flex-shrink: 0;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  box-shadow: 0 0 18px rgba(124, 92, 255, 0.8);
}

.stats-card {
  display: grid;
  gap: 16px;
  align-content: start;
}

.stat-box {
  border-radius: 24px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.04);
  padding: 24px;
  min-height: 142px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.stat-title {
  color: var(--muted);
  font-size: 14px;
}

.stat-value {
  font-size: clamp(30px, 4vw, 46px);
  line-height: 1;
  font-weight: 800;
  letter-spacing: -0.04em;
}

/* ─── Contacts Section ───────────────────────────────────────────────────── */
.contact-box {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 22px;
  align-items: stretch;
}

.contact-card p {
  margin-top: 18px;
  color: var(--muted);
  max-width: 560px;
}

.contact-actions {
  margin-top: 28px;
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.contact-side {
  display: grid;
  gap: 16px;
  align-content: start;
}

.info-line {
  border-radius: 20px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
  padding: 20px;
}

.info-line-label {
  color: var(--muted);
  font-size: 13px;
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.info-line-value {
  font-size: 18px;
  word-break: break-word;
}

/* ─── Footer ─────────────────────────────────────────────────────────────── */
.footer {
  padding: 36px 0 54px;
  color: var(--muted);
}

.footer-box {
  border-top: 1px solid var(--line);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 20px;
  flex-wrap: wrap;
}

.footer-title {
  color: #fff;
  font-weight: 700;
  margin-bottom: 10px;
}

.legal {
  display: grid;
  gap: 6px;
  font-size: 14px;
}

.footer-nav {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  align-items: flex-start;
}

.footer-nav a {
  font-size: 14px;
  transition: color 0.2s ease;
}

.footer-nav a:hover {
  color: #fff;
}

/* ─── WordPress Core Alignments ──────────────────────────────────────────── */
.wp-block-image img {
  border-radius: var(--radius);
}

/* ─── Responsive: 980px ──────────────────────────────────────────────────── */
@media (max-width: 980px) {
  .hero-grid,
  .vpn-block,
  .contact-box,
  .services-grid {
    grid-template-columns: 1fr;
  }

  .hero-card {
    min-height: 460px;
  }
}

/* ─── Responsive: 782px (WP admin bar) ──────────────────────────────────── */
@media screen and (max-width: 782px) {
  .admin-bar .header {
    top: 46px;
  }
}

/* ─── Responsive: 720px ──────────────────────────────────────────────────── */
@media (max-width: 720px) {
  .header-inner {
    min-height: 74px;
  }

  /* Show hamburger */
  .nav-toggle {
    display: flex;
  }

  /* Mobile nav — hidden by default, shown via .is-open */
  .nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(7, 9, 13, 0.97);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--line);
    padding: 12px 20px 20px;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
  }

  .nav.is-open {
    display: flex;
  }

  .nav a {
    padding: 14px 18px;
    border-radius: 14px;
    border: 1px solid transparent;
    text-align: left;
  }

  .nav a.nav-cta {
    margin-top: 4px;
    text-align: center;
  }

  .section {
    padding: 64px 0;
  }

  .hero {
    padding-top: 56px;
  }

  .hero-card {
    min-height: auto;
    padding: 16px;
  }

  .hero-panel {
    position: relative;
    inset: auto;
    border-radius: 20px;
    padding: 16px;
  }

  .hero-actions,
  .contact-actions {
    flex-direction: column;
  }

  .btn {
    width: 100%;
  }

  .hero-metrics {
    grid-template-columns: 1fr;
  }

  .logo img {
    height: 28px;
  }

  .stat-box {
    min-height: auto;
    padding: 16px;
  }
}
