@import url("https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700;800&family=JetBrains+Mono:wght@500;700&display=swap");

:root {
  --bg: #070a12;
  --bg-soft: #0b1220;
  --panel: rgba(12, 21, 36, 0.72);
  --panel-strong: rgba(15, 26, 44, 0.88);
  --line: rgba(185, 245, 255, 0.12);
  --line-strong: rgba(0, 209, 255, 0.38);
  --text: #f4f8ff;
  --muted: #a7b4c8;
  --soft: #6f7f96;
  --cyan: #00d1ff;
  --cyan-strong: #6ee7ff;
  --green: #22c55e;
  --amber: #f7c66b;
  --danger: #f87171;
  --shadow: 0 28px 90px rgba(0, 0, 0, 0.42);
  --font: "Manrope", system-ui, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, monospace;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(circle at 78% 12%, rgba(0, 209, 255, 0.10), transparent 34%),
    linear-gradient(180deg, #03102e 0%, #020817 58%, #010512 100%);
  color: var(--text);
  font-family: var(--font);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: 0.42;
  background-image:
    radial-gradient(1px 1px at 12% 18%, rgba(255, 255, 255, 0.8), transparent),
    radial-gradient(1px 1px at 38% 36%, rgba(185, 245, 255, 0.7), transparent),
    radial-gradient(1px 1px at 72% 16%, rgba(255, 255, 255, 0.76), transparent),
    radial-gradient(1px 1px at 88% 70%, rgba(185, 245, 255, 0.68), transparent),
    linear-gradient(rgba(185, 245, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(185, 245, 255, 0.028) 1px, transparent 1px);
  background-size: 620px 620px, 620px 620px, 620px 620px, 620px 620px, 46px 46px, 46px 46px;
  mask-image: radial-gradient(ellipse at center, black 0%, transparent 84%);
}

a {
  color: inherit;
}

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

.wrap {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(7, 10, 18, 0.76);
  border-bottom: 1px solid rgba(185, 245, 255, 0.09);
  backdrop-filter: blur(22px) saturate(145%);
}

.site-header .wrap {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  text-decoration: none;
  font-weight: 800;
  font-size: 20px;
}

.brand img {
  width: 150px;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 0 14px rgba(0, 209, 255, 0.34));
}

.brand span {
  color: var(--cyan-strong);
}

.nav {
  display: flex;
  align-items: center;
  gap: 26px;
  font-size: 14px;
  color: var(--muted);
}

.nav a {
  text-decoration: none;
}

.nav a:hover {
  color: var(--cyan-strong);
}

.actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.btn {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 11px 18px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-family: var(--font);
  font-size: 14px;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  color: #f4f8ff;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.28), rgba(255, 255, 255, 0)) border-box,
    linear-gradient(135deg, #2f80ff, #1fb0ec 56%, #35d3d0) padding-box;
  border-color: rgba(185, 245, 255, 0.44);
  box-shadow: 0 18px 46px -22px rgba(47, 128, 255, 0.8), 0 14px 34px -26px rgba(0, 209, 255, 0.7);
}

.btn-ghost {
  color: var(--text);
  background: rgba(255, 255, 255, 0.045);
  border-color: var(--line);
  backdrop-filter: blur(16px);
}

.btn-ghost:hover {
  border-color: var(--line-strong);
}

.btn-soft {
  color: var(--cyan-strong);
  background: rgba(0, 209, 255, 0.08);
  border-color: rgba(0, 209, 255, 0.22);
}

.icon {
  width: 19px;
  height: 19px;
  flex: 0 0 auto;
}

.hero {
  position: relative;
  overflow: hidden;
  min-height: 620px;
  border: 1px solid rgba(185, 245, 255, 0.16);
  border-radius: 8px;
  margin: 18px 0 10px;
  background: #08101d;
  box-shadow: var(--shadow);
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: url("design-final/hero-landing.webp") center center / cover no-repeat;
  transform: scale(1.01);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(7, 10, 18, 0.96) 0%, rgba(7, 10, 18, 0.73) 46%, rgba(7, 10, 18, 0.18) 100%),
    linear-gradient(180deg, rgba(7, 10, 18, 0.28), rgba(7, 10, 18, 0.86));
  z-index: 1;
}

.hero-inner {
  position: relative;
  z-index: 2;
  min-height: 620px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 470px;
  gap: 42px;
  align-items: center;
  padding: 60px 44px 34px;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 20px;
  padding: 8px 12px;
  border: 1px solid rgba(34, 197, 94, 0.44);
  border-radius: 999px;
  background: rgba(34, 197, 94, 0.1);
  color: #8cffb6;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.badge::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: var(--green);
  box-shadow: 0 0 16px rgba(34, 197, 94, 0.65);
}

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

h1 {
  max-width: 620px;
  font-size: 72px;
  line-height: 0.96;
  letter-spacing: 0;
  font-weight: 800;
}

.accent {
  color: var(--cyan);
  text-shadow: 0 0 28px rgba(0, 209, 255, 0.25);
}

.lead {
  max-width: 560px;
  margin-top: 20px;
  color: #d6deeb;
  font-size: 18px;
  line-height: 1.62;
}

.hero-cta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 28px;
  flex-wrap: wrap;
}

