/* ==========================================================================
   LAPTY - Premium White & Orange Design System
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800;900&family=Plus+Jakarta+Sans:wght@400;500;600;700&family=JetBrains+Mono:wght@400;500;600&display=swap');

:root {
  /* Color Palette: White & Vibrant Orange */
  --color-white: #FFFFFF;
  --color-bg: #FFFFFF;
  --color-bg-subtle: #F8FAFC;
  --color-bg-warm: #FFF9F5;
  --color-orange-50: #FFF7ED;
  --color-orange-100: #FFEDD5;
  --color-orange-200: #FED7AA;
  --color-orange-500: #FF6600;
  --color-orange-600: #EA580C;
  --color-orange-700: #C2410C;
  --color-orange-glow: rgba(255, 102, 0, 0.25);
  --color-orange-light-glow: rgba(255, 102, 0, 0.08);

  /* Contrast & Charcoal Slate */
  --color-slate-900: #0F172A;
  --color-slate-800: #1E293B;
  --color-slate-700: #334155;
  --color-slate-600: #475569;
  --color-slate-500: #64748B;
  --color-slate-400: #94A3B8;
  --color-slate-200: #E2E8F0;
  --color-slate-100: #F1F5F9;

  /* Status Colors */
  --color-success: #10B981;
  --color-success-bg: #ECFDF5;
  --color-warning: #F59E0B;
  --color-danger: #EF4444;
  --color-info: #3B82F6;

  /* Typography */
  --font-heading: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

  /* Elevation & Shadows */
  --shadow-sm: 0 1px 2px 0 rgba(15, 23, 42, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(15, 23, 42, 0.07), 0 2px 4px -2px rgba(15, 23, 42, 0.05);
  --shadow-lg: 0 10px 25px -3px rgba(15, 23, 42, 0.08), 0 4px 6px -4px rgba(15, 23, 42, 0.04);
  --shadow-xl: 0 20px 30px -6px rgba(15, 23, 42, 0.09), 0 8px 10px -6px rgba(15, 23, 42, 0.05);
  --shadow-orange: 0 10px 25px -5px rgba(255, 102, 0, 0.35);

  /* Transitions */
  --transition-fast: 0.15s ease;
  --transition-normal: 0.25s ease;
  --transition-smooth: 0.4s cubic-bezier(0.16, 1, 0.3, 1);

  /* Radii */
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-pill: 9999px;
}

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  background-color: var(--color-bg);
  color: var(--color-slate-700);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

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

a {
  color: var(--color-orange-500);
  text-decoration: none;
  transition: color var(--transition-fast);
}

a:hover {
  color: var(--color-orange-600);
}

img, svg {
  vertical-align: middle;
  max-width: 100%;
}

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

.container-narrow {
  max-width: 860px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Buttons & CTAs */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: var(--radius-pill);
  cursor: pointer;
  transition: all var(--transition-normal);
  border: 1px solid transparent;
  white-space: nowrap;
  text-decoration: none;
}

.btn-primary, .btn-buy {
  background: linear-gradient(135deg, var(--color-orange-500) 0%, var(--color-orange-600) 100%);
  color: #FFFFFF !important;
  box-shadow: 0 4px 14px rgba(255, 102, 0, 0.3);
}

.btn-primary:hover, .btn-buy:hover {
  background: linear-gradient(135deg, #FF7711 0%, var(--color-orange-500) 100%);
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(255, 102, 0, 0.45);
}

.btn-secondary {
  background: #FFFFFF;
  color: var(--color-slate-800) !important;
  border: 1px solid var(--color-slate-200);
  box-shadow: var(--shadow-sm);
}

.btn-secondary:hover {
  background: var(--color-bg-subtle);
  border-color: var(--color-orange-200);
  color: var(--color-orange-500) !important;
  transform: translateY(-1px);
}

.btn-outline-orange {
  background: transparent;
  color: var(--color-orange-500) !important;
  border: 1.5px solid var(--color-orange-500);
}

.btn-outline-orange:hover {
  background: var(--color-orange-50);
  transform: translateY(-1px);
}

.btn-sm {
  padding: 8px 16px;
  font-size: 0.85rem;
}

.btn-lg {
  padding: 16px 32px;
  font-size: 1.05rem;
}

.btn-block {
  width: 100%;
}

/* Badges & Tags */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.badge-orange {
  background: var(--color-orange-50);
  color: var(--color-orange-600);
  border: 1px solid var(--color-orange-200);
}

.badge-slate {
  background: var(--color-slate-100);
  color: var(--color-slate-700);
}

.badge-success {
  background: var(--color-success-bg);
  color: var(--color-success);
  border: 1px solid rgba(16, 185, 129, 0.2);
}

.badge-popular {
  background: linear-gradient(135deg, var(--color-orange-500), var(--color-orange-600));
  color: #FFFFFF;
  box-shadow: 0 2px 8px rgba(255, 102, 0, 0.35);
}

/* ==========================================================================
   Enhanced Header & Navigation Bar
   ========================================================================== */


.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(226, 232, 240, 0.8);
  box-shadow: 0 4px 20px -2px rgba(15, 23, 42, 0.04), 0 1px 3px rgba(15, 23, 42, 0.02);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.site-header.scrolled {
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 10px 30px -4px rgba(15, 23, 42, 0.08), 0 2px 6px rgba(15, 23, 42, 0.04);
  border-bottom-color: #E2E8F0;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  gap: 16px;
}

/* Brand Group: Logo + System Status */
.header-brand-group {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.brand-logo-link {
  display: inline-flex;
  align-items: center;
  position: relative;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.2s ease;
}

.brand-logo-link:hover {
  transform: translateY(-1px);
}

.brand-logo-svg {
  height: 42px;
  width: auto;
  display: block;
  overflow: visible;
}

/* Live Cluster Status Pill */
.cluster-status-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  background: #ECFDF5;
  border: 1px solid #A7F3D0;
  border-radius: 20px;
  font-family: var(--font-heading);
  font-size: 0.72rem;
  font-weight: 700;
  color: #065F46;
  letter-spacing: 0.2px;
  user-select: none;
  transition: all 0.2s ease;
}

.cluster-status-pill:hover {
  background: #D1FAE5;
  border-color: #6EE7B7;
  transform: translateY(-1px);
}

/* Pulsing Status Dot */
.pulse-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #10B981;
  position: relative;
  flex-shrink: 0;
  display: inline-block;
}

.pulse-dot::after {
  content: '';
  position: absolute;
  inset: -3px;
  border-radius: 50%;
  background: rgba(16, 185, 129, 0.4);
  animation: pulsePing 2s infinite cubic-bezier(0, 0, 0.2, 1);
}

.pulse-dot.pulse-orange {
  background: #FF6600;
}

.pulse-dot.pulse-orange::after {
  background: rgba(255, 102, 0, 0.4);
}

@keyframes pulsePing {
  0% { transform: scale(0.9); opacity: 0.8; }
  70%, 100% { transform: scale(2.2); opacity: 0; }
}

/* Modern Capsule Navigation Bar */
.main-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.nav-links {
  display: flex;
  align-items: center;
  list-style: none;
  gap: 2px;
  background: #F8FAFC;
  padding: 4px 6px;
  border-radius: 30px;
  border: 1px solid #E2E8F0;
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.03);
  white-space: nowrap;
}

.nav-link {
  font-family: var(--font-heading);
  font-size: 0.86rem;
  font-weight: 600;
  color: #475569;
  padding: 6px 12px;
  border-radius: 20px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  text-decoration: none;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  white-space: nowrap;
  flex-shrink: 0;
}

.nav-link:hover {
  color: #EA580C;
  background: #FFFFFF;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
  transform: translateY(-1px);
}

.nav-link.active {
  color: #EA580C;
  background: #FFFFFF;
  font-weight: 700;
  box-shadow: 0 2px 8px rgba(234, 88, 12, 0.12);
}

/* Micro-Badges on Nav Links */
.nav-micro-badge {
  font-size: 0.65rem;
  font-weight: 800;
  padding: 2px 6px;
  border-radius: 10px;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  line-height: 1;
}

