/* Friends Connect — landing styles */

:root {
  --bg-deep: #070B16;
  --bg: #0B1020;
  --bg-elevated: #12182B;
  --bg-soft: #171E35;
  --surface-glass: rgba(22, 30, 54, 0.55);
  --surface-glass-strong: rgba(28, 38, 68, 0.72);
  --border-glass: rgba(140, 170, 255, 0.18);
  --border-strong: rgba(140, 170, 255, 0.32);
  --text: #EEF2FF;
  --text-muted: #A8B3D6;
  --text-soft: #7E8BB3;
  --blue: #5B8CFF;
  --violet: #8B5CFF;
  --teal: #2EE6C5;
  --gradient: linear-gradient(135deg, #5B8CFF 0%, #8B5CFF 52%, #2EE6C5 100%);
  --gradient-soft: linear-gradient(135deg, rgba(91, 140, 255, 0.25), rgba(139, 92, 255, 0.2), rgba(46, 230, 197, 0.18));
  --shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
  --radius-sm: 12px;
  --radius: 18px;
  --radius-lg: 28px;
  --container: 1220px;
  --header-h: 72px;
  --font: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  --font-display: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  --focus: 0 0 0 3px rgba(46, 230, 197, 0.45);
  --transition: 0.22s ease;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 12px);
}

body {
  margin: 0;
  min-width: 320px;
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text);
  background:
    radial-gradient(1200px 600px at 10% -10%, rgba(91, 140, 255, 0.18), transparent 55%),
    radial-gradient(900px 500px at 90% 0%, rgba(139, 92, 255, 0.16), transparent 50%),
    radial-gradient(800px 500px at 50% 100%, rgba(46, 230, 197, 0.08), transparent 55%),
    var(--bg-deep);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

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

button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  cursor: pointer;
}

ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

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

h1,
h2,
h3 {
  font-family: var(--font-display);
  line-height: 1.15;
  letter-spacing: -0.02em;
  font-weight: 700;
}

h1 {
  font-size: clamp(2.625rem, 4.8vw, 4.125rem);
}

h2 {
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
}

h3 {
  font-size: 1.125rem;
}

p {
  color: var(--text-muted);
}

:focus {
  outline: none;
}

:focus-visible {
  outline: none;
  box-shadow: var(--focus);
  border-radius: 8px;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -100px;
  z-index: 1000;
  padding: 0.75rem 1rem;
  background: var(--bg-elevated);
  color: var(--text);
  border: 1px solid var(--border-strong);
  border-radius: 10px;
  transition: top var(--transition);
}

.skip-link:focus {
  top: 16px;
}

.container {
  width: min(100% - 2rem, var(--container));
  margin-inline: auto;
}

.glass {
  background: var(--surface-glass);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: var(--shadow);
}

/* Buttons */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 48px;
  padding: 0.8rem 1.35rem;
  border-radius: 14px;
  font-weight: 600;
  letter-spacing: 0.01em;
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition), border-color var(--transition);
  will-change: transform;
}

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

.btn:active {
  transform: translateY(0);
}

.btn-primary {
  color: #061018;
  background: var(--gradient);
  box-shadow: 0 10px 28px rgba(91, 140, 255, 0.28);
}

.btn-primary:hover {
  box-shadow: 0 14px 34px rgba(91, 140, 255, 0.38);
}

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

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(46, 230, 197, 0.45);
}

.btn-sm {
  min-height: 42px;
  padding: 0.55rem 1.1rem;
  font-size: 0.95rem;
}

.btn-lg {
  min-height: 54px;
  padding: 0.95rem 1.7rem;
  font-size: 1.05rem;
}