.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 26px;
  color: #c4d1e3;
  font-size: 13px;
}

.trust-row span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.mini-dot {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  border: 1px solid var(--cyan);
  box-shadow: 0 0 14px rgba(0, 209, 255, 0.5);
}

.vpn-window {
  align-self: center;
  background: rgba(9, 17, 30, 0.8);
  border: 1px solid rgba(185, 245, 255, 0.18);
  border-radius: 8px;
  box-shadow: 0 34px 100px rgba(0, 0, 0, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(20px) saturate(148%);
  padding: 16px;
}

.vpn-titlebar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: var(--muted);
  font-size: 12px;
  margin-bottom: 14px;
}

.vpn-grid {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 12px;
}

.vpn-side,
.vpn-panel {
  border: 1px solid rgba(185, 245, 255, 0.1);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.035);
}

.vpn-side {
  padding: 12px;
}

.side-item {
  display: flex;
  align-items: center;
  gap: 9px;
  min-height: 34px;
  padding: 8px 10px;
  border-radius: 7px;
  color: var(--muted);
  font-size: 12px;
}

.side-item.active {
  color: var(--cyan-strong);
  background: rgba(0, 209, 255, 0.1);
}

.vpn-panel {
  padding: 16px;
}

.status-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.status-card {
  min-height: 86px;
  padding: 13px;
  border: 1px solid rgba(185, 245, 255, 0.1);
  border-radius: 8px;
  background: rgba(7, 10, 18, 0.52);
}

.label {
  color: var(--soft);
  font-size: 11px;
  text-transform: uppercase;
}

.value {
  margin-top: 8px;
  font-size: 18px;
  font-weight: 800;
}

.value.green {
  color: #7cffaa;
}

.power {
  width: 112px;
  height: 112px;
  margin: 18px auto 0;
  border-radius: 999px;
  display: grid;
  place-items: center;
  color: var(--text);
  border: 2px solid rgba(34, 197, 94, 0.86);
  background:
    radial-gradient(circle, rgba(34, 197, 94, 0.26), rgba(7, 10, 18, 0.72) 58%),
    rgba(7, 10, 18, 0.74);
  box-shadow: 0 0 0 12px rgba(34, 197, 94, 0.08), 0 0 42px rgba(34, 197, 94, 0.52);
}

.section {
  padding: 72px 0;
}

.section-head {
  max-width: 720px;
  margin: 0 auto 34px;
  text-align: center;
}

.kicker {
  color: var(--cyan-strong);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.section h2 {
  font-size: 36px;
  line-height: 1.12;
  font-weight: 800;
}

.section-head p {
  margin-top: 12px;
  color: var(--muted);
  line-height: 1.6;
}

.feature-band,
.glass-card,
.price-card,
.download-card,
.step-card,
.form-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.24), inset 0 1px 0 rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(18px) saturate(145%);
}

.feature-band {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  padding: 10px;
  margin-top: 10px;
}

.feature {
  padding: 22px 18px;
  border-radius: 8px;
}

.feature:hover {
  background: rgba(255, 255, 255, 0.04);
}

.feature strong {
  display: block;
  margin: 10px 0 6px;
  font-size: 15px;
}

