/* WaterVPN landing page */

/* 3D scenes */
.scene {
  position: relative;
  touch-action: pan-y;
  -webkit-tap-highlight-color: transparent;
}
.scene canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 1.1s var(--ease);
  cursor: grab;
}
.scene canvas:active {
  cursor: grabbing;
}
.scene.is-live canvas {
  opacity: 1;
}
.scene-fallback {
  display: none;
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  pointer-events: none;
}
.no-webgl .scene-fallback,
.scene.is-fallback .scene-fallback {
  display: block;
}
.no-webgl .scene canvas,
.scene.is-fallback canvas,
.no-webgl .scene-hint,
.scene.is-fallback .scene-hint,
.no-webgl .anchor-label,
.scene.is-fallback .anchor-label {
  display: none;
}
.scene-hint {
  position: absolute;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--ink-3);
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.5s var(--ease);
}
.scene-hint svg {
  width: 14px;
  height: 14px;
}
.scene.is-live .scene-hint {
  opacity: 1;
}
.scene.is-live.tapped .scene-hint.fades {
  opacity: 0;
}

/* Hero */
.hero {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: center;
  min-height: clamp(660px, 100svh, 980px);
  padding: calc(var(--nav-h) + 48px) 0 96px;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -3;
  background:
    radial-gradient(42% 50% at 70% 44%, rgba(98, 55, 233, 0.2), transparent 72%),
    radial-gradient(60% 40% at 70% 92%, rgba(98, 55, 233, 0.1), transparent 70%);
}
.hero-stage {
  position: absolute;
  inset: 0;
  z-index: -2;
}
.hero-stage::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(9, 9, 14, 0.82) 0%, rgba(9, 9, 14, 0.5) 30%, rgba(9, 9, 14, 0) 56%),
    linear-gradient(180deg, rgba(9, 9, 14, 0) 72%, var(--bg) 100%);
}
.hero-stage canvas {
  cursor: pointer;
}
.hero-stage .scene-fallback {
  object-fit: cover;
  object-position: 74% 50%;
}
.hero-stage .scene-hint {
  right: max(var(--gutter), calc((100vw - var(--maxw)) / 2));
  bottom: 30px;
}
.hero-copy {
  position: relative;
  pointer-events: none;
}
.hero-copy > * {
  pointer-events: auto;
}
.hero-title {
  margin: 26px 0 24px;
  max-width: 8.6em;
  font-size: clamp(44px, 7.6vw, 100px);
  line-height: 0.95;
}
.hero .lede {
  max-width: 31em;
}
.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}
.hero .meta-row {
  margin-top: 30px;
}
@media (prefers-reduced-motion: no-preference) {
  .hero-copy > * {
    animation: rise 0.9s var(--ease) both;
  }
  .hero-copy > :nth-child(2) {
    animation-delay: 0.08s;
  }
  .hero-copy > :nth-child(3) {
    animation-delay: 0.16s;
  }
  .hero-copy > :nth-child(4) {
    animation-delay: 0.24s;
  }
  .hero-copy > :nth-child(5) {
    animation-delay: 0.32s;
  }
}
@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

/* At a glance strip */
.strip {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--bg-2);
}
.strip-grid {
  display: grid;
  grid-template-columns: repeat(3, auto);
  justify-content: space-between;
  gap: 14px 40px;
  padding-top: 24px;
  padding-bottom: 24px;
}
.strip-row {
  display: flex;
  align-items: baseline;
  gap: 18px;
}
.strip-k {
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--ink-3);
  flex: none;
}
.strip-row ul {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 18px;
}
.strip-row li {
  font-size: 15px;
  font-weight: 560;
  color: var(--ink-2);
}

/* Sections */
.section {
  padding-top: clamp(84px, 11vw, 150px);
}
.sec-head {
  max-width: 780px;
}
.sec-head .eyebrow,
.split-copy .eyebrow,
.faq-side .eyebrow {
  margin-bottom: 18px;
}
.sec-sub {
  margin-top: 20px;
  max-width: 36em;
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink-2);
  text-wrap: pretty;
}
.sec-head-split {
  max-width: none;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: 24px 56px;
  align-items: end;
}
.sec-head-split .sec-sub {
  margin-top: 0;
}