/* Header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-h);
  background: rgba(7, 11, 22, 0.72);
  border-bottom: 1px solid transparent;
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  transition: border-color var(--transition), background var(--transition);
}

.site-header.is-scrolled {
  border-bottom-color: var(--border-glass);
  background: rgba(7, 11, 22, 0.88);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  height: var(--header-h);
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  flex-shrink: 0;
}

.logo-mark {
  flex-shrink: 0;
  width: 38px;
  height: 38px;
  border-radius: 10px;
}

.logo-text {
  font-size: 1.12rem;
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.nav {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.nav-list a {
  display: inline-flex;
  padding: 0.55rem 0.8rem;
  color: #C4CEE8;
  border-radius: 10px;
  transition: color var(--transition), background var(--transition);
}

.nav-list a:hover {
  color: #FFFFFF;
  background: rgba(255, 255, 255, 0.08);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 10px;
  border-radius: 12px;
  border: 1px solid var(--border-glass);
  background: rgba(255, 255, 255, 0.03);
  flex-direction: column;
  justify-content: center;
  gap: 5px;
}

html:not(.js) .menu-toggle {
  display: none !important;
}

.menu-toggle-bar {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--text);
  border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition);
}

.menu-toggle[aria-expanded="true"] .menu-toggle-bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] .menu-toggle-bar:nth-child(2) {
  opacity: 0;
}

.menu-toggle[aria-expanded="true"] .menu-toggle-bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Hero */

.hero {
  position: relative;
  padding: clamp(2rem, 4.5vw, 3.75rem) 0 clamp(2.4rem, 4.8vw, 4.15rem);
  overflow: hidden;
}

.hero-glow {
  position: absolute;
  inset: 8% auto auto 50%;
  width: min(760px, 90vw);
  height: 400px;
  transform: translateX(-50%);
  background: radial-gradient(circle, rgba(91, 140, 255, 0.22), transparent 70%);
  pointer-events: none;
  filter: blur(10px);
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.08fr 1fr;
  gap: clamp(1.75rem, 3.5vw, 3rem);
  align-items: center;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  margin-bottom: 1rem;
  padding: 0.45rem 0.85rem;
  border-radius: 999px;
  border: 1px solid var(--border-glass);
  background: rgba(46, 230, 197, 0.08);
  color: #C9FFF3;
  font-size: 0.9rem;
  font-weight: 600;
}

.badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--teal);
  box-shadow: 0 0 0 0 rgba(46, 230, 197, 0.55);
  animation: pulse-dot 2.4s ease-out infinite;
}

.hero-content {
  min-width: 0;
}

.hero-content h1 {
  margin-bottom: 0.85rem;
  max-width: none;
  line-height: 1.06;
  font-weight: 700;
  letter-spacing: -0.03em;
}

.hero-title-line {
  display: block;
}

/* Desktop: keep each title line intact without wrapping into a third line. */
@media (min-width: 981px) {
  .hero-content h1 {
    font-size: clamp(3.125rem, 2.1vw + 1.95rem, 4rem);
  }

  .hero-title-line {
    white-space: nowrap;
  }

  .connection-panel {
    min-height: 400px;
  }
}

.hero-lead {
  max-width: 40ch;
  font-size: 1.1rem;
  line-height: 1.55;
  color: #B7C2E0;
  margin-bottom: 1.35rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.85rem 1.25rem;
  margin-bottom: 1.35rem;
}

.hero-text-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  min-height: 44px;
  padding: 0.25rem 0.35rem;
  color: #D7E0FF;
  font-weight: 600;
  border-radius: 8px;
  transition: color var(--transition), transform var(--transition);
}

.hero-text-link:hover {
  color: var(--teal);
  transform: translateX(2px);
}

.hero-text-link:focus-visible {
  box-shadow: var(--focus);
}

.hero-highlights {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.65rem;
  max-width: 28rem;
}

.hero-highlights li {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  min-width: 0;
  padding: 0.55rem 0.7rem;
  border-radius: 12px;
  border: 1px solid rgba(140, 170, 255, 0.14);
  background: rgba(255, 255, 255, 0.03);
  color: #C9D3EE;
  font-size: 0.92rem;
  font-weight: 600;
  white-space: nowrap;
}

.highlight-icon {
  display: inline-flex;
  flex-shrink: 0;
  color: var(--teal);
}

.hero-visual {
  min-width: 0;
}

.connection-panel {
  position: relative;
  padding: 1.25rem 1.25rem 1.1rem;
  overflow: hidden;
  min-height: 400px;
  background:
    linear-gradient(180deg, rgba(28, 38, 68, 0.75), rgba(18, 24, 43, 0.65)),
    var(--gradient-soft);
}

.panel-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  margin-bottom: 0.5rem;
  font-size: 0.88rem;
}

.panel-status {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: #D8FFF6;
  font-weight: 600;
}

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--teal);
  box-shadow: 0 0 12px rgba(46, 230, 197, 0.8);
}

