/* ========================================
   VPSCenter - Design System & Styles
   ======================================== */

/* ---------- Google Fonts ---------- */
@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;700&family=Space+Grotesk:wght@400;500;600;700&display=swap');

/* ---------- CSS Variables ---------- */
:root {
  /* Colors - Dark Mode (default) */
  --color-bg: #0F172A;
  --color-bg-elevated: #1E293B;
  --color-bg-card: #1E293B;
  --color-bg-card-hover: #253449;
  --color-surface: #334155;
  --color-border: #334155;
  --color-border-hover: #475569;
  --color-text: #F8FAFC;
  --color-text-secondary: #94A3B8;
  --color-text-muted: #64748B;
  --color-cta: #22C55E;
  --color-cta-hover: #16A34A;
  --color-accent-blue: #3B82F6;
  --color-accent-amber: #F59E0B;
  --color-accent-red: #EF4444;
  --color-accent-purple: #8B5CF6;
  --color-accent-cyan: #06B6D4;
  --color-glass: rgba(15, 23, 42, 0.8);
  --color-glass-border: rgba(148, 163, 184, 0.15);
  --color-glow: rgba(34, 197, 94, 0.15);
  --color-glow-blue: rgba(59, 130, 246, 0.15);
  --color-shimmer: rgba(255, 255, 255, 0.12);

  /* Typography */
  --font-heading: 'Space Grotesk', system-ui, sans-serif;
  --font-body: 'DM Sans', system-ui, sans-serif;

  /* Spacing */
  --space-xs: 4px;
  --space-sm: 8px;
  --space-md: 16px;
  --space-lg: 24px;
  --space-xl: 32px;
  --space-2xl: 48px;
  --space-3xl: 64px;
  --space-4xl: 96px;

  /* Radius */
  --radius-sm: 6px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-xl: 16px;
  --radius-pill: 100px;

  /* Shadows */
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.3);
  --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.4);
  --shadow-glow: 0 0 20px var(--color-glow);
  --shadow-glow-blue: 0 0 20px var(--color-glow-blue);

  /* Transitions */
  --transition-fast: 150ms ease-out;
  --transition-base: 250ms ease-out;
  --transition-slow: 400ms ease-out;

  /* Layout */
  --nav-height: 72px;
  --max-width: 1280px;
}

/* Light Mode */
[data-theme="light"] {
  --color-bg: #F1F5F9;
  --color-bg-elevated: #FFFFFF;
  --color-bg-card: #FFFFFF;
  --color-bg-card-hover: #F8FAFC;
  --color-surface: #E2E8F0;
  --color-border: #CBD5E1;
  --color-border-hover: #94A3B8;
  --color-text: #0F172A;
  --color-text-secondary: #475569;
  --color-text-muted: #64748B;
  --color-glass: rgba(255, 255, 255, 0.85);
  --color-glass-border: rgba(148, 163, 184, 0.25);
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.08);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.12);
  --color-shimmer: rgba(34, 197, 94, 0.15);
}

/* ---------- Reset & Base ---------- */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-height) + 32px);
}

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--color-text);
  background-color: var(--color-bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
}

a {
  text-decoration: none;
  color: var(--color-accent-blue);
  transition: color var(--transition-fast);
}
a:hover { color: var(--color-cta); }

img { max-width: 100%; display: block; }
button { cursor: pointer; font-family: var(--font-body); }
input, select { font-family: var(--font-body); }

/* Screen reader only */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ---------- Utility Classes ---------- */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--space-lg);
}

.section-title {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  margin-bottom: var(--space-sm);
  color: var(--color-text);
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--color-text-secondary);
  max-width: 600px;
}

.section-header {
  text-align: center;
  margin-bottom: var(--space-2xl);
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-xs);
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  font-size: 0.75rem;
  font-weight: 600;
  white-space: nowrap;
}

.badge--green {
  background: rgba(34, 197, 94, 0.15);
  color: #4ADE80;
}
[data-theme="light"] .badge--green {
  background: rgba(34, 197, 94, 0.12);
  color: #16A34A;
}

.badge--blue {
  background: rgba(59, 130, 246, 0.15);
  color: #60A5FA;
}
[data-theme="light"] .badge--blue {
  background: rgba(59, 130, 246, 0.12);
  color: #2563EB;
}

.badge--amber {
  background: rgba(245, 158, 11, 0.15);
  color: #FBBF24;
}
[data-theme="light"] .badge--amber {
  background: rgba(245, 158, 11, 0.12);
  color: #D97706;
}

