/* ─────────────────────────────────────────────
   Reset & Base
───────────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  * {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}

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

:root {
  --brand: #0ea5e9;
  --brand-hover: #38bdf8;
  --brand-deep: #0284c7;
  --brand-soft: rgba(14, 165, 233, 0.16);
  --brand-border: rgba(14, 165, 233, 0.32);
  --bg: #070b14;
  --surface: #0b1220;
  --surface-2: #111827;
  --panel: rgba(16, 24, 42, 0.76);
  --panel-strong: rgba(16, 24, 42, 0.88);
  --panel-solid: #111827;
  --muted: rgba(255, 255, 255, 0.56);
  --muted-strong: rgba(255, 255, 255, 0.72);
  --border: rgba(14, 165, 233, 0.18);
  --border-strong: rgba(14, 165, 233, 0.32);
  --white-border: rgba(255, 255, 255, 0.08);
  --shadow-md: 0 10px 34px rgba(0, 0, 0, 0.42);
  --shadow-lg: 0 20px 60px rgba(0, 0, 0, 0.45);
  --radius-xl: 2rem;
  --radius-lg: 1.5rem;
  --radius-md: 1.25rem;
  --radius-sm: 1rem;
  --container: 1100px;
  --container-wide: 1380px;
}

html {
  scroll-behavior: smooth;
}

body {
  background: #070b14;
  color: #fff;
  font-family: "Inter", sans-serif;
  -webkit-font-smoothing: antialiased;
  -webkit-text-size-adjust: 100%;
  overflow-x: hidden;
}

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

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

ul {
  list-style: none;
}

button,
input,
select {
  font: inherit;
}

button {
  cursor: pointer;
  font-family: inherit;
}

/* ─────────────────────────────────────────────
   Global Background
───────────────────────────────────────────── */
.global-bg {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  overflow: hidden;
  background:
    radial-gradient(ellipse 120% 45% at 60% 35%, rgba(37, 99, 235, 0.12) 0%, transparent 70%),
    radial-gradient(ellipse 80% 32% at 40% 55%, rgba(14, 165, 233, 0.08) 0%, transparent 65%),
    radial-gradient(ellipse 60% 50% at 75% 15%, rgba(59, 130, 246, 0.1) 0%, transparent 60%),
    radial-gradient(ellipse 50% 40% at 20% 80%, rgba(2, 132, 199, 0.08) 0%, transparent 60%),
    #070b14;
}

.global-bg .feat-glow--tl {
  width: 600px;
  height: 600px;
  top: 20%;
  left: -10%;
  background: rgba(14, 165, 233, 0.08);
}

.global-bg .feat-glow--br {
  width: 500px;
  height: 500px;
  bottom: 10%;
  right: -8%;
  background: rgba(37, 99, 235, 0.07);
}

.global-bg .dash-glow--center {
  width: 900px;
  height: 700px;
  top: 40%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: rgba(14, 165, 233, 0.05);
}

.star-dot {
  position: absolute;
  border-radius: 50%;
  background: #fff;
  animation: star-twinkle var(--dur, 3s) ease-in-out infinite var(--delay, 0s);
}

@keyframes star-twinkle {
  0%,
  100% {
    opacity: var(--min-op, 0.2);
    transform: scale(1);
  }

  50% {
    opacity: var(--max-op, 0.9);
    transform: scale(1.4);
  }
}

/* ─────────────────────────────────────────────
   Utilities
───────────────────────────────────────────── */
.container {
  width: min(var(--container), calc(100% - 3rem));
  margin: 0 auto;
}

.container-wide {
  width: min(var(--container-wide), calc(100% - 3rem));
  margin: 0 auto;
}

.text-center {
  text-align: center;
}

.text-brand {
  color: var(--brand);
}

.section-title {
  position: relative;
  display: inline-block;
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 2.5rem;
}

.section-title::after {
  content: "";
  position: absolute;
  bottom: -6px;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--brand), transparent);
  border-radius: 999px;
  transition: width 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.3s;
}

[data-reveal].revealed .section-title::after,
.section-title.revealed::after {
  width: 100%;
}

.section-eyebrow {
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--muted);
  margin-bottom: 0.75rem;
}

.section-sub {
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--muted);
  margin-bottom: 4rem;
}

.section-divider {
  width: 100%;
  max-width: 60rem;
  height: 1px;
  margin: 0 auto;
  background: linear-gradient(to right, transparent, rgba(14, 165, 233, 0.18), rgba(37, 99, 235, 0.1), transparent);
}

/* ─────────────────────────────────────────────
   Buttons
───────────────────────────────────────────── */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  background: linear-gradient(135deg, #0ea5e9, #0284c7);
  color: #06101f;
  font-weight: 800;
  border: none;
  border-radius: 9999px;
  transition: filter 0.2s, transform 0.2s;
  box-shadow: 0 0 25px rgba(14, 165, 233, 0.36);
  position: relative;
  overflow: hidden;
  text-align: center;
}

.btn-primary:hover {
  filter: brightness(1.12);
  transform: translateY(-1px);
}

.btn-primary::after {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 60%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.24), transparent);
  transform: skewX(-20deg);
  animation: btn-shimmer 3.5s ease-in-out infinite;
}

.btn-sm {
  padding: 0.6rem 1.75rem;
  font-size: 0.9375rem;
  border-radius: 999px;
}

.btn-lg {
  padding: 1rem 2.25rem;
  font-size: 1.0625rem;
}

.btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.05);
  color: #fff;
  font-weight: 700;
  border: 1px solid rgba(14, 165, 233, 0.18);
  border-radius: 9999px;
  transition: background 0.2s, border-color 0.2s, transform 0.2s;
}

.btn-ghost:hover {
  background: rgba(14, 165, 233, 0.1);
  border-color: rgba(14, 165, 233, 0.34);
  transform: translateY(-1px);
}

.btn-ghost-card {
  width: 100%;
  padding: 1rem;
  border-radius: 0.75rem;
  font-weight: 700;
  background: rgba(255, 255, 255, 0.05);
  color: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(14, 165, 233, 0.18);
  transition: background 0.2s, border-color 0.2s, color 0.2s;
}

.btn-ghost-card:hover {
  background: rgba(14, 165, 233, 0.12);
  border-color: rgba(14, 165, 233, 0.35);
}

.btn-outline {
  position: relative;
  background: var(--surface);
  color: var(--brand);
  border: 1px solid rgba(14, 165, 233, 0.42);
  padding: 0.65rem 1.75rem;
  border-radius: 9999px;
  font-weight: 700;
  transition: background 0.2s, border-color 0.2s, transform 0.2s;
}

.btn-outline:hover {
  background: #101c33;
  border-color: rgba(56, 189, 248, 0.55);
  transform: translateY(-1px);
}

/* ─────────────────────────────────────────────
   Navbar
───────────────────────────────────────────── */
.navbar {
  position: fixed;
  top: 1.25rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 200;
  width: calc(100% - 3rem);
  max-width: 82rem;
  background: rgba(7, 11, 20, 0.78);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  border: 1px solid rgba(14, 165, 233, 0.22);
  border-radius: 28px;
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.04),
    0 10px 34px rgba(0, 0, 0, 0.46),
    0 0 28px rgba(14, 165, 233, 0.12);
  transition: top 0.28s ease, background 0.28s ease, border-color 0.28s ease, box-shadow 0.28s ease;
  animation: page-enter-nav 0.6s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.navbar.scrolled {
  top: 0.45rem;
  background: rgba(7, 11, 20, 0.94);
  border-color: rgba(14, 165, 233, 0.32);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.05),
    0 10px 40px rgba(0, 0, 0, 0.52),
    0 0 34px rgba(14, 165, 233, 0.16);
}

.nav-inner {
  padding: 0.65rem 1.15rem;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 1.15rem;
}

.navbar.scrolled .nav-inner {
  padding: 0.52rem 1rem;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  flex-shrink: 0;
}

