:root {
  --bg: #07101d;
  --bg-soft: #0d1827;
  --panel: rgba(10, 20, 34, 0.84);
  --panel-strong: rgba(13, 24, 39, 0.96);
  --line: rgba(255, 255, 255, 0.08);
  --text: #ecf3ff;
  --muted: #97a9c4;
  --cyan: #35d9ff;
  --magenta: #ff4db8;
  --white: #ffffff;
  --success: #57ffbc;
  --warning: #ffc857;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.42);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Rajdhani", "Segoe UI", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(53, 217, 255, 0.14), transparent 26%),
    radial-gradient(circle at top right, rgba(255, 77, 184, 0.15), transparent 22%),
    linear-gradient(150deg, #030813 0%, #07101d 42%, #040914 100%);
}

.site-bg {
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 18% 18%, rgba(53, 217, 255, 0.12), transparent 24%),
    radial-gradient(circle at 82% 12%, rgba(255, 77, 184, 0.12), transparent 22%),
    radial-gradient(circle at 50% 100%, rgba(53, 217, 255, 0.08), transparent 28%);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(transparent 96%, rgba(255, 255, 255, 0.022) 100%),
    linear-gradient(90deg, transparent 96%, rgba(255, 255, 255, 0.016) 100%);
  background-size: 100% 32px, 32px 100%;
  opacity: 0.28;
}

a {
  color: inherit;
}

.page-shell {
  width: min(100%, 1800px);
  margin: 0 auto;
  padding: 20px 20px 60px;
}

.page-shell-wide {
  width: min(100%, 1920px);
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 16px 20px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: rgba(6, 13, 23, 0.76);
  backdrop-filter: blur(14px);
  box-shadow: var(--shadow);
}

.topbar-floating {
  position: sticky;
  top: 16px;
  z-index: 20;
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
}

.brand img {
  width: 48px;
  height: 48px;
}

.brand strong,
h1, h2, h3, h4,
.button,
.stat strong,
.plan-price {
  font-family: "Orbitron", "Segoe UI", sans-serif;
}

.brand strong {
  display: block;
  letter-spacing: 0.08em;
}

.brand span,
.muted {
  color: var(--muted);
}

.nav-links,
.nav-actions,
.button-row,
.inline-links,
.hero-grid,
.feature-grid,
.plan-grid,
.stats,
.account-grid,
.footer-grid,
.connect-grid,
.download-grid,
.policy-grid {
  display: flex;
}

.nav-links,
.nav-actions,
.inline-links {
  gap: 12px;
  align-items: center;
}

.nav-links a {
  padding: 10px 12px;
  color: var(--muted);
  text-decoration: none;
}

.button,
button {
  border: 0;
  border-radius: 999px;
  padding: 12px 18px;
  font: inherit;
  font-weight: 700;
  letter-spacing: 0.04em;
  cursor: pointer;
  text-decoration: none;
}

.button-primary {
  color: #06101d;
  background: linear-gradient(90deg, var(--cyan), #a0efff 45%, #ffd5ef 82%, var(--magenta));
  box-shadow: 0 10px 30px rgba(53, 217, 255, 0.26);
}

.button-secondary {
  color: var(--text);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 14px;
  border-radius: 999px;
  color: var(--cyan);
  background: rgba(53, 217, 255, 0.08);
  border: 1px solid rgba(53, 217, 255, 0.14);
  font-size: 0.82rem;
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 0.14em;
}

.hero {
  margin-top: 20px;
}

.hero-clean {
  display: grid;
  grid-template-columns: 1.02fr 0.98fr;
  gap: 26px;
  min-height: calc(100vh - 128px);
  align-items: stretch;
}

.hero-clean-copy,
.hero-clean-visual {
  border: 1px solid var(--line);
  border-radius: 34px;
  background: rgba(8, 17, 30, 0.72);
  backdrop-filter: blur(16px);
  box-shadow: var(--shadow);
}

.hero-clean-copy {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 64px;
}

.hero-clean-copy::before {
  content: "";
  position: absolute;
  right: -120px;
  bottom: -120px;
  width: 360px;
  height: 360px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 77, 184, 0.13), transparent 70%);
}

.hero-clean-visual {
  padding: 24px;
  background:
    linear-gradient(180deg, rgba(8, 17, 30, 0.18), rgba(8, 17, 30, 0.8)),
    url("/assets/branding/respawnvpn-banner-v1.png") center/cover no-repeat;
  display: flex;
  align-items: center;
}

.lead-large {
  max-width: 740px;
  font-size: 1.36rem;
}

.hero-microproof {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 26px;
}