.badge--red {
  background: rgba(239, 68, 68, 0.15);
  color: #F87171;
}
[data-theme="light"] .badge--red {
  background: rgba(239, 68, 68, 0.12);
  color: #DC2626;
}

.badge--purple {
  background: rgba(139, 92, 246, 0.15);
  color: #A78BFA;
}
[data-theme="light"] .badge--purple {
  background: rgba(139, 92, 246, 0.12);
  color: #7C3AED;
}

.badge--gray {
  background: var(--color-surface);
  color: var(--color-text-secondary);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  padding: 10px 24px;
  border-radius: var(--radius-md);
  font-size: 0.875rem;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: all var(--transition-base);
  white-space: nowrap;
}

.btn--cta {
  background: var(--color-cta);
  color: #FFFFFF;
  position: relative;
  overflow: hidden;
  box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.4);
}

/* Shiny hover sweep for CTA button */
.btn--cta::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 50%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
  transform: skewX(-20deg);
  transition: none;
  pointer-events: none;
}

.btn--cta:hover {
  background: var(--color-cta-hover);
  color: #FFFFFF;
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 6px 20px rgba(34, 197, 94, 0.4);
}

.btn--cta:hover::after {
  animation: btn-shine 1s cubic-bezier(0.4, 0, 0.2, 1) infinite;
}

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

.btn--outline {
  background: transparent;
  color: var(--color-text);
  border: 1px solid var(--color-border);
}
.btn--outline:hover {
  border-color: var(--color-cta);
  color: var(--color-cta);
  background: rgba(34, 197, 94, 0.05);
}

.btn--ghost {
  background: transparent;
  color: var(--color-text-secondary);
  padding: 8px 16px;
}
.btn--ghost:hover {
  color: var(--color-text);
  background: var(--color-surface);
}

.btn--sm {
  padding: 6px 16px;
  font-size: 0.8125rem;
}

.btn--icon {
  width: 40px;
  height: 40px;
  padding: 0;
  border-radius: var(--radius-md);
}

/* ---------- Navigation ---------- */
.navbar {
  position: fixed;
  top: 12px;
  left: 12px;
  right: 12px;
  z-index: 1000;
  background: var(--color-glass);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--color-glass-border);
  border-radius: var(--radius-xl);
  padding: 0 var(--space-lg);
  height: var(--nav-height);
  transition: all var(--transition-base);
}

.navbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
}

.navbar__brand {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-text);
}
.navbar__brand:hover { color: var(--color-text); }

.navbar__logo {
  width: 36px;
  height: 36px;
  background: linear-gradient(135deg, var(--color-cta), var(--color-accent-cyan));
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #FFF;
  font-weight: 700;
  font-size: 1rem;
  position: relative;
  overflow: hidden;
}

/* Logo shimmer sweep */
.navbar__logo::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -75%;
  width: 50%;
  height: 200%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.35), transparent);
  transform: skewX(-20deg);
  animation: logo-shimmer 4s ease-in-out infinite;
}

@keyframes logo-shimmer {
  0%, 100% { left: -75%; opacity: 0; }
  15% { opacity: 1; }
  30% { left: 125%; opacity: 0; }
  31%, 100% { left: -75%; opacity: 0; }
}

.navbar__links {
  display: flex;
  align-items: center;
  gap: var(--space-xs);
  list-style: none;
}

.navbar__link {
  padding: 8px 16px;
  border-radius: var(--radius-md);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--color-text-secondary);
  transition: all var(--transition-fast);
  cursor: pointer;
}
.navbar__link:hover {
  color: var(--color-text);
  background: var(--color-surface);
}
.navbar__link.active {
  color: var(--color-cta);
  background: rgba(34, 197, 94, 0.1);
}

.nav-hot-icon {
  position: absolute;
  top: -2px;
  right: 0px;
  font-size: 14px;
  animation: fire-pulse 1.2s ease-in-out infinite alternate;
  pointer-events: none;
  transform-origin: bottom center;
}

@keyframes fire-pulse {
  0% { transform: scale(1) rotate(-5deg); filter: drop-shadow(0 0 2px rgba(255, 87, 34, 0.4)); }
  100% { transform: scale(1.25) rotate(5deg); filter: drop-shadow(0 0 6px rgba(255, 87, 34, 0.8)); }
}