.nav-logo {
  width: 36px;
  height: 36px;
  border-radius: 13px;
  background:
    radial-gradient(circle at 30% 20%, rgba(45, 212, 199, 0.28), transparent 45%),
    linear-gradient(135deg, rgba(14, 165, 233, 0.22), rgba(14, 165, 233, 0.06));
  border: 1px solid rgba(45, 212, 199, 0.34);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 16px rgba(14, 165, 233, 0.26);
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.nav-brand:hover .nav-logo {
  transform: rotate(12deg) scale(1.06);
  border-color: rgba(45, 212, 199, 0.58);
  box-shadow: 0 0 24px rgba(45, 212, 199, 0.42);
}

.nav-name {
  color: #fff;
  font-size: 1.12rem;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.nav-links {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.18rem;
  min-width: 0;
}

.nav-links a {
  color: rgba(255, 255, 255, 0.64);
  font-size: 0.86rem;
  font-weight: 650;
  padding: 0.5rem 0.85rem;
  border-radius: 999px;
  transition: color 0.18s ease, background 0.18s ease, transform 0.18s ease;
  white-space: nowrap;
}

.nav-links a:hover,
.nav-links a.active {
  color: #fff;
  background: rgba(14, 165, 233, 0.14);
}

.nav-links a:hover {
  transform: translateY(-1px);
}

.nav-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.65rem;
}

.nav-selects {
  position: relative;
  display: flex;
  align-items: center;
}

.region-trigger {
  height: 38px;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0 0.95rem;
  background: transparent;
  border: none;
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.92);
  font-size: 0.82rem;
  font-weight: 750;
  transition: background 0.18s ease, transform 0.18s ease;
}

.region-trigger:hover {
  background: rgba(255, 255, 255, 0.05);
}

.region-divider {
  color: rgba(255, 255, 255, 0.28);
}

.region-chevron {
  width: 14px;
  height: 14px;
  margin-left: -0.1rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.55);
  transform: translateY(1px);
  transition: transform 0.18s ease, color 0.18s ease, opacity 0.18s ease;
}

.region-trigger:hover .region-chevron {
  color: rgba(255, 255, 255, 0.82);
}

.region-trigger[aria-expanded="true"] .region-chevron {
  transform: translateY(1px) rotate(180deg);
  color: #7dd3fc;
}

.region-chevron svg {
  width: 14px;
  height: 14px;
}

.nav-flag,
.mini-flag {
  width: 24px;
  height: 16px;
  display: inline-flex;
  overflow: hidden;
  flex-shrink: 0;
  border-radius: 4px;
}

.nav-flag svg,
.mini-flag svg {
  width: 100%;
  height: 100%;
}

.region-menu {
  position: absolute;
  top: calc(100% + 0.75rem);
  right: 0;
  width: 320px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(-8px) scale(0.98);
  transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s ease;
}

.region-menu.open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0) scale(1);
}

.region-menu-inner {
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  background: rgba(7, 11, 20, 0.96);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  border: 1px solid rgba(14, 165, 233, 0.24);
  border-radius: 22px;
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.04),
    0 18px 45px rgba(0, 0, 0, 0.48),
    0 0 30px rgba(14, 165, 233, 0.14);
}

.region-title {
  color: #fff;
  font-size: 0.96rem;
  font-weight: 800;
}

.region-label {
  color: rgba(255, 255, 255, 0.56);
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.region-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.55rem;
}

.region-option {
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  padding: 0 0.75rem;
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 14px;
  color: rgba(255, 255, 255, 0.84);
  font-size: 0.84rem;
  font-weight: 750;
  transition: background 0.18s ease, border-color 0.18s ease, transform 0.18s ease, color 0.18s ease;
}

.region-option:hover {
  color: #fff;
  background: rgba(14, 165, 233, 0.14);
  border-color: rgba(14, 165, 233, 0.25);
  transform: translateY(-1px);
}

.region-option.active {
  color: #fff;
  background: rgba(14, 165, 233, 0.2);
  border-color: rgba(125, 211, 252, 0.34);
  box-shadow: 0 0 20px rgba(14, 165, 233, 0.14);
}

.nav-login {
  color: rgba(255, 255, 255, 0.66);
  font-size: 0.86rem;
  font-weight: 650;
  padding: 0.5rem 0.78rem;
  border-radius: 999px;
  transition: background 0.18s ease, color 0.18s ease;
}

.nav-login:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.065);
}

/* ─────────────────────────────────────────────
   Hero
───────────────────────────────────────────── */
.hero {
  margin-top: 40px;
  position: relative;
  z-index: 2;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: transparent;
}

.hero-content {
  position: relative;
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 6rem 1.5rem 8rem;
  width: 100%;
  max-width: 80rem;
  margin: 0 auto;
  animation: page-enter 0.9s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1.25rem;
  border-radius: 9999px;
  border: 1px solid rgba(14, 165, 233, 0.18);
  background: rgba(14, 165, 233, 0.08);
  backdrop-filter: blur(12px);
  font-size: 0.875rem;
  font-weight: 500;
  margin-bottom: 2.5rem;
}

.hero-title {
  font-size: clamp(3rem, 7vw, 5.5rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin-bottom: 2.5rem;
  text-shadow: 0 4px 40px rgba(0, 0, 0, 0.5);
}

.hero-subtitle {
  max-width: 760px;
  padding: 0 1rem;
  font-size: 1.15rem;
  line-height: 1.85;
  font-weight: 500;
  letter-spacing: -0.015em;
  color: rgba(255, 255, 255, 0.82);
  text-align: center;
  text-wrap: balance;
  position: relative;
  z-index: 2;
  animation: fadeUp 1s ease forwards;
  animation-delay: 0.2s;
  opacity: 0;
  transform: translateY(12px);
  margin-bottom: 20px;
}

.hero-subtitle strong {
  color: #fff;
  font-weight: 700;
  text-shadow:
    0 0 12px rgba(44, 212, 199, 0.35),
    0 0 24px rgba(44, 212, 199, 0.15);
}

.hero-buttons {
  display: flex;
  gap: 1.25rem;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 5rem;
}

/* ─────────────────────────────────────────────
   Floating Sprite Helpers
───────────────────────────────────────────── */
.hero-float-img,
.sprite,
.dash-sprite,
.flow-sprite,
.win-sprite {
  position: absolute;
  pointer-events: none;
}

.hero-float-img {
  z-index: 1;
}

.hero-img-1,
.hero-img-2,
.hero-img-3,
.hero-img-extra {
  filter:
    drop-shadow(0 0 8px rgba(14, 165, 233, 0.55))
    drop-shadow(0 0 24px rgba(37, 99, 235, 0.32))
    drop-shadow(0 0 55px rgba(14, 165, 233, 0.16))
    drop-shadow(0 30px 50px rgba(0, 0, 0, 0.7));
}

.hero-img-dragon {
  filter:
    drop-shadow(0 0 6px rgba(125, 211, 252, 0.88))
    drop-shadow(0 0 18px rgba(14, 165, 233, 0.78))
    drop-shadow(0 0 45px rgba(37, 99, 235, 0.5))
    drop-shadow(0 0 90px rgba(14, 165, 233, 0.28))
    drop-shadow(0 20px 40px rgba(0, 0, 0, 0.6));
}

.hero-img-1 {
  left: -8vw;
  bottom: -5vh;
  width: 45vw;
  min-width: 500px;
  animation: hero-float-1 8s ease-in-out infinite;
}

.hero-img-2 {
  right: -8vw;
  bottom: 0;
  width: 40vw;
  min-width: 450px;
  animation: hero-float-2 9s ease-in-out infinite;
}

.hero-img-3 {
  right: 5vw;
  top: 20vh;
  width: 25vw;
  min-width: 300px;
  animation: hero-float-3 7s ease-in-out infinite;
}

.hero-img-dragon {
  left: 0;
  top: 5vh;
  width: 32vw;
  min-width: 350px;
  animation: hero-float-dragon 8.5s ease-in-out infinite;
}

.hero-img-extra {
  left: 15vw;
  bottom: 35vh;
  width: 22vw;
  min-width: 280px;
  animation: hero-float-extra 9.5s ease-in-out infinite;
}

/* ─────────────────────────────────────────────
   Stats Bar
───────────────────────────────────────────── */
.stats-bar-wrap {
  position: relative;
  width: 100%;
  max-width: 56rem;
}

.stats-bar {
  position: relative;
  width: 100%;
  border-radius: 1rem;
  background: rgba(16, 24, 42, 0.72);
  backdrop-filter: blur(20px);
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.4);
  padding: 0.25rem;
  border: 1px solid rgba(14, 165, 233, 0.2);
  animation: stats-border-pulse 3s ease-in-out infinite;
}

