/* ============================================================
   GigabitVPN — teal & black design system
   ============================================================ */

:root {
  --bg: #05090a;
  --bg-2: #0a1213;
  --line: #162728;
  --line-soft: #101c1d;
  --text: #eef6f4;
  --muted: #7e9591;
  --teal: #2ee6c8;
  --teal-deep: #14b39a;
  --teal-ink: #04231e;
  --teal-glow: rgba(46, 230, 200, 0.13);
  --teal-dim: rgba(46, 230, 200, 0.35);
  --card: #0a1213;
  --card-glass: rgba(10, 18, 19, 0.72);
  --radius: 18px;
  --max: 1120px;
  --sans: Inter, "Segoe UI", Roboto, Arial, sans-serif;
  --display: Onest, Inter, "Segoe UI", sans-serif;
  --shadow-card: 0 1px 0 rgba(255, 255, 255, 0.03) inset, 0 18px 44px -24px rgba(0, 0, 0, 0.9);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.5;
  color: var(--text);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  background:
    radial-gradient(900px 480px at 85% -10%, rgba(46, 230, 200, 0.08), transparent 60%),
    radial-gradient(700px 420px at -10% 30%, rgba(46, 230, 200, 0.045), transparent 55%),
    var(--bg);
  overflow-x: clip;
}

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

img,
svg {
  display: block;
}

.wrap {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
}

::selection {
  background: rgba(46, 230, 200, 0.25);
  color: #fff;
}

/* ---------- nav ---------- */

.nav {
  position: sticky;
  top: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 0;
  background: rgba(5, 9, 10, 0.75);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line-soft);
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--display);
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.mark {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border: 1px solid var(--teal-dim);
  border-radius: 8px;
  color: var(--teal);
  background: linear-gradient(180deg, rgba(46, 230, 200, 0.12), rgba(46, 230, 200, 0.03));
  box-shadow: 0 0 18px -6px var(--teal-glow);
}

.mark svg {
  width: 14px;
  height: 14px;
}

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

.nav-links a:not(.btn):hover {
  color: var(--text);
}

.nav-links a.is-on {
  color: var(--teal);
}

/* ---------- buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 42px;
  padding: 0 18px;
  border-radius: 11px;
  border: 1px solid transparent;
  font: inherit;
  font-weight: 600;
  font-size: 14px;
  letter-spacing: -0.01em;
  cursor: pointer;
  white-space: nowrap;
  transition: transform 0.15s ease, box-shadow 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

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

.btn-cyan {
  background: linear-gradient(180deg, #3bf0d3, var(--teal));
  color: var(--teal-ink);
  box-shadow: 0 8px 24px -10px rgba(46, 230, 200, 0.55);
}

.btn-cyan:hover {
  filter: brightness(1.06);
  box-shadow: 0 10px 30px -10px rgba(46, 230, 200, 0.7);
}

.btn-ghost {
  border-color: var(--line);
  color: var(--text);
  background: rgba(255, 255, 255, 0.02);
}

.btn-ghost:hover {
  border-color: var(--teal-dim);
  background: rgba(46, 230, 200, 0.05);
}

/* ---------- hero ---------- */

.hero {
  position: relative;
  padding: 84px 0 64px;
}

.hero-bg {
  position: absolute;
  right: -10px;
  top: -10px;
  font-family: var(--display);
  font-size: clamp(140px, 24vw, 300px);
  font-weight: 700;
  letter-spacing: -0.05em;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1px rgba(46, 230, 200, 0.09);
  pointer-events: none;
  user-select: none;
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: 48px;
  align-items: center;
}

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 20px;
  padding: 7px 12px;
  border: 1px solid var(--line);
  border-radius: 99px;
  background: rgba(46, 230, 200, 0.04);
  color: var(--teal);
  font-size: 13px;
  font-weight: 500;
}

.kicker i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--teal);
  box-shadow: 0 0 0 0 rgba(46, 230, 200, 0.5);
  animation: pulse 2.4s ease-out infinite;
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(46, 230, 200, 0.45);
  }
  70% {
    box-shadow: 0 0 0 8px rgba(46, 230, 200, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(46, 230, 200, 0);
  }
}

h1 {
  max-width: 13ch;
  font-family: var(--display);
  font-size: clamp(42px, 6.4vw, 72px);
  font-weight: 600;
  letter-spacing: -0.035em;
  line-height: 1.06;
}