.badge-rdp {
  background: #EFF6FF;
  color: #2563EB;
  border: 1px solid #BFDBFE;
}

.badge-ipv4 {
  background: #ECFDF5;
  color: #059669;
  border: 1px solid #A7F3D0;
}

/* Header Actions & Auth Status Controls */
.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  white-space: nowrap;
}

/* Admin Console Capsule Button */
.header-admin-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px;
  background: linear-gradient(135deg, #0F172A 0%, #1E293B 100%);
  color: #FFFFFF !important;
  font-family: var(--font-heading);
  font-size: 0.84rem;
  font-weight: 700;
  border-radius: 20px;
  border: 1px solid #334155;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.15);
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  text-decoration: none;
}

.header-admin-btn:hover {
  background: #1E293B;
  border-color: #FF6600;
  color: #FFA040 !important;
  box-shadow: 0 4px 14px rgba(255, 102, 0, 0.3);
  transform: translateY(-1px);
}

.header-admin-btn i {
  width: 15px;
  height: 15px;
  color: #FF6600;
}

/* Wallet Balance Pill */
.header-wallet-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  background: #FFF7ED;
  border: 1px solid #FED7AA;
  border-radius: 20px;
  color: #C2410C !important;
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.2s ease;
  box-shadow: 0 1px 3px rgba(255, 102, 0, 0.06);
}

.header-wallet-pill:hover {
  background: #FFEDD5;
  border-color: #FB923C;
  transform: translateY(-1px);
  box-shadow: 0 3px 10px rgba(255, 102, 0, 0.18);
}

.header-wallet-pill i {
  width: 15px;
  height: 15px;
  color: #EA580C;
}

/* User Avatar & Name Chip */
.header-user-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 4px 12px 4px 4px;
  background: #F8FAFC;
  border: 1px solid #E2E8F0;
  border-radius: 20px;
  font-family: var(--font-heading);
  font-size: 0.84rem;
  font-weight: 600;
  color: #334155;
  text-decoration: none;
  user-select: none;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: pointer;
}

.header-user-chip:hover {
  background: #FFF7ED;
  border-color: #FED7AA;
  color: #EA580C;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(234, 88, 12, 0.12);
}

.user-chip-arrow {
  width: 14px;
  height: 14px;
  color: #94A3B8;
  margin-left: 2px;
  transition: transform 0.2s ease, color 0.2s ease;
}

.header-user-chip:hover .user-chip-arrow {
  color: #EA580C;
  transform: translateX(2px);
}

.user-avatar-circle {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.76rem;
  color: #FFFFFF;
}

.avatar-admin {
  background: linear-gradient(135deg, #FF7A00 0%, #FF5500 100%);
  box-shadow: 0 2px 6px rgba(255, 102, 0, 0.35);
}

.avatar-client {
  background: linear-gradient(135deg, #3B82F6 0%, #1D4ED8 100%);
  box-shadow: 0 2px 6px rgba(59, 130, 246, 0.35);
}

.user-chip-name {
  max-width: 110px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* Icon Button (e.g. Logout) */
.header-icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #F8FAFC;
  border: 1px solid #E2E8F0;
  color: #64748B;
  transition: all 0.2s ease;
  text-decoration: none;
}

.header-icon-btn:hover {
  background: #FEF2F2;
  border-color: #FECACA;
  color: #DC2626;
  transform: scale(1.05);
  box-shadow: 0 2px 8px rgba(220, 38, 38, 0.15);
}

.header-icon-btn i {
  width: 16px;
  height: 16px;
}

/* Guest Sign-in & CTA Deploy Buttons */
.header-signin-btn {
  font-family: var(--font-heading);
  font-size: 0.88rem;
  font-weight: 600;
  color: #475569;
  padding: 8px 14px;
  border-radius: 20px;
  transition: all 0.2s ease;
  text-decoration: none;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
}

.header-signin-btn:hover {
  color: #EA580C;
  background: rgba(255, 102, 0, 0.08);
}

.header-cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 8px 18px;
  background: linear-gradient(135deg, #FF6600 0%, #EA580C 100%);
  color: #FFFFFF !important;
  font-family: var(--font-heading);
  font-size: 0.88rem;
  font-weight: 700;
  border-radius: 24px;
  box-shadow: 0 4px 14px rgba(234, 88, 12, 0.35);
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  text-decoration: none;
  border: none;
  white-space: nowrap;
  flex-shrink: 0;
}

.header-cta-btn:hover {
  background: linear-gradient(135deg, #FF7711 0%, #FF5500 100%);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(234, 88, 12, 0.45);
}

.header-cta-btn i {
  width: 15px;
  height: 15px;
  transition: transform 0.2s ease;
}

.header-cta-btn:hover i {
  transform: translateX(3px);
}

.mobile-toggle {
  display: none;
  background: none;
  border: none;
  padding: 8px;
  cursor: pointer;
  color: var(--color-slate-800);
}

.mobile-toggle svg {
  width: 28px;
  height: 28px;
}

/* Mobile Drawer Navigation */
.mobile-nav-drawer {
  position: fixed;
  top: 76px;
  left: 0;
  width: 100%;
  height: calc(100vh - 76px);
  background: #FFFFFF;
  border-top: 1px solid var(--color-slate-200);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  transform: translateY(-100%);
  opacity: 0;
  pointer-events: none;
  transition: all var(--transition-smooth);
  z-index: 999;
  overflow-y: auto;
}

.mobile-nav-drawer.open {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}

.mobile-nav-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.mobile-nav-links a {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--color-slate-800);
  display: block;
  padding: 8px 0;
  border-bottom: 1px solid var(--color-slate-100);
}

.mobile-nav-links a:hover {
  color: var(--color-orange-500);
}

/* Hero Section */
.hero-section {
  position: relative;
  padding: 72px 0 90px;
  background: radial-gradient(circle at 50% 0%, rgba(255, 102, 0, 0.05) 0%, rgba(255, 255, 255, 0) 70%), #FFFFFF;
  overflow: hidden;
}

.hero-content {
  text-align: center;
  max-width: 820px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.hero-pill, .hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  background: var(--color-orange-50);
  border: 1px solid var(--color-orange-200);
  border-radius: var(--radius-pill);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-orange-600);
  margin-bottom: 24px;
  box-shadow: 0 2px 10px rgba(255, 102, 0, 0.08);
  max-width: 100%;
}

.pulse-dot {
  width: 8px;
  height: 8px;
  background-color: var(--color-orange-500);
  border-radius: 50%;
  animation: pulseGlow 2s infinite;
}

@keyframes pulseGlow {
  0% { transform: scale(0.9); box-shadow: 0 0 0 0 rgba(255, 102, 0, 0.7); }
  70% { transform: scale(1.1); box-shadow: 0 0 0 8px rgba(255, 102, 0, 0); }
  100% { transform: scale(0.9); box-shadow: 0 0 0 0 rgba(255, 102, 0, 0); }
}

.hero-title {
  font-size: 3.4rem;
  font-weight: 800;
  letter-spacing: -1px;
  margin-bottom: 20px;
  color: var(--color-slate-900);
}

.hero-title .highlight-orange {
  color: var(--color-orange-500);
  background: linear-gradient(135deg, var(--color-orange-500), var(--color-orange-600));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  font-size: 1.15rem;
  color: var(--color-slate-600);
  margin-bottom: 36px;
  max-width: 680px;
  margin-left: auto;
  margin-right: auto;
}

.hero-buttons {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 44px;
}

.hero-trust-metrics {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 36px;
  flex-wrap: wrap;
  padding-top: 24px;
  border-top: 1px solid var(--color-slate-200);
}

.metric-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--color-slate-700);
}

.metric-icon {
  width: 20px;
  height: 20px;
  color: var(--color-orange-500);
}

/* Category Switcher Tabs */
.plan-tabs-container {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
}

.plan-category-tabs {
  display: inline-flex;
  background: var(--color-slate-100);
  padding: 4px;
  border-radius: var(--radius-pill);
  gap: 4px;
  border: 1px solid var(--color-slate-200);
}