.stats-bar::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: conic-gradient(
    from var(--angle, 0deg),
    transparent 0deg,
    transparent 60deg,
    rgba(14, 165, 233, 0.92) 90deg,
    rgba(125, 211, 252, 1) 100deg,
    rgba(14, 165, 233, 0.92) 110deg,
    transparent 140deg,
    transparent 360deg
  );
  -webkit-mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  animation: stats-energy-sweep 4s linear infinite;
  pointer-events: none;
}

@property --angle {
  syntax: "<angle>";
  initial-value: 0deg;
  inherits: false;
}

.stats-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 1.5rem;
  gap: 0;
}

.stat-item {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  min-width: 0;
}

.stat-icon {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(14, 165, 233, 0.16);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.stat-text {
  text-align: left;
  min-width: 0;
}

.stat-value {
  font-size: 1.125rem;
  font-weight: 700;
  line-height: 1.2;
}

.stat-label {
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--muted);
}

.stat-divider {
  width: 1px;
  height: 3rem;
  background: rgba(255, 255, 255, 0.08);
  flex-shrink: 0;
}

.stats-orb {
  position: absolute;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #bae6fd, #0ea5e9 50%, #075985);
  box-shadow:
    0 0 6px 2px rgba(14, 165, 233, 0.9),
    0 0 18px 4px rgba(14, 165, 233, 0.5),
    0 0 35px 8px rgba(14, 165, 233, 0.2);
  z-index: 20;
  pointer-events: none;
  offset-path: border-box;
  offset-anchor: center;
  offset-rotate: 0deg;
  animation: orb-travel 4s linear infinite;
}

/* ─────────────────────────────────────────────
   Features & Pricing
───────────────────────────────────────────── */
.features-section {
  padding: 6rem 0 8rem;
  position: relative;
  overflow: visible;
  background: transparent;
}

.features-section .container {
  position: relative;
  z-index: 1;
}

.billing-toggle {
  display: flex;
  align-items: center;
  gap: 0.875rem;
  justify-content: center;
  margin: 1.75rem 0 3rem;
}

.toggle-label {
  font-size: 0.9375rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.5);
  transition: color 0.25s;
}

.billing-toggle.annual .toggle-label:last-child {
  color: var(--brand);
}

.billing-toggle:not(.annual) .toggle-label:first-child {
  color: #fff;
}

.toggle-switch {
  position: relative;
  width: 48px;
  height: 26px;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  transition: background 0.25s, border-color 0.25s;
}

.billing-toggle.annual .toggle-switch {
  background: rgba(14, 165, 233, 0.18);
  border-color: rgba(14, 165, 233, 0.42);
  box-shadow: 0 0 12px rgba(14, 165, 233, 0.28);
}

.toggle-dot {
  position: absolute;
  top: 3px;
  left: 3px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1), background 0.25s;
}

.billing-toggle.annual .toggle-dot {
  transform: translateX(22px);
  background: var(--brand);
  box-shadow: 0 0 8px rgba(14, 165, 233, 0.7);
}

.price-annual {
  display: none;
}

.pricing-grid.annual .price-monthly {
  display: none;
}

.pricing-grid.annual .price-annual {
  display: inline;
}

.features-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

.feat-glow,
.dash-glow {
  position: absolute;
  border-radius: 50%;
}

.feat-glow {
  filter: blur(120px);
}

.feat-glow--tl {
  width: 500px;
  height: 500px;
  top: -10%;
  left: -8%;
  background: rgba(14, 165, 233, 0.08);
}

.feat-glow--br {
  width: 400px;
  height: 400px;
  bottom: 0;
  right: -5%;
  background: rgba(37, 99, 235, 0.07);
}

.feat-star {
  position: absolute;
  width: 2px;
  height: 2px;
  background: rgba(255, 255, 255, 0.55);
  border-radius: 50%;
  box-shadow: 0 0 4px rgba(255, 255, 255, 0.4);
}

.feat-star--lg {
  width: 3px;
  height: 3px;
  background: rgba(14, 165, 233, 0.75);
  box-shadow: 0 0 6px rgba(14, 165, 233, 0.65);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem;
  margin-bottom: 7rem;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
  align-items: start;
}

.feature-card,
.pricing-card {
  position: relative;
  overflow: hidden;
}

.feature-card > *:not(.card-top-glow):not(.card-corner-sprite),
.pricing-card > *:not(.card-top-glow):not(.card-corner-sprite) {
  position: relative;
  z-index: 1;
}

.card-top-glow {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 80px;
  background: linear-gradient(to bottom, rgba(14, 165, 233, 0.12), transparent);
  border-radius: inherit;
  pointer-events: none;
  z-index: 0;
}

.card-top-glow--bright {
  background: linear-gradient(to bottom, rgba(14, 165, 233, 0.24), transparent);
}

.feature-card {
  background: rgba(16, 24, 42, 0.68);
  border: 1px solid rgba(14, 165, 233, 0.14);
  border-radius: 1.5rem;
  padding: 1.75rem;
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
  backdrop-filter: blur(20px);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.3);
  transition: background 0.25s ease, transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.3s ease, border-color 0.25s ease;
}

.feature-card:hover {
  background: rgba(16, 24, 42, 0.86);
  transform: translateY(-6px) scale(1.015);
  border-color: rgba(14, 165, 233, 0.32);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(14, 165, 233, 0.14);
}

.feature-icon {
  flex-shrink: 0;
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 1rem;
  background: rgba(14, 165, 233, 0.08);
  border: 1px solid rgba(14, 165, 233, 0.18);
  display: flex;
  align-items: center;
  justify-content: center;
}

.feature-card h3 {
  font-size: 1.125rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.feature-card p {
  font-size: 0.9375rem;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.6;
  font-weight: 500;
}

.pricing-card {
  background: rgba(16, 24, 42, 0.68);
  border: 1px solid rgba(14, 165, 233, 0.14);
  border-radius: 2rem;
  padding: 2.25rem;
  display: flex;
  flex-direction: column;
  backdrop-filter: blur(20px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
  transition: all 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.pricing-card:hover {
  transform: translateY(-8px) scale(1.02);
  border-color: rgba(14, 165, 233, 0.55);
  box-shadow: 0 20px 60px rgba(14, 165, 233, 0.24);
  z-index: 10;
}

.pricing-card:hover .btn-ghost-card {
  background: var(--brand);
  color: #06101f;
  border-color: var(--brand);
}

.card-corner-sprite {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  z-index: 2;
  pointer-events: none;
  opacity: 0.65;
  transform: rotate(-8deg);
  filter:
    drop-shadow(0 0 6px rgba(14, 165, 233, 0.38))
    drop-shadow(0 0 16px rgba(14, 165, 233, 0.12));
  transition: opacity 0.25s ease, transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1), filter 0.3s ease;
}

.feature-card:hover .card-corner-sprite,
.pricing-card:hover .card-corner-sprite {
  opacity: 0.95;
  transform: scale(1.08) rotate(-13deg);
  filter:
    drop-shadow(0 0 10px rgba(14, 165, 233, 0.55))
    drop-shadow(0 0 26px rgba(14, 165, 233, 0.22));
}

.most-popular-badge {
  position: absolute;
  top: -0.9rem;
  left: 50%;
  transform: translateX(-50%);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem 1.15rem;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
  color: #dff6ff;
  background: linear-gradient(180deg, rgba(56, 189, 248, 0.22) 0%, rgba(14, 165, 233, 0.14) 100%);
  border: 1px solid rgba(125, 211, 252, 0.28);
  border-radius: 999px;
  backdrop-filter: blur(14px);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.04) inset,
    0 8px 24px rgba(14, 165, 233, 0.16),
    0 0 30px rgba(14, 165, 233, 0.12);
  overflow: hidden;
  z-index: 20;
}

.most-popular-badge::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 20%, rgba(255, 255, 255, 0.16) 50%, transparent 80%);
  transform: translateX(-120%);
  animation: badge-shine 4s ease-in-out infinite;
}

