* {
  box-sizing: border-box;
}

:root {
  --bg: #070914;
  --card: rgba(255,255,255,.075);
  --card-2: rgba(255,255,255,.11);
  --border: rgba(255,255,255,.14);
  --text: #f8fafc;
  --muted: rgba(248,250,252,.68);
  --cyan: #22d3ee;
  --blue: #60a5fa;
  --red: #9b1b30;
  --red-dark: #4b0714;
  --green: #34d399;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, Arial, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 10% 10%, rgba(155,27,48,.38), transparent 32%),
    radial-gradient(circle at 90% 8%, rgba(34,211,238,.16), transparent 28%),
    radial-gradient(circle at 48% 100%, rgba(96,165,250,.16), transparent 32%),
    #070914;
  overflow-x: hidden;
}

.site-bg {
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255,255,255,.032) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.032) 1px, transparent 1px);
  background-size: 58px 58px;
  mask-image: radial-gradient(circle at 50% 10%, black, transparent 72%);
  opacity: .32;
  z-index: 0;
}

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

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

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

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 900;
}

.brand img {
  width: 42px;
  height: 42px;
  display: block;
  filter: drop-shadow(0 14px 24px rgba(155,27,48,.35));
}

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

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

.login-btn,
.primary-btn,
.secondary-btn,
.choose-btn,
.trial-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border-radius: 999px;
  border: 1px solid var(--border);
  font-weight: 900;
  cursor: pointer;
}

.login-btn,
.secondary-btn,
.trial-btn {
  background: rgba(255,255,255,.075);
  color: #fff;
}