.tab-btn {
  padding: 7px 18px;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.86rem;
  border-radius: var(--radius-pill);
  border: none;
  background: transparent;
  color: var(--color-slate-600);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.tab-btn.active {
  background: #FFFFFF;
  color: var(--color-slate-900);
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.08);
}

.tab-btn:hover:not(.active) {
  color: var(--color-slate-900);
}

/* Billing Toggle (Monthly / Annual with 20% discount) */
.billing-toggle-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-bottom: 48px;
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 600;
}

.toggle-switch {
  position: relative;
  display: inline-block;
  width: 52px;
  height: 28px;
}

.toggle-switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.toggle-slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: var(--color-slate-200);
  transition: .3s cubic-bezier(0.16, 1, 0.3, 1);
  border-radius: 34px;
}

.toggle-slider:before {
  position: absolute;
  content: "";
  height: 22px;
  width: 22px;
  left: 3px;
  bottom: 3px;
  background-color: white;
  transition: .3s cubic-bezier(0.16, 1, 0.3, 1);
  border-radius: 50%;
  box-shadow: var(--shadow-sm);
}

input:checked + .toggle-slider {
  background-color: var(--color-orange-500);
}

input:checked + .toggle-slider:before {
  transform: translateX(24px);
}

.discount-tag {
  background: var(--color-orange-50);
  color: var(--color-orange-600);
  border: 1px solid var(--color-orange-200);
  padding: 3px 8px;
  border-radius: var(--radius-pill);
  font-size: 0.75rem;
  font-weight: 700;
}

/* Pricing Grid & Modern Compact Cards */
.pricing-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: stretch;
  gap: 20px;
  margin-bottom: 36px;
}

.pricing-card {
  flex: 0 1 320px;
  width: 100%;
  max-width: 340px;
  min-width: 270px;
  background: #FFFFFF;
  border: 1px solid rgba(226, 232, 240, 0.95);
  border-radius: 16px;
  padding: 20px 20px 18px;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 4px 14px -2px rgba(15, 23, 42, 0.04), 0 2px 4px -2px rgba(15, 23, 42, 0.02);
}

.pricing-card:hover {
  transform: translateY(-5px);
  border-color: rgba(249, 115, 22, 0.35);
  box-shadow: 0 16px 32px -8px rgba(15, 23, 42, 0.09), 0 4px 12px -2px rgba(249, 115, 22, 0.08);
}

.pricing-card.featured {
  border: 2px solid #F97316;
  background: linear-gradient(180deg, #FFFFFF 0%, #FFFBF7 100%);
  box-shadow: 0 12px 30px -6px rgba(249, 115, 22, 0.16);
}

.pricing-card.featured:hover {
  transform: translateY(-5px);
  box-shadow: 0 18px 38px -6px rgba(249, 115, 22, 0.25);
}

.card-ribbon {
  position: absolute;
  top: -11px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, #FF6600 0%, #EA580C 100%);
  color: #FFFFFF;
  font-size: 0.68rem;
  font-weight: 800;
  padding: 3px 14px;
  border-radius: 999px;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  white-space: nowrap;
  box-shadow: 0 4px 10px rgba(234, 88, 12, 0.35);
  display: flex;
  align-items: center;
  gap: 4px;
  z-index: 2;
}

/* Card Header & OS Branding */
.card-top-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  margin-bottom: 8px;
}

.card-os-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #F8FAFC;
  border: 1px solid #E2E8F0;
  padding: 3px 9px;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
  color: #334155;
  transition: all 0.2s ease;
  white-space: nowrap;
  flex-shrink: 0;
}

.card-os-badge.os-windows {
  background: rgba(0, 120, 212, 0.07);
  border-color: rgba(0, 120, 212, 0.2);
  color: #0078D4;
}

.card-os-badge.os-linux {
  background: #F1F5F9;
  border-color: #CBD5E1;
  color: #1E293B;
}

.card-os-badge.os-aws {
  background: #1A222E;
  border-color: rgba(255, 153, 0, 0.45);
  color: #FFFFFF;
}

.card-os-badge.os-aws span {
  color: #FFFFFF;
}

.card-pill-badge {
  font-size: 0.68rem;
  font-weight: 700;
  color: #C2410C;
  background: #FFF7ED;
  border: 1px solid #FFEDD5;
  padding: 2px 8px;
  border-radius: 999px;
  letter-spacing: 0.2px;
  white-space: nowrap;
}

.card-title {
  font-size: 1.15rem;
  font-weight: 800;
  margin-bottom: 8px;
  color: #0F172A;
  letter-spacing: -0.02em;
  line-height: 1.25;
  min-height: 2.5em;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  word-break: break-word;
}

/* Price Block - Compact & Small */
.card-price-block {
  margin-bottom: 12px;
  padding: 7px 0 8px;
  border-top: 1px solid #F1F5F9;
  border-bottom: 1px solid #F1F5F9;
}

.price-main {
  display: flex;
  align-items: baseline;
  gap: 2px;
  line-height: 1;
}

.price-currency {
  font-size: 1rem;
  font-weight: 700;
  color: #475569;
  align-self: flex-start;
  margin-top: 1px;
  margin-right: 1px;
}

.price-value {
  font-size: 1.4rem;
  font-weight: 800;
  color: #1E293B;
  font-family: var(--font-heading);
  letter-spacing: -0.02em;
  line-height: 1;
}

.price-period {
  display: block;
  font-size: 0.74rem;
  color: #64748B;
  font-weight: 500;
  margin-top: 2px;
}

/* Specs List - Compact High-Density */
.specs-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin: 0 0 16px;
  padding: 0;
  flex-grow: 1;
}

.specs-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  color: #334155;
  padding: 1px 0;
  transition: all 0.2s ease;
}

.specs-icon-wrapper {
  width: 24px;
  height: 24px;
  border-radius: 6px;
  background: #FFF7ED;
  color: #EA580C;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  border: 1px solid #FFEDD5;
  transition: all 0.2s ease;
}

.pricing-card:hover .specs-icon-wrapper {
  background: #FFEDD5;
}

.specs-icon-wrapper svg {
  width: 13px;
  height: 13px;
  stroke-width: 2.2;
}

.specs-content {
  display: flex;
  align-items: baseline;
  gap: 5px;
  flex-wrap: wrap;
  line-height: 1.25;
}

.specs-label {
  font-size: 0.65rem;
  text-transform: uppercase;
  color: #94A3B8;
  font-weight: 700;
  letter-spacing: 0.3px;
}

.specs-label::after {
  content: ':';
}

.specs-value {
  font-size: 0.82rem;
  font-weight: 600;
  color: #1E293B;
}

/* CTA Buy Button - Compact */
.pricing-card .btn-buy {
  margin-top: auto;
  padding: 9px 16px;
  font-size: 0.86rem;
  font-weight: 700;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  transition: all 0.25s ease;
  width: 100%;
  min-height: 38px;
}

.pricing-card.featured .btn-buy {
  background: linear-gradient(135deg, #FF6600 0%, #EA580C 100%);
  color: #FFFFFF;
  border: none;
  box-shadow: 0 4px 12px rgba(234, 88, 12, 0.3);
}

.pricing-card.featured .btn-buy:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(234, 88, 12, 0.45);
}

.pricing-card:not(.featured) .btn-buy {
  background: #FFFFFF;
  color: #0F172A;
  border: 1.5px solid #CBD5E1;
}

.pricing-card:not(.featured) .btn-buy:hover {
  background: #F8FAFC;
  border-color: #EA580C;
  color: #EA580C;
  transform: translateY(-2px);
}

/* Out of Stock Card State */
.pricing-card.is-out-of-stock {
  border-color: #E2E8F0 !important;
  background: #FAFAFC !important;
  opacity: 0.9;
}

.pricing-card.is-out-of-stock:hover {
  transform: translateY(-2px);
  border-color: #CBD5E1 !important;
  box-shadow: 0 8px 20px -4px rgba(15, 23, 42, 0.06) !important;
}

.pricing-card.is-out-of-stock .price-value {
  color: #64748B;
}

.pricing-card.is-out-of-stock .card-ribbon {
  display: none;
}

.pricing-card.is-out-of-stock .card-ribbon.ribbon-out-of-stock {
  display: inline-flex;
}