.pricing-name {
  font-size: 1.75rem;
  font-weight: 800;
  text-align: center;
  margin-bottom: 0.25rem;
}

.pricing-ram {
  text-align: center;
  color: var(--muted);
  font-size: 0.9375rem;
  font-weight: 500;
  margin-bottom: 1.5rem;
}

.pricing-price {
  text-align: center;
  margin-bottom: 2.5rem;
}

.price-amount {
  font-size: 2.75rem;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.price-mo {
  color: var(--muted);
  font-weight: 500;
}

.pricing-features {
  flex: 1;
  margin-bottom: 2.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.pricing-features li {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 0.9375rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.8);
  padding-bottom: 0.75rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.pricing-features li:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.check-icon {
  color: var(--brand);
  font-weight: 900;
  flex-shrink: 0;
}

/* ─────────────────────────────────────────────
   Dashboard
───────────────────────────────────────────── */
.dashboard-section {
  padding: 8rem 0;
  position: relative;
  overflow: visible;
  background: transparent;
}

.dashboard-section .container {
  position: relative;
  z-index: 2;
}

.dash-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

.dash-sprite {
  z-index: 1;
  opacity: 0.65;
  filter: drop-shadow(0 0 15px rgba(14, 165, 233, 0.34));
  animation: float-sprite 6s ease-in-out infinite;
}

.dash-sprite--float1 {
  top: 15%;
  left: 12%;
  --float-x: 0px;
  --float-y: 0px;
  --float-rotate: -15deg;
}

.dash-sprite--float2 {
  top: 65%;
  left: 8%;
  --float-x: 0px;
  --float-y: 0px;
  --float-rotate: 10deg;
  --float-scale: 1.2;
  animation-delay: 1.5s;
}

.dash-sprite--float3 {
  top: 25%;
  right: 15%;
  --float-x: 0px;
  --float-y: 0px;
  --float-rotate: 25deg;
  --float-scale: 0.8;
  animation-delay: 3s;
}

.dash-sprite--float4 {
  top: 75%;
  right: 12%;
  --float-x: 0px;
  --float-y: 0px;
  --float-rotate: -20deg;
  --float-scale: 1.1;
  animation-delay: 4.5s;
}

.dash-glow {
  filter: blur(140px);
}

.dash-glow--center {
  width: 700px;
  height: 500px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: rgba(14, 165, 233, 0.08);
}

.dash-glow--tl {
  width: 400px;
  height: 400px;
  top: -5%;
  left: -5%;
  background: rgba(37, 99, 235, 0.07);
}

.dash-glow--br {
  width: 400px;
  height: 400px;
  bottom: -5%;
  right: -5%;
  background: rgba(14, 165, 233, 0.07);
}

.spark {
  position: absolute;
  width: 4px;
  height: 4px;
  background: #0ea5e9;
  border-radius: 50%;
  box-shadow: 0 0 6px #0ea5e9, 0 0 12px rgba(14, 165, 233, 0.8);
  animation: sparkle 3s ease-in-out infinite;
}

.spark--lg {
  width: 6px;
  height: 6px;
  box-shadow: 0 0 10px #38bdf8, 0 0 20px rgba(14, 165, 233, 0.9);
}

.shooting-star {
  position: absolute;
  width: 150px;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(14, 165, 233, 0.85), #fff);
  transform: rotate(35deg);
  opacity: 0;
  filter: drop-shadow(0 0 6px #0ea5e9);
  z-index: 0;
  animation: shoot 12s linear infinite;
  pointer-events: none;
}

.dashboard-wrap {
  position: relative;
  display: inline-block;
  width: 100%;
  max-width: 56rem;
  margin: 0 auto;
}

.win-sprite {
  z-index: 10;
  opacity: 0.75;
  filter:
    drop-shadow(0 0 6px rgba(14, 165, 233, 0.5))
    drop-shadow(0 0 20px rgba(14, 165, 233, 0.25));
  transition: opacity 0.2s;
  animation: float-sprite 8s ease-in-out infinite;
}

.win-sprite--tl {
  top: -24px;
  left: -20px;
  --float-x: 0px;
  --float-y: 0px;
  --float-rotate: -20deg;
}

.win-sprite--tr {
  top: -22px;
  right: -18px;
  --float-x: 0px;
  --float-y: 0px;
  --float-rotate: 15deg;
  animation-duration: 9s;
  animation-delay: 1.5s;
}

.win-sprite--bl {
  bottom: -22px;
  left: -18px;
  --float-x: 0px;
  --float-y: 0px;
  --float-rotate: 25deg;
  animation-duration: 7s;
  animation-delay: 0.8s;
}

.win-sprite--br {
  bottom: -20px;
  right: -16px;
  --float-x: 0px;
  --float-y: 0px;
  --float-rotate: -10deg;
  animation-duration: 10s;
  animation-delay: 2s;
}

.window-glow-ring {
  position: absolute;
  inset: -6px;
  border-radius: 2rem;
  border: 1px solid rgba(14, 165, 233, 0.28);
  box-shadow:
    0 0 30px rgba(14, 165, 233, 0.22),
    0 0 60px rgba(37, 99, 235, 0.12),
    inset 0 0 30px rgba(14, 165, 233, 0.06);
  pointer-events: none;
  z-index: 5;
  animation: ring-pulse 3s ease-in-out infinite;
}

.dashboard-preview {
  position: relative;
  width: 100%;
  max-width: 56rem;
  margin: 0 auto;
  aspect-ratio: 16 / 9;
  border-radius: 2rem;
  overflow: hidden;
  border: 1px solid rgba(14, 165, 233, 0.18);
  background: rgba(16, 24, 42, 0.84);
  backdrop-filter: blur(24px);
  box-shadow: 0 0 80px rgba(14, 165, 233, 0.14);
  display: flex;
  align-items: center;
  justify-content: center;
}

.dashboard-topbar {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3rem;
  background: rgba(255, 255, 255, 0.04);
  border-bottom: 1px solid rgba(14, 165, 233, 0.12);
  display: flex;
  align-items: center;
  padding: 0 1rem;
  gap: 0.5rem;
  z-index: 2;
}

.dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  display: inline-block;
}

.dot--red {
  background: rgba(248, 113, 113, 0.8);
}

.dot--yellow {
  background: rgba(250, 204, 21, 0.8);
}

.dot--green {
  background: rgba(74, 222, 128, 0.8);
}

.dashboard-scroll {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  width: 100%;
  height: 100%;
}

.dashboard-scroll::-webkit-scrollbar {
  display: none;
}

.dashboard-img {
  min-width: 100%;
  width: 100%;
  height: 100%;
  flex-shrink: 0;
  scroll-snap-align: start;
  object-fit: cover;
  object-position: top;
  border-radius: 0 0 1rem 1rem;
  margin-top: 3rem;
}

.dashboard-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 5;
  border: 0;
  background: rgba(0, 0, 0, 0.35);
  color: #fff;
  width: 36px;
  height: 36px;
  border-radius: 999px;
}

.dashboard-arrow--left {
  left: 12px;
}

.dashboard-arrow--right {
  right: 12px;
}

/* ─────────────────────────────────────────────
   Migration Flow
───────────────────────────────────────────── */
.migrate-btn-wrap {
  position: relative;
  display: inline-block;
  margin-bottom: 7rem;
}

.migrate-btn-glow {
  position: absolute;
  inset: 0;
  background: rgba(14, 165, 233, 0.3);
  filter: blur(24px);
  border-radius: 9999px;
  pointer-events: none;
}

.flow-steps {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4rem;
  flex-wrap: nowrap;
  position: relative;
  padding: 6rem 1rem;
}

.flow-arrow-svg {
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  height: 200px;
  transform: translateY(-50%);
  pointer-events: none;
  z-index: 0;
}

.flow-start-block {
  width: 5.5rem;
  height: 5.5rem;
  position: relative;
  flex-shrink: 0;
  z-index: 1;
  transition: transform 0.3s ease;
}

.flow-start-block:hover {
  transform: scale(1.1) rotate(5deg);
}

.mc-dirt-block {
  width: 100%;
  height: 100%;
  filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.5));
}