.panel-label {
  color: var(--text-soft);
}

.network-svg {
  width: 100%;
  height: auto;
  aspect-ratio: 360 / 280;
}

.core-pulse {
  transform-origin: 180px 140px;
  animation: core-pulse 2.8s ease-in-out infinite;
}

.core-ring {
  animation: ring-glow 3.6s ease-in-out infinite;
}

.link {
  stroke-dasharray: 180;
  stroke-dashoffset: 180;
  animation: draw-link 3.2s ease-in-out infinite;
}

.link-delay {
  animation-delay: 0.8s;
}

.orbit-1 {
  animation: spin-slow 28s linear infinite;
  transform-origin: 180px 140px;
}

.orbit-2 {
  animation: spin-slow 40s linear infinite reverse;
  transform-origin: 180px 140px;
}

.panel-footer {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
  margin-top: 0.25rem;
}

.metric {
  padding: 0.7rem 0.75rem;
  border-radius: 12px;
  background: rgba(7, 11, 22, 0.45);
  border: 1px solid rgba(140, 170, 255, 0.12);
}

.metric-label {
  display: block;
  margin-bottom: 0.2rem;
  color: var(--text-soft);
  font-size: 0.78rem;
}

.metric-value {
  color: var(--text);
  font-weight: 700;
  font-size: 0.95rem;
}

/* Sections */

section[id] {
  scroll-margin-top: calc(var(--header-h) + 1.25rem);
}

.section {
  padding: clamp(3.15rem, 5vw, 4.35rem) 0;
}

.section-alt {
  background: linear-gradient(180deg, rgba(18, 24, 43, 0.35), transparent 70%);
}

.section-header {
  max-width: 40rem;
  margin-bottom: clamp(1.75rem, 3vw, 2.2rem);
}

