:root {
  --bg: #05070d;
  --bg-2: #0a1020;
  --ink: #f7fbff;
  --muted: #93a3bb;
  --card: rgba(14, 21, 36, 0.82);
  --card-solid: #101827;
  --line: rgba(255, 255, 255, 0.11);
  --blue: #1f8bff;
  --cyan: #63e1ff;
  --mint: #35e7a7;
  --orange: #ffb35c;
  --violet: #7866ff;
  --soft-blue: rgba(31, 139, 255, 0.13);
  --shadow: 0 28px 90px rgba(0, 0, 0, 0.46);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: black;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  line-height: 1.45;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 54px 54px;
  mask-image: linear-gradient(to bottom, black, transparent 82%);
}

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

.header,
main,
.footer {
  position: relative;
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.header {
  position: sticky;
  top: 14px;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: 14px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: rgba(5, 7, 13, 0.72);
  backdrop-filter: blur(18px);
  box-shadow: 0 18px 70px rgba(0, 0, 0, 0.28);
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 950;
}

.logo span {
    width: 38px;
    height: 38px;
    background: url(assets/icon.png);
    background-color: #00000000;
    background-repeat: no-repeat;
    overflow: hidden;
    background-size: contain;
    background-position: center;
}

.nav {
  display: flex;
  gap: 30px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 750;
}

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

.nav-toggle,
.burger {
  display: none;
}

.nav-button,
.primary,
.secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 900;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.nav-button,
.secondary {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.06);
  border-color: var(--line);
}

.primary {
  color: #03101f;
  background: linear-gradient(135deg, var(--cyan), var(--blue));
  box-shadow: 0 18px 50px rgba(31, 139, 255, 0.34);
}

.primary:hover,
.secondary:hover,
.nav-button:hover {
  transform: translateY(-2px);
  border-color: rgba(35, 213, 255, 0.48);
}

.full {
  width: 100%;
}

.cover {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 470px;
  gap: 56px;
  align-items: center;
  min-height: 760px;
  padding: 74px 0 86px;
}

.pretitle,
.section-label {
  display: inline-flex;
  margin: 0 0 16px;
  padding: 8px 12px;
  border: 1px solid rgba(35, 213, 255, 0.36);
  border-radius: 999px;
  background: rgba(35, 213, 255, 0.1);
  color: #aef3ff;
  font-size: 12px;
  font-weight: 950;
  text-transform: uppercase;
}

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

h1 {
  max-width: 720px;
  margin-bottom: 22px;
  font-size: clamp(48px, 8vw, 92px);
  line-height: 0.9;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 16px;
  font-size: clamp(34px, 5vw, 58px);
  line-height: 0.96;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 24px;
}

.subtitle {
  max-width: 650px;
  color: var(--muted);
  font-size: 20px;
}

.subtitle.short {
  max-width: 560px;
  margin-top: 18px;
  font-weight: 750;
}

.deal-card {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 22px;
  width: min(100%, 650px);
  margin: 28px 0 0;
  padding: 22px;
  border: 1px solid rgba(35, 213, 255, 0.34);
  border-radius: 28px;
  background:
    radial-gradient(circle at 80% 0%, rgba(35, 213, 255, 0.13), transparent 34%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.075), rgba(255, 255, 255, 0.035)),
    rgba(10, 16, 32, 0.84);
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.28), 0 0 52px rgba(31, 139, 255, 0.16);
}

.deal-card div {
  display: grid;
  gap: 4px;
}

.deal-card div:last-child {
  text-align: right;
}

.deal-card span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 850;
  text-transform: uppercase;
}

.deal-card del {
  color: #7d8aa0;
  font-size: 34px;
  font-weight: 950;
}

.deal-card strong {
  display: inline-flex;
  align-items: flex-start;
  gap: 10px;
  color: var(--cyan);
  font-size: clamp(58px, 7vw, 92px);
  line-height: 0.9;
  white-space: nowrap;
}

.deal-card strong small {
    margin-bottom: 8px;
    padding: 6px 9px;
    padding-top: 0;
    border-radius: 999px;
    background: rgba(35, 213, 255, 0.12);
    color: var(--ink);
    font-size: 22px;
    line-height: 1;
}

.deal-card b {
  color: var(--ink);
  font-size: 42px;
}

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

.access-card {
  position: relative;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 34px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.035)),
    rgba(10, 16, 32, 0.84);
  box-shadow: var(--shadow), 0 0 90px rgba(31, 139, 255, 0.2);
  transform: rotate(1.5deg);
}

.access-card::before {
  content: "";
  position: absolute;
  inset: -1px;
  z-index: -1;
  border-radius: 34px;
  background: linear-gradient(135deg, rgba(35, 213, 255, 0.42), transparent 38%, rgba(120, 102, 255, 0.34));
}