.block-glow {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle, rgba(14, 165, 233, 0.22) 0%, transparent 70%);
  filter: blur(10px);
  z-index: -1;
}

.flow-step {
  flex: 1;
  min-width: 240px;
  max-width: 300px;
  background: rgba(16, 24, 42, 0.88);
  border: 1px solid rgba(14, 165, 233, 0.16);
  border-radius: 1.5rem;
  padding: 3.5rem 2rem 2.5rem;
  text-align: center;
  position: relative;
  backdrop-filter: blur(20px);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
  z-index: 1;
  transition: all 0.3s ease;
  flex-shrink: 0;
}

.flow-step::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 1.5rem;
  background: linear-gradient(180deg, rgba(14, 165, 233, 0.1) 0%, transparent 40%);
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.flow-step:hover {
  transform: translateY(-8px) scale(1.02);
  border-color: rgba(14, 165, 233, 0.34);
  box-shadow: 0 15px 50px rgba(14, 165, 233, 0.16);
  z-index: 10;
}

.flow-step:hover::before {
  opacity: 1;
  background: linear-gradient(180deg, rgba(14, 165, 233, 0.17) 0%, transparent 50%);
}

.flow-step-icon {
  position: absolute;
  top: -1.75rem;
  left: 50%;
  transform: translateX(-50%);
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 1rem;
  background: #101827;
  border: 1px solid rgba(14, 165, 233, 0.24);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow:
    0 4px 16px rgba(0, 0, 0, 0.3),
    0 0 15px rgba(14, 165, 233, 0.12);
  transition: all 0.3s ease;
}

.flow-step-icon::before {
  content: "";
  position: absolute;
  inset: -4px;
  border-radius: inherit;
  border: 1px solid rgba(14, 165, 233, 0);
  transition: border-color 0.3s, box-shadow 0.3s;
}

.flow-step:hover .flow-step-icon {
  background: rgba(14, 165, 233, 0.12);
  border-color: rgba(14, 165, 233, 0.44);
  box-shadow: 0 0 20px rgba(14, 165, 233, 0.32);
}

.flow-step:hover .flow-step-icon::before {
  border-color: rgba(14, 165, 233, 0.32);
  box-shadow: 0 0 12px rgba(14, 165, 233, 0.22);
}

.flow-sprite {
  z-index: 2;
  filter:
    drop-shadow(0 0 6px rgba(14, 165, 233, 0.55))
    drop-shadow(0 0 20px rgba(14, 165, 233, 0.25))
    drop-shadow(0 5px 15px rgba(0, 0, 0, 0.3));
  animation: float-sprite 7s ease-in-out infinite;
}

.flow-sprite--steve {
  top: 0;
  left: 10px;
  --float-x: 0px;
  --float-y: -100%;
  --float-rotate: -5deg;
  animation-delay: 0.5s;
}

.flow-sprite--dragon {
  top: 22%;
  left: 63%;
  --float-x: 0px;
  --float-y: -100%;
  --float-rotate: 0deg;
  animation-delay: 1.2s;
}

.flow-step h3 {
  font-size: 1.0625rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  color: #fff;
}

.flow-step p {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.6;
  font-weight: 500;
}

.flow-end {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  flex-shrink: 0;
  z-index: 1;
}

.flow-end-icon {
  width: 4.5rem;
  height: 4.5rem;
  border-radius: 1.25rem;
  background: #101827;
  border: 1px solid rgba(14, 165, 233, 0.24);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 30px rgba(14, 165, 233, 0.22);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.flow-end:hover .flow-end-icon {
  transform: scale(1.1);
  box-shadow: 0 0 40px rgba(14, 165, 233, 0.42);
}

.migration-note {
  font-size: 0.8125rem;
  color: var(--muted);
  font-weight: 500;
  margin-top: 4rem;
  line-height: 1.6;
}

/* ─────────────────────────────────────────────
   Datacenters
───────────────────────────────────────────── */
.datacenters-section {
  position: relative;
  padding: 7rem 0 8rem;
  background: transparent;
  overflow: hidden;
}

.datacenters-section .section-title {
  background: linear-gradient(135deg, #ffffff 0%, #ffffff 45%, var(--brand) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-align: center;
}

.datacenters-section .section-sub {
  max-width: 42rem;
  margin: 1rem auto 0;
  color: rgba(255, 255, 255, 0.7);
  font-size: 1rem;
  line-height: 1.7;
  text-align: center;
}

.map-wrap {
  width: 100%;
  max-width: 70rem;
  margin: 3rem auto 0;
  z-index: 2;
}

.map-inner {
  position: relative;
  width: 100%;
  padding: 1.5rem;
  border: 1px solid rgba(14, 165, 233, 0.14);
  border-radius: 1.5rem;
  background: linear-gradient(180deg, rgba(10, 16, 30, 0.96), rgba(7, 11, 20, 0.98));
  box-shadow:
    0 24px 70px rgba(0, 0, 0, 0.38),
    inset 0 1px 0 rgba(255, 255, 255, 0.04);
  overflow: hidden;
}

.map-inner::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(rgba(255, 255, 255, 0.024) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.024) 1px, transparent 1px);
  background-size: 42px 42px;
  pointer-events: none;
  opacity: 0.65;
}

.map-glow {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 40%, rgba(14, 165, 233, 0.12), transparent 58%);
  pointer-events: none;
  z-index: 0;
}

.map-visual {
  position: relative;
  width: 100%;
  aspect-ratio: 2.15 / 1;
  z-index: 1;
}

.worldmap-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  opacity: 0.34;
  filter: saturate(0.9) brightness(1.02);
  pointer-events: none;
  user-select: none;
}

.map-dot {
  position: absolute;
  width: 14px;
  height: 14px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: var(--brand);
  box-shadow:
    0 0 0 4px rgba(14, 165, 233, 0.14),
    0 0 18px rgba(14, 165, 233, 0.9);
  transform: translate(-50%, -50%);
  transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
  animation: pulse-dot 2.4s infinite ease-in-out;
  z-index: 2;
}

.map-dot::after {
  content: "";
  position: absolute;
  inset: -7px;
  border: 1px solid rgba(14, 165, 233, 0.5);
  border-radius: 50%;
  opacity: 0;
  animation: radar-pulse 2.4s infinite ease-out;
}

.map-dot:hover,
.map-dot:focus-visible {
  transform: translate(-50%, -50%) scale(1.18);
  box-shadow:
    0 0 0 6px rgba(14, 165, 233, 0.16),
    0 0 24px rgba(14, 165, 233, 1);
  outline: none;
}

.map-dot.active {
  transform: translate(-50%, -50%) scale(1.2);
  animation: none;
  box-shadow:
    0 0 0 6px rgba(14, 165, 233, 0.22),
    0 0 30px rgba(14, 165, 233, 1);
}

.map-dot.active::after {
  opacity: 1;
}

.ping-box {
  position: relative;
  width: min(100%, 42rem);
  margin: 1.5rem auto 0;
  padding: 1.2rem;
  border: 1px solid rgba(14, 165, 233, 0.12);
  border-radius: 1.2rem;
  background: rgba(11, 18, 32, 0.92);
  box-shadow:
    0 18px 40px rgba(0, 0, 0, 0.26),
    inset 0 1px 0 rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(14px);
  z-index: 3;
}

.ping-box-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
}

.ping-title {
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.01em;
}

.ping-refresh {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.03);
  color: rgba(255, 255, 255, 0.52);
  font-size: 1rem;
  transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.ping-refresh:hover,
.ping-refresh:focus-visible {
  color: #fff;
  border-color: rgba(14, 165, 233, 0.22);
  background: rgba(14, 165, 233, 0.07);
  outline: none;
}