.hero-microproof span {
  padding: 10px 14px;
  border-radius: 999px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.hero-device-card {
  width: 100%;
  padding: 22px;
  border-radius: 28px;
  background: rgba(5, 10, 18, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.hero-logo-art {
  width: 100%;
  border-radius: 22px;
  display: block;
}

.hero-device-panel {
  margin-top: 18px;
  padding: 22px;
  border-radius: 24px;
  background: rgba(8, 17, 30, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.stat-rail {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 18px 0 20px;
}

.stat-chip {
  padding: 14px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.03);
}

.stat-chip strong {
  display: block;
  font-family: "Orbitron", "Segoe UI", sans-serif;
  font-size: 1.15rem;
}

.stat-chip span {
  color: var(--muted);
}

.hero-grid,
.download-grid,
.connect-grid,
.account-grid,
.policy-grid {
  gap: 24px;
  align-items: stretch;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  min-height: calc(100vh - 124px);
}

.panel,
.hero-card,
.plan-card,
.feature-card,
.stat,
.footer-panel,
.auth-card,
.account-card {
  border: 1px solid var(--line);
  border-radius: 28px;
  background: var(--panel);
  backdrop-filter: blur(14px);
  box-shadow: var(--shadow);
}

.hero-copy {
  padding: 52px;
  position: relative;
  overflow: hidden;
}

.hero-copy::before {
  content: "";
  position: absolute;
  inset: auto -10% -30% auto;
  width: 360px;
  height: 360px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 77, 184, 0.14), transparent 66%);
  pointer-events: none;
}

h1 {
  margin: 18px 0 16px;
  font-size: clamp(3rem, 6vw, 6rem);
  line-height: 0.94;
  letter-spacing: -0.05em;
}

h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1;
  margin: 0 0 14px;
}

h3 {
  margin: 0 0 12px;
  font-size: 1.35rem;
}

.gradient-text {
  display: block;
  background: linear-gradient(90deg, #ffffff, #8beeff 44%, #ffb0dd 94%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.lead {
  color: var(--muted);
  font-size: 1.28rem;
  line-height: 1.46;
  max-width: 680px;
}

.button-row {
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 26px;
}

.hero-visual {
  min-height: 700px;
  padding: 24px;
  background:
    linear-gradient(180deg, rgba(8, 17, 30, 0.12), rgba(8, 17, 30, 0.7)),
    url("/assets/branding/respawnvpn-banner-v1.png") center/cover no-repeat;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.hero-brand-lockup {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 20px 22px;
  max-width: 520px;
  border-radius: 24px;
  background: rgba(5, 10, 18, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.hero-brand-lockup img {
  width: 68px;
  height: 68px;
  flex: 0 0 auto;
}

.hero-brand-lockup strong {
  display: block;
  font-family: "Orbitron", "Segoe UI", sans-serif;
  font-size: 1.3rem;
  letter-spacing: 0.08em;
}

.hero-brand-lockup span {
  color: var(--muted);
}

.hero-glass {
  margin-top: auto;
  padding: 20px;
  border-radius: 24px;
  background: rgba(5, 10, 18, 0.84);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.bar-group {
  display: grid;
  gap: 14px;
  margin-top: 18px;
}

.bar-row {
  display: grid;
  gap: 6px;
}

.bar-row label {
  display: flex;
  justify-content: space-between;
  color: var(--muted);
}

.bar {
  height: 10px;
  border-radius: 999px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.08);
}

.bar span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--cyan), var(--magenta));
}

.stats,
.feature-grid,
.plan-grid,
.download-grid,
.connect-grid,
.account-grid,
.footer-grid {
  gap: 18px;
  margin-top: 24px;
}

.stats,
.feature-grid,
.plan-grid,
.download-grid,
.connect-grid,
.account-grid {
  display: grid;
}

.stats {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.feature-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.feature-grid-home {
  gap: 22px;
}

.feature-card-clean {
  background: rgba(10, 20, 34, 0.62);
}

.plan-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.download-grid,
.connect-grid,
.account-grid,
.policy-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.policy-grid {
  display: grid;
}

.stat,
.feature-card,
.plan-card,
.auth-card,
.account-card {
  padding: 22px;
}

.section {
  margin-top: 34px;
}

.section-tight {
  margin-top: 24px;
}

.section-split {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 24px;
  align-items: start;
}

.section-copy {
  padding: 8px 6px 0 2px;
}

.section-header {
  max-width: 760px;
  margin-bottom: 14px;
}

.section-header-centered {
  margin-inline: auto;
  text-align: center;
}

.plan-card.featured {
  outline: 1px solid rgba(53, 217, 255, 0.22);
  background: linear-gradient(180deg, rgba(53, 217, 255, 0.08), rgba(255, 77, 184, 0.04)), var(--panel);
}

.plan-price {
  font-size: 2.4rem;
  margin: 14px 0 8px;
}

.plan-price span {
  font-size: 0.95rem;
  font-family: "Rajdhani", sans-serif;
  color: var(--muted);
}

.list {
  margin: 16px 0 0;
  padding-left: 18px;
  color: var(--muted);
}

.list li {
  margin-bottom: 10px;
}

.form-grid {
  display: grid;
  gap: 14px;
}

label span {
  display: block;
  margin-bottom: 8px;
  color: var(--muted);
}

input,
select {
  width: 100%;
  padding: 14px 16px;
  color: var(--text);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 16px;
  font: inherit;
}

.message {
  margin-top: 14px;
  padding: 12px 14px;
  border-radius: 16px;
  display: none;
}

.message.show {
  display: block;
}

.message.error {
  color: #ffd6dd;
  background: rgba(255, 77, 109, 0.12);
}

.message.success {
  color: #cfffec;
  background: rgba(87, 255, 188, 0.12);
}

.account-value {
  font-size: 1.25rem;
  margin-top: 6px;
}

.footer {
  margin-top: 34px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
}

.page-copy {
  color: var(--muted);
  line-height: 1.7;
  font-size: 1.08rem;
}

.page-copy p,
.page-copy li {
  margin-bottom: 14px;
}

.footer-panel {
  padding: 24px;
}

.center {
  text-align: center;
}

@media (max-width: 1100px) {
  .hero-clean,
  .hero-grid,
  .feature-grid,
  .plan-grid,
  .download-grid,
  .connect-grid,
  .account-grid,
  .section-split,
  .footer-grid,
  .stats {
    grid-template-columns: 1fr;
  }

  .stat-rail {
    grid-template-columns: 1fr;
  }

  .hero-grid {
    min-height: auto;
  }
}

@media (max-width: 780px) {
  .topbar {
    flex-direction: column;
    align-items: stretch;
  }

  .nav-links,
  .nav-actions {
    justify-content: center;
    flex-wrap: wrap;
  }

  .hero-copy,
  .hero-visual,
  .hero-clean-copy,
  .hero-clean-visual {
    padding: 24px;
    min-height: auto;
  }
}