.eyebrow {
  display: inline-block;
  margin-bottom: 0.65rem;
  color: var(--teal);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.section-header h2 {
  margin-bottom: 0.7rem;
}

.section-lead {
  max-width: 48ch;
  font-size: 1.05rem;
}

/* Pricing */

.pricing-mosaic {
  display: grid;
  grid-template-columns: 1.25fr 0.95fr;
  grid-template-areas:
    "featured stack"
    "annual annual";
  gap: 0.9rem;
  align-items: stretch;
}

.pricing-card {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  padding: 1.25rem 1.25rem 1.3rem;
}

.pricing-card--featured {
  grid-area: featured;
  min-height: 100%;
  padding: 1.55rem 1.45rem 1.5rem;
  border-color: rgba(46, 230, 197, 0.35);
  background:
    radial-gradient(circle at 85% 10%, rgba(46, 230, 197, 0.18), transparent 45%),
    radial-gradient(circle at 10% 90%, rgba(91, 140, 255, 0.16), transparent 50%),
    var(--surface-glass);
}

.pricing-stack {
  grid-area: stack;
  display: grid;
  gap: 0.9rem;
}

.pricing-card--compact {
  padding: 1.1rem 1.15rem 1.15rem;
}

.pricing-card--annual {
  grid-area: annual;
  display: grid;
  grid-template-columns: 1.3fr auto;
  gap: 1.25rem;
  align-items: center;
  padding: 1.3rem 1.4rem;
  background:
    radial-gradient(circle at 92% 50%, rgba(139, 92, 255, 0.18), transparent 42%),
    var(--surface-glass);
}

.pricing-badge,
.pricing-label {
  display: inline-flex;
  width: fit-content;
  margin: 0 0 0.35rem;
  padding: 0.3rem 0.65rem;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.pricing-badge {
  color: #061018;
  background: var(--gradient);
}

.pricing-badge--soft {
  color: #EAF0FF;
  background: rgba(139, 92, 255, 0.22);
  border: 1px solid rgba(139, 92, 255, 0.35);
}

.pricing-label {
  color: #C9D8FF;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(140, 170, 255, 0.18);
}

.pricing-label--promo {
  color: #061018;
  background: linear-gradient(135deg, rgba(46, 230, 197, 0.92), rgba(91, 140, 255, 0.9));
  border: 0;
}

.pricing-card h3 {
  margin: 0;
  font-size: 1.35rem;
}

.pricing-card--featured h3 {
  font-size: 1.7rem;
}

.pricing-price {
  margin: 0.35rem 0 0;
  color: var(--text);
  font-size: clamp(2rem, 3vw, 2.6rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.05;
}

.pricing-card--compact .pricing-price {
  font-size: 1.7rem;
}

.pricing-price-row {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.55rem 0.7rem;
  margin: 0.35rem 0 0;
}

.pricing-price-row .pricing-price {
  margin: 0;
}

.pricing-price-old {
  color: var(--text-soft);
  font-size: 1.05rem;
  font-weight: 600;
  text-decoration: line-through;
  text-decoration-thickness: 1.5px;
}

.pricing-renewal {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.pricing-promo-until {
  margin: 0.15rem 0 0;
  color: #9AF0DC;
  font-size: 0.88rem;
  font-weight: 650;
}

.pricing-promo-note {
  margin: 0;
  color: var(--text-soft);
  font-size: 0.82rem;
}

.pricing-per-month,
.pricing-save,
.pricing-annual-note {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.pricing-save {
  color: #9AF0DC;
  font-weight: 650;
}

.pricing-card .btn {
  margin-top: auto;
  align-self: flex-start;
}

.pricing-card--featured .btn,
.pricing-card--compact .btn {
  margin-top: 1rem;
}

.pricing-annual-copy {
  display: grid;
  gap: 0.35rem;
}

.pricing-annual-aside {
  display: grid;
  gap: 0.25rem;
  justify-items: start;
  min-width: 12rem;
}

.pricing-annual-aside .btn {
  margin-top: 0.75rem;
  width: 100%;
  justify-content: center;
}

/* Desktop mosaic: tighter height, balanced featured card */
@media (min-width: 981px) {
  .pricing-mosaic {
    gap: 0.75rem;
  }

  .pricing-stack {
    gap: 0.75rem;
  }

  .pricing-card {
    padding: 1.1rem 1.15rem 1.15rem;
  }

  .pricing-card--compact {
    padding: 0.95rem 1.05rem 1rem;
  }

  .pricing-card--featured {
    justify-content: center;
    gap: 0.4rem;
    padding: 1.3rem 1.3rem 1.35rem;
  }

  .pricing-card--featured::before {
    content: "";
    position: absolute;
    inset: auto -14% -22% auto;
    width: 240px;
    height: 240px;
    border-radius: 50%;
    pointer-events: none;
    background: var(--gradient-soft);
    opacity: 0.9;
    filter: blur(4px);
  }

  .pricing-card--featured::after {
    content: "";
    position: absolute;
    inset: -18% auto auto -12%;
    width: 150px;
    height: 150px;
    border-radius: 50%;
    pointer-events: none;
    background: radial-gradient(circle, rgba(46, 230, 197, 0.22), transparent 68%);
  }

  .pricing-card--featured > * {
    position: relative;
    z-index: 1;
  }

  .pricing-card--featured .btn {
    margin-top: 0.85rem;
  }

  .pricing-card--annual {
    gap: 1rem;
    padding: 1.1rem 1.25rem;
  }

  .pricing-annual-aside .btn {
    margin-top: 0.55rem;
  }
}

/* Benefits */

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.9rem;
}

.benefit-card {
  position: relative;
  overflow: hidden;
  padding: 1.15rem 1.2rem;
  transition: border-color var(--transition), transform var(--transition);
}

.benefit-card::before {
  content: "";
  position: absolute;
  inset: auto -20% 40% auto;
  width: 160px;
  height: 160px;
  border-radius: 50%;
  pointer-events: none;
  opacity: 0.55;
  filter: blur(8px);
}

.benefit-card:hover {
  border-color: rgba(46, 230, 197, 0.3);
  transform: translateY(-2px);
}

.card-icon {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  margin-bottom: 0.8rem;
  border-radius: 14px;
  color: var(--blue);
  background: rgba(91, 140, 255, 0.14);
  border: 1px solid rgba(91, 140, 255, 0.22);
  box-shadow: 0 0 24px rgba(91, 140, 255, 0.12);
}

.benefit-card--stable::before {
  background: rgba(91, 140, 255, 0.22);
}

.benefit-card--stable .card-icon {
  color: #7AA4FF;
  background: rgba(91, 140, 255, 0.16);
  border-color: rgba(91, 140, 255, 0.28);
}

.benefit-card--shield::before {
  background: rgba(46, 230, 197, 0.18);
}

.benefit-card--shield .card-icon {
  color: #4EEFD0;
  background: rgba(46, 230, 197, 0.12);
  border-color: rgba(46, 230, 197, 0.28);
  box-shadow: 0 0 24px rgba(46, 230, 197, 0.12);
}

.benefit-card--setup::before {
  background: rgba(139, 92, 255, 0.2);
}

.benefit-card--setup .card-icon {
  color: #A78BFF;
  background: rgba(139, 92, 255, 0.14);
  border-color: rgba(139, 92, 255, 0.28);
  box-shadow: 0 0 24px rgba(139, 92, 255, 0.12);
}

.benefit-card--support::before {
  background: rgba(91, 180, 255, 0.18);
}

.benefit-card--support .card-icon {
  color: #8EC8FF;
  background: rgba(110, 168, 255, 0.14);
  border-color: rgba(110, 168, 255, 0.26);
}

.benefit-card h3 {
  position: relative;
  margin-bottom: 0.45rem;
}

.benefit-card p {
  position: relative;
}

/* Steps */

.steps {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.9rem;
}

.steps::before {
  content: none;
}

@media (min-width: 981px) {
  .steps::before {
    content: "";
    position: absolute;
    top: 1.85rem;
    left: 8%;
    right: 8%;
    height: 1px;
    background: linear-gradient(
      90deg,
      rgba(91, 140, 255, 0.05),
      rgba(139, 92, 255, 0.45),
      rgba(46, 230, 197, 0.45),
      rgba(91, 140, 255, 0.05)
    );
    pointer-events: none;
    z-index: 0;
  }
}

.step {
  position: relative;
  z-index: 1;
  padding: 1.1rem 1.05rem;
}

.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.4rem;
  height: 2rem;
  margin-bottom: 0.8rem;
  padding: 0 0.55rem;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: #DCE7FF;
  background: rgba(12, 18, 34, 0.92);
  border: 1px solid rgba(140, 170, 255, 0.28);
  box-shadow: 0 0 0 4px rgba(11, 16, 32, 0.85);
}

.step h3 {
  margin-bottom: 0.45rem;
}

.step-link {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  margin-top: 0.75rem;
  color: #D7E0FF;
  font-size: 0.92rem;
  font-weight: 600;
  border-radius: 8px;
  transition: color var(--transition);
}

.step-link:hover {
  color: var(--teal);
}

.step-link:focus-visible {
  box-shadow: var(--focus);
}

/* Devices */

.devices-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.9rem;
  margin-bottom: 0.95rem;
  align-items: stretch;
}

.device-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 1.15rem 1.1rem;
  text-align: left;
  transition: border-color var(--transition), transform var(--transition);
}

.device-card:hover {
  border-color: rgba(91, 140, 255, 0.4);
  transform: translateY(-2px);
}

.device-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 54px;
  height: 54px;
  margin-bottom: 0.8rem;
  border-radius: 14px;
  color: #B39CFF;
  background: rgba(139, 92, 255, 0.12);
  border: 1px solid rgba(139, 92, 255, 0.24);
}