.feature p {
  color: var(--muted);
  line-height: 1.48;
  font-size: 13px;
}

.feature-icon {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  color: var(--cyan-strong);
  border: 1px solid rgba(0, 209, 255, 0.22);
  background: rgba(0, 209, 255, 0.08);
}

.showcase {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 28px;
  align-items: center;
}

.showcase .glass-card {
  padding: 28px;
}

.showcase h2 {
  text-align: left;
  margin-bottom: 16px;
}

.showcase p {
  color: var(--muted);
  line-height: 1.65;
}

.showcase-img {
  border-radius: 8px;
  border: 1px solid rgba(185, 245, 255, 0.14);
  box-shadow: var(--shadow);
}

.plans {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.price-card {
  position: relative;
  padding: 26px;
}

.price-card.featured {
  border-color: var(--line-strong);
  background: rgba(13, 33, 49, 0.78);
}

.price-card .popular {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  padding: 4px 12px;
  border-radius: 999px;
  color: #051018;
  background: #72f29b;
  font-size: 11px;
  font-weight: 800;
}

.plan-name {
  color: var(--text);
  font-size: 19px;
  font-weight: 800;
}

.plan-device {
  margin-top: 5px;
  color: var(--muted);
  font-size: 13px;
}

.price {
  margin: 22px 0 14px;
  font-size: 36px;
  font-weight: 800;
}

.price small {
  color: var(--muted);
  font-size: 14px;
  font-weight: 600;
}

.price-list {
  display: grid;
  gap: 8px;
  margin: 18px 0 24px;
  color: var(--muted);
  font-size: 13px;
}

.download-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
}

.download-card {
  padding: 22px 16px;
  text-align: center;
  text-decoration: none;
  transition: transform 0.18s ease, border-color 0.18s ease;
}

.download-card:hover {
  transform: translateY(-3px);
  border-color: var(--line-strong);
}

.download-card.featured {
  grid-column: span 2;
  text-align: left;
  padding: 24px;
  background:
    linear-gradient(135deg, rgba(0, 209, 255, 0.14), rgba(34, 197, 94, 0.1)),
    var(--panel-strong);
}

.platform-icon {
  width: 50px;
  height: 50px;
  margin: 0 auto 12px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  border: 1px solid rgba(0, 209, 255, 0.22);
  color: var(--cyan-strong);
  background: rgba(0, 209, 255, 0.08);
  font-weight: 800;
}

.download-card.featured .platform-icon {
  margin: 0 0 16px;
}

.download-card strong {
  display: block;
  font-size: 16px;
}

.download-card p {
  margin-top: 6px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}

.steps {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 16px;
  margin-top: 28px;
}

.step-card {
  padding: 26px;
}

.step {
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 13px;
  padding: 13px 0;
  border-top: 1px solid var(--line);
}

.step:first-child {
  border-top: 0;
  padding-top: 0;
}

.step-num {
  width: 30px;
  height: 30px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  color: var(--cyan-strong);
  border: 1px solid rgba(0, 209, 255, 0.36);
  background: rgba(0, 209, 255, 0.08);
  font-weight: 800;
  font-size: 13px;
}

.step p {
  color: var(--muted);
  line-height: 1.55;
}

.android-hero {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  min-height: 620px;
  margin: 18px 0 10px;
  background: #08101d;
  box-shadow: var(--shadow);
}

.android-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(7, 10, 18, 0.96) 0%, rgba(7, 10, 18, 0.78) 50%, rgba(7, 10, 18, 0.22) 100%),
    url("premium-android-hero.png") center right / cover no-repeat;
}

.android-hero .hero-inner {
  min-height: 620px;
}

.asset-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.asset-grid a {
  text-decoration: none;
}

.asset-thumb {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: #0b1220;
}

.asset-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.asset-title {
  margin-top: 8px;
  color: var(--muted);
  font-size: 13px;
}

.auth-page {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 28px 16px;
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 78% 12%, rgba(0, 209, 255, 0.10), transparent 34%),
    linear-gradient(180deg, #03102e 0%, #020817 58%, #010512 100%);
}