/* Tunnel */
.tunnel-card {
  margin-top: 48px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  border: 1px solid var(--line);
  border-radius: var(--r-4);
  overflow: hidden;
  background:
    radial-gradient(70% 90% at 40% 50%, rgba(98, 55, 233, 0.09), transparent 70%),
    var(--bg-2);
  box-shadow: var(--shadow-3);
}
.tunnel-stage {
  min-height: 460px;
}
.anchor-label {
  position: absolute;
  left: 0;
  top: 0;
  z-index: 2;
  padding: 5px 9px;
  border-radius: 7px;
  border: 1px solid var(--line-2);
  background: rgba(9, 9, 14, 0.78);
  font-family: var(--mono);
  font-size: 12px;
  color: var(--ink-2);
  white-space: nowrap;
  pointer-events: none;
  will-change: transform;
  opacity: 0;
  transition: opacity 0.5s var(--ease);
}
.scene.is-live .anchor-label {
  opacity: 1;
}
.tunnel-ui {
  display: flex;
  flex-direction: column;
  gap: 22px;
  padding: 22px;
  border-left: 1px solid var(--line);
  background: rgba(18, 18, 25, 0.55);
}
.seg {
  display: grid;
  grid-template-columns: 1fr 1fr;
  padding: 4px;
  border-radius: 12px;
  border: 1px solid var(--line-2);
  background: var(--bg);
}
.seg button {
  height: 38px;
  border: 0;
  border-radius: 9px;
  background: transparent;
  color: var(--ink-3);
  font-size: 14px;
  font-weight: 620;
  transition:
    background-color 0.18s,
    color 0.18s;
}
.seg button:hover {
  color: var(--ink);
}
.seg button[aria-pressed='true'] {
  background: var(--surface-3);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.05),
    0 2px 10px rgba(0, 0, 0, 0.45);
}
.seg button[data-mode='vpn'][aria-pressed='true'] {
  color: var(--warn);
}
.seg button[data-mode='water'][aria-pressed='true'] {
  color: var(--brand-text);
}
.inspector-k {
  margin-bottom: 12px;
}
.inspector dl {
  border-top: 1px solid var(--line);
}
.inspector dl > div {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 14px;
  padding: 11px 0;
  border-bottom: 1px solid var(--line);
  font-size: 14px;
}
.inspector dt {
  color: var(--ink-3);
  flex: none;
}
.inspector dd {
  text-align: right;
  font-weight: 580;
  color: var(--ink);
}
.inspector .v-vpn,
.inspector[data-mode='vpn'] .v-water {
  display: none;
}
.inspector[data-mode='vpn'] .v-vpn {
  display: block;
}
.verdict {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}
.verdict::before {
  content: '';
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: currentColor;
}
.verdict.ok {
  color: var(--ok);
}
.verdict.bad {
  color: var(--bad);
}
.inspector-log {
  margin-top: 16px;
  display: grid;
  align-content: start;
  gap: 7px;
  min-height: 112px;
  font-family: var(--mono);
  font-size: 12px;
  color: var(--ink-3);
}
.inspector-log li {
  display: flex;
  gap: 10px;
  white-space: nowrap;
}
.inspector-log li span:nth-child(2) {
  flex: 1;
  overflow: hidden;
  text-overflow: ellipsis;
  color: var(--ink-2);
}
.inspector-log .ok {
  color: var(--ok);
}
.inspector-log .bad {
  color: var(--bad);
}
.facts3 {
  margin-top: 44px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px 40px;
}
.fact {
  padding-top: 22px;
  border-top: 1px solid var(--line-2);
}
.fact h3 {
  font-size: 18px;
  font-weight: 680;
  letter-spacing: -0.015em;
  line-height: 1.3;
}
.fact p {
  margin-top: 10px;
  font-size: 15.5px;
  line-height: 1.6;
  color: var(--ink-2);
}