.card-ribbon.ribbon-out-of-stock {
  background: linear-gradient(135deg, #EF4444 0%, #DC2626 100%);
  color: #FFFFFF;
  box-shadow: 0 4px 10px rgba(220, 38, 38, 0.35);
  font-weight: 800;
  letter-spacing: 0.5px;
}

.card-pill-badge.badge-out-of-stock {
  background: #FEE2E2 !important;
  color: #DC2626 !important;
  border: 1px solid #FECACA !important;
  font-weight: 700;
}

.pricing-card .btn-buy.btn-out-of-stock {
  background: #F1F5F9 !important;
  color: #94A3B8 !important;
  border: 1.5px solid #E2E8F0 !important;
  cursor: not-allowed !important;
  box-shadow: none !important;
  transform: none !important;
  font-weight: 700;
  opacity: 0.85;
}

.pricing-card .btn-buy.btn-out-of-stock:hover {
  background: #F1F5F9 !important;
  color: #94A3B8 !important;
  border-color: #E2E8F0 !important;
  transform: none !important;
  box-shadow: none !important;
}

/* Feature Showcase Grid */
.features-section {
  padding: 84px 0;
  background-color: var(--color-bg-subtle);
  border: 1px solid var(--color-slate-200);
  border-radius: 36px;
  margin: 16px 24px;
}

.section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 56px;
}

.section-tag {
  font-family: var(--font-heading);
  color: var(--color-orange-500);
  font-weight: 700;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 10px;
  display: block;
}

.section-title {
  font-size: 2.4rem;
  font-weight: 800;
  margin-bottom: 16px;
  color: var(--color-slate-900);
}

.section-desc {
  font-size: 1.05rem;
  color: var(--color-slate-600);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.feature-card {
  background: #FFFFFF;
  border: 1px solid var(--color-slate-200);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: all var(--transition-normal);
}

.feature-card:hover {
  transform: translateY(-4px);
  border-color: var(--color-orange-200);
  box-shadow: var(--shadow-lg);
}

.feature-icon-wrapper {
  width: 52px;
  height: 52px;
  background: var(--color-orange-50);
  border: 1px solid var(--color-orange-200);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-orange-500);
  margin-bottom: 20px;
}

.feature-title {
  font-size: 1.2rem;
  margin-bottom: 10px;
}

.feature-text {
  font-size: 0.92rem;
  color: var(--color-slate-600);
  line-height: 1.6;
}

/* Datacenter Network Section */
.datacenter-section {
  padding: 80px 0;
  background: #FFFFFF;
}

.locations-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}

.location-card {
  border: 1px solid var(--color-slate-200);
  border-radius: var(--radius-md);
  padding: 20px 16px;
  text-align: center;
  background: #FFFFFF;
  transition: all var(--transition-normal);
}

.location-card:hover {
  border-color: var(--color-orange-500);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.loc-flag {
  font-size: 1.8rem;
  margin-bottom: 8px;
  display: block;
}

.loc-name {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--color-slate-800);
  margin-bottom: 4px;
}

.loc-ping {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.8rem;
  color: var(--color-success);
  font-weight: 600;
  background: var(--color-success-bg);
  padding: 2px 8px;
  border-radius: var(--radius-pill);
}

/* FAQ Accordion — Enhanced Premium Design */
.faq-section {
  padding: 80px 0;
  background: var(--color-bg-subtle);
}

.faq-list {
  max-width: 820px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.faq-item {
  background: #FFFFFF;
  border: 1px solid var(--color-slate-200);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  border-left: 4px solid transparent;
  box-shadow: var(--shadow-sm);
}

.faq-item:hover {
  border-color: var(--color-orange-200);
  border-left-color: var(--color-orange-200);
  box-shadow: var(--shadow-md);
}

.faq-item.active {
  border-color: var(--color-orange-200);
  border-left-color: var(--color-orange-500);
  box-shadow: 0 8px 24px -4px rgba(255, 102, 0, 0.12);
}

.faq-question {
  padding: 22px 24px;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--color-slate-900);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  user-select: none;
  transition: color 0.2s ease;
}

.faq-question:hover {
  color: var(--color-orange-500);
}

.faq-q-left {
  display: flex;
  align-items: center;
  gap: 14px;
  flex: 1;
  min-width: 0;
}

.faq-index {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--color-orange-500);
  background: var(--color-orange-50);
  border: 1px solid var(--color-orange-200);
  width: 32px;
  height: 32px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all 0.25s ease;
}

.faq-item.active .faq-index {
  background: linear-gradient(135deg, var(--color-orange-500), var(--color-orange-600));
  color: #FFFFFF;
  border-color: var(--color-orange-500);
  box-shadow: 0 2px 8px rgba(255, 102, 0, 0.3);
}

.faq-icon {
  width: 18px;
  height: 18px;
  color: var(--color-slate-400);
  flex-shrink: 0;
  transition: color 0.25s ease;
}

.faq-item.active .faq-icon {
  color: var(--color-orange-500);
}

.faq-arrow-circle {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--color-slate-100);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.faq-item.active .faq-arrow-circle {
  background: var(--color-orange-50);
}

.faq-arrow {
  width: 18px;
  height: 18px;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), color 0.25s ease;
  color: var(--color-slate-400);
}

.faq-item.active .faq-arrow {
  transform: rotate(180deg);
  color: var(--color-orange-500);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.faq-item.active .faq-answer {
  max-height: 500px;
}

.faq-answer-inner {
  padding: 0 24px 24px 70px;
  color: var(--color-slate-600);
  font-size: 0.95rem;
  line-height: 1.7;
}

.faq-answer-inner p {
  margin-bottom: 14px;
}

/* FAQ Highlight Box */
.faq-highlight-box {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--color-orange-50);
  border: 1px solid var(--color-orange-200);
  border-radius: var(--radius-md);
  padding: 12px 16px;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--color-orange-700);
  margin-top: 4px;
}

/* FAQ Check List */
.faq-check-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 0;
  margin: 0;
}

.faq-check-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.92rem;
  color: var(--color-slate-700);
}

.faq-check-icon {
  width: 16px;
  height: 16px;
  color: var(--color-success);
  flex-shrink: 0;
  margin-top: 3px;
}

/* FAQ Payment Tags Grid */
.faq-payment-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 2px;
}

.faq-payment-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--color-slate-100);
  border: 1px solid var(--color-slate-200);
  border-radius: var(--radius-pill);
  padding: 8px 16px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--color-slate-700);
  transition: all 0.2s ease;
}

.faq-payment-tag:hover {
  border-color: var(--color-orange-200);
  background: var(--color-orange-50);
  color: var(--color-orange-600);
}

/* FAQ Responsive */
@media (max-width: 768px) {
  .faq-answer-inner {
    padding: 0 20px 20px 20px;
  }

  .faq-question {
    padding: 18px 16px;
    font-size: 0.95rem;
  }

  .faq-index {
    display: none;
  }

  .faq-payment-grid {
    flex-direction: column;
  }
}

/* Client Dashboard & Order Tables */
.portal-wrapper {
  padding: 48px 0 80px;
  background: var(--color-bg-subtle);
  min-height: calc(100vh - 76px - 280px);
}

.portal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 32px;
  flex-wrap: wrap;
  gap: 16px;
}

.portal-title {
  font-size: 1.85rem;
  font-weight: 800;
}

.portal-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 32px;
}