.auth-page::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(rgba(185, 245, 255, 0.028) 1px, transparent 1px),
    linear-gradient(90deg, rgba(185, 245, 255, 0.02) 1px, transparent 1px),
    radial-gradient(100% 75% at 50% 20%, rgba(110, 231, 255, 0.06), transparent 58%);
  background-size: 42px 42px, 42px 42px, 100% 100%;
  z-index: 0;
}

.auth-page > * { position: relative; z-index: 1; }

.form-card {
  width: min(430px, 100%);
  padding: 34px 30px 30px;
  position: relative;
  overflow: hidden;
  border-radius: 22px;
  border: 1px solid rgba(125, 165, 210, 0.30);
  background: linear-gradient(180deg, rgba(17, 30, 51, 0.80), rgba(7, 12, 24, 0.86));
  backdrop-filter: blur(24px) saturate(150%);
  -webkit-backdrop-filter: blur(24px) saturate(150%);
  box-shadow: 0 34px 100px -40px rgba(0, 0, 0, 0.96), inset 0 1px 0 rgba(255, 255, 255, 0.07);
}

.corner-tab {
  position: absolute;
  left: 0;
  top: 0;
  width: 118px;
  height: 40px;
  border-top-left-radius: 22px;
  border-bottom-right-radius: 22px;
  background: linear-gradient(135deg, #3179ec 0%, #123f8f 100%);
  box-shadow: 0 12px 30px rgba(24, 93, 212, 0.42), inset 0 1px 0 rgba(255, 255, 255, 0.16);
}

.form-card .brand { margin-top: 6px; }

.form-card h1 {
  font-size: 28px;
  line-height: 1.15;
  margin-top: 20px;
}

.form-card .sub {
  margin: 10px 0 22px;
  color: var(--muted);
  line-height: 1.55;
}

label {
  display: block;
  margin: 14px 0 7px;
  color: var(--muted);
  font-size: 13px;
}

input {
  width: 100%;
  min-height: 46px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  outline: none;
  color: var(--text);
  background: rgba(7, 10, 18, 0.66);
  font-family: var(--font);
  font-size: 15px;
}

input:focus {
  border-color: var(--line-strong);
  box-shadow: 0 0 0 3px rgba(0, 209, 255, 0.12);
}

.message,
.msg {
  display: none;
  margin-top: 16px;
  padding: 12px 14px;
  border-radius: 8px;
  font-size: 14px;
  line-height: 1.45;
}

.message.ok,
.msg.ok {
  display: block;
  color: #8cffb6;
  border: 1px solid rgba(34, 197, 94, 0.35);
  background: rgba(34, 197, 94, 0.1);
}

.message.err,
.msg.err {
  display: block;
  color: #ffaaa9;
  border: 1px solid rgba(248, 113, 113, 0.35);
  background: rgba(248, 113, 113, 0.1);
}

.footer {
  padding: 34px 0;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 13px;
}

.footer .wrap {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.footer a {
  color: var(--muted);
  text-decoration: none;
}

.footer a:hover {
  color: var(--cyan-strong);
}

@media (max-width: 980px) {
  .site-header .wrap {
    align-items: flex-start;
    flex-direction: column;
    padding: 14px 0;
  }

  .nav {
    flex-wrap: wrap;
    gap: 14px;
  }

  .hero-inner,
  .android-hero .hero-inner,
  .showcase,
  .steps {
    grid-template-columns: 1fr;
  }

  .hero-inner,
  .android-hero .hero-inner {
    padding: 48px 22px 26px;
  }

  .vpn-window {
    max-width: 520px;
  }

  .feature-band,
  .plans,
  .download-grid,
  .asset-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .download-card.featured {
    grid-column: span 2;
  }
}

@media (max-width: 680px) {
  .wrap {
    width: min(100% - 22px, 1180px);
  }

  .hero,
  .android-hero {
    min-height: auto;
  }

  .hero-inner,
  .android-hero .hero-inner {
    min-height: auto;
  }

  h1 {
    font-size: 46px;
  }

  .section h2 {
    font-size: 29px;
  }

  .lead {
    font-size: 16px;
  }

  .feature-band,
  .plans,
  .download-grid,
  .asset-grid {
    grid-template-columns: 1fr;
  }

  .download-card.featured {
    grid-column: span 1;
  }

  .vpn-grid {
    grid-template-columns: 1fr;
  }

  .vpn-side {
    display: none;
  }
}