.navbar__actions {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

.theme-toggle {
  width: 40px;
  height: 40px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  background: transparent;
  color: var(--color-text-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-fast);
}
.theme-toggle:hover {
  color: var(--color-accent-amber);
  border-color: var(--color-accent-amber);
  background: rgba(245, 158, 11, 0.1);
}

.mobile-menu-toggle {
  display: none;
  width: 40px;
  height: 40px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  background: transparent;
  color: var(--color-text);
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 4px;
}
.mobile-menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
  transition: all var(--transition-fast);
}

/* Mobile menu */
.mobile-nav {
  display: none;
  position: fixed;
  top: calc(var(--nav-height) + 24px);
  left: 12px;
  right: 12px;
  background: var(--color-glass);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--color-glass-border);
  border-radius: var(--radius-xl);
  padding: var(--space-lg);
  z-index: 999;
  flex-direction: column;
  gap: var(--space-sm);
}
.mobile-nav.open { display: flex; }

.mobile-nav__link {
  display: block;
  padding: 12px 16px;
  border-radius: var(--radius-md);
  font-size: 1rem;
  font-weight: 500;
  color: var(--color-text-secondary);
  transition: all var(--transition-fast);
  cursor: pointer;
}
.mobile-nav__link:hover {
  color: var(--color-text);
  background: var(--color-surface);
}

/* ---------- Hero Section ---------- */
.hero {
  position: relative;
  padding: calc(var(--nav-height) + 60px) 0 80px;
  overflow: hidden;
  min-height: 85vh;
  display: flex;
  align-items: center;
}

/* Animated gradient background */
.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

.hero__bg::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background:
    radial-gradient(ellipse 600px 400px at 20% 30%, rgba(34, 197, 94, 0.18), transparent),
    radial-gradient(ellipse 500px 500px at 80% 20%, rgba(59, 130, 246, 0.15), transparent),
    radial-gradient(ellipse 400px 300px at 60% 80%, rgba(139, 92, 246, 0.12), transparent);
  animation: heroGlow 20s ease-in-out infinite alternate;
}

@keyframes heroGlow {
  0% { transform: translate(0, 0) scale(1) rotate(0deg); }
  33% { transform: translate(-4%, -3%) scale(1.15) rotate(2deg); }
  66% { transform: translate(4%, 3%) scale(0.95) rotate(-2deg); }
  100% { transform: translate(-2%, 4%) scale(1.1) rotate(1deg); }
}

/* Grid pattern overlay */
.hero__grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--color-border) 1px, transparent 1px),
    linear-gradient(90deg, var(--color-border) 1px, transparent 1px);
  background-size: 60px 60px;
  opacity: 0.15;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 40%, black, transparent);
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 40%, black, transparent);
  animation: grid-pan 30s linear infinite;
}

@keyframes grid-pan {
  0% { background-position: 0 0; }
  100% { background-position: -60px -60px; }
}

/* Floating dots */
.hero__dots {
  position: absolute;
  inset: 0;
  overflow: hidden;
}
.hero__dot {
  position: absolute;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--color-cta);
  opacity: 0.5;
  box-shadow: 0 0 12px currentColor;
  animation: float 8s ease-in-out infinite;
}
.hero__dot:nth-child(1) { top: 20%; left: 10%; animation-delay: 0s; }
.hero__dot:nth-child(2) { top: 60%; left: 85%; animation-delay: 1s; animation-duration: 9s; }
.hero__dot:nth-child(3) { top: 80%; left: 30%; animation-delay: 2s; background: var(--color-accent-blue); }
.hero__dot:nth-child(4) { top: 15%; left: 70%; animation-delay: 3s; background: var(--color-accent-purple); animation-duration: 7s; }
.hero__dot:nth-child(5) { top: 45%; left: 50%; animation-delay: 1.5s; background: var(--color-accent-cyan); }
.hero__dot:nth-child(6) { top: 70%; left: 60%; animation-delay: 4s; }

@keyframes float {
  0%, 100% { transform: translate(0, 0) scale(1); opacity: 0.4; }
  33% { transform: translate(15px, -25px) scale(1.3); opacity: 0.8; }
  66% { transform: translate(-10px, -15px) scale(1.1); opacity: 0.6; }
}

.hero__content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
  padding: 0 var(--space-lg);
}

.hero__badge {
  display: inline-flex;
  animation: hero-fade-up 0.8s cubic-bezier(0.16, 1, 0.3, 1) both;
  animation-delay: 0.1s;
  align-items: center;
  gap: var(--space-sm);
  padding: 6px 20px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--color-border);
  background: var(--color-bg-elevated);
  font-size: 0.8125rem;
  color: var(--color-text-secondary);
  margin-bottom: var(--space-lg);
}

