/* ===== PREMIUM COLOR SCHEME & VARIABLES ===== */
:root {
  /* Default Theme: Ultra-Premium Dark Mode */
  --bg-primary: #070814;
  --bg-secondary: #0c0e22;
  --bg-tertiary: #131535;
  --bg-navbar: rgba(7, 8, 20, 0.75);
  --text-primary: #f8fafc;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;
  
  --primary: #1A5CFF;
  --primary-rgb: 26, 92, 255;
  --primary-hover: #407cff;
  --secondary: #00C2FF;
  --secondary-rgb: 0, 194, 255;
  --accent: #8b5cf6;
  
  --border-color: rgba(255, 255, 255, 0.08);
  --border-color-glow: rgba(26, 92, 255, 0.25);
  --card-shadow: 0 12px 40px -10px rgba(0, 0, 0, 0.6);
  --glass-bg: rgba(255, 255, 255, 0.02);
  --glass-border: rgba(255, 255, 255, 0.06);
  --glass-blur: 16px;
  
  --gradient-text: linear-gradient(135deg, #1A5CFF 0%, #00C2FF 100%);
  --gradient-text-alt: linear-gradient(135deg, #00C2FF 0%, #8b5cf6 100%);
  --gradient-btn: linear-gradient(135deg, #1A5CFF 0%, #0A3B99 100%);
  --gradient-btn-hover: linear-gradient(135deg, #407cff 0%, #1A5CFF 100%);
  --gradient-card-border: linear-gradient(135deg, rgba(26, 92, 255, 0.25), rgba(139, 92, 246, 0.05));
  --hero-bg-gradient: linear-gradient(135deg, #070814 0%, #0c0e22 40%, #082159 70%, #0c43c2 100%);
  
  --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.light-theme {
  /* Light Theme: Ultra-Premium Light Mode */
  --bg-primary: #f8fafc;
  --bg-secondary: #ffffff;
  --bg-tertiary: #f1f5f9;
  --bg-navbar: rgba(248, 250, 252, 0.8);
  --text-primary: #0f172a;
  --text-secondary: #475569;
  --text-muted: #94a3b8;
  
  --border-color: rgba(15, 23, 42, 0.08);
  --border-color-glow: rgba(26, 92, 255, 0.15);
  --card-shadow: 0 12px 40px -10px rgba(15, 23, 42, 0.06);
  --glass-bg: rgba(255, 255, 255, 0.5);
  --glass-border: rgba(15, 23, 42, 0.06);
  
  --gradient-text: linear-gradient(135deg, #1A5CFF 0%, #0088FF 100%);
  --gradient-text-alt: linear-gradient(135deg, #0088FF 0%, #7c3aed 100%);
  --gradient-btn: linear-gradient(135deg, #1A5CFF 0%, #0A3B99 100%);
  --gradient-btn-hover: linear-gradient(135deg, #407cff 0%, #1A5CFF 100%);
  --gradient-card-border: linear-gradient(135deg, rgba(26, 92, 255, 0.15), rgba(0, 194, 255, 0.05));
  --hero-bg-gradient: linear-gradient(135deg, #f1f5f9 0%, #e2e8f0 40%, #dbeafe 70%, #bfdbfe 100%);
}

/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  transition: background 0.5s ease, color 0.5s ease;
}
a { text-decoration: none; color: inherit; }
img, svg { display: block; }

/* ===== CONTAINER ===== */
.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ===== GRADIENT TEXT ===== */
.gradient-text {
  background: var(--gradient-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 32px;
  border-radius: 12px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition-smooth);
  border: 1px solid transparent;
  white-space: nowrap;
  position: relative;
  overflow: hidden;
}
.btn svg { width: 18px; height: 18px; flex-shrink: 0; transition: transform 0.3s ease; }
.btn:hover svg { transform: translateX(3px); }

.btn-primary {
  background: var(--gradient-btn);
  color: white;
  box-shadow: 0 4px 20px rgba(26, 92, 255, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.1);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(26, 92, 255, 0.45);
  background: var(--gradient-btn-hover);
}

.btn-dark {
  background: linear-gradient(135deg, #1b1c5d, #0d0e3a);
  color: white;
  box-shadow: 0 4px 20px rgba(27, 28, 93, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.05);
}
.btn-dark:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(27, 28, 93, 0.35);
  background: linear-gradient(135deg, #272880, #141554);
}
.light-theme .btn-dark {
  background: linear-gradient(135deg, #0f172a, #1e293b);
  box-shadow: 0 4px 20px rgba(15, 23, 42, 0.15);
}
.light-theme .btn-dark:hover {
  background: linear-gradient(135deg, #1e293b, #334155);
  box-shadow: 0 8px 30px rgba(15, 23, 42, 0.25);
}

.btn-outline {
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-primary);
  border: 1px solid var(--border-color);
  backdrop-filter: blur(4px);
}
.btn-outline:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--text-secondary);
  transform: translateY(-2px);
}
.light-theme .btn-outline {
  background: rgba(15, 23, 42, 0.02);
}
.light-theme .btn-outline:hover {
  background: rgba(15, 23, 42, 0.06);
}

.btn-white {
  background: #ffffff;
  color: #070814;
  font-weight: 700;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}
.btn-white:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.18);
  background: #f8fafc;
}
.light-theme .btn-white {
  background: #0f172a;
  color: #ffffff;
}
.light-theme .btn-white:hover {
  background: #1e293b;
}

.btn-outline-white {
  background: transparent;
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.4);
}
.btn-outline-white:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: white;
  transform: translateY(-2px);
}

/* ===== NAVBAR ===== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 0;
  background: transparent;
  transition: var(--transition-smooth);
  border-bottom: 1px solid transparent;
}
.navbar.scrolled {
  background: var(--bg-navbar);
  box-shadow: var(--card-shadow);
  backdrop-filter: blur(var(--glass-blur));
  -webkit-backdrop-filter: blur(var(--glass-blur));
  border-bottom: 1px solid var(--border-color);
}
.navbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 90px;
}

/* ===== LOGO ===== */
.logo-link {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  transition: var(--transition-smooth);
  padding: 4px 0;
}
.logo-link:hover {
  transform: translateY(-1px);
}
.logo-img {
  height: 64px;
  width: auto;
  display: block;
  transition: var(--transition-smooth);
  filter: drop-shadow(0 2px 10px rgba(0, 0, 0, 0.15));
}
.logo-link:hover .logo-img {
  filter: drop-shadow(0 4px 20px rgba(26, 92, 255, 0.3));
  transform: scale(1.04);
}
/* Footer logo slightly larger */
.logo-link--footer .logo-img {
  height: 72px;
  filter: drop-shadow(0 2px 14px rgba(26, 92, 255, 0.2));
}
.light-theme .logo-img {
  filter: drop-shadow(0 2px 8px rgba(15, 23, 42, 0.1));
}
.light-theme .logo-link:hover .logo-img {
  filter: drop-shadow(0 4px 16px rgba(26, 92, 255, 0.2));
}

/* Nav Links & Theme Toggle Alignment */
.nav-actions-wrap {
  display: flex;
  align-items: center;
  gap: 28px;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
}
.nav-links a {
  font-size: 15px;
  font-weight: 500;
  color: var(--text-secondary);
  transition: color 0.25s ease;
  position: relative;
  padding: 8px 0;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gradient-text);
  transition: width 0.3s ease;
  border-radius: 2px;
}
.nav-links a:hover {
  color: var(--text-primary);
}
.nav-links a:hover::after {
  width: 100%;
}

/* Theme Toggle Button Style */
.theme-toggle-btn {
  background: var(--glass-bg);
  border: 1px solid var(--border-color);
  color: var(--text-primary);
  width: 40px;
  height: 40px;
  border-radius: 12px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-smooth);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.theme-toggle-btn:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--border-color-glow);
  transform: translateY(-1px);
  box-shadow: 0 4px 15px var(--border-color-glow);
}
.light-theme .theme-toggle-btn:hover {
  background: rgba(15, 23, 42, 0.05);
}
.theme-toggle-btn svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.theme-toggle-btn:hover svg {
  transform: rotate(20deg);
}

.theme-toggle-btn .sun-icon { display: none; }
.theme-toggle-btn .moon-icon { display: block; }
.light-theme .theme-toggle-btn .sun-icon { display: block; }
.light-theme .theme-toggle-btn .moon-icon { display: none; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: all 0.3s;
}


/* ===== HERO ===== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: var(--hero-bg-gradient);
  overflow: hidden;
  padding: 130px 0 100px;
  transition: background 0.5s ease;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 10% 30%, rgba(26, 92, 255, 0.18) 0%, transparent 45%),
    radial-gradient(circle at 90% 70%, rgba(0, 194, 255, 0.12) 0%, transparent 40%),
    radial-gradient(circle at 50% 50%, rgba(139, 92, 246, 0.08) 0%, transparent 50%);
  pointer-events: none;
}
.light-theme .hero-bg {
  background-image:
    radial-gradient(circle at 10% 30%, rgba(26, 92, 255, 0.08) 0%, transparent 45%),
    radial-gradient(circle at 90% 70%, rgba(0, 194, 255, 0.05) 0%, transparent 40%);
}
/* Animated grid dots */
.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(var(--border-color) 1.2px, transparent 1.2px);
  background-size: 36px 36px;
  opacity: 0.7;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 2;
}

.hero-text {
  text-align: left;
}
.hero-badge {
  display: inline-block;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  color: var(--text-primary);
  padding: 6px 18px;
  border-radius: 50px;
  font-size: 13.5px;
  font-weight: 600;
  margin-bottom: 24px;
  backdrop-filter: blur(4px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}
.hero-title {
  font-size: clamp(38px, 5.5vw, 62px);
  font-weight: 900;
  color: var(--text-primary);
  line-height: 1.1;
  margin-bottom: 24px;
  letter-spacing: -1.5px;
}
.hero-title .gradient-text {
  background: var(--gradient-text-alt);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-desc {
  font-size: clamp(16px, 1.8vw, 19px);
  color: var(--text-secondary);
  margin-bottom: 36px;
  max-width: 580px;
  line-height: 1.6;
}
.hero-actions {
  display: flex;
  gap: 16px;
  justify-content: flex-start;
  flex-wrap: wrap;
  margin-bottom: 56px;
}
.hero-stats {
  display: flex;
  align-items: center;
  gap: 0;
  background: var(--glass-bg);
  border: 1px solid var(--border-color);
  border-radius: 20px;
  padding: 16px 28px;
  backdrop-filter: blur(var(--glass-blur));
  -webkit-backdrop-filter: blur(var(--glass-blur));
  display: inline-flex;
  box-shadow: var(--card-shadow);
}
.stat { text-align: center; padding: 0 28px; }
.stat-num {
  display: block;
  font-size: 26px;
  font-weight: 850;
  color: var(--text-primary);
}
.stat-label {
  font-size: 13px;
  color: var(--text-secondary);
  font-weight: 500;
}
.stat-divider {
  width: 1px;
  height: 36px;
  background: var(--border-color);
}

.hero-wave {
  position: absolute;
  bottom: -1px;
  left: 0;
  right: 0;
  z-index: 5;
}
.hero-wave svg {
  width: 100%;
  height: 80px;
}
.hero-wave svg path {
  fill: var(--bg-secondary);
  transition: fill 0.5s ease;
}

/* ===== SHOWCASE WIDGET ===== */
.hero-visual {
  width: 100%;
  perspective: 1000px;
}
.showcase-widget {
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: 24px;
  box-shadow: var(--card-shadow), 0 30px 60px -15px rgba(0, 0, 0, 0.4);
  overflow: hidden;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  transition: var(--transition-smooth);
}
.light-theme .showcase-widget {
  box-shadow: var(--card-shadow), 0 20px 40px -15px rgba(15, 23, 42, 0.08);
}
.showcase-tabs {
  display: flex;
  border-bottom: 1px solid var(--border-color);
  background: rgba(0, 0, 0, 0.15);
  padding: 6px;
  gap: 6px;
}
.light-theme .showcase-tabs {
  background: rgba(15, 23, 42, 0.03);
}
.showcase-tab {
  flex: 1;
  background: transparent;
  border: none;
  color: var(--text-secondary);
  padding: 12px 6px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  border-radius: 14px;
  transition: var(--transition-smooth);
  display: flex;
  align-items: center;
  justify-content: center;
}
.showcase-tab:hover {
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.03);
}
.light-theme .showcase-tab:hover {
  background: rgba(15, 23, 42, 0.02);
}
.showcase-tab.active {
  color: white;
  background: var(--primary);
  box-shadow: 0 4px 15px rgba(26, 92, 255, 0.35);
}
.showcase-panes {
  padding: 24px;
  position: relative;
  min-height: 410px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.showcase-pane {
  display: none;
  width: 100%;
  animation: paneFadeIn 0.5s ease forwards;
}
.showcase-pane.active {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

@keyframes paneFadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

/* SMARTPHONE MOCKUP (WiFiPix) */
.phone-mockup {
  width: 220px;
  height: 350px;
  background: #000;
  border-radius: 36px;
  border: 10px solid #1e293b;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.phone-camera {
  position: absolute;
  top: 6px;
  left: 50%;
  transform: translateX(-50%);
  width: 50px;
  height: 14px;
  background: #000;
  border-radius: 10px;
  z-index: 10;
}
.phone-screen {
  flex: 1;
  background: #0e111a;
  padding: 24px 16px 16px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  color: #fff;
  font-family: -apple-system, BlinkMacSystemFont, sans-serif;
  overflow: hidden;
}
.hotspot-header {
  text-align: center;
  margin-top: 10px;
}
.hotspot-logo {
  width: 32px;
  height: 32px;
  background: linear-gradient(135deg, #1A5CFF, #00C2FF);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 8px;
  color: white;
}
.hotspot-logo svg { width: 18px; height: 18px; }
.hotspot-brand-title {
  font-size: 15px;
  font-weight: 800;
  margin-bottom: 4px;
}
.hotspot-subtitle {
  font-size: 9px;
  color: #94a3b8;
  line-height: 1.3;
}
.hotspot-form {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin: 16px 0;
}
.mock-label {
  font-size: 8.5px;
  color: #64748b;
  font-weight: 600;
  text-align: left;
}
.mock-input {
  background: #1e293b;
  border: 1px solid #334155;
  border-radius: 6px;
  padding: 6px 10px;
  font-size: 10px;
  color: #f8fafc;
  outline: none;
}
.mock-btn {
  background: #1A5CFF;
  border: none;
  border-radius: 6px;
  padding: 8px;
  font-size: 10px;
  font-weight: 700;
  color: white;
  cursor: pointer;
  transition: background 0.2s;
  margin-top: 4px;
}
.mock-btn:hover { background: #004dff; }
.hotspot-footer {
  font-size: 8px;
  color: #475569;
  text-align: center;
  border-top: 1px solid #1e293b;
  padding-top: 8px;
}
.showcase-pane-control {
  margin-top: 16px;
  width: 100%;
  max-width: 280px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.control-label {
  font-size: 11.5px;
  font-weight: 600;
  color: var(--text-secondary);
}
.control-input {
  background: var(--bg-tertiary);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 8px 12px;
  font-size: 12px;
  color: var(--text-primary);
  outline: none;
  transition: border-color 0.3s;
}
.control-input:focus {
  border-color: var(--primary);
}

/* DASHBOARD MOCKUP (WebNett ERP) */
.dashboard-mockup {
  width: 100%;
  max-width: 380px;
  background: #0f172a;
  border-radius: 16px;
  border: 1px solid #334155;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
  overflow: hidden;
  font-family: -apple-system, BlinkMacSystemFont, sans-serif;
  color: #f1f5f9;
}
.dashboard-header {
  background: #1e293b;
  padding: 10px 14px;
  display: flex;
  align-items: center;
  border-bottom: 1px solid #334155;
  gap: 12px;
}
.dashboard-circles {
  display: flex;
  gap: 6px;
}
.dashboard-circles span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  display: inline-block;
}
.dashboard-circles span:nth-child(1) { background: #ef4444; }
.dashboard-circles span:nth-child(2) { background: #f59e0b; }
.dashboard-circles span:nth-child(3) { background: #10b981; }
.dashboard-title-bar {
  font-size: 11px;
  color: #94a3b8;
  font-weight: 500;
  flex: 1;
}
.dashboard-body {
  padding: 16px;
}
.db-stats-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 16px;
}
.db-mini-card {
  background: #1e293b;
  border: 1px solid #334155;
  border-radius: 10px;
  padding: 10px;
  display: flex;
  flex-direction: column;
}
.db-label {
  font-size: 9.5px;
  color: #94a3b8;
}
.db-value {
  font-size: 15px;
  font-weight: 700;
  color: #fff;
  margin: 2px 0;
}
.db-trend {
  font-size: 9px;
  font-weight: 600;
}
.db-trend.up { color: #10b981; }
.db-chart-container {
  background: #1e293b;
  border: 1px solid #334155;
  border-radius: 10px;
  padding: 12px;
  margin-bottom: 14px;
}
.db-chart-title {
  font-size: 10px;
  font-weight: 600;
  color: #94a3b8;
  margin-bottom: 12px;
}
.db-chart-bars {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  height: 60px;
  padding: 0 10px;
}
.db-chart-bar {
  width: 24px;
  background: linear-gradient(to top, #1A5CFF, #00C2FF);
  height: var(--val);
  border-radius: 4px 4px 0 0;
  position: relative;
  transition: height 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
.bar-lbl {
  position: absolute;
  bottom: -15px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 8px;
  color: #64748b;
}
.db-activities {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.db-act-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 9px;
  color: #cbd5e1;
}
.db-act-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  flex-shrink: 0;
}
.db-act-dot.green { background: #10b981; }
.db-act-dot.blue { background: #1A5CFF; }

/* TERMINAL MOCKUP (Mega DNS) */
.dns-mockup {
  width: 100%;
  max-width: 380px;
  background: #090d16;
  border-radius: 14px;
  border: 1px solid #1e293b;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
  overflow: hidden;
  font-family: 'Courier New', Courier, monospace;
}
.dns-header {
  background: #0f172a;
  padding: 8px 14px;
  display: flex;
  align-items: center;
  gap: 12px;
  border-bottom: 1px solid #1e293b;
}
.dns-title {
  color: #64748b;
  font-size: 10px;
  flex: 1;
}
.dns-terminal-body {
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.dns-terminal-output {
  background: rgba(0, 0, 0, 0.4);
  border-radius: 8px;
  padding: 12px;
  min-height: 100px;
  font-size: 10.5px;
  line-height: 1.5;
  color: #38bdf8;
  display: flex;
  flex-direction: column;
  gap: 4px;
  max-height: 120px;
  overflow-y: auto;
}
.term-line.cmd { color: #f1f5f9; }
.term-line.success { color: #4ade80; }
.dns-regions-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.dns-region-btn {
  background: #0f172a;
  border: 1px solid #1e293b;
  border-radius: 8px;
  padding: 8px 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  transition: all 0.2s;
  color: #fff;
  font-family: inherit;
}
.dns-region-btn:hover {
  background: #1e293b;
  border-color: #38bdf8;
}
.region-flag { font-size: 12px; margin-right: 8px; }
.region-name { font-size: 11px; flex: 1; text-align: left; }
.region-time {
  font-size: 11px;
  font-weight: 700;
  color: #64748b;
  transition: color 0.3s;
}
.region-time.fast { color: #4ade80; }
.dns-ping-all-btn {
  background: transparent;
  border: 1px solid #38bdf8;
  color: #38bdf8;
  border-radius: 8px;
  padding: 10px;
  font-size: 11px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.25s;
  font-family: inherit;
}
.dns-ping-all-btn:hover {
  background: rgba(56, 189, 248, 0.1);
  box-shadow: 0 0 15px rgba(56, 189, 248, 0.2);
}

/* ===== SECTIONS ===== */
.section { padding: 100px 0; }
.section-header {
  text-align: center;
  margin-bottom: 64px;
}
.section-tag {
  display: inline-block;
  background: var(--glass-bg);
  color: var(--primary);
  border: 1px solid var(--border-color-glow);
  padding: 6px 18px;
  border-radius: 50px;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 18px;
  letter-spacing: 1px;
  text-transform: uppercase;
}
.section-title {
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 850;
  line-height: 1.2;
  color: var(--text-primary);
  margin-bottom: 18px;
  letter-spacing: -0.8px;
}
.section-title .gradient-text {
  background: var(--gradient-text-alt);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.section-desc {
  font-size: 16.5px;
  color: var(--text-secondary);
  max-width: 580px;
  margin: 0 auto;
  line-height: 1.6;
}

/* ===== SOLUTIONS / CARDS ===== */
.solutions {
  background: var(--bg-primary);
  border-bottom: 1px solid var(--border-color);
  position: relative;
}
.solutions::before {
  content: '';
  position: absolute;
  top: 0;
  left: 10%;
  right: 10%;
  height: 1px;
  background: radial-gradient(circle, var(--border-color-glow) 0%, transparent 70%);
}
.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  align-items: start;
}

.card {
  background: var(--bg-secondary);
  border-radius: 24px;
  padding: 40px 32px;
  box-shadow: var(--card-shadow);
  border: 1px solid var(--border-color);
  position: relative;
  transition: var(--transition-smooth);
  overflow: hidden;
}
.card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 24px;
  padding: 1.2px;
  background: var(--gradient-card-border);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
  z-index: 2;
  transition: var(--transition-smooth);
}
.card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px -15px var(--border-color-glow);
  border-color: rgba(26, 92, 255, 0.3);
}
.card:hover::before {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
}

.card--featured {
  border-color: rgba(26, 92, 255, 0.4);
  box-shadow: 0 15px 45px -10px rgba(26, 92, 255, 0.18);
  transform: translateY(-8px);
}
.light-theme .card--featured {
  box-shadow: 0 15px 40px -10px rgba(26, 92, 255, 0.1);
}
.card--featured::before {
  background: linear-gradient(135deg, var(--primary), var(--accent));
}
.card--featured:hover {
  transform: translateY(-14px);
  box-shadow: 0 24px 50px -15px rgba(26, 92, 255, 0.35);
}
.card-featured-label {
  position: absolute;
  top: -1px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, #1A5CFF, var(--accent));
  color: white;
  font-size: 11px;
  font-weight: 700;
  padding: 6px 20px;
  border-radius: 0 0 12px 12px;
  white-space: nowrap;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}
.card-icon-wrap {
  margin-bottom: 24px;
}
.card-icon {
  width: 56px;
  height: 56px;
}

.card-badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  padding: 5px 14px;
  border-radius: 50px;
  margin-bottom: 16px;
  letter-spacing: 0.8px;
  text-transform: uppercase;
}
.badge--blue {
  background: rgba(26, 92, 255, 0.08);
  color: var(--secondary);
  border: 1px solid var(--border-color-glow);
}
.badge--dark {
  background: rgba(139, 92, 246, 0.1);
  color: #c084fc;
  border: 1px solid rgba(139, 92, 246, 0.2);
}

.card-title {
  font-size: 24px;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 14px;
  letter-spacing: -0.5px;
}
.card-desc {
  font-size: 15px;
  color: var(--text-secondary);
  margin-bottom: 28px;
  line-height: 1.65;
}
.card-features {
  list-style: none;
  margin-bottom: 36px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.card-features li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: var(--text-secondary);
  font-weight: 500;
}
.check {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}
.card-btn {
  width: 100%;
  justify-content: center;
}

/* ===== ABOUT ===== */
.about {
  background: var(--bg-primary);
  border-bottom: 1px solid var(--border-color);
}
.about-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.about-graphic {
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid var(--border-color);
  box-shadow: var(--card-shadow);
  background: var(--bg-secondary);
}
.about-graphic svg {
  width: 100%;
  height: auto;
}
.about-text .section-tag { margin-bottom: 14px; }
.about-text .section-title { text-align: left; margin-bottom: 24px; }
.about-desc {
  font-size: 16px;
  color: var(--text-secondary);
  margin-bottom: 36px;
  line-height: 1.7;
}
.about-pillars { display: flex; flex-direction: column; gap: 24px; }
.pillar {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}
.pillar-icon {
  font-size: 22px;
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  background: var(--glass-bg);
  border: 1px solid var(--border-color);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}
.pillar strong {
  display: block;
  font-size: 15px;
  font-weight: 750;
  color: var(--text-primary);
  margin-bottom: 6px;
}
.pillar p { font-size: 14px; color: var(--text-secondary); }

/* ===== CTA ===== */
.cta-section {
  background: linear-gradient(135deg, #1B1C5D 0%, #0A3B99 50%, #1A5CFF 100%);
  position: relative;
  overflow: hidden;
}
.cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255,255,255,0.05) 1px, transparent 1px);
  background-size: 30px 30px;
}
.cta-inner {
  position: relative;
  z-index: 1;
}
.cta-content { text-align: center; }
.cta-title {
  font-size: clamp(28px, 4vw, 46px);
  font-weight: 900;
  color: white;
  margin-bottom: 16px;
  line-height: 1.15;
}
.cta-desc {
  font-size: 18px;
  color: rgba(255,255,255,0.75);
  margin-bottom: 40px;
}
.cta-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ===== FOOTER ===== */
.footer {
  background: #0d0e3a;
  color: rgba(255,255,255,0.8);
  padding-top: 64px;
}
.footer-inner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 64px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.footer-logo { height: 48px; width: auto; margin-bottom: 16px; }
.footer-tagline { font-size: 14px; color: rgba(255,255,255,0.5); }
.footer-links { display: flex; gap: 64px; }
.footer-col { display: flex; flex-direction: column; gap: 12px; }
.footer-col h4 {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: rgba(255,255,255,0.4);
  margin-bottom: 4px;
}
.footer-col a {
  font-size: 14px;
  color: rgba(255,255,255,0.7);
  transition: color 0.2s;
}
.footer-col a:hover { color: #63A4FF; }
.footer-bottom {
  padding: 20px 0;
  text-align: center;
}
.footer-bottom p {
  font-size: 13px;
  color: rgba(255,255,255,0.35);
}
/* ===== SVG ANIMATIONS (ABOUT SECTION) ===== */
.about-graphic svg rect[fill="var(--bg-tertiary)"] {
  fill: var(--bg-tertiary) !important;
  stroke: var(--border-color);
  stroke-width: 1px;
}
.about-graphic svg line[stroke="#1A5CFF"] {
  stroke: var(--primary) !important;
  stroke-dasharray: 6 4;
  animation: svgLineFlow 35s linear infinite;
}
.about-graphic svg line[stroke="#1B1C5D"] {
  stroke: var(--accent) !important;
  stroke-dasharray: 5 4;
  animation: svgLineFlowReverse 35s linear infinite;
}
@keyframes svgLineFlow {
  to { stroke-dashoffset: -500; }
}
@keyframes svgLineFlowReverse {
  to { stroke-dashoffset: 500; }
}

.about-graphic svg circle {
  fill: var(--bg-secondary) !important;
  stroke: var(--primary) !important;
  transition: var(--transition-smooth);
}
.about-graphic svg circle[stroke="#1B1C5D"] {
  stroke: var(--accent) !important;
}
.about-graphic svg circle:hover {
  fill: var(--bg-tertiary) !important;
  stroke-width: 3px !important;
}

.about-graphic svg text {
  fill: var(--text-primary) !important;
  font-family: 'Inter', sans-serif !important;
  font-weight: 700 !important;
}
.about-graphic svg rect[rx="8"] {
  fill: var(--bg-secondary) !important;
  stroke: var(--border-color) !important;
  stroke-width: 1.5px;
  transition: var(--transition-smooth);
}
.about-graphic svg rect[rx="8"][fill="#1A5CFF"] {
  fill: var(--primary) !important;
  stroke: transparent !important;
}
.about-graphic svg rect[rx="8"][fill="#1B1C5D"] {
  fill: var(--bg-tertiary) !important;
  stroke: var(--accent) !important;
}
.about-graphic svg rect[rx="8"][fill="#0A3B99"] {
  fill: var(--accent) !important;
  stroke: transparent !important;
}

/* ===== FAQ SECTION ===== */
.faq {
  background: var(--bg-primary);
  border-bottom: 1px solid var(--border-color);
}
.faq-accordion-wrap {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.faq-item {
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  overflow: hidden;
  transition: var(--transition-smooth);
  box-shadow: var(--card-shadow);
}
.faq-item:hover {
  border-color: var(--border-color-glow);
  box-shadow: 0 8px 24px -10px var(--border-color-glow);
}
.faq-item.active {
  border-color: rgba(26, 92, 255, 0.35);
  box-shadow: 0 10px 30px -15px rgba(26, 92, 255, 0.15);
}
.faq-question {
  width: 100%;
  padding: 24px;
  background: transparent;
  border: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--text-primary);
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  text-align: left;
  gap: 20px;
}
.faq-icon {
  width: 20px;
  height: 20px;
  stroke: var(--text-secondary);
  transition: transform 0.3s ease, stroke 0.3s ease;
  flex-shrink: 0;
}
.faq-item.active .faq-icon {
  transform: rotate(180deg);
  stroke: var(--primary);
}
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.16, 1, 0.3, 1), padding 0.4s ease;
  padding: 0 24px;
}
.faq-item.active .faq-answer {
  padding: 0 24px 24px 24px;
}
.faq-answer p {
  color: var(--text-secondary);
  font-size: 14.5px;
  line-height: 1.6;
}

/* ===== FOOTER OVERRIDES ===== */
.footer {
  background: #04050e !important;
  border-top: 1px solid var(--border-color);
}
.footer .logo-link--footer .logo-img {
  filter: brightness(0) invert(1) drop-shadow(0 2px 12px rgba(26, 92, 255, 0.2));
}
.footer .logo-link--footer:hover .logo-img {
  filter: brightness(0) invert(1) drop-shadow(0 4px 20px rgba(26, 92, 255, 0.4));
}
.footer-col h4 {
  color: white !important;
  opacity: 0.4;
}
.footer-col a {
  color: rgba(255, 255, 255, 0.6) !important;
}
.footer-col a:hover {
  color: var(--secondary) !important;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 50px;
    text-align: center;
  }
  .hero-text {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  .hero-actions {
    justify-content: center;
  }
  .hero-visual {
    max-width: 480px;
    margin: 0 auto;
  }
  .cards { grid-template-columns: 1fr; max-width: 520px; margin: 0 auto; }
  .card--featured { transform: none; }
  .card--featured:hover { transform: translateY(-8px); }
  .about-inner { grid-template-columns: 1fr; gap: 48px; }
  .about-visual { max-width: 400px; margin: 0 auto; }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 90px;
    left: 0;
    right: 0;
    background: var(--bg-secondary);
    padding: 24px;
    gap: 20px;
    box-shadow: var(--card-shadow);
    border-bottom: 1px solid var(--border-color);
  }
  .nav-links.open { display: flex; }
  .nav-links a { color: var(--text-primary) !important; font-size: 16px; }
  .nav-toggle { display: flex; }
  .hero-stats { padding: 16px 20px; }
  .stat { padding: 0 20px; }
  .footer-inner { grid-template-columns: 1fr; gap: 40px; }
  .footer-links { gap: 40px; }
}

@media (max-width: 480px) {
  .hero-stats { flex-direction: column; gap: 16px; padding: 24px; }
  .stat-divider { width: 60px; height: 1px; }
  .stat { padding: 0; }
}