.portal-stat-card {
  position: relative;
  background: #FFFFFF;
  border: 1px solid var(--color-slate-200);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-sm);
  display: flex;
  align-items: center;
  gap: 18px;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.portal-stat-card.wallet-card {
  border: 1.5px solid #FED7AA;
  background: linear-gradient(135deg, #FFF7ED 0%, #FFFFFF 100%);
}

.stat-topup-badge {
  position: absolute;
  top: 14px;
  right: 14px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: linear-gradient(135deg, #FF6600 0%, #EA580C 100%);
  color: #FFFFFF !important;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 6px;
  text-decoration: none !important;
  box-shadow: 0 2px 6px rgba(234, 88, 12, 0.25);
  transition: all 0.18s ease;
  line-height: 1.2;
  z-index: 2;
  cursor: pointer;
}

.stat-topup-badge:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 10px rgba(234, 88, 12, 0.35);
  filter: brightness(1.06);
}

.stat-topup-badge:active {
  transform: translateY(0);
}

.stat-icon-box {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--color-orange-50);
  color: var(--color-orange-500);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.stat-val {
  font-size: 1.8rem;
  font-weight: 800;
  line-height: 1;
  color: var(--color-slate-900);
  margin-bottom: 4px;
}

.stat-label {
  font-size: 0.82rem;
  color: var(--color-slate-500);
  font-weight: 600;
  text-transform: uppercase;
}

/* Data Tables */
.table-card {
  background: #FFFFFF;
  border: 1px solid var(--color-slate-200);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}

.table-responsive {
  width: 100%;
  overflow-x: auto;
}

.data-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 0.92rem;
}

.data-table th {
  background: var(--color-slate-50);
  padding: 16px 20px;
  font-family: var(--font-heading);
  font-weight: 600;
  color: var(--color-slate-700);
  border-bottom: 1px solid var(--color-slate-200);
  white-space: nowrap;
}

.data-table td {
  padding: 16px 20px;
  border-bottom: 1px solid var(--color-slate-100);
  color: var(--color-slate-700);
  vertical-align: middle;
}

.data-table tr:hover td {
  background-color: var(--color-bg-subtle);
}

/* Forms & Authentication Cards */
.auth-page-wrapper {
  min-height: calc(100vh - 76px - 140px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 48px 20px;
  background: radial-gradient(circle at 50% 30%, rgba(255, 102, 0, 0.04) 0%, rgba(255, 255, 255, 0) 70%), #FFFFFF;
}

.auth-card {
  width: 100%;
  max-width: 440px;
  background: #FFFFFF;
  border: 1px solid var(--color-slate-200);
  border-radius: var(--radius-xl);
  padding: 40px 36px;
  box-shadow: var(--shadow-xl);
  position: relative;
  overflow: hidden;
}

.auth-header {
  text-align: center;
  margin-bottom: 28px;
}

.auth-title {
  font-size: 1.7rem;
  font-weight: 800;
  color: var(--color-slate-900);
  margin-bottom: 8px;
}

.form-group {
  margin-bottom: 20px;
}

.form-label {
  display: block;
  font-family: var(--font-heading);
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--color-slate-800);
  margin-bottom: 6px;
}

.form-control {
  width: 100%;
  padding: 12px 16px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  border: 1.5px solid var(--color-slate-200);
  border-radius: var(--radius-md);
  background: #FFFFFF;
  color: var(--color-slate-800);
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

select.form-control,
select {
  padding: 8px 32px 8px 12px;
  line-height: 1.4;
  background-color: #FFFFFF;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2364748B' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 10px center;
  background-size: 14px;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  cursor: pointer;
}

.form-control:focus {
  outline: none;
  border-color: var(--color-orange-500);
  box-shadow: 0 0 0 4px rgba(255, 102, 0, 0.12);
}

/* Password Input Wrapper & Eye Toggle Button */
.password-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  width: 100%;
}

.password-wrapper .form-control {
  padding-right: 44px !important;
  width: 100%;
}

.password-toggle-btn {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  background: transparent;
  border: none;
  color: var(--color-slate-400);
  cursor: pointer;
  padding: 6px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  transition: all var(--transition-fast);
  z-index: 5;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
}

.password-toggle-btn:hover {
  color: var(--color-orange-600);
  background-color: var(--color-orange-50);
}

.password-toggle-btn:focus-visible {
  outline: 2px solid var(--color-orange-500);
  outline-offset: 1px;
}

.password-toggle-btn svg {
  width: 18px;
  height: 18px;
  stroke-width: 2;
  display: block;
  pointer-events: none;
}

/* Password Strength Meter & Minimalist Requirement Chips */
.pwd-meter-container {
  margin-top: 8px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.pwd-meter-track {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 5px;
  height: 3.5px;
  width: 100%;
}

.pwd-meter-segment {
  height: 100%;
  background: var(--color-slate-200);
  border-radius: 999px;
  transition: background-color 0.25s ease, transform 0.25s ease;
}

.pwd-hints-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
}

.pwd-hint-chip {
  font-size: 0.72rem;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: 999px;
  background: #F1F5F9;
  color: #64748B;
  border: 1px solid transparent;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: all 0.2s ease;
  user-select: none;
}

.pwd-hint-chip.valid {
  background: #ECFDF5;
  color: #059669;
  border-color: #A7F3D0;
}

.pwd-hint-chip .chip-icon {
  font-size: 0.65rem;
  line-height: 1;
}

/* Password Match Indicator */
.password-match-indicator {
  font-size: 0.76rem;
  margin-top: 5px;
  display: none;
  align-items: center;
  gap: 5px;
  font-weight: 600;
}
.password-match-indicator.matched {
  display: flex;
  color: #059669;
}
.password-match-indicator.unmatched {
  display: flex;
  color: #DC2626;
}

/* Back to Home Link */
.back-home-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--color-slate-500);
  text-decoration: none;
  transition: color var(--transition-fast), transform var(--transition-fast);
}

.back-home-link:hover {
  color: var(--color-orange-600);
  transform: translateX(-3px);
}

/* Clean 6-Digit OTP UI Components */
.otp-input-group {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin: 18px 0 22px;
}

.otp-digit {
  width: 48px;
  height: 54px;
  text-align: center;
  font-size: 1.45rem;
  font-weight: 800;
  font-family: var(--font-heading);
  color: var(--color-slate-900);
  background: #FFFFFF;
  border: 1.5px solid var(--color-slate-200);
  border-radius: var(--radius-md);
  outline: none;
  transition: all var(--transition-fast);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.otp-digit:focus {
  border-color: var(--color-orange-500);
  box-shadow: 0 0 0 4px rgba(255, 102, 0, 0.15);
  background: #FFFFFF;
  transform: translateY(-2px);
}

.otp-digit.filled {
  border-color: var(--color-orange-500);
  background: #FFFDF9;
}

@media (max-width: 440px) {
  .otp-digit {
    width: 40px;
    height: 48px;
    font-size: 1.25rem;
    gap: 6px;
  }
}

.otp-timer-box {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-size: 0.84rem;
  color: var(--color-slate-500);
  margin-bottom: 18px;
}

.otp-timer-box strong {
  color: var(--color-orange-600);
  font-family: var(--font-mono);
}

.btn-resend-otp {
  background: none;
  border: none;
  color: var(--color-orange-600);
  font-weight: 700;
  font-size: 0.84rem;
  cursor: pointer;
  padding: 0;
  text-decoration: underline;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.btn-resend-otp:disabled {
  color: var(--color-slate-400);
  text-decoration: none;
  cursor: not-allowed;
}

.email-pill-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--color-orange-50);
  border: 1px solid var(--color-orange-200);
  color: var(--color-orange-700);
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  font-size: 0.82rem;
  font-weight: 700;
  margin-top: 6px;
}

/* Alert Boxes */
.alert {
  padding: 14px 18px;
  border-radius: var(--radius-md);
  font-size: 0.9rem;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.alert-danger {
  background: #FEF2F2;
  border: 1px solid #FECACA;
  color: #B91C1C;
}

.alert-success {
  background: #ECFDF5;
  border: 1px solid #A7F3D0;
  color: #065F46;
}

.alert-info {
  background: var(--color-orange-50);
  border: 1px solid var(--color-orange-200);
  color: var(--color-orange-700);
}

/* Footer */
.site-footer {
  background: #FFFFFF;
  border-top: 1px solid var(--color-slate-200);
  padding: 64px 0 32px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}

.footer-brand p {
  margin-top: 14px;
  color: var(--color-slate-500);
  font-size: 0.92rem;
  max-width: 320px;
}

.footer-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-slate-900);
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links a {
  color: var(--color-slate-600);
  font-size: 0.92rem;
}

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

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 32px;
  border-top: 1px solid var(--color-slate-100);
  font-size: 0.88rem;
  color: var(--color-slate-500);
  flex-wrap: wrap;
  gap: 16px;
}