.hero__badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--color-cta);
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.8); }
}

.hero__title {
  animation: hero-fade-up 0.8s cubic-bezier(0.16, 1, 0.3, 1) both;
  animation-delay: 0.2s;
  font-size: clamp(2.5rem, 6vw, 4rem);
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: var(--space-lg);
  background: linear-gradient(135deg, var(--color-text) 0%, var(--color-text-secondary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero__title-accent {
  background: linear-gradient(to right, var(--color-cta) 20%, var(--color-accent-cyan) 40%, var(--color-cta) 60%, var(--color-accent-blue) 80%, var(--color-cta) 100%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: text-shine 4s linear infinite;
}

@keyframes text-shine {
  to { background-position: 200% center; }
}



@keyframes hero-fade-up {
  0% {
    opacity: 0;
    transform: translateY(30px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero__desc {
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: var(--color-text-secondary);
  margin-bottom: var(--space-xl);
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  animation: hero-fade-up 0.8s cubic-bezier(0.16, 1, 0.3, 1) both;
  animation-delay: 0.3s;
}

/* Stats */
.hero__stats {
  display: flex;
  justify-content: center;
  gap: var(--space-2xl);
  margin-top: var(--space-2xl);
  padding-top: var(--space-xl);
  border-top: 1px solid var(--color-border);
  animation: hero-fade-up 0.8s cubic-bezier(0.16, 1, 0.3, 1) both;
  animation-delay: 0.4s;
}

.hero__stat-value {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 700;
  color: var(--color-text);
  line-height: 1;
}

.hero__stat-label {
  font-size: 0.8125rem;
  color: var(--color-text-muted);
  margin-top: var(--space-xs);
}

/* ---------- Quick Links Section ---------- */
.quick-links-section {
  padding: var(--space-xl) 0 var(--space-lg);
  border-bottom: 1px solid var(--color-border);
}

.quick-links {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-md);
  justify-content: center;
}

.quick-link-btn {
  font-size: 0.9375rem;
  font-weight: 500;
  padding: 10px 22px;
  border-radius: var(--radius-pill);
  border-width: 1px;
  background: var(--color-surface);
  box-shadow: var(--shadow-sm);
  opacity: 0;
  transform: translateY(16px) scale(0.95);
  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.quick-link-btn.entrance-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}
.quick-link-btn:hover {
  transform: translateY(-3px) scale(1.03);
  box-shadow: var(--shadow-md);
  border-color: var(--color-cta);
  color: var(--color-cta);
}

/* ---------- Vendor Sections ---------- */
#vendorSections {
  padding-bottom: var(--space-4xl);
}

.vendor-section {
  padding: var(--space-3xl) 0;
  border-bottom: 1px solid var(--color-border);
}

.vendor-section.section-alt {
  background: var(--color-bg-card);
}

.vendor-header {
  display: flex;
  align-items: center;
  gap: var(--space-lg);
  margin-bottom: var(--space-xl);
}

.vendor-header__logo {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.25rem;
  flex-shrink: 0;
  box-shadow: var(--shadow-sm);
}

.vendor-header__info h3 {
  font-size: 1.5rem;
  margin-bottom: 6px;
  color: var(--color-text);
}

.vendor-header__desc {
  font-size: 0.9375rem;
  color: var(--color-text-secondary);
  max-width: 700px;
  line-height: 1.6;
}

/* ---------- VPS Table ---------- */
.vps-table-wrapper {
  overflow-x: auto;
  border-radius: var(--radius-xl);
  border: 1px solid var(--color-border);
  background: var(--color-bg);
  box-shadow: var(--shadow-sm);
}

.vps-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.875rem;
  min-width: 800px;
}

.vps-table thead {
  background: var(--color-surface);
}

.vps-table th {
  padding: 14px 16px;
  text-align: left;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--color-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  white-space: nowrap;
}

.vps-table td {
  padding: 16px;
  border-top: 1px solid var(--color-border);
  vertical-align: middle;
}

.vps-table__row {
  transition: background-color var(--transition-fast);
}
.vps-table__row:hover {
  background-color: var(--color-bg-card-hover);
  background-image: linear-gradient(90deg, transparent, var(--color-shimmer), transparent);
  background-repeat: no-repeat;
  background-size: 300px 100%;
  animation: row-shimmer 0.6s ease-out forwards;
}

@keyframes row-shimmer {
  0% { background-position: -300px 0; }
  100% { background-position: calc(100% + 300px) 0; }
}

.vps-table__row.expired {
  opacity: 0.6;
}

.vps-table__plan-name {
  font-weight: 600;
  font-size: 1rem;
  margin-bottom: 8px;
  color: var(--color-text);
}

.vps-table__plan-tags {
  display: flex;
  gap: var(--space-xs);
  flex-wrap: wrap;
}

.vps-table__price {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-cta);
}

/* No results */
.no-results {
  text-align: center;
  padding: var(--space-4xl) var(--space-lg);
  color: var(--color-text-muted);
}

.no-results__icon {
  width: 64px;
  height: 64px;
  margin: 0 auto var(--space-lg);
  color: var(--color-text-muted);
  opacity: 0.5;
}

.no-results__title {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--color-text-secondary);
  margin-bottom: var(--space-sm);
}

/* ---------- Datacenter Map Section ---------- */
.map-section {
  padding: var(--space-4xl) 0;
}

.map-container {
  position: relative;
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: var(--space-xl);
  overflow: hidden;
}

.map-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: var(--space-md);
}

.map-region {
  padding: var(--space-lg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  transition: all 0.3s ease, transform 0.15s ease;
  cursor: pointer;
  transform-style: preserve-3d;
  will-change: transform;
}
.map-region:hover {
  border-color: var(--color-cta);
  background: rgba(34, 197, 94, 0.05);
  box-shadow: 0 8px 30px rgba(34, 197, 94, 0.12);
}

.map-region__icon {
  font-size: 2rem;
  margin-bottom: var(--space-sm);
}

.map-region__name {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: var(--space-xs);
}

.map-region__cities {
  font-size: 0.8125rem;
  color: var(--color-text-secondary);
  line-height: 1.6;
}

.map-region__count {
  display: inline-flex;
  align-items: center;
  gap: var(--space-xs);
  margin-top: var(--space-sm);
  font-size: 0.75rem;
  color: var(--color-cta);
  font-weight: 600;
}



/* ---------- FAQ Section ---------- */
.guide-section {
  padding: var(--space-4xl) 0;
}

.faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  margin-bottom: var(--space-sm);
  overflow: hidden;
  transition: border-color var(--transition-base);
}
.faq-item:hover { border-color: var(--color-border-hover); }

.faq-item__question {
  width: 100%;
  padding: var(--space-lg);
  background: var(--color-bg-card);
  border: none;
  color: var(--color-text);
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-md);
  transition: background var(--transition-fast);
}
.faq-item__question:hover {
  background: var(--color-bg-card-hover);
}