.device-card h3 {
  margin-bottom: 0.35rem;
}

.device-card p {
  margin-top: auto;
}

.devices-note {
  color: #B0BBD8;
  font-size: 0.9rem;
  line-height: 1.45;
  max-width: 62ch;
}

/* Scenarios */

.scenarios-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.9rem;
}

.scenario {
  position: relative;
  overflow: hidden;
  padding: 1.2rem 1.2rem;
}

.scenario::before {
  content: "";
  position: absolute;
  inset: -30% auto auto -10%;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  pointer-events: none;
  opacity: 0.45;
  filter: blur(10px);
}

.scenario--apps::before { background: rgba(91, 140, 255, 0.22); }
.scenario--video::before { background: rgba(139, 92, 255, 0.2); }
.scenario--travel::before { background: rgba(46, 230, 197, 0.16); }
.scenario--wifi::before { background: rgba(110, 168, 255, 0.18); }

.scenario-icon {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  margin-bottom: 0.75rem;
  border-radius: 12px;
  color: #9EB6FF;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(140, 170, 255, 0.18);
}

.scenario--apps .scenario-icon { color: #8EB4FF; }
.scenario--video .scenario-icon { color: #B39CFF; }
.scenario--travel .scenario-icon { color: #5EE9CD; }
.scenario--wifi .scenario-icon { color: #8EC8FF; }

.scenario h3 {
  position: relative;
  margin-bottom: 0.45rem;
}

.scenario p {
  position: relative;
}

/* Support */

.support-panel {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  gap: 1.5rem 2rem;
  width: 100%;
  padding: clamp(1.4rem, 3vw, 2rem);
  align-items: center;
}

.support-copy h2 {
  margin-bottom: 0.75rem;
}

.support-copy > p:last-child {
  margin: 0;
  max-width: 48ch;
}

.support-aside {
  padding: 1.1rem 1.15rem;
  border-radius: var(--radius-sm);
  background:
    radial-gradient(circle at 80% 20%, rgba(46, 230, 197, 0.12), transparent 55%),
    rgba(7, 11, 22, 0.42);
  border: 1px solid rgba(140, 170, 255, 0.18);
}

.support-points {
  display: grid;
  gap: 0.7rem;
}

.support-points li {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  color: #E4EBFF;
  font-weight: 650;
  font-size: 1.02rem;
}

.support-point-mark {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--gradient);
  box-shadow: 0 0 12px rgba(46, 230, 197, 0.35);
  flex-shrink: 0;
}

/* FAQ */

.faq-list {
  display: grid;
  gap: 0.7rem;
  max-width: 58rem;
}

.faq-item {
  border: 1px solid var(--border-glass);
  border-radius: var(--radius);
  background: var(--surface-glass);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  overflow: hidden;
  transition: border-color var(--transition), background var(--transition);
}

.faq-item[open] {
  border-color: rgba(46, 230, 197, 0.32);
  background: rgba(28, 38, 68, 0.72);
}

.faq-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.15rem;
  list-style: none;
  cursor: pointer;
  text-align: left;
  color: var(--text);
  font-weight: 650;
  transition: background var(--transition);
}

.faq-trigger::-webkit-details-marker {
  display: none;
}

.faq-trigger::marker {
  content: "";
}

.faq-trigger:hover {
  background: rgba(255, 255, 255, 0.03);
}

.faq-icon {
  position: relative;
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.faq-icon::before,
.faq-icon::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 14px;
  height: 2px;
  background: var(--teal);
  border-radius: 2px;
  transform: translate(-50%, -50%);
  transition: transform var(--transition), opacity var(--transition);
}

.faq-icon::after {
  transform: translate(-50%, -50%) rotate(90deg);
}

.faq-item[open] .faq-icon::after {
  transform: translate(-50%, -50%) rotate(90deg) scaleY(0);
  opacity: 0;
}

.faq-panel {
  padding: 0 1.15rem 1.05rem;
}

.faq-panel p {
  max-width: 60ch;
}

/* CTA */

.cta-section {
  padding-top: 0.35rem;
  padding-bottom: clamp(2.75rem, 4.5vw, 3.75rem);
}

.cta-panel {
  position: relative;
  overflow: hidden;
  text-align: center;
  padding: clamp(1.85rem, 4vw, 2.75rem) 1.5rem;
}

.cta-glow {
  position: absolute;
  inset: -20% 50% auto auto;
  width: 560px;
  height: 320px;
  transform: translateX(50%);
  background:
    radial-gradient(circle, rgba(139, 92, 255, 0.34), transparent 68%),
    radial-gradient(circle at 30% 70%, rgba(46, 230, 197, 0.18), transparent 55%);
  pointer-events: none;
}

.cta-panel .eyebrow,
.cta-panel h2,
.cta-panel > p,
.cta-panel .btn {
  position: relative;
}

.cta-panel h2 {
  margin-bottom: 0.75rem;
}

.cta-panel > p {
  max-width: 42ch;
  margin: 0 auto 1.35rem;
}

.cta-panel .btn {
  display: inline-flex;
}

/* Footer */

.site-footer {
  padding: 2rem 0 2.4rem;
  border-top: 1px solid var(--border-glass);
  background: rgba(7, 11, 22, 0.65);
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.2fr 1fr auto;
  gap: 1.25rem 1.5rem;
  align-items: center;
}

.footer-domain {
  margin-top: 0.45rem;
  color: var(--text-soft);
  font-size: 0.95rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem 1rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-links a {
  color: var(--text-muted);
  font-size: 0.92rem;
  border-radius: 6px;
  transition: color var(--transition);
}

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

.footer-inner--legal {
  grid-template-columns: 1.1fr 1.6fr auto;
  align-items: start;
}

.footer-copy {
  margin: 0;
  color: var(--text-soft);
  font-size: 0.9rem;
  justify-self: end;
}

/* Animations */

@keyframes pulse-dot {
  0% { box-shadow: 0 0 0 0 rgba(46, 230, 197, 0.55); }
  70% { box-shadow: 0 0 0 10px rgba(46, 230, 197, 0); }
  100% { box-shadow: 0 0 0 0 rgba(46, 230, 197, 0); }
}

@keyframes core-pulse {
  0%, 100% { opacity: 0.75; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.12); }
}

@keyframes ring-glow {
  0%, 100% { opacity: 0.75; }
  50% { opacity: 1; }
}

@keyframes draw-link {
  0% { stroke-dashoffset: 180; opacity: 0.35; }
  40% { stroke-dashoffset: 0; opacity: 1; }
  100% { stroke-dashoffset: -180; opacity: 0.35; }
}

@keyframes spin-slow {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .btn:hover,
  .benefit-card:hover,
  .device-card:hover,
  .hero-text-link:hover {
    transform: none;
  }
}

/* Responsive */

@media (max-width: 980px) {
  .hero-grid,
  .footer-inner,
  .footer-inner--legal {
    grid-template-columns: 1fr;
  }

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

  .pricing-mosaic {
    grid-template-columns: 1fr;
    grid-template-areas: none;
    gap: 0.85rem;
  }

  .pricing-card--featured,
  .pricing-stack,
  .pricing-card--annual {
    grid-area: auto;
  }

  /* Mobile/tablet order: 1 → 3 → 6 → 12 months */
  .pricing-stack {
    order: 1;
  }

  .pricing-card--featured {
    order: 2;
  }

  .pricing-card--annual {
    order: 3;
    grid-template-columns: 1fr;
    gap: 0.85rem;
  }

  .pricing-annual-copy {
    max-width: none;
  }

  .pricing-annual-aside {
    justify-items: start;
    min-width: 0;
  }

  .pricing-annual-aside .btn {
    width: fit-content;
  }

  .hero-highlights {
    max-width: none;
  }

  .connection-panel {
    min-height: 340px;
  }

  .footer-copy {
    justify-self: start;
  }
}

@media (max-width: 760px) {
  html.js .menu-toggle {
    display: inline-flex;
  }

  /* Without JS: keep navigation visible and usable in document flow. */
  html:not(.js) .site-header {
    height: auto;
  }

  html:not(.js) .header-inner {
    height: auto;
    min-height: var(--header-h);
    flex-wrap: wrap;
    align-items: center;
    padding: 0.85rem 0 1rem;
  }

  html:not(.js) .nav {
    position: static;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    gap: 0.75rem;
    padding: 0.75rem 0 0;
    background: transparent;
    border: 0;
    box-shadow: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }

  /* With JS: collapsible overlay menu; closed links stay out of the a11y tree. */
  html.js .nav {
    position: fixed;
    inset: var(--header-h) 0 auto 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0.75rem;
    padding: 1rem 1rem 1.25rem;
    background: rgba(7, 11, 22, 0.96);
    border-bottom: 1px solid var(--border-glass);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
  }

  html.js .nav.is-open {
    display: flex;
  }

  .nav-list {
    flex-direction: column;
    align-items: stretch;
    gap: 0.25rem;
  }

  .nav-list a {
    padding: 0.85rem 0.9rem;
  }

  .nav-cta {
    width: 100%;
  }

  .benefits-grid,
  .scenarios-grid,
  .steps,
  .devices-grid {
    grid-template-columns: 1fr;
  }

  .steps::before {
    display: none;
  }

  .step {
    padding-left: 1.1rem;
    border-left: 2px solid rgba(140, 170, 255, 0.18);
  }

  .step-num {
    box-shadow: none;
  }

  .support-panel {
    grid-template-columns: 1fr;
    gap: 1.1rem;
  }

  .support-aside {
    padding: 0.95rem 1rem;
  }

  .support-points {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.55rem;
  }

  .support-points li {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.4rem;
    font-size: 0.92rem;
  }

  .panel-footer {
    grid-template-columns: repeat(3, 1fr);
    gap: 0.45rem;
  }

  .metric {
    padding: 0.55rem 0.5rem;
  }

  .metric-label {
    font-size: 0.7rem;
  }

  .metric-value {
    font-size: 0.82rem;
  }

  .hero {
    padding: 1.35rem 0 1.75rem;
  }

  .pricing-card--featured {
    padding: 1.25rem 1.15rem 1.3rem;
  }

  .pricing-card--featured h3 {
    font-size: 1.45rem;
  }

  .pricing-price {
    font-size: 2.15rem;
  }

  .pricing-card--annual {
    padding: 1.15rem 1.1rem 1.2rem;
  }

  .hero-glow {
    height: 280px;
    inset: 4% auto auto 50%;
  }

  .hero-grid {
    gap: 1.15rem;
  }

  .badge {
    margin-bottom: 0.7rem;
    padding: 0.35rem 0.7rem;
    font-size: 0.82rem;
  }

  .hero-content h1 {
    margin-bottom: 0.65rem;
    font-size: clamp(2.625rem, 11.2vw, 3rem);
    line-height: 1.05;
  }

  .hero-lead {
    max-width: none;
    margin-bottom: 1rem;
    font-size: 1rem;
    line-height: 1.5;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
    gap: 0.55rem;
    margin-bottom: 0.95rem;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .cta-panel .btn {
    width: min(100%, 22rem);
  }

  .hero-text-link {
    justify-content: center;
    min-height: 40px;
    transform: none;
  }

  .hero-text-link:hover {
    transform: none;
  }

  .hero-highlights {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.45rem;
    max-width: none;
  }

  .hero-highlights li {
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 0.3rem;
    padding: 0.55rem 0.3rem;
    text-align: center;
    font-size: 0.78rem;
    white-space: normal;
    line-height: 1.2;
  }

  .connection-panel {
    min-height: 0;
    padding: 0.85rem 0.85rem 0.75rem;
  }

  .panel-top {
    margin-bottom: 0.15rem;
    font-size: 0.8rem;
  }

  .network-svg {
    max-height: 168px;
  }
}

@media (max-width: 420px) {
  .container {
    width: min(100% - 1.25rem, var(--container));
  }

  .logo-text {
    font-size: 1.02rem;
  }

  .badge {
    font-size: 0.78rem;
  }

  .hero-content h1 {
    font-size: clamp(2.625rem, 11.5vw, 2.85rem);
  }

  .hero-highlights li {
    font-size: 0.72rem;
    padding: 0.5rem 0.2rem;
  }

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

  .connection-panel {
    min-height: 0;
  }

  .network-svg {
    max-height: 150px;
  }
}

@media (min-width: 1440px) {
  .hero-content h1 {
    font-size: clamp(3.75rem, 2.1vw + 1.95rem, 4rem);
  }

  .connection-panel {
    min-height: 420px;
  }
}

/* 404 */

.error-page {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: calc(100vh - var(--header-h) - 8rem);
}

.error-page .section {
  display: flex;
  justify-content: center;
  width: 100%;
  box-sizing: border-box;
  padding-inline: 1rem;
}

.error-panel {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: min(100%, 720px);
  margin-inline: auto;
  padding: 40px 48px;
  text-align: center;
  box-sizing: border-box;
}

.error-code {
  margin: 0 0 0.5rem;
  color: var(--teal);
  font-size: clamp(3rem, 8vw, 4.5rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1;
}

.error-panel h1 {
  margin: 0 0 0.85rem;
  max-width: 100%;
  overflow-wrap: anywhere;
}

.error-lead {
  margin: 0 0 1.5rem;
  max-width: 36ch;
  color: var(--text-muted);
}

.error-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.9rem 1.25rem;
  width: 100%;
  margin: 0 0 1.35rem;
}

.error-help {
  margin: 0;
  color: var(--text-soft);
  font-size: 0.95rem;
}

.error-help a {
  color: var(--text);
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

.error-help a:hover {
  color: var(--teal);
}

@media (max-width: 640px) {
  .error-panel {
    padding: 28px 20px;
  }

  .error-actions {
    flex-direction: column;
    gap: 0.85rem;
  }
}