/* ==========================================================================
   Catalog Page Layout: Hero Header & Rounded Content Section
   ========================================================================== */
.catalog-hero-header {
  position: relative;
  padding: 40px 0 48px;
  background: radial-gradient(circle at 50% 0%, rgba(255, 102, 0, 0.08) 0%, rgba(241, 245, 249, 0.8) 70%), #F8FAFC;
  border-bottom: 1px solid rgba(226, 232, 240, 0.6);
}

.catalog-hero-header.hero-aws {
  background: radial-gradient(circle at 50% 0%, rgba(255, 153, 0, 0.12) 0%, rgba(241, 245, 249, 0.8) 70%), #F8FAFC;
}

.catalog-hero-header.hero-vps {
  background: radial-gradient(circle at 50% 0%, rgba(0, 120, 212, 0.08) 0%, rgba(241, 245, 249, 0.8) 70%), #F8FAFC;
}

.catalog-hero-header.hero-linux {
  background: radial-gradient(circle at 50% 0%, rgba(30, 41, 59, 0.08) 0%, rgba(241, 245, 249, 0.8) 70%), #F8FAFC;
}

.catalog-content-section {
  background: #FFFFFF;
  border-radius: 32px 32px 0 0;
  border-top: 1.5px solid #E2E8F0;
  box-shadow: 0 -8px 24px -6px rgba(15, 23, 42, 0.05);
  position: relative;
  z-index: 2;
  margin-top: -24px;
  padding: 32px 0 60px;
}

@media (max-width: 768px) {
  .catalog-hero-header {
    padding: 30px 0 38px;
  }
  .catalog-content-section {
    border-radius: 24px 24px 0 0;
    margin-top: -18px;
    padding: 24px 0 44px;
  }
}

/* ==========================================================================
   Admin Modals System
   ========================================================================== */
.admin-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.65);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  animation: modalFadeIn 0.2s ease;
}

.admin-modal-card {
  background: #FFFFFF;
  border-radius: 20px;
  width: 100%;
  max-width: 460px;
  padding: 32px 28px;
  box-shadow: 0 25px 50px -12px rgba(15, 23, 42, 0.25);
  border: 1.5px solid var(--color-slate-200);
  animation: modalPopIn 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
}

@keyframes modalFadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes modalPopIn {
  from { opacity: 0; transform: scale(0.95) translateY(-8px); }
  to { opacity: 1; transform: scale(1) translateY(0); }
}

/* ==========================================================================
   Catalog Search Bar, Filter Chips & Homepage Stock Banner
   ========================================================================== */
.catalog-toolbar-wrapper {
  background: #FFFFFF;
  border: 1px solid var(--color-slate-200);
  border-radius: 14px;
  padding: 12px 18px;
  margin-bottom: 22px;
  box-shadow: 0 2px 12px -2px rgba(15, 23, 42, 0.04);
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: box-shadow var(--transition-normal);
}

.catalog-toolbar-wrapper:hover {
  box-shadow: 0 6px 18px -4px rgba(15, 23, 42, 0.07);
}

.catalog-search-top-row {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.catalog-search-input-box {
  flex: 1;
  min-width: 260px;
  position: relative;
  display: flex;
  align-items: center;
}

.catalog-search-icon {
  position: absolute;
  left: 13px;
  width: 16px;
  height: 16px;
  color: var(--color-slate-400);
  pointer-events: none;
  transition: color var(--transition-fast);
}

.catalog-search-input {
  width: 100%;
  height: 38px;
  padding: 0 34px 0 36px;
  border: 1.5px solid var(--color-slate-200);
  border-radius: var(--radius-pill);
  font-family: var(--font-body);
  font-size: 0.88rem;
  color: var(--color-slate-900);
  background-color: var(--color-bg-subtle);
  outline: none;
  transition: all var(--transition-fast);
}

.catalog-search-input:focus {
  background-color: #FFFFFF;
  border-color: var(--color-orange-500);
  box-shadow: 0 0 0 3px var(--color-orange-light-glow);
}

.catalog-search-input:focus + .catalog-search-icon,
.catalog-search-input-box:focus-within .catalog-search-icon {
  color: var(--color-orange-500);
}

.catalog-search-clear {
  position: absolute;
  right: 10px;
  background: var(--color-slate-200);
  border: none;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: none;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--color-slate-600);
  font-size: 11px;
  font-weight: 700;
  transition: all var(--transition-fast);
}

.catalog-search-clear:hover {
  background: var(--color-orange-500);
  color: #FFFFFF;
}

.catalog-sort-box {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
  position: relative;
}

.catalog-sort-label {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--color-slate-500);
  white-space: nowrap;
}

/* --- Custom Luxury Sort Dropdown --- */
.catalog-custom-select {
  position: relative;
  display: inline-block;
  user-select: none;
}

.catalog-select-trigger {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  height: 40px;
  padding: 0 14px 0 10px;
  border: 1.5px solid var(--color-slate-200);
  border-radius: var(--radius-pill);
  background-color: #FFFFFF;
  font-family: var(--font-body);
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--color-slate-800);
  cursor: pointer;
  outline: none;
  transition: all var(--transition-fast);
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.04);
}

.catalog-select-trigger:hover {
  border-color: var(--color-orange-500);
  color: var(--color-slate-900);
  box-shadow: 0 2px 10px rgba(255, 102, 0, 0.12);
  background-color: var(--color-bg-warm);
}

.catalog-custom-select.is-open .catalog-select-trigger {
  border-color: var(--color-orange-500);
  background-color: #FFFFFF;
  box-shadow: 0 0 0 3px var(--color-orange-light-glow), 0 4px 14px rgba(255, 102, 0, 0.15);
}

.catalog-select-current-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--color-orange-50);
  color: var(--color-orange-600);
  flex-shrink: 0;
  transition: transform var(--transition-fast);
}

.catalog-select-current-icon svg {
  width: 14px;
  height: 14px;
}

.catalog-select-current-label {
  font-weight: 600;
  white-space: nowrap;
}

.catalog-select-arrow {
  width: 15px;
  height: 15px;
  color: var(--color-slate-400);
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), color 0.2s ease;
  flex-shrink: 0;
  margin-left: 2px;
}

.catalog-custom-select.is-open .catalog-select-arrow {
  transform: rotate(180deg);
  color: var(--color-orange-600);
}

/* Dropdown Menu Container */
.catalog-select-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  width: 330px;
  max-width: 90vw;
  background: #FFFFFF;
  border: 1px solid rgba(226, 232, 240, 0.9);
  border-radius: 16px;
  padding: 8px;
  box-shadow: 0 20px 45px -8px rgba(15, 23, 42, 0.16), 0 8px 24px -4px rgba(255, 102, 0, 0.1);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(-8px) scale(0.97);
  transform-origin: top right;
  transition: opacity 0.22s cubic-bezier(0.16, 1, 0.3, 1), transform 0.22s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.22s;
  z-index: 1100;
  backdrop-filter: blur(16px);
}

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

/* Header inside dropdown */
.catalog-select-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 6px 10px 8px;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-slate-400);
  border-bottom: 1px solid var(--color-slate-100);
  margin-bottom: 6px;
}

.catalog-select-count {
  font-size: 0.68rem;
  font-weight: 600;
  color: var(--color-orange-600);
  background: var(--color-orange-50);
  padding: 1px 7px;
  border-radius: var(--radius-pill);
}

/* List of options */
.catalog-select-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 3px;
  max-height: 360px;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: var(--color-slate-200) transparent;
}

.catalog-select-list::-webkit-scrollbar {
  width: 5px;
}

.catalog-select-list::-webkit-scrollbar-thumb {
  background: var(--color-slate-200);
  border-radius: 4px;
}

/* Individual option item */
.catalog-select-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
  border-radius: 10px;
  cursor: pointer;
  transition: all var(--transition-fast);
  outline: none;
  position: relative;
  text-align: left;
}

.catalog-select-item:hover,
.catalog-select-item:focus {
  background: var(--color-orange-50);
  transform: translateX(2px);
}