.faq-item__chevron {
  width: 20px;
  height: 20px;
  color: var(--color-text-muted);
  flex-shrink: 0;
  transition: transform var(--transition-base);
}

.faq-item.open .faq-item__chevron {
  transform: rotate(180deg);
}

.faq-item__answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition-slow);
}

.faq-item.open .faq-item__answer {
  max-height: 500px;
}

.faq-item__answer-inner {
  padding: var(--space-md) var(--space-lg) var(--space-lg);
  font-size: 0.9375rem;
  color: var(--color-text-secondary);
  line-height: 1.7;
}

/* ---------- Footer ---------- */
.footer {
  padding: var(--space-3xl) 0 var(--space-xl);
  border-top: 1px solid var(--color-border);
}

.footer__center {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.footer__brand-desc {
  font-size: 0.875rem;
  color: var(--color-text-secondary);
  max-width: 400px;
  line-height: 1.6;
}

.footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: var(--space-xl);
  border-top: 1px solid var(--color-border);
  font-size: 0.8125rem;
  color: var(--color-text-muted);
}

.footer__disclaimer {
  font-size: 0.75rem;
  color: var(--color-text-muted);
  max-width: 600px;
  line-height: 1.6;
}

/* ---------- Scroll Animations ---------- */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.animate-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}

.animate-on-scroll.delay-1 { transition-delay: 0.1s; }
.animate-on-scroll.delay-2 { transition-delay: 0.2s; }
.animate-on-scroll.delay-3 { transition-delay: 0.3s; }
.animate-on-scroll.delay-4 { transition-delay: 0.4s; }
.animate-on-scroll.delay-5 { transition-delay: 0.5s; }