/* Split sections: copy + 3D */
.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr);
  gap: clamp(32px, 5vw, 80px);
  align-items: center;
}
.split-rev {
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.95fr);
}
.globe-stage {
  aspect-ratio: 1 / 1;
  width: 100%;
  max-width: 640px;
  justify-self: end;
}
.globe-stage::before {
  content: '';
  position: absolute;
  inset: 12%;
  z-index: -1;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(98, 55, 233, 0.22), transparent);
}
.globe-stage .scene-hint,
.phone-stage .scene-hint {
  right: 8px;
  bottom: 6px;
}
.globe-label {
  position: absolute;
  left: 0;
  top: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 7px 11px;
  border-radius: 10px;
  border: 1px solid var(--ok-line);
  background: rgba(9, 9, 14, 0.82);
  font-size: 13.5px;
  font-weight: 640;
  white-space: nowrap;
  pointer-events: none;
  will-change: transform;
  transition: opacity 0.35s var(--ease);
}
.globe-label small {
  font-family: var(--mono);
  font-size: 11.5px;
  font-weight: 450;
  color: var(--ink-3);
}
.no-webgl .globe-label,
.scene.is-fallback .globe-label {
  display: none;
}
.spec-grid {
  margin-top: 34px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 28px;
}
.spec-grid > div {
  padding: 15px 0 17px;
  border-top: 1px solid var(--line);
}
.spec-grid dt {
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.spec-grid dd {
  margin-top: 6px;
  font-size: 15.5px;
  font-weight: 580;
  line-height: 1.45;
}

/* Phone */
.phone-stage {
  aspect-ratio: 5 / 6;
  width: 100%;
  max-width: 600px;
}
.phone-stage::before {
  content: '';
  position: absolute;
  inset: 8% 14%;
  z-index: -1;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(98, 55, 233, 0.2), transparent);
}
.phone-stage .scene-fallback {
  object-fit: contain;
}
.feature-list {
  margin-top: 30px;
}
.feature-list li {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr);
  gap: 16px;
  padding: 16px 0;
  border-top: 1px solid var(--line);
}
.feature-list h3 {
  font-size: 16.5px;
  font-weight: 660;
  letter-spacing: -0.01em;
}
.feature-list p {
  margin-top: 3px;
  font-size: 15px;
  line-height: 1.55;
  color: var(--ink-2);
}
.icon-tile {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  border: 1px solid var(--line-2);
  background: var(--surface);
  color: var(--brand-text);
}
.icon-tile svg {
  width: 18px;
  height: 18px;
}
.stores {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}
.store {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  height: 56px;
  min-width: 186px;
  padding: 0 18px 0 15px;
  border-radius: 13px;
  border: 1px solid var(--line-2);
  background: #050508;
  color: #fff;
  transition:
    border-color 0.15s,
    background-color 0.15s;
}
.store:hover {
  border-color: #46445c;
  background: #0b0b11;
}
.store svg {
  width: 24px;
  height: 24px;
  flex: none;
  color: var(--brand-text);
}
.store small {
  display: block;
  font-size: 11px;
  line-height: 1.2;
  color: var(--ink-2);
}
.store b {
  display: block;
  font-size: 17px;
  font-weight: 680;
  letter-spacing: -0.015em;
  line-height: 1.2;
}
.store.soon {
  cursor: default;
  border-style: dashed;
}
.store.soon:hover {
  border-color: var(--line-2);
  background: #050508;
}
.store.soon svg {
  color: var(--ink-3);
}