.primary-btn,
.choose-btn {
  border: 0;
  color: #06111f;
  background: linear-gradient(135deg, var(--cyan), var(--blue) 55%, #e11d48);
  box-shadow: 0 22px 70px rgba(34,211,238,.22);
}

.hero {
  min-height: calc(100vh - 82px);
  display: grid;
  grid-template-columns: 1.07fr .93fr;
  gap: 54px;
  align-items: center;
  padding: 56px 0 70px;
}

.eyebrow,
.pill {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 16px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(255,255,255,.075);
  color: #fff;
  font-weight: 900;
}

h1,
h2 {
  margin: 0;
  letter-spacing: -.065em;
  line-height: .94;
}

h1 {
  margin-top: 18px;
  max-width: 780px;
  font-size: clamp(56px, 8vw, 108px);
  background: linear-gradient(135deg, #fff 10%, #dbeafe 42%, #fecdd3 76%, #fff);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-content > p {
  max-width: 660px;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: 20px;
  line-height: 1.62;
}

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

.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-top: 46px;
}

.hero-stats div,
.benefits article,
.plan-card,
.why-grid article,
.steps article,
.device-grid article,
.checkout-card,
details,
.trial-card {
  border: 1px solid var(--border);
  background: linear-gradient(135deg, rgba(255,255,255,.11), rgba(255,255,255,.045));
  box-shadow: 0 26px 80px rgba(0,0,0,.34), inset 0 1px 0 rgba(255,255,255,.12);
  backdrop-filter: blur(22px);
}

.hero-stats div {
  padding: 18px;
  border-radius: 22px;
}

.hero-stats strong {
  display: block;
  font-size: 24px;
}

.hero-stats span {
  display: block;
  margin-top: 6px;
  color: var(--muted);
  font-weight: 700;
}

.hero-card {
  position: relative;
  min-height: 560px;
  display: grid;
  place-items: center;
}

.orb {
  position: absolute;
  width: 420px;
  height: 420px;
  border-radius: 999px;
  background:
    radial-gradient(circle at 30% 28%, rgba(255,255,255,.26), transparent 22%),
    linear-gradient(135deg, rgba(34,211,238,.78), rgba(96,165,250,.56), rgba(155,27,48,.72));
  filter: blur(.2px);
  opacity: .92;
  box-shadow: 0 0 130px rgba(34,211,238,.22);
}

.proxy-phone {
  position: relative;
  width: min(360px, 90vw);
  min-height: 520px;
  padding: 24px;
  border: 1px solid rgba(255,255,255,.20);
  border-radius: 42px;
  background: rgba(7,9,20,.72);
  backdrop-filter: blur(26px);
  box-shadow: 0 36px 110px rgba(0,0,0,.46);
}

.phone-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.phone-top span {
  width: 40px;
  height: 40px;
  border-radius: 15px;
  background: linear-gradient(135deg, var(--red), var(--red-dark));
}

.phone-top i {
  color: var(--green);
  font-style: normal;
  font-weight: 900;
}

.connection-box {
  margin-top: 46px;
  display: grid;
  gap: 14px;
}

.connection-row {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 18px;
  border-radius: 20px;
  background: rgba(255,255,255,.07);
  color: var(--muted);
}

.connection-row b {
  color: #fff;
}

.green {
  color: var(--green) !important;
}

.signal {
  position: absolute;
  left: 24px;
  right: 24px;
  bottom: 28px;
  height: 120px;
  display: flex;
  align-items: flex-end;
  gap: 12px;
}

.signal span {
  flex: 1;
  border-radius: 14px 14px 6px 6px;
  background: linear-gradient(180deg, var(--cyan), var(--blue), var(--red));
}

.benefits {
  position: relative;
  z-index: 1;
  width: min(1180px, calc(100% - 40px));
  margin: -18px auto 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.benefits article,
.why-grid article,
.steps article,
.device-grid article {
  padding: 24px;
  border-radius: 28px;
}

.icon {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 18px;
  background: rgba(255,255,255,.09);
  margin-bottom: 16px;
}

h3 {
  margin: 0;
  font-size: 22px;
}

p {
  color: var(--muted);
  line-height: 1.62;
}

.section {
  padding: 92px 0 0;
}

.section-head {
  max-width: 760px;
}

.section-head h2 {
  margin-top: 18px;
  font-size: clamp(42px, 5vw, 72px);
}

.section-head p {
  font-size: 18px;
}

.period-switch {
  display: inline-flex;
  gap: 8px;
  padding: 8px;
  margin: 18px 0 26px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: rgba(255,255,255,.06);
  backdrop-filter: blur(20px);
}

.period-btn {
  min-height: 42px;
  padding: 0 18px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  font-weight: 900;
  cursor: pointer;
}

.period-btn.active {
  color: #06111f;
  background: linear-gradient(135deg, var(--cyan), #bfdbfe);
}

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

.plan-card {
  position: relative;
  min-height: 510px;
  display: flex;
  flex-direction: column;
  padding: 28px;
  border-radius: 32px;
  overflow: hidden;
}

.plan-card:hover,
.benefits article:hover,
.why-grid article:hover,
.steps article:hover,
.device-grid article:hover {
  transform: translateY(-6px);
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
  border-color: rgba(34,211,238,.28);
  box-shadow: 0 32px 105px rgba(0,0,0,.42), 0 0 52px rgba(34,211,238,.13);
}

.plan-card.popular {
  border-color: rgba(155,27,48,.42);
}

.popular-label {
  position: absolute;
  right: -42px;
  top: 28px;
  width: 160px;
  padding: 8px 0;
  transform: rotate(35deg);
  text-align: center;
  color: #fecdd3;
  background: rgba(155,27,48,.28);
  font-size: 12px;
  font-weight: 1000;
}

.plan-title span {
  display: block;
  margin-top: 6px;
  color: var(--muted);
  font-weight: 800;
}

.price {
  margin: 30px 0 20px;
  font-size: 52px;
  font-weight: 1000;
  letter-spacing: -.07em;
}

.plan-card ul {
  margin: 0 0 28px;
  padding-left: 20px;
  color: rgba(255,255,255,.82);
  line-height: 2;
}

.choose-btn {
  width: 100%;
  margin-top: auto;
}

.trial-card {
  margin-top: 18px;
  padding: 22px;
  border-radius: 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}

.trial-card strong {
  display: block;
  font-size: 20px;
}

.trial-card span {
  display: block;
  margin-top: 4px;
  color: var(--muted);
}

.why-grid,
.steps,
.device-grid {
  display: grid;
  gap: 18px;
}

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

.steps,
.device-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.steps span {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  margin-bottom: 18px;
  color: #06111f;
  background: linear-gradient(135deg, var(--cyan), var(--blue));
  font-weight: 1000;
}

.checkout-card {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 28px;
  padding: 30px;
  border-radius: 32px;
}

form {
  display: grid;
  gap: 12px;
}

input,
select {
  width: 100%;
  height: 54px;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: rgba(255,255,255,.075);
  color: #fff;
  padding: 0 16px;
  font-size: 16px;
}

select option {
  color: #111827;
}

.form-status {
  min-height: 22px;
  color: var(--muted);
}

details {
  padding: 20px 22px;
  border-radius: 22px;
  margin-top: 12px;
}

summary {
  cursor: pointer;
  font-size: 18px;
  font-weight: 900;
}

.footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 72px 0 34px;
  color: var(--muted);
}

@media (max-width: 980px) {
  .header {
    height: auto;
    padding: 18px 0;
  }

  .nav {
    display: none;
  }

  .hero {
    min-height: auto;
    grid-template-columns: 1fr;
    padding-top: 36px;
  }

  .hero-stats,
  .benefits,
  .plans-grid,
  .why-grid,
  .steps,
  .device-grid,
  .checkout-card {
    grid-template-columns: 1fr;
  }

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

  .orb {
    width: 330px;
    height: 330px;
  }

  .period-switch {
    width: 100%;
    overflow-x: auto;
  }

  .period-btn {
    white-space: nowrap;
  }

  .trial-card,
  .footer {
    flex-direction: column;
    align-items: flex-start;
  }

  .trial-btn {
    width: 100%;
  }
}