h1 .grad {
  background: linear-gradient(105deg, var(--teal) 10%, #8ff2e2 60%, #d8fff7 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.lead {
  max-width: 42ch;
  margin: 20px 0 30px;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.6;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero-note {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  margin-top: 22px;
  color: var(--muted);
  font-size: 13px;
}

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

.hero-note svg {
  width: 14px;
  height: 14px;
  color: var(--teal);
}

/* hero speed card */

.hero-visual {
  position: relative;
}

.speed-card {
  position: relative;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background:
    radial-gradient(420px 200px at 80% -20%, rgba(46, 230, 200, 0.1), transparent 60%),
    var(--card-glass);
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow-card);
  overflow: hidden;
}

.speed-card .sc-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
}

.speed-card .sc-top span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
}

.speed-card .sc-top em {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border: 1px solid rgba(61, 207, 122, 0.35);
  border-radius: 99px;
  background: rgba(61, 207, 122, 0.1);
  color: #6ee7a0;
  font-size: 11px;
  font-style: normal;
  font-weight: 700;
  letter-spacing: 0.06em;
}

.speed-card .sc-top em i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #6ee7a0;
}

.sc-value {
  display: flex;
  align-items: baseline;
  gap: 10px;
  font-family: var(--display);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1;
}

.sc-value b {
  font-size: 64px;
  font-variant-numeric: tabular-nums;
}

.sc-value span {
  color: var(--muted);
  font-size: 15px;
  font-weight: 500;
}

.sc-bars {
  display: flex;
  align-items: flex-end;
  gap: 5px;
  height: 64px;
  margin: 20px 0 18px;
}

.sc-bars i {
  flex: 1;
  min-width: 6px;
  border-radius: 5px 5px 2px 2px;
  background: linear-gradient(180deg, rgba(46, 230, 200, 0.85), rgba(46, 230, 200, 0.12));
  transform-origin: bottom;
  animation: eq 2.8s ease-in-out infinite;
}

.sc-bars i:nth-child(2n) {
  animation-delay: 0.35s;
  opacity: 0.75;
}
.sc-bars i:nth-child(3n) {
  animation-delay: 0.7s;
  opacity: 0.9;
}
.sc-bars i:nth-child(5n) {
  animation-delay: 1.1s;
  opacity: 0.6;
}

@keyframes eq {
  0%,
  100% {
    transform: scaleY(0.35);
  }
  40% {
    transform: scaleY(1);
  }
  70% {
    transform: scaleY(0.55);
  }
}

.sc-rows {
  display: grid;
  gap: 10px;
  border-top: 1px solid var(--line-soft);
  padding-top: 16px;
}

.sc-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--muted);
  font-size: 13px;
}

.sc-row b {
  color: var(--text);
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}

.sc-row .ok {
  color: #6ee7a0;
}

/* floating badge over card */

.hero-chip {
  position: absolute;
  z-index: 2;
  top: -16px;
  left: -12px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #0c1516;
  box-shadow: 0 14px 34px -14px rgba(0, 0, 0, 0.9);
  font-size: 12px;
  font-weight: 600;
}

.hero-chip svg {
  width: 14px;
  height: 14px;
  color: var(--teal);
}

/* ---------- meta strip ---------- */

.meta {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  margin: 0 0 88px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--line);
  box-shadow: var(--shadow-card);
}

.meta div {
  padding: 22px 24px;
  background: var(--bg-2);
}

.meta b {
  display: block;
  margin-bottom: 5px;
  font-family: var(--display);
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.meta span {
  color: var(--muted);
  font-size: 13px;
}

/* ---------- sections ---------- */

.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 24px;
}

.section-head h2 {
  font-family: var(--display);
  font-size: clamp(28px, 3.6vw, 38px);
  font-weight: 600;
  letter-spacing: -0.025em;
}

.section-head p {
  max-width: 34ch;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
}

/* ---------- plans ---------- */

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

.plan {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 320px;
  padding: 26px 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--card);
  box-shadow: var(--shadow-card);
}

.plan.featured {
  border-color: rgba(46, 230, 200, 0.45);
  background:
    linear-gradient(180deg, rgba(46, 230, 200, 0.08), transparent 45%),
    var(--card);
  box-shadow: 0 0 0 1px rgba(46, 230, 200, 0.08), 0 24px 60px -30px rgba(46, 230, 200, 0.35);
}