/* Compare */
.compare-wrap {
  margin-top: 44px;
  border: 1px solid var(--line);
  border-radius: var(--r-3);
  overflow: hidden;
  background: var(--surface);
}
.compare {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
}
.compare th,
.compare td {
  padding: 16px 22px;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--line);
}
.compare thead th {
  padding-top: 14px;
  padding-bottom: 14px;
  font-family: var(--mono);
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.compare tbody th {
  width: 36%;
  font-weight: 500;
  color: var(--ink-2);
}
.compare .us {
  width: 32%;
  background: rgba(112, 80, 250, 0.09);
  color: var(--ink);
  font-weight: 620;
}
.compare thead .us {
  color: var(--brand-text);
}
.compare td.us {
  padding-left: 48px;
  position: relative;
}
.compare td.us svg {
  position: absolute;
  left: 22px;
  top: 19px;
  width: 16px;
  height: 16px;
  color: var(--ok);
}
.compare .them {
  color: var(--ink-3);
}
.compare tr:last-child > * {
  border-bottom: 0;
}

/* Pricing */
.plans {
  margin-top: 48px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.plan {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: var(--r-3);
  background: var(--surface);
}
.plan h3 {
  font-size: 16px;
  font-weight: 640;
}
.price {
  margin-top: 20px;
  display: flex;
  align-items: baseline;
  gap: 10px;
}
.price .amt {
  font-family: var(--mono);
  font-size: clamp(44px, 4.6vw, 56px);
  font-weight: 600;
  letter-spacing: -0.05em;
  line-height: 1;
}
.price .per {
  font-family: var(--mono);
  font-size: 14px;
  color: var(--ink-3);
}
.price-note {
  margin-top: 12px;
  font-family: var(--mono);
  font-size: 12.5px;
  color: var(--ink-3);
}
.price-note.is-brand {
  color: var(--brand-text);
}
.plan .btn {
  margin-top: auto;
}
.plan .price-note {
  margin-bottom: 30px;
}
.plan-best {
  border-color: var(--brand-line);
  background:
    linear-gradient(180deg, rgba(112, 80, 250, 0.13), rgba(112, 80, 250, 0.03) 65%),
    var(--surface);
  box-shadow:
    0 0 0 1px rgba(140, 116, 255, 0.1),
    0 30px 70px -36px rgba(98, 55, 233, 0.75);
}
.badge {
  position: absolute;
  top: 20px;
  right: 20px;
  padding: 4px 8px;
  border-radius: 6px;
  border: 1px solid var(--brand-line);
  background: var(--brand-soft-2);
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--brand-text);
}
.included {
  margin-top: 16px;
  padding: 24px 26px 26px;
  border: 1px solid var(--line);
  border-radius: var(--r-3);
  background: var(--bg-2);
}
.included ul {
  margin-top: 18px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 13px 32px;
}
.included li {
  display: flex;
  align-items: center;
  gap: 11px;
  font-size: 15px;
}
.included li svg {
  width: 16px;
  height: 16px;
  flex: none;
  color: var(--ok);
}
.fine {
  margin-top: 18px;
  font-size: 13.5px;
  color: var(--ink-3);
}
.fine a,
.faq-side a:not(.btn),
.answer a {
  color: var(--ink-2);
  text-decoration: underline;
  text-decoration-color: var(--line-2);
  text-underline-offset: 3px;
}
.fine a:hover,
.faq-side a:not(.btn):hover,
.answer a:hover {
  color: var(--ink);
  text-decoration-color: currentColor;
}

/* FAQ */
.faq {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: 40px 72px;
  align-items: start;
}
.faq-side {
  position: sticky;
  top: calc(var(--nav-h) + 32px);
}
.faq-contact {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 26px;
}
.faq-list {
  border-top: 1px solid var(--line);
}
.faq-list details {
  border-bottom: 1px solid var(--line);
}
.faq-list summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding: 21px 0;
  list-style: none;
  cursor: pointer;
  font-size: 17px;
  font-weight: 620;
  letter-spacing: -0.012em;
  line-height: 1.35;
}
.faq-list summary::-webkit-details-marker {
  display: none;
}
.faq-list summary svg {
  width: 18px;
  height: 18px;
  flex: none;
  color: var(--ink-3);
  transition: transform 0.25s var(--ease);
}
.faq-list details[open] summary svg {
  transform: rotate(45deg);
}
.faq-list summary:hover svg {
  color: var(--ink);
}
.answer {
  padding: 0 0 24px;
  max-width: 40em;
  font-size: 15.5px;
  line-height: 1.65;
  color: var(--ink-2);
}
.answer p + p {
  margin-top: 10px;
}