.card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 14px;
  font-size: 14px;
}

.card-header div {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.online {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--mint);
  box-shadow: 0 0 0 5px rgba(53, 231, 167, 0.14), 0 0 22px rgba(53, 231, 167, 0.9);
}

.date {
  color: var(--muted);
  font-weight: 800;
}

.hero-image {
  width: 100%;
  height: 278px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 24px;
  background: url(assets/hero.png);
  background-position: center;
  background-position-y: -11px;
  background-position-x: -14px;
  background-size: cover;
}

.server-stack {
  display: grid;
  gap: 10px;
  margin-top: 14px;
}

.server-stack div,
.device-list div,
.flow div,
.strip div,
.questions details {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.055);
}

.server-stack div {
  display: grid;
  grid-template-columns: 36px 1fr;
  column-gap: 10px;
  padding: 14px;
  border-radius: 18px;
}

.server-stack span {
  grid-row: span 2;
  font-size: 25px;
}

.server-stack small {
  color: var(--muted);
  font-weight: 750;
}

.strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-bottom: 110px;
}

.strip div {
  padding: 24px;
  border-radius: 22px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.035)),
    rgba(14, 21, 36, 0.82);
}

.strip strong,
.strip span {
  display: block;
}

.strip strong {
  font-size: 30px;
}

.strip span {
  color: var(--muted);
  font-weight: 750;
}

.story,
.device-section,
.faq {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
  padding: 100px 0;
}

.story-text p,
.device-panel p,
.plan-grid p,
.questions p,
.final p,
.footer p {
  color: var(--muted);
  font-size: 17px;
}

.flow {
  display: grid;
  gap: 14px;
}

.flow div {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 22px;
  border-radius: 24px;
}

.flow b {
  display: inline-grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 16px;
  color: #03101f;
  background: linear-gradient(135deg, var(--cyan), var(--blue));
  box-shadow: 0 12px 34px rgba(31, 139, 255, 0.25);
}

.flow span {
  font-size: 19px;
  font-weight: 900;
}

.device-section {
  align-items: stretch;
}

.device-panel {
  padding: 42px;
  border: 1px solid rgba(35, 213, 255, 0.22);
  border-radius: 34px;
  background:
    radial-gradient(circle at 100% 0%, rgba(35, 213, 255, 0.22), transparent 34%),
    linear-gradient(180deg, rgba(16, 24, 39, 0.96), rgba(8, 13, 24, 0.96));
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.32);
}

.device-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.device-list div {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 170px;
  padding: 22px;
  border-radius: 28px;
}

.device-list span {
  font-size: 34px;
}

.device-list b {
  font-size: 22px;
}

.device-list small {
  color: var(--muted);
  font-weight: 850;
}

.plans {
  padding: 104px 0;
}

.plans-head {
  max-width: 720px;
  margin-bottom: 32px;
}

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

.plan-grid article {
  position: relative;
  display: grid;
  grid-template-rows: auto auto minmax(78px, auto) auto;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: 30px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.075), rgba(255, 255, 255, 0.035)),
    var(--card-solid);
  box-shadow: 0 22px 70px rgba(0, 0, 0, 0.2);
}

.plan-grid article > p:not(.price) {
  min-height: 0;
}

.plan-grid article .full {
  align-self: end;
}

.plan-grid .best {
  border-color: rgba(35, 213, 255, 0.38);
  background:
    radial-gradient(circle at 85% 10%, rgba(35, 213, 255, 0.18), transparent 34%),
    linear-gradient(180deg, rgba(15, 29, 52, 0.98), rgba(10, 18, 32, 0.98));
  box-shadow: 0 28px 90px rgba(31, 139, 255, 0.18);
}

.badge {
  position: absolute;
  top: 30px;
  right: 30px;
  display: inline-flex;
  margin-bottom: 0;
  padding: 7px 11px;
  border: 1px solid rgba(255, 179, 92, 0.35);
  border-radius: 999px;
  background: rgba(255, 179, 92, 0.12);
  color: #ffd5a7;
  font-size: 12px;
  font-weight: 950;
  text-transform: uppercase;
}

.price {
  margin-bottom: 18px;
  color: var(--ink) !important;
  font-size: 46px !important;
  font-weight: 950;
}

.price small {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 15px;
}

.faq {
  padding-bottom: 80px;
}

.questions {
  display: grid;
  gap: 12px;
}

.questions details {
  padding: 22px 24px;
  border-radius: 22px;
}

.questions summary {
  cursor: pointer;
  font-size: 18px;
  font-weight: 950;
}

.questions p {
  margin: 12px 0 0;
}