.ping-controls {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.select-wrap {
  position: relative;
}

.select-wrap select {
  width: 100%;
  appearance: none;
  border: 1px solid rgba(14, 165, 233, 0.12);
  border-radius: 0.95rem;
  background: rgba(19, 30, 48, 0.88);
  color: rgba(255, 255, 255, 0.82);
  padding: 0.95rem 2.8rem 0.95rem 1rem;
  font-size: 0.95rem;
  line-height: 1.2;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.select-wrap select:focus {
  outline: none;
  border-color: rgba(14, 165, 233, 0.3);
  box-shadow: 0 0 0 4px rgba(14, 165, 233, 0.1);
}

.select-wrap svg {
  position: absolute;
  top: 50%;
  right: 1rem;
  transform: translateY(-50%);
  pointer-events: none;
  color: rgba(255, 255, 255, 0.42);
}

.ping-controls .btn-primary {
  min-height: 3.15rem;
  padding: 0 1.25rem;
  border-radius: 0.95rem !important;
  white-space: nowrap;
}

.ping-result {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.1rem;
  border: 1px solid rgba(14, 165, 233, 0.08);
  border-radius: 1rem;
  background: rgba(7, 12, 22, 0.82);
}

.ping-wave {
  display: flex;
  align-items: flex-end;
  gap: 4px;
  min-width: 2rem;
}

.wave-bar {
  width: 3px;
  background: linear-gradient(180deg, #38bdf8, var(--brand));
  border-radius: 999px;
  animation: wave-pulse 1.5s ease-in-out infinite;
}

.wave-bar:nth-child(2) {
  animation-delay: 0.2s;
}

.wave-bar:nth-child(3) {
  animation-delay: 0.4s;
}

.wave-bar:nth-child(4) {
  animation-delay: 0.1s;
}

.ping-stats {
  display: flex;
  align-items: center;
  gap: 1.75rem;
}

.ping-stat {
  text-align: right;
}

.ping-stat-label {
  margin-bottom: 0.25rem;
  color: rgba(255, 255, 255, 0.42);
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.ping-stat-value {
  color: #fff;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: -0.01em;
}

/* ─────────────────────────────────────────────
   FAQ
───────────────────────────────────────────── */
.faq-wrap {
  width: 100%;
  max-width: 68rem;
  margin: 6rem auto 0;
}

.faq-title {
  margin-bottom: 2.5rem;
  text-align: center;
}

.faq-list {
  width: 100%;
  max-width: 44rem;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  text-align: left;
}

.faq-item {
  border-radius: 1rem;
  overflow: hidden;
  transition: transform 0.25s ease, background 0.3s ease, border-color 0.3s ease;
}

.faq-item:hover {
  transform: translateX(4px);
}

.faq-item--open {
  background: rgba(14, 31, 54, 0.92);
  border: 1px solid rgba(14, 165, 233, 0.42);
  box-shadow: 0 0 20px rgba(14, 165, 233, 0.08);
}

.faq-item:not(.faq-item--open) {
  background: rgba(16, 24, 42, 0.56);
  border: 1px solid rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(12px);
}

.faq-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 1.5rem;
  font-weight: 700;
  font-size: 0.9375rem;
  background: none;
  border: none;
  color: #fff;
  text-align: left;
  gap: 1rem;
}

.faq-btn svg {
  flex-shrink: 0;
  transition: transform 0.35s ease, stroke 0.25s ease;
}

.faq-item--open .faq-btn svg {
  transform: rotate(180deg);
  stroke: #38bdf8;
}

.faq-item:not(.faq-item--open) .faq-btn {
  color: rgba(255, 255, 255, 0.8);
}

.faq-answer {
  padding: 0 1.5rem;
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, opacity 0.3s ease, padding 0.3s ease;
  font-size: 0.875rem;
  color: #7dd3fc;
  line-height: 1.7;
  font-weight: 500;
}

.faq-item--open .faq-answer {
  max-height: 520px;
  padding-bottom: 1.5rem;
  opacity: 1;
}

/* ─────────────────────────────────────────────
   Articles
───────────────────────────────────────────── */
.articles-section {
  position: relative;
  padding: 9rem 0;
  overflow: hidden;
}

.articles-header {
  margin-bottom: 4rem;
}

.articles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
  position: relative;
  z-index: 2;
}

.article-card {
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: linear-gradient(180deg, rgba(10, 18, 35, 0.92) 0%, rgba(5, 10, 20, 0.96) 100%);
  border-radius: 28px;
  color: #fff;
  transition: transform 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease, background 0.35s ease;
}

.article-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(44, 212, 199, 0.08), transparent 45%);
  opacity: 0;
  transition: opacity 0.35s ease;
  pointer-events: none;
}

.article-card:hover {
  transform: translateY(-8px);
  border-color: rgba(44, 212, 199, 0.28);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.45), 0 0 40px rgba(44, 212, 199, 0.12);
}

.article-card:hover::before {
  opacity: 1;
}

.article-thumb-wrap {
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.article-thumb {
  width: 100%;
  height: 230px;
  object-fit: cover;
  transition: transform 0.5s ease, filter 0.5s ease;
}

.article-card:hover .article-thumb {
  transform: scale(1.04);
  filter: brightness(1.05);
}

.article-badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background: rgba(8, 15, 28, 0.8);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(44, 212, 199, 0.25);
  color: #2cd4c7;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  padding: 0.55rem 0.8rem;
  border-radius: 999px;
}

.article-time {
  position: absolute;
  right: 1rem;
  bottom: 1rem;
  background: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.85);
  padding: 0.5rem 0.75rem;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 600;
}

.article-body {
  padding: 1.6rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.article-meta {
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
  margin-bottom: 1rem;
}

.article-meta span {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #7dd3fc;
  background: rgba(14, 165, 233, 0.08);
  border: 1px solid rgba(14, 165, 233, 0.15);
  padding: 0.45rem 0.7rem;
  border-radius: 999px;
}

.article-body h3 {
  font-size: 1.4rem;
  line-height: 1.25;
  font-weight: 800;
  margin-bottom: 1rem;
  color: #fff;
}

.article-body p {
  color: rgba(255, 255, 255, 0.68);
  line-height: 1.7;
  font-size: 0.98rem;
  margin-bottom: 1.8rem;
}

.article-footer {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #2cd4c7;
  font-weight: 700;
  font-size: 0.95rem;
}

.article-footer svg {
  transition: transform 0.3s ease;
}

.article-card:hover .article-footer svg {
  transform: translateX(4px) translateY(-4px);
}

.article-card--placeholder {
  justify-content: center;
  min-height: 100%;
}

.article-placeholder-glow {
  position: absolute;
  width: 220px;
  height: 220px;
  background: radial-gradient(circle, rgba(44, 212, 199, 0.16) 0%, transparent 70%);
  top: -60px;
  right: -60px;
  pointer-events: none;
}

.article-icon {
  width: 72px;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(14, 165, 233, 0.12), rgba(14, 165, 233, 0.04));
  border: 1px solid rgba(14, 165, 233, 0.14);
  margin: 1.8rem 1.8rem 0;
}

/* ─────────────────────────────────────────────
   Footer
───────────────────────────────────────────── */
.footer {
  background: var(--surface);
  border-top: 1px solid rgba(14, 165, 233, 0.1);
  padding: 5rem 0 2rem;
  position: relative;
  margin-top: 5rem;
}

.footer-glow-line {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 56rem;
  height: 1px;
  background: linear-gradient(to right, transparent, rgba(14, 165, 233, 0.26), transparent);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
  gap: 2.5rem;
  margin-bottom: 4rem;
}

.footer-logo-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.footer-desc {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.6;
  font-weight: 500;
  max-width: 16rem;
  margin-bottom: 1.5rem;
}

.footer-socials {
  display: flex;
  gap: 0.75rem;
}

.social-icon {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--brand);
  color: #06101f;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 15px rgba(14, 165, 233, 0.34);
  transition: filter 0.2s, transform 0.2s;
}

.social-icon:hover {
  filter: brightness(1.1);
  transform: translateY(-1px);
}

.footer-col h4 {
  font-size: 0.8125rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 1.25rem;
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 0.875rem;
}

.footer-col a {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.6);
  font-weight: 500;
  transition: color 0.2s;
}

.footer-col a:hover {
  color: var(--brand);
}