/* Respect reduced motion */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  html { scroll-behavior: auto; }
  .animate-on-scroll {
    opacity: 1;
    transform: none;
  }
  .hero__bg::before { animation: none; }
  .hero__dot { animation: none; opacity: 0.3; }
  .hero__badge-dot { animation: none; }
  .cursor-glow { display: none !important; }
  .navbar__logo::after { animation: none; }
  .quick-link-btn { opacity: 1; transform: none; }
  .vps-table__row::after { animation: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .providers__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  :root {
    --nav-height: 60px;
  }

  .navbar__links { display: none; }
  .mobile-menu-toggle { display: flex; }

  .hero {
    padding-top: calc(var(--nav-height) + 40px);
    min-height: 75vh;
  }
  .hero__title {
    font-size: clamp(2rem, 8vw, 2.75rem);
  }
  
  .vendor-header {
    flex-direction: column;
    align-items: flex-start;
    gap: var(--space-sm);
  }

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

  .footer__bottom {
    flex-direction: column;
    gap: var(--space-md);
    text-align: center;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 var(--space-md);
  }

  .hero__search-input {
    font-size: 0.875rem;
    padding: 14px 48px 14px 16px;
  }

  .plan-card__specs {
    grid-template-columns: 1fr;
  }

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

  .hero__stats {
    flex-direction: column;
    gap: var(--space-md);
    align-items: center;
  }
}

/* ---------- Back to Top ---------- */
.back-to-top {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 44px;
  height: 44px;
  border-radius: var(--radius-lg);
  background: var(--color-cta);
  color: #FFF;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all var(--transition-base);
  z-index: 100;
  box-shadow: var(--shadow-md);
}
.back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.back-to-top:hover {
  background: var(--color-cta-hover);
  transform: translateY(-2px);
}

/* ---------- Skeleton Loading ---------- */
.skeleton {
  background: linear-gradient(90deg,
    var(--color-surface) 25%,
    var(--color-bg-card-hover) 50%,
    var(--color-surface) 75%);
  background-size: 200% 100%;
  animation: skeleton-loading 1.5s ease-in-out infinite;
  border-radius: var(--radius-md);
}

@keyframes skeleton-loading {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

/* Region icon background colors */
.region-icon--us { background: var(--color-glow-blue); }
.region-icon--asia { background: rgba(239, 68, 68, 0.15); }
.region-icon--eu { background: rgba(139, 92, 246, 0.15); }
.region-icon--me { background: rgba(245, 158, 11, 0.15); }

/* ---------- Footer Social Icons ---------- */
.footer__social {
  display: flex;
  justify-content: center;
  gap: var(--space-lg);
  margin-bottom: var(--space-xl);
}

.social-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: none;
  background: var(--color-surface);
  color: var(--color-text-secondary);
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  cursor: pointer;
}

/* Telegram */
.social-icon--tg {
  color: #229ED9;
  background: rgba(34, 158, 217, 0.1);
}
.social-icon--tg:hover {
  background: #229ED9;
  color: white;
  transform: translateY(-4px) scale(1.05);
  box-shadow: 0 6px 16px rgba(34, 158, 217, 0.3);
}

/* Email */
.social-icon--email {
  color: #EA4335;
  background: rgba(234, 67, 53, 0.1);
}
.social-icon--email:hover {
  background: #EA4335;
  color: white;
  transform: translateY(-4px) scale(1.05);
  box-shadow: 0 6px 16px rgba(234, 67, 53, 0.3);
}


/* WeChat */
.social-icon--wx {
  color: #07C160;
  background: rgba(7, 193, 96, 0.1);
}
.social-icon--wx:hover {
  background: #07C160;
  color: white;
  transform: translateY(-4px) scale(1.05);
  box-shadow: 0 6px 16px rgba(7, 193, 96, 0.3);
}

/* ---------- Cursor Glow and Follower ---------- */
.cursor-glow {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 9998;
  opacity: 0;
  transition: opacity 0.3s ease;
  background: radial-gradient(400px circle at var(--glow-x, 50%) var(--glow-y, 50%), rgba(34, 197, 94, 0.15), transparent 70%);
}
.cursor-glow.active {
  opacity: 1;
}

.cursor-dot {
  position: fixed;
  top: 0;
  left: 0;
  width: 6px;
  height: 6px;
  background-color: var(--color-cta);
  border-radius: 50%;
  pointer-events: none;
  z-index: 10000;
  transform: translate(-50%, -50%);
  opacity: 0;
  transition: opacity 0.3s ease, width 0.3s ease, height 0.3s ease;
}


/* ---------- Count Up ---------- */
.hero__stat-value {
  font-variant-numeric: tabular-nums;
}

/* ---------- Mobile: disable heavy effects ---------- */
@media (max-width: 768px) {
  .cursor-glow { display: none !important; }
}