.plan .tag {
  margin-bottom: 16px;
  font-family: var(--display);
  font-size: 32px;
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.1;
  color: var(--text);
}

.plan.featured .tag {
  color: var(--teal);
}

.plan .speed {
  font-family: var(--display);
  font-size: 26px;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1;
  font-variant-numeric: tabular-nums;
  color: var(--teal);
}

.plan .unit {
  margin: 8px 0 24px;
  color: var(--muted);
  font-size: 13px;
}

.plan ul {
  margin-bottom: auto;
  padding-left: 0;
  list-style: none;
  color: #c3d3d0;
  font-size: 14px;
  line-height: 1.6;
}

.plan ul li {
  position: relative;
  padding-left: 22px;
  margin-bottom: 8px;
}

.plan ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 7px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(46, 230, 200, 0.1);
  box-shadow: inset 0 0 0 3.5px rgba(46, 230, 200, 0.55);
}

.plan .price {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-top: 26px;
  padding-top: 18px;
  border-top: 1px solid var(--line-soft);
}

.plan .price strong {
  font-family: var(--display);
  font-size: 24px;
  font-weight: 600;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
}

.plan .price em {
  color: var(--muted);
  font-style: normal;
  font-size: 13px;
}

.plan .cta {
  margin-top: 18px;
  width: 100%;
}

/* ---------- steps ---------- */

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

.step {
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: 14px;
  align-items: start;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--card);
  box-shadow: var(--shadow-card);
}

.step i {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 9px;
  background: rgba(46, 230, 200, 0.1);
  border: 1px solid rgba(46, 230, 200, 0.25);
  color: var(--teal);
  font-family: var(--display);
  font-size: 13px;
  font-weight: 700;
}

.step b {
  display: block;
  margin-bottom: 5px;
  font-family: var(--display);
  font-weight: 600;
}

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

/* ---------- inner pages ---------- */

.page {
  padding: 56px 0 80px;
}

.page h1 {
  max-width: 16ch;
}

.page .lead {
  margin-bottom: 40px;
}

.nav-links a.is-on {
  color: var(--teal);
}

.os-grid,
.doc-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.os-card,
.doc-card {
  display: block;
  padding: 20px 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--card);
  box-shadow: var(--shadow-card);
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.os-card b,
.doc-card b {
  display: block;
  margin-bottom: 6px;
  font-family: var(--display);
  font-weight: 600;
}

.os-card span,
.doc-card span {
  color: var(--muted);
  font-size: 14px;
}

.os-card:hover,
.doc-card:hover {
  border-color: var(--teal-dim);
  transform: translateY(-2px);
}

.stub {
  max-width: 64ch;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--card);
  box-shadow: var(--shadow-card);
  color: var(--muted);
  font-size: 15px;
  line-height: 1.65;
}

.muted {
  color: var(--muted);
  font-size: 13px;
}

/* ---------- footer ---------- */

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

.foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.foot-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 20px;
}

.foot-links a:hover {
  color: var(--teal);
}

/* ---------- motion ---------- */

.fade-up {
  animation: fade-up 0.7s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.fade-up-1 {
  animation-delay: 0.08s;
}

.fade-up-2 {
  animation-delay: 0.16s;
}

.fade-up-3 {
  animation-delay: 0.24s;
}

@keyframes fade-up {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .fade-up,
  .kicker i,
  .sc-bars i {
    animation: none;
  }
  .os-card:hover,
  .doc-card:hover {
    transform: none;
  }
}

/* ---------- responsive ---------- */

@media (max-width: 980px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .hero-visual {
    max-width: 520px;
  }

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

@media (max-width: 860px) {
  .nav {
    flex-wrap: wrap;
    gap: 10px;
  }

  .nav-links {
    width: 100%;
    flex-wrap: wrap;
    gap: 12px 16px;
  }

  .hero {
    padding: 52px 0 48px;
  }

  .meta,
  .plans,
  .os-grid,
  .doc-grid {
    grid-template-columns: 1fr;
  }

  .meta {
    margin-bottom: 56px;
  }

  .plans,
  .steps {
    padding-bottom: 0;
    margin-bottom: 56px;
  }

  .section-head {
    flex-direction: column;
    align-items: start;
  }

  .foot {
    flex-direction: column;
    align-items: start;
  }

  .hero-bg {
    opacity: 0.6;
  }
}