.footer-bottom {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  position: relative;
}

.footer-bottom-line {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 28rem;
  height: 2px;
  background: linear-gradient(to right, transparent, rgba(14, 165, 233, 0.35), transparent);
  box-shadow: 0 0 15px rgba(14, 165, 233, 0.55);
}

.footer-bottom p {
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.4);
  font-weight: 500;
  margin-top: 1rem;
}

/* ─────────────────────────────────────────────
   Dev Lock
───────────────────────────────────────────── */
.dev-lock-overlay {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: none;
  place-items: center;
  padding: 1rem;
  background: rgba(3, 7, 18, 0.78);
  backdrop-filter: blur(10px);
}

.dev-lock-overlay.show {
  display: grid;
}

.dev-lock-modal {
  width: min(420px, 100%);
  padding: 28px;
  border-radius: 22px;
  background: rgba(16, 24, 42, 0.96);
  border: 1px solid rgba(239, 68, 68, 0.28);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.55);
  color: #fff;
  font-family: Inter, system-ui, sans-serif;
}

.dev-lock-modal h3 {
  margin: 0 0 8px;
  font-size: 1.35rem;
  font-weight: 800;
}

.dev-lock-modal p {
  margin: 0 0 18px;
  color: rgba(255, 255, 255, 0.62);
  line-height: 1.5;
  font-size: 0.95rem;
}

.dev-lock-input {
  width: 100%;
  padding: 14px 16px;
  border-radius: 14px;
  border: 1px solid rgba(239, 68, 68, 0.25);
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  outline: none;
}

.dev-lock-input:focus {
  border-color: rgba(239, 68, 68, 0.65);
  box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.12);
}

.dev-lock-error {
  min-height: 20px;
  margin-top: 10px;
  color: #f87171;
  font-size: 0.9rem;
  font-weight: 600;
}

.dev-lock-actions {
  display: flex;
  gap: 12px;
  margin-top: 18px;
}

.dev-lock-actions button {
  flex: 1;
  border-radius: 14px;
  padding: 13px 16px;
  font-weight: 700;
}

.dev-lock-cancel {
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.86);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.dev-lock-cancel:hover {
  background: rgba(255, 255, 255, 0.09);
}

.dev-lock-submit {
  background: #ef4444;
  color: #fff;
  border: 1px solid #ef4444;
}

.dev-lock-submit:hover {
  background: #f87171;
  border-color: #f87171;
}

/* ─────────────────────────────────────────────
   SVG Recolor Helpers
───────────────────────────────────────────── */
svg[stroke="#2cd4c7"] {
  stroke: var(--brand) !important;
}

svg[fill="#2cd4c7"] {
  fill: var(--brand) !important;
}

/* ─────────────────────────────────────────────
   Reveal
───────────────────────────────────────────── */
[data-reveal] {
  opacity: 0;
  transform: translateY(36px);
  transition:
    opacity 0.75s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.75s cubic-bezier(0.16, 1, 0.3, 1);
}

[data-reveal].revealed {
  opacity: 1;
  transform: translateY(0);
}

[data-reveal][data-delay="1"] {
  transition-delay: 0.1s;
}

[data-reveal][data-delay="2"] {
  transition-delay: 0.2s;
}

[data-reveal][data-delay="3"] {
  transition-delay: 0.3s;
}

[data-reveal][data-delay="4"] {
  transition-delay: 0.4s;
}

[data-reveal][data-delay="5"] {
  transition-delay: 0.5s;
}

[data-reveal="left"] {
  transform: translateX(-40px);
}

[data-reveal="left"].revealed {
  transform: translateX(0);
}

[data-reveal="right"] {
  transform: translateX(40px);
}

[data-reveal="right"].revealed {
  transform: translateX(0);
}

[data-reveal="scale"] {
  transform: scale(0.92);
}

[data-reveal="scale"].revealed {
  transform: scale(1);
}

/* ─────────────────────────────────────────────
   Animations
───────────────────────────────────────────── */
@keyframes fadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes hero-float-1 {
  0%,
  100% {
    transform: translateY(0) rotate(1deg);
  }

  50% {
    transform: translateY(-20px) rotate(-1deg);
  }
}

@keyframes hero-float-2 {
  0%,
  100% {
    transform: translateY(0) rotate(-1deg);
  }

  50% {
    transform: translateY(-15px) rotate(1deg);
  }
}

@keyframes hero-float-3 {
  0%,
  100% {
    transform: translateY(0) rotate(1deg);
  }

  50% {
    transform: translateY(-12px) rotate(-2deg);
  }
}

@keyframes hero-float-dragon {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-25px);
  }
}

@keyframes hero-float-extra {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-18px);
  }
}

@keyframes stats-border-pulse {
  0%,
  100% {
    border-color: rgba(14, 165, 233, 0.16);
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.4), 0 0 0 0 rgba(14, 165, 233, 0);
  }

  50% {
    border-color: rgba(14, 165, 233, 0.48);
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.4), 0 0 18px 2px rgba(14, 165, 233, 0.2);
  }
}

@keyframes stats-energy-sweep {
  to {
    --angle: 360deg;
  }
}

@keyframes orb-travel {
  0% {
    offset-distance: 0%;
  }

  100% {
    offset-distance: 100%;
  }
}

@keyframes badge-shine {
  0% {
    transform: translateX(-120%);
  }

  35% {
    transform: translateX(140%);
  }

  100% {
    transform: translateX(140%);
  }
}

@keyframes sparkle {
  0%,
  100% {
    opacity: 0.2;
    transform: scale(1);
  }

  50% {
    opacity: 1;
    transform: scale(1.6);
    box-shadow: 0 0 16px #38bdf8, 0 0 32px rgba(14, 165, 233, 0.9);
  }
}

@keyframes ring-pulse {
  0%,
  100% {
    box-shadow: 0 0 20px rgba(14, 165, 233, 0.16), 0 0 40px rgba(37, 99, 235, 0.09);
  }

  50% {
    box-shadow: 0 0 40px rgba(14, 165, 233, 0.34), 0 0 80px rgba(37, 99, 235, 0.18);
  }
}

@keyframes shoot {
  0% {
    opacity: 0;
    transform: translateX(0) translateY(0) rotate(35deg);
  }

  2% {
    opacity: 1;
  }

  5% {
    opacity: 0;
    transform: translateX(800px) translateY(560px) rotate(35deg);
  }

  100% {
    opacity: 0;
  }
}

@keyframes pulse {
  0%,
  100% {
    opacity: 0.6;
  }

  50% {
    opacity: 1;
  }
}

@keyframes modern-drift {
  0% {
    transform: scale(1.02) translate(0, 0);
  }

  33% {
    transform: scale(1.06) translate(1.5%, 1%);
  }

  66% {
    transform: scale(1.04) translate(-1.5%, 0.5%);
  }

  100% {
    transform: scale(1.02) translate(0, 0);
  }
}

@keyframes float-sprite {
  0%,
  100% {
    transform:
      translate(var(--float-x, 0px), var(--float-y, 0px))
      rotate(var(--float-rotate, 0deg))
      scale(var(--float-scale, 1));
  }

  50% {
    transform:
      translate(var(--float-x, 0px), calc(var(--float-y, 0px) - 20px))
      rotate(var(--float-rotate, 0deg))
      scale(var(--float-scale, 1));
  }
}

@keyframes bg-pan {
  0% {
    transform: scale(1.05) translate(0, 0);
  }

  100% {
    transform: scale(1.05) translate(-1.5%, 2%);
  }
}

@keyframes bg-pan-alt {
  0% {
    transform: scale(1.05) translate(0, 0);
  }

  100% {
    transform: scale(1.05) translate(2%, -1.5%);
  }
}