.catalog-select-item.is-selected {
  background: linear-gradient(135deg, #FFF7ED 0%, #FFEDD5 100%);
}

.catalog-select-item-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: var(--color-slate-100);
  color: var(--color-slate-600);
  flex-shrink: 0;
  transition: all var(--transition-fast);
}

.catalog-select-item-icon svg {
  width: 15px;
  height: 15px;
}

.catalog-select-item:hover .catalog-select-item-icon,
.catalog-select-item:focus .catalog-select-item-icon {
  background: #FFFFFF;
  color: var(--color-orange-600);
  box-shadow: 0 2px 6px rgba(255, 102, 0, 0.15);
}

.catalog-select-item.is-selected .catalog-select-item-icon {
  background: var(--color-orange-500);
  color: #FFFFFF;
  box-shadow: 0 3px 8px rgba(255, 102, 0, 0.35);
}

.catalog-select-item-text {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 1px;
  min-width: 0;
}

.catalog-select-item-title {
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--color-slate-800);
  transition: color var(--transition-fast);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.catalog-select-item:hover .catalog-select-item-title,
.catalog-select-item:focus .catalog-select-item-title {
  color: var(--color-slate-950);
}

.catalog-select-item.is-selected .catalog-select-item-title {
  color: #431407;
  font-weight: 700;
}

.catalog-select-item-desc {
  font-size: 0.72rem;
  color: var(--color-slate-400);
  font-weight: 400;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.catalog-select-item:hover .catalog-select-item-desc,
.catalog-select-item:focus .catalog-select-item-desc {
  color: var(--color-slate-600);
}

.catalog-select-item.is-selected .catalog-select-item-desc {
  color: var(--color-orange-700);
}

.catalog-select-item-tag {
  font-size: 0.67rem;
  font-weight: 600;
  padding: 2px 7px;
  border-radius: var(--radius-pill);
  background: var(--color-slate-100);
  color: var(--color-slate-600);
  flex-shrink: 0;
  letter-spacing: 0.02em;
}

.catalog-select-item-tag.hot {
  background: #FEE2E2;
  color: #DC2626;
}

.catalog-select-item.is-selected .catalog-select-item-tag {
  background: rgba(255, 255, 255, 0.9);
  color: var(--color-orange-700);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.catalog-select-check {
  width: 15px;
  height: 15px;
  color: var(--color-orange-600);
  opacity: 0;
  transform: scale(0.4);
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  flex-shrink: 0;
}

.catalog-select-check svg {
  width: 15px;
  height: 15px;
}

.catalog-select-item.is-selected .catalog-select-check {
  opacity: 1;
  transform: scale(1);
}

/* Fallback & hidden select */
.catalog-sort-select {
  height: 38px;
  padding: 0 28px 0 12px;
  border: 1.5px solid var(--color-slate-200);
  border-radius: var(--radius-pill);
  background-color: var(--color-bg-subtle);
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--color-slate-700);
  cursor: pointer;
  outline: none;
  transition: all var(--transition-fast);
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%2364748B' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 10px center;
}

.catalog-sort-select:focus {
  border-color: var(--color-orange-500);
  background-color: #FFFFFF;
  box-shadow: 0 0 0 3px var(--color-orange-light-glow);
}

.catalog-sort-select.visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

.catalog-toolbar-bottom-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  padding-top: 8px;
  border-top: 1px solid var(--color-slate-100);
}

.catalog-filter-chips {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
}

.filter-chip {
  background: var(--color-bg-subtle);
  border: 1px solid var(--color-slate-200);
  color: var(--color-slate-600);
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  font-size: 0.76rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-fast);
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.filter-chip:hover {
  background: var(--color-orange-50);
  border-color: var(--color-orange-200);
  color: var(--color-orange-700);
}

.filter-chip.active {
  background: var(--color-orange-500);
  border-color: var(--color-orange-500);
  color: #FFFFFF;
  box-shadow: 0 2px 6px rgba(255, 102, 0, 0.2);
}

.catalog-stock-badge-info {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.78rem;
  color: var(--color-slate-500);
  font-weight: 500;
}

.catalog-stock-badge-info strong {
  color: var(--color-slate-900);
  font-weight: 700;
}

.stock-live-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background-color: var(--color-success);
  display: inline-block;
  box-shadow: 0 0 0 2px rgba(16, 185, 129, 0.2);
  animation: pulseDot 2s infinite ease-in-out;
}

/* Empty Catalog Search Result */
.catalog-empty-search {
  grid-column: 1 / -1;
  width: 100%;
  background: #FFFFFF;
  border: 2px dashed var(--color-slate-200);
  border-radius: 20px;
  padding: 56px 24px;
  text-align: center;
  margin: 10px 0 30px;
}

.catalog-empty-search .empty-icon-circle {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--color-orange-50);
  color: var(--color-orange-500);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

.catalog-empty-search h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-slate-900);
  margin-bottom: 8px;
}

.catalog-empty-search p {
  color: var(--color-slate-500);
  font-size: 0.95rem;
  max-width: 440px;
  margin: 0 auto 20px;
}

/* Homepage More Stock CTA Bar - Sleek & Compact */
.home-more-stock-cta {
  background: #FFFFFF;
  border: 1px solid var(--color-slate-200);
  border-radius: var(--radius-pill);
  padding: 10px 16px 10px 22px;
  margin: 30px auto 10px;
  max-width: 860px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  box-shadow: 0 4px 16px -2px rgba(15, 23, 42, 0.05);
  transition: all var(--transition-fast);
}

.home-more-stock-cta:hover {
  border-color: rgba(255, 102, 0, 0.4);
  box-shadow: 0 6px 20px -2px rgba(255, 102, 0, 0.1);
}

.home-more-stock-left {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.home-more-stock-heading {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--color-slate-700);
}

.home-more-stock-badge {
  font-size: 0.72rem;
  font-weight: 700;
  background: var(--color-orange-50);
  color: var(--color-orange-700);
  border: 1px solid var(--color-orange-200);
  padding: 2px 9px;
  border-radius: var(--radius-pill);
  white-space: nowrap;
}

.home-more-stock-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, #FF6600 0%, #EA580C 100%);
  color: #FFFFFF !important;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.84rem;
  padding: 8px 18px;
  border-radius: var(--radius-pill);
  box-shadow: 0 4px 12px rgba(255, 102, 0, 0.28);
  transition: all var(--transition-fast);
  white-space: nowrap;
  flex-shrink: 0;
}

.home-more-stock-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(255, 102, 0, 0.38);
}

/* ==========================================================================
   Comprehensive Mobile & Tablet Responsive Architecture
   Optimized for devices: 320px, 360px, 375px, 390px, 412px, 480px, 768px, 1024px
   ========================================================================== */

/* Prevent any horizontal overflow on all screen sizes */
html, body {
  overflow-x: hidden !important;
  width: 100% !important;
  max-width: 100vw !important;
}

/* Tablet Screens (<= 1024px) */
@media (max-width: 1024px) {
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .locations-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .portal-stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 36px;
  }
}

/* Compact Navbar for Medium-Large Tablets (901px - 1140px) */
@media (max-width: 1140px) and (min-width: 901px) {
  .nav-link {
    font-size: 0.82rem;
    padding: 5px 8px;
    gap: 4px;
  }
  .nav-micro-badge {
    font-size: 0.6rem;
    padding: 1px 4px;
  }
  .header-cta-btn {
    padding: 7px 12px;
    font-size: 0.82rem;
    gap: 5px;
  }
  .header-signin-btn {
    padding: 6px 10px;
    font-size: 0.82rem;
  }
}

/* Header Switch to Mobile Drawer (<= 900px) */
@media (max-width: 900px) {
  .site-header {
    height: 64px;
  }
  .header-inner {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    height: 64px;
  }
  .main-nav, 
  .header-actions .btn, 
  .header-actions .header-cta-btn, 
  .header-actions .header-signin-btn, 
  .header-brand-group .cluster-status-pill, 
  .header-actions .header-admin-btn .admin-btn-label, 
  .header-actions .header-user-chip .user-chip-name {
    display: none !important;
  }
  .brand-logo-svg {
    max-width: 145px;
    height: auto;
  }
  .mobile-toggle {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    min-height: 40px;
    padding: 8px;
    border-radius: 8px;
    background: var(--color-bg-subtle);
    border: 1px solid var(--color-slate-200);
  }
  .mobile-nav-drawer {
    top: 64px;
    height: calc(100vh - 64px);
    padding: 24px 18px;
  }
  .mobile-nav-links a {
    font-size: 1.1rem;
    padding: 12px 0;
    min-height: 44px;
    display: flex;
    align-items: center;
  }
}