.final {
  margin: 40px 0 110px;
  padding: 54px;
  border: 1px solid rgba(35, 213, 255, 0.32);
  border-radius: 38px;
  background:
    radial-gradient(circle at 85% 18%, rgba(53, 231, 167, 0.2), transparent 30%),
    linear-gradient(135deg, rgba(15, 29, 52, 0.96), rgba(8, 13, 24, 0.96));
  box-shadow: 0 32px 100px rgba(0, 0, 0, 0.32);
}

.final h2 {
  max-width: 760px;
}

.final p {
  max-width: 620px;
}

.footer {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 28px;
  padding: 40px 0;
  border-top: 1px solid var(--line);
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(1, minmax(180px, max-content));
  justify-content: flex-end;
  gap: 14px 24px;
  color: var(--muted);
  font-weight: 750;
}

.footer-links a:hover {
  color: var(--ink);
}

.footer small {
  grid-column: 1 / -1;
  color: var(--muted);
}

.legal-main {
  padding: 64px 0 96px;
}

.legal-hero {
  max-width: 860px;
  margin-bottom: 34px;
}

.legal-hero h1 {
  font-size: clamp(42px, 6vw, 76px);
  overflow-wrap: anywhere;
  word-break: normal;
}

.legal-card {
  display: grid;
  gap: 28px;
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: 34px;
  background:
    radial-gradient(circle at 100% 0%, rgba(35, 213, 255, 0.12), transparent 32%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.075), rgba(255, 255, 255, 0.035)),
    var(--card-solid);
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.24);
}

.legal-card section {
  display: grid;
  gap: 10px;
}

.legal-card h2 {
  margin: 0;
  font-size: clamp(24px, 3vw, 34px);
}

.legal-card p,
.legal-card li {
  color: var(--muted);
  font-size: 17px;
}

.legal-card p,
.legal-card ul {
  margin: 0;
}

.legal-card ul {
  display: grid;
  gap: 8px;
  padding-left: 20px;
}

.legal-card a {
  color: var(--cyan);
}

@media (max-width: 980px) {
  .header {
    flex-wrap: wrap;
  }

  .nav {
    order: 3;
    width: 100%;
    justify-content: space-between;
  }

  .cover,
  .story,
  .device-section,
  .faq {
    grid-template-columns: 1fr;
  }

  .cover {
    min-height: auto;
    padding-top: 52px;
  }

  .access-card {
    transform: none;
  }

  .deal-card {
    grid-template-columns: 1fr;
  }

  .deal-card div:last-child {
    text-align: left;
  }

  .strip,
  .plan-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .footer-links {
    justify-content: flex-start;
  }
}

@media (max-width: 640px) {
  .header,
  main,
  .footer {
    width: min(100% - 28px, 1180px);
  }

  .header {
    top: 8px;
    margin-top: 8px;
  }

  .nav-button {
    display: none;
  }

  .header {
    align-items: center;
  }

  .burger {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    margin-left: auto;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.06);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.04);
    cursor: pointer;
  }

  .burger::before {
    content: "☰";
    color: var(--ink);
    font-size: 24px;
    line-height: 1;
    transform: translateY(-1px);
  }

  .burger span {
    display: none;
  }

  .nav {
    display: none;
    order: 4;
    width: 100%;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: 22px;
    background:
      linear-gradient(180deg, rgba(255, 255, 255, 0.065), rgba(255, 255, 255, 0.035)),
      rgba(10, 16, 32, 0.96);
    box-shadow: 0 18px 54px rgba(0, 0, 0, 0.22);
  }

  .nav a {
    display: flex;
    align-items: center;
    min-height: 44px;
    padding: 0 12px;
    border-radius: 12px;
  }

  .nav a:hover {
    background: rgba(255, 255, 255, 0.06);
  }

  .nav-toggle:checked ~ .nav {
    display: grid;
    gap: 6px;
  }

  .nav-toggle:checked + .burger::before {
    content: "×";
    font-size: 30px;
    transform: translateY(-2px);
  }

  h1 {
    font-size: 46px;
  }

  h2 {
    font-size: 36px;
  }

  .actions,
  .primary,
  .secondary {
    width: 100%;
  }

  .access-card {
    border-radius: 24px;
  }

  .deal-card {
    padding: 18px;
    border-radius: 22px;
  }

  .deal-card strong {
    font-size: 60px;
  }

  .strip,
  .device-list,
  .plan-grid {
    grid-template-columns: 1fr;
  }

  .strip {
    margin-bottom: 60px;
  }

  .story,
  .device-section,
  .plans,
  .faq {
    padding: 64px 0;
  }

  .device-panel,
  .final {
    padding: 28px;
    border-radius: 28px;
  }

  .final {
    margin-bottom: 72px;
  }

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

  .legal-card {
    padding: 24px;
    border-radius: 26px;
  }

  .legal-hero h1 {
    font-size: clamp(34px, 11vw, 46px);
    line-height: 1;
  }

  .legal-hero .subtitle {
    font-size: 17px;
  }
}