@keyframes page-enter {
  from {
    opacity: 0;
    transform: translateY(12px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes page-enter-nav {
  from {
    opacity: 0;
    transform: translate(-50%, 12px);
  }

  to {
    opacity: 1;
    transform: translate(-50%, 0);
  }
}

@keyframes btn-shimmer {
  0% {
    left: -100%;
  }

  30% {
    left: 150%;
  }

  100% {
    left: 150%;
  }
}

@keyframes pulse-dot {
  0% {
    transform: translate(-50%, -50%) scale(1);
    opacity: 0.82;
    box-shadow:
      0 0 0 4px rgba(14, 165, 233, 0.1),
      0 0 10px rgba(14, 165, 233, 0.45);
  }

  50% {
    transform: translate(-50%, -50%) scale(1.18);
    opacity: 1;
    box-shadow:
      0 0 0 6px rgba(14, 165, 233, 0.16),
      0 0 22px rgba(14, 165, 233, 0.95);
  }

  100% {
    transform: translate(-50%, -50%) scale(1);
    opacity: 0.82;
    box-shadow:
      0 0 0 4px rgba(14, 165, 233, 0.1),
      0 0 10px rgba(14, 165, 233, 0.45);
  }
}

@keyframes radar-pulse {
  0% {
    transform: scale(0.55);
    opacity: 0.95;
  }

  100% {
    transform: scale(2.7);
    opacity: 0;
  }
}

@keyframes wave-pulse {
  0%,
  100% {
    opacity: 0.45;
    transform: scaleY(0.7);
  }

  50% {
    opacity: 1;
    transform: scaleY(1.18);
  }
}

/* ─────────────────────────────────────────────
   Responsive
───────────────────────────────────────────── */
@media (max-width: 1280px) {
  .flow-steps {
    flex-wrap: wrap;
    gap: 2rem;
  }

  .flow-arrow-svg,
  .flow-sprite {
    display: none;
  }
}

@media (max-width: 1100px) {
  .features-grid {
    grid-template-columns: 1fr;
  }

  .pricing-grid {
    grid-template-columns: 1fr;
    max-width: 34rem;
    margin-inline: auto;
  }

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

@media (max-width: 980px) {
  .navbar {
    top: 0.9rem;
    width: calc(100% - 1.5rem);
    border-radius: 22px;
  }

  .nav-inner {
    grid-template-columns: auto auto;
    justify-content: space-between;
    padding: 0.7rem 0.85rem;
    gap: 0.75rem;
  }

  .nav-links {
    display: none;
  }

  .nav-name {
    font-size: 1rem;
  }

  .nav-actions {
    gap: 0.45rem;
  }

  .region-trigger {
    height: 34px;
    padding: 0 0.6rem;
    font-size: 0.75rem;
  }

  .nav-login {
    display: none;
  }

  .hero {
    min-height: auto;
    padding-top: 7rem;
  }

  .hero-content {
    padding: 4rem 1rem 5rem;
  }

  .hero-title {
    font-size: clamp(2.6rem, 9vw, 4.2rem);
    margin-bottom: 2rem;
  }

  .hero-subtitle {
    font-size: 1rem;
    line-height: 1.7;
    max-width: 95%;
    margin-top: 1.25rem;
  }

  .hero-buttons {
    width: 100%;
    gap: 0.8rem;
    margin-bottom: 3rem;
  }

  .hero-buttons .btn-primary,
  .hero-buttons .btn-ghost {
    width: 100%;
    justify-content: center;
  }

  .stats-inner {
    flex-wrap: wrap;
    padding: 1rem 1.1rem;
  }

  .stat-item {
    min-width: calc(50% - 0.5rem);
    justify-content: flex-start;
  }

  .stat-divider {
    display: none;
  }

  .dashboard-arrow {
    display: none;
  }

  .map-wrap {
    margin-top: 2.5rem;
  }

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

@media (max-width: 768px) {
  html,
  body {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
  }

  #cursor-glow {
    display: none;
  }

  .container,
  .container-wide {
    width: calc(100% - 2rem);
  }

  .hero-float-img {
    max-width: none;
    opacity: 0.45;
  }

  .hero-img-1 {
    left: -38vw;
    bottom: -4vh;
    width: 78vw;
    min-width: 0;
  }

  .hero-img-2 {
    right: -38vw;
    bottom: 0;
    width: 74vw;
    min-width: 0;
  }

  .hero-img-3 {
    right: -18vw;
    top: 16vh;
    width: 48vw;
    min-width: 0;
  }

  .hero-img-dragon {
    left: -10vw;
    top: 10vh;
    width: 62vw;
    min-width: 0;
    opacity: 0.35;
  }

  .hero-img-extra {
    display: none;
  }

  .stats-bar-wrap {
    max-width: 100%;
  }

  .stats-bar {
    border-radius: 1rem;
  }

  .stats-inner {
    flex-direction: column;
    align-items: stretch;
    gap: 1rem;
    padding: 1rem;
  }

  .stat-item {
    min-width: 100%;
  }

  .features-section,
  .dashboard-section,
  .datacenters-section,
  .articles-section {
    padding: 5rem 0;
    overflow: hidden;
  }

  .feature-card,
  .pricing-card,
  .flow-step {
    border-radius: 1.25rem;
  }

  .dashboard-wrap {
    max-width: 100%;
  }

  .dashboard-preview {
    border-radius: 1.25rem;
  }

  .win-sprite,
  .dash-sprite,
  .sprite,
  .flow-sprite,
  .shooting-star {
    display: none;
  }

  .flow-steps {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2.5rem;
    padding: 3rem 0;
  }

  .flow-step {
    width: min(100%, 420px);
    max-width: 420px;
    min-width: 0;
    margin-inline: auto;
    text-align: center;
  }

  .flow-start-block,
  .flow-end {
    margin-inline: auto;
  }

  .map-inner {
    border-radius: 1rem;
  }

  .map-visual {
    aspect-ratio: 1.75 / 1;
  }

  .worldmap-img {
    opacity: 0.26;
  }

  .map-dot {
    width: 12px;
    height: 12px;
  }

  .ping-box {
    width: 100%;
    margin-top: 1rem;
    padding: 1rem;
    border-radius: 1rem;
  }

  .ping-controls {
    grid-template-columns: 1fr;
  }

  .ping-result {
    flex-direction: column;
    gap: 1rem;
    align-items: flex-start;
  }

  .ping-stats {
    width: 100%;
    justify-content: space-between;
  }

  .ping-stat {
    text-align: left;
  }

  .faq-wrap {
    margin-top: 4rem;
  }

  .faq-item:hover {
    transform: none;
  }

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

  .dev-lock-actions {
    flex-direction: column;
  }
}

@media (max-width: 640px) {
  .navbar {
    top: 0.75rem;
    width: calc(100% - 1rem);
    border-radius: 1.25rem;
  }

  .nav-inner {
    padding: 0.6rem 0.75rem;
  }

  .region-menu {
    width: min(290px, calc(100vw - 1.5rem));
    right: -0.25rem;
  }

  .section-title {
    font-size: clamp(1.9rem, 10vw, 2.6rem);
  }

  .hero-content {
    padding: 3rem 1rem 4rem;
  }

  .price-amount {
    font-size: clamp(2.1rem, 11vw, 2.6rem);
  }

  .pricing-name {
    font-size: 1.45rem;
  }

  .article-thumb {
    height: 210px;
  }

  .article-body {
    padding: 1.3rem;
  }

  .article-body h3 {
    font-size: 1.15rem;
  }

  .article-body p {
    font-size: 0.93rem;
  }

  .article-badge,
  .article-time {
    font-size: 0.72rem;
  }

  .migration-note br {
    display: none;
  }
}

@media (max-width: 480px) {
  .container,
  .container-wide {
    width: calc(100% - 1.5rem);
  }

  .hero-buttons .btn-primary,
  .hero-buttons .btn-ghost {
    min-height: 52px;
  }

  .feature-card,
  .pricing-card,
  .flow-step,
  .article-body,
  .ping-box,
  .region-menu-inner,
  .dev-lock-modal {
    padding-left: 1.1rem;
    padding-right: 1.1rem;
  }

  .dashboard-preview,
  .map-inner {
    padding: 0.75rem;
  }

  .dashboard-img {
    border-radius: 14px;
  }

  .pricing-features li {
    font-size: 0.9rem;
  }

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

@media (prefers-reduced-motion: reduce) {
  .map-dot,
  .map-dot::after,
  .wave-bar {
    animation: none !important;
    transition: none !important;
  }
}