/* Medium Tablets & Mobile Landscape (<= 860px) */
@media (max-width: 860px) {
  .order-checkout-grid {
    grid-template-columns: 1fr !important;
    gap: 24px !important;
  }
  .order-summary-sidebar {
    position: static !important;
    top: auto !important;
  }
  .wallet-stats-grid {
    grid-template-columns: 1fr !important;
    gap: 14px !important;
  }
  .wallet-layout-grid {
    grid-template-columns: 1fr !important;
    gap: 20px !important;
  }
  .contact-grid {
    grid-template-columns: 1fr !important;
    gap: 32px !important;
  }
  .manage-service-grid {
    grid-template-columns: 1fr !important;
    gap: 24px !important;
  }
}

/* Mobile Devices & Small Tablets (<= 768px) */
@media (max-width: 768px) {
  /* Prevent iOS Safari auto-zoom on input focus */
  input[type="text"],
  input[type="email"],
  input[type="password"],
  input[type="number"],
  input[type="search"],
  select,
  textarea {
    font-size: 16px !important;
  }

  /* Container Gutters */
  .container {
    padding-left: 16px !important;
    padding-right: 16px !important;
  }
  .container-narrow {
    padding-left: 16px !important;
    padding-right: 16px !important;
  }
  .order-page-container {
    padding: 24px 16px 48px !important;
  }

  /* Hero Section */
  .hero-section {
    padding: 38px 0 46px;
  }
  .hero-badge, .hero-pill {
    font-size: 0.78rem;
    padding: 5px 12px;
    margin-bottom: 16px;
    text-align: center;
    line-height: 1.35;
    max-width: 100%;
  }
  .hero-title {
    font-size: 2.1rem;
    letter-spacing: -0.5px;
    margin-bottom: 14px;
    line-height: 1.22;
  }
  .hero-subtitle {
    font-size: 0.94rem;
    line-height: 1.55;
    margin-bottom: 26px;
    padding: 0 4px;
  }
  .hero-buttons {
    flex-direction: column;
    width: 100%;
    gap: 12px;
    margin-bottom: 30px;
  }
  .hero-buttons .btn {
    width: 100%;
    min-height: 48px;
    font-size: 0.98rem;
    justify-content: center;
  }
  .hero-trust-metrics {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px 16px;
    padding-top: 18px;
    justify-items: start;
  }
  .metric-item {
    font-size: 0.82rem;
  }

  /* Plan Category Tabs */
  .plan-tabs-container {
    width: 100%;
  }
  .plan-category-tabs {
    width: 100%;
    max-width: 380px;
    display: flex;
  }
  .tab-btn {
    flex: 1;
    text-align: center;
    padding: 9px 8px;
    font-size: 0.82rem;
    min-height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
  }
  .billing-toggle-wrapper {
    font-size: 0.88rem;
    gap: 10px;
    margin-bottom: 28px;
    flex-wrap: wrap;
    justify-content: center;
  }

  /* Pricing Grid & Fluid Cards */
  .pricing-grid {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    gap: 16px !important;
    width: 100% !important;
  }
  .pricing-card {
    flex: 1 1 100% !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
    padding: 18px 16px 16px !important;
    margin: 0 !important;
  }
  .card-ribbon {
    font-size: 0.64rem;
    padding: 2.5px 12px;
    top: -10px;
  }
  .card-title {
    font-size: 1.18rem;
  }
  .specs-list {
    gap: 5px;
    margin: 0 0 14px;
  }
  .specs-item {
    font-size: 0.8rem;
  }
  .specs-content {
    flex: 1;
    min-width: 0;
  }
  .specs-value {
    word-break: break-word;
  }
  .pricing-card .btn-buy {
    min-height: 44px;
    font-size: 0.92rem;
    width: 100%;
  }

  /* Homepage More Stock CTA Bar */
  .home-more-stock-cta {
    border-radius: 14px;
    padding: 14px;
    margin: 18px auto 10px;
    flex-direction: column;
    text-align: center;
    gap: 12px;
    width: 100%;
  }
  .home-more-stock-left {
    justify-content: center;
  }
  .home-more-stock-btn {
    width: 100%;
    min-height: 44px;
    justify-content: center;
  }

  /* Catalog Search & Filter Toolbar */
  .catalog-toolbar-wrapper {
    padding: 12px 14px;
    border-radius: 12px;
    gap: 12px;
    margin-bottom: 18px;
  }
  .catalog-search-top-row {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }
  .catalog-search-input-box {
    min-width: 0;
    width: 100%;
  }
  .catalog-search-input {
    height: 42px;
    font-size: 0.88rem;
  }
  .catalog-sort-box {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
  }
  .catalog-custom-select {
    flex: 1;
    min-width: 0;
  }
  .catalog-select-trigger {
    width: 100%;
    justify-content: space-between;
    padding: 0 12px;
  }
  .catalog-select-menu {
    left: 0;
    right: 0;
    width: 100%;
    min-width: 100%;
    max-width: 100%;
    transform-origin: top center;
  }
  .catalog-sort-select {
    flex: 1;
    height: 40px;
    font-size: 0.82rem;
  }
  .catalog-toolbar-bottom-row {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    padding-top: 10px;
  }
  .catalog-filter-chips {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding-bottom: 4px;
    margin: 0 -2px;
    gap: 6px;
    width: 100%;
  }
  .catalog-filter-chips::-webkit-scrollbar {
    display: none;
  }
  .filter-chip {
    flex-shrink: 0;
    white-space: nowrap;
    padding: 6px 13px;
    font-size: 0.78rem;
    min-height: 32px;
  }
  .catalog-stock-badge-info {
    font-size: 0.76rem;
    justify-content: flex-end;
  }

  /* Features & Datacenter Sections */
  .features-section, .datacenter-section, .faq-section {
    padding: 44px 0;
  }
  .section-header {
    margin-bottom: 32px;
  }
  .section-title {
    font-size: 1.75rem;
    margin-bottom: 12px;
  }
  .section-desc {
    font-size: 0.92rem;
  }
  .features-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .feature-card {
    padding: 22px 18px;
  }
  .locations-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }
  .location-card {
    padding: 14px 10px;
  }
  .loc-name {
    font-size: 0.88rem;
  }

  /* FAQ Accordion */
  .faq-answer-inner {
    padding: 0 16px 18px 16px;
    font-size: 0.9rem;
  }
  .faq-question {
    padding: 16px 14px;
    font-size: 0.94rem;
    gap: 10px;
  }
  .faq-index {
    display: none;
  }
  .faq-payment-grid {
    flex-direction: column;
  }

  /* Portal Stats & Tables */
  .portal-stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }
  .table-responsive {
    -webkit-overflow-scrolling: touch;
  }
  .data-table th, .data-table td {
    padding: 12px 14px;
    font-size: 0.84rem;
  }

  /* Footer */
  .site-footer {
    padding: 44px 0 24px;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .footer-bottom {
    flex-direction: column;
    text-align: center;
    gap: 14px;
  }
}

/* Small Phone Screens (<= 480px) */
@media (max-width: 480px) {
  .brand-logo-svg {
    max-width: 140px;
  }
  .hero-title {
    font-size: 1.75rem;
    letter-spacing: -0.3px;
  }
  .hero-trust-metrics {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .order-dc-grid,
  .order-payment-grid,
  .order-summary-grid {
    grid-template-columns: 1fr !important;
  }
  .locations-grid {
    grid-template-columns: 1fr;
    gap: 8px;
  }
  .auth-card {
    padding: 26px 18px !important;
    border-radius: 16px !important;
  }
  .auth-title {
    font-size: 1.45rem !important;
  }
  .btn-lg {
    padding: 14px 20px;
    font-size: 0.96rem;
  }
}