/* Closing band */
.cta-band {
  position: relative;
  margin-top: clamp(96px, 12vw, 160px);
  border-top: 1px solid var(--line);
  overflow: hidden;
}
.cta-band::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(42% 140% at 0% 50%, rgba(98, 55, 233, 0.24), transparent 72%);
}
.cta-inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px 40px;
  padding-top: 76px;
  padding-bottom: 76px;
}
.cta-inner h2 {
  font-size: clamp(32px, 4.2vw, 52px);
  max-width: 11em;
}
.cta-inner p {
  margin-top: 14px;
  color: var(--ink-2);
}

/* Responsive */
@media (max-width: 1080px) {
  .tunnel-card {
    grid-template-columns: minmax(0, 1fr);
  }
  .tunnel-stage {
    min-height: 0;
    aspect-ratio: 16 / 8.5;
  }
  .tunnel-ui {
    border-left: 0;
    border-top: 1px solid var(--line);
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    align-items: start;
  }
  .inspector-log {
    min-height: 0;
  }
}
@media (max-width: 920px) {
  .split,
  .split-rev {
    grid-template-columns: minmax(0, 1fr);
  }
  .globe-stage,
  .phone-stage {
    justify-self: center;
  }
  .split-rev .phone-stage {
    order: 2;
  }
  .faq {
    grid-template-columns: minmax(0, 1fr);
  }
  .faq-side {
    position: static;
  }
  .plans {
    grid-template-columns: minmax(0, 1fr);
  }
  .sec-head-split {
    grid-template-columns: minmax(0, 1fr);
  }
  .strip-grid {
    grid-template-columns: minmax(0, 1fr);
    justify-content: start;
  }
  .strip-k {
    width: 76px;
  }
}
@media (max-width: 860px) {
  .hero {
    flex-direction: column;
    align-items: stretch;
    min-height: 0;
    padding: calc(var(--nav-h) + 30px) 0 0;
  }
  .hero-copy {
    order: 1;
  }
  .hero-stage {
    order: 2;
    position: relative;
    inset: auto;
    z-index: 0;
    height: clamp(320px, 96vw, 480px);
    margin-top: -6px;
  }
  .hero-stage::after {
    background:
      linear-gradient(180deg, var(--bg) 0%, rgba(9, 9, 14, 0) 22%),
      linear-gradient(180deg, rgba(9, 9, 14, 0) 70%, var(--bg) 100%);
  }
  .hero-stage .scene-fallback {
    object-position: 74% 50%;
  }
  .hero-stage .scene-hint {
    right: 50%;
    transform: translateX(50%);
    bottom: 22px;
  }
  .hero::before {
    background: radial-gradient(70% 36% at 50% 78%, rgba(98, 55, 233, 0.24), transparent 72%);
  }
  .facts3 {
    grid-template-columns: minmax(0, 1fr);
  }
  .cta-inner {
    flex-direction: column;
    align-items: flex-start;
  }
}
@media (max-width: 640px) {
  .tunnel-stage {
    aspect-ratio: 16 / 11;
  }
  .anchor-label {
    padding: 4px 7px;
    font-size: 11px;
  }
  .wide-only {
    display: none;
  }
  .tunnel-ui {
    grid-template-columns: minmax(0, 1fr);
    padding: 18px;
  }
  .included ul {
    grid-template-columns: minmax(0, 1fr);
  }
  .spec-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .compare th,
  .compare td {
    padding: 13px 12px;
    font-size: 13.5px;
  }
  .compare td.us {
    padding-left: 12px;
  }
  .compare td.us svg {
    display: none;
  }
  .compare tbody th {
    width: 34%;
  }
  .meta-row {
    gap: 8px 20px;
  }
  .cta-row .btn {
    flex: 1 1 auto;
  }
  .stores .store {
    flex: 1 1 160px;
    min-width: 0;
  }
}
