/* ==========================================================================
   HOSTILEANCE CLOUD - Core Design System & Styling
   Theme: High-Performance Cyber Glassmorphism & Crimson Red Neon Glows
   ========================================================================== */

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

/* --- CSS Variables & Design Tokens (Red Theme) --- */
:root {
  --bg-main: #080406;
  --bg-secondary: #12070c;
  --bg-card: rgba(28, 11, 18, 0.72);
  --bg-card-hover: rgba(42, 14, 25, 0.88);
  --bg-glass: rgba(22, 9, 15, 0.65);
  --border-glass: rgba(255, 255, 255, 0.08);
  --border-glass-glow: rgba(255, 42, 95, 0.3);
  --border-card-highlight: rgba(255, 75, 43, 0.4);

  --primary: #ff2a5f;
  --primary-glow: rgba(255, 42, 95, 0.45);
  --primary-gradient: linear-gradient(135deg, #ff2a5f 0%, #ff5238 100%);
  
  --secondary: #ff4b2b;
  --secondary-glow: rgba(255, 75, 43, 0.45);
  --secondary-gradient: linear-gradient(135deg, #ff3366 0%, #ff5a36 100%);

  --accent-cyber: #00ff87;
  --accent-cyber-glow: rgba(0, 255, 135, 0.4);
  --accent-cyber-gradient: linear-gradient(135deg, #ff2a5f 0%, #ff8c42 100%);

  --danger: #ff1e56;
  --warning: #ffb703;
  --success: #10b981;

  --text-main: #fcf8fa;
  --text-secondary: #a8949d;
  --text-muted: #796670;

  --font-heading: 'Outfit', sans-serif;
  --font-body: 'Plus Jakarta Sans', sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --radius-full: 9999px;

  --shadow-sm: 0 4px 20px rgba(0, 0, 0, 0.4);
  --shadow-md: 0 10px 30px rgba(0, 0, 0, 0.55);
  --shadow-lg: 0 20px 50px rgba(0, 0, 0, 0.7);
  --shadow-glow: 0 0 35px var(--primary-glow);
  --shadow-purple: 0 0 35px var(--secondary-glow);

  --transition-fast: 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-normal: 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-smooth: 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  scroll-behavior: smooth;
  color-scheme: dark;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-main);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}

/* Ambient Background Grid & Glow Blobs */
body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-image: 
    radial-gradient(rgba(255, 42, 95, 0.08) 1px, transparent 1px),
    radial-gradient(rgba(255, 75, 43, 0.05) 1px, transparent 1px);
  background-size: 40px 40px, 80px 80px;
  background-position: 0 0, 20px 20px;
  pointer-events: none;
  z-index: 0;
  opacity: 0.6;
}

.glow-orb {
  position: fixed;
  border-radius: 50%;
  filter: blur(120px);
  pointer-events: none;
  z-index: 0;
  opacity: 0.45;
  animation: orbFloat 18s ease-in-out infinite alternate;
}

.glow-orb-1 {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, #ff2a5f, transparent 70%);
  top: -150px;
  right: -100px;
}

.glow-orb-2 {
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, #b80036, transparent 70%);
  bottom: 10%;
  left: -200px;
  animation-delay: -7s;
}

.glow-orb-3 {
  width: 450px;
  height: 450px;
  background: radial-gradient(circle, #ff5e36, transparent 70%);
  top: 45%;
  right: -150px;
  animation-delay: -12s;
  opacity: 0.25;
}

@keyframes orbFloat {
  0% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(40px, 60px) scale(1.1); }
  100% { transform: translate(-30px, -40px) scale(0.95); }
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--text-main);
  line-height: 1.2;
  font-weight: 700;
}

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

ul {
  list-style: none;
}

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

/* Utilities */
.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.5rem;
  position: relative;
  z-index: 1;
}

.section {
  padding: 6rem 0;
  position: relative;
  z-index: 1;
}

.text-gradient {
  background: var(--primary-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.text-gradient-purple {
  background: var(--secondary-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.text-gradient-cyber {
  background: var(--accent-cyber-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 1rem;
  background: rgba(255, 42, 95, 0.1);
  border: 1px solid rgba(255, 42, 95, 0.25);
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--primary);
  letter-spacing: 0.03em;
  text-transform: uppercase;
  backdrop-filter: blur(10px);
}

.badge-pill.purple {
  background: rgba(255, 75, 43, 0.12);
  border-color: rgba(255, 75, 43, 0.3);
  color: #ff7a59;
}

.badge-pill.cyber {
  background: rgba(0, 255, 135, 0.1);
  border-color: rgba(0, 255, 135, 0.3);
  color: var(--accent-cyber);
}

.pulse-dot {
  width: 8px;
  height: 8px;
  background-color: var(--primary);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--primary);
  animation: pulseDot 2s infinite ease-in-out;
}

@keyframes pulseDot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.7); }
}

.section-header {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 3.5rem;
}

.section-header h2 {
  font-size: 2.5rem;
  margin: 0.75rem 0 1rem;
  letter-spacing: -0.02em;
}

.section-header p {
  color: var(--text-secondary);
  font-size: 1.1rem;
}

/* Glass Card */
.glass-card {
  background: var(--bg-card);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  transition: var(--transition-normal);
  position: relative;
  overflow: hidden;
}

.glass-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.04), transparent);
  transition: 0.6s;
  pointer-events: none;
}

.glass-card:hover {
  transform: translateY(-5px);
  border-color: var(--border-glass-glow);
  box-shadow: var(--shadow-md), 0 0 25px rgba(255, 42, 95, 0.18);
  background: var(--bg-card-hover);
}

.glass-card:hover::before {
  left: 100%;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.85rem 1.75rem;
  border-radius: var(--radius-md);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  border: none;
  outline: none;
  transition: var(--transition-normal);
  position: relative;
  z-index: 1;
  text-decoration: none;
  user-select: none;
}

.btn-primary {
  background: var(--primary-gradient);
  color: #ffffff;
  font-weight: 700;
  box-shadow: 0 4px 20px rgba(255, 42, 95, 0.4);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(255, 42, 95, 0.65);
  color: #ffffff;
}

.btn-secondary {
  background: var(--secondary-gradient);
  color: #ffffff;
  font-weight: 700;
  box-shadow: 0 4px 20px rgba(255, 75, 43, 0.35);
}

.btn-secondary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(255, 75, 43, 0.55);
}

.btn-outline {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-glass);
  color: var(--text-main);
  backdrop-filter: blur(10px);
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.25);
  transform: translateY(-2px);
}

.btn-outline-cyan, .btn-outline-red {
  background: rgba(255, 42, 95, 0.06);
  border: 1px solid rgba(255, 42, 95, 0.35);
  color: var(--primary);
}

.btn-outline-cyan:hover, .btn-outline-red:hover {
  background: rgba(255, 42, 95, 0.18);
  border-color: var(--primary);
  box-shadow: 0 0 20px rgba(255, 42, 95, 0.3);
  transform: translateY(-2px);
}

.btn-sm {
  padding: 0.5rem 1rem;
  font-size: 0.85rem;
  border-radius: var(--radius-sm);
}

.btn-lg {
  padding: 1.1rem 2.4rem;
  font-size: 1.05rem;
  border-radius: var(--radius-md);
}

/* ==========================================================================
   Header & Navigation
   ========================================================================== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 1.1rem 0;
  transition: var(--transition-normal);
}

.site-header.scrolled {
  background: rgba(8, 4, 6, 0.9);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-glass);
  padding: 0.75rem 0;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

/* Logo */
.brand-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--text-main);
}

.logo-icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: var(--primary-gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #050b14;
  font-size: 1.15rem;
  box-shadow: 0 0 20px var(--primary-glow);
}

.brand-name span {
  color: var(--primary);
}

/* Nav Menu */
.nav-menu {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-link {
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--text-secondary);
  position: relative;
  padding: 0.4rem 0;
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.nav-link:hover, .nav-link.active {
  color: var(--primary);
}

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--primary-gradient);
  border-radius: 2px;
  box-shadow: 0 0 8px var(--primary);
}

/* Dropdown */
.nav-dropdown {
  position: relative;
}

.dropdown-menu {
  position: absolute;
  top: calc(100% + 15px);
  left: 50%;
  transform: translateX(-50%) translateY(10px);
  background: rgba(18, 7, 12, 0.96);
  backdrop-filter: blur(24px);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-md);
  padding: 0.75rem;
  min-width: 240px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: var(--transition-normal);
  box-shadow: var(--shadow-lg), 0 0 30px rgba(255, 42, 95, 0.15);
  z-index: 100;
}

.nav-dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

.dropdown-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.65rem 1rem;
  border-radius: var(--radius-sm);
  color: var(--text-secondary);
  font-size: 0.9rem;
  font-weight: 500;
  transition: var(--transition-fast);
}

.dropdown-item i {
  font-size: 1.1rem;
  color: var(--primary);
  width: 20px;
}

.dropdown-item:hover {
  background: rgba(255, 42, 95, 0.09);
  color: var(--text-main);
  transform: translateX(4px);
}

/* Nav Actions */
.nav-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.currency-select {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-glass);
  color: var(--text-secondary);
  padding: 0.45rem 0.75rem;
  border-radius: var(--radius-sm);
  font-family: var(--font-mono);
  font-size: 0.85rem;
  cursor: pointer;
  outline: none;
  transition: var(--transition-fast);
}

.currency-select:hover, .currency-select:focus {
  border-color: var(--primary);
  color: var(--text-main);
}

.currency-select option {
  background: var(--bg-secondary);
  color: var(--text-main);
}

.cart-btn {
  position: relative;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-glass);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  cursor: pointer;
  transition: var(--transition-fast);
}

.cart-btn:hover {
  color: var(--primary);
  border-color: var(--border-glass-glow);
  background: rgba(255, 42, 95, 0.09);
}

.cart-badge {
  position: absolute;
  top: -5px;
  right: -5px;
  background: var(--primary);
  color: white;
  font-size: 0.7rem;
  font-weight: 700;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 10px rgba(255, 42, 95, 0.6);
}

.hamburger-btn {
  display: none;
  background: transparent;
  border: none;
  color: var(--text-main);
  font-size: 1.5rem;
  cursor: pointer;
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero-section {
  padding: 9.5rem 0 5rem;
  position: relative;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 3.5rem;
  align-items: center;
}

.hero-content h1 {
  font-size: 3.6rem;
  font-weight: 800;
  line-height: 1.1;
  margin: 1.25rem 0 1.25rem;
  letter-spacing: -0.03em;
}

.hero-lead {
  font-size: 1.2rem;
  color: var(--text-secondary);
  margin-bottom: 2rem;
  max-width: 580px;
}

.hero-cta-group {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2.5rem;
}

.hero-stats-row {
  display: flex;
  align-items: center;
  gap: 2.5rem;
  padding-top: 1.75rem;
  border-top: 1px solid var(--border-glass);
}

.stat-item h4 {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--text-main);
  font-family: var(--font-mono);
}

.stat-item h4 span {
  color: var(--primary);
}

.stat-item p {
  font-size: 0.85rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Hero Interactive Server Graphic */
.hero-visual {
  position: relative;
}

.server-rack-card {
  background: rgba(22, 9, 15, 0.85);
  border: 1px solid rgba(255, 42, 95, 0.3);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  box-shadow: var(--shadow-lg), 0 0 40px rgba(255, 42, 95, 0.18);
  position: relative;
}

.server-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border-glass);
}

.server-node-list {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.server-node-item {
  background: rgba(14, 6, 10, 0.75);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-md);
  padding: 1rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: var(--transition-fast);
}

.server-node-item:hover {
  border-color: rgba(255, 42, 95, 0.35);
  background: rgba(26, 10, 18, 0.9);
  transform: translateX(4px);
}

.node-info {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.node-icon {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: rgba(255, 42, 95, 0.12);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
}

.node-name {
  font-weight: 600;
  font-size: 0.95rem;
}

.node-location {
  font-size: 0.78rem;
  color: var(--text-muted);
}

.node-metrics {
  text-align: right;
  font-family: var(--font-mono);
  font-size: 0.85rem;
}

.node-ping {
  color: var(--accent-cyber);
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.35rem;
  justify-content: flex-end;
}

.node-load {
  font-size: 0.75rem;
  color: var(--text-secondary);
}

.floating-speed-tag {
  position: absolute;
  bottom: -20px;
  left: -20px;
  background: rgba(28, 11, 18, 0.95);
  border: 1px solid rgba(255, 75, 43, 0.4);
  padding: 0.75rem 1.25rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md), 0 0 25px rgba(255, 75, 43, 0.25);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  animation: floatTag 4s ease-in-out infinite alternate;
}

@keyframes floatTag {
  0% { transform: translateY(0); }
  100% { transform: translateY(-8px); }
}

/* ==========================================================================
   Domain Search Hero Box
   ========================================================================== */
.domain-search-wrapper {
  margin-top: -2rem;
  margin-bottom: 4rem;
  position: relative;
  z-index: 10;
}

.domain-search-box {
  background: rgba(22, 9, 15, 0.92);
  backdrop-filter: blur(20px);
  border: 1px solid var(--border-glass-glow);
  box-shadow: var(--shadow-lg), 0 0 40px rgba(255, 42, 95, 0.18);
  border-radius: var(--radius-lg);
  padding: 2rem;
}

.search-input-group {
  display: flex;
  gap: 0.75rem;
  background: rgba(8, 4, 6, 0.85);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-md);
  padding: 0.4rem;
  transition: var(--transition-fast);
}

.search-input-group:focus-within {
  border-color: var(--primary);
  box-shadow: 0 0 20px rgba(255, 42, 95, 0.3);
}

.search-icon-left {
  display: flex;
  align-items: center;
  padding-left: 1rem;
  color: var(--primary);
  font-size: 1.2rem;
}

.domain-input {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  font-family: var(--font-body);
  font-size: 1.05rem;
  color: var(--text-main);
  padding: 0.75rem 0.5rem;
}

.domain-input::placeholder {
  color: var(--text-muted);
}

.tld-tags-row {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 1.25rem;
}

.tld-tag {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0.85rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  cursor: pointer;
  transition: var(--transition-fast);
}

.tld-tag:hover {
  border-color: var(--primary);
  background: rgba(255, 42, 95, 0.1);
  color: var(--primary);
  transform: translateY(-2px);
}

.tld-tag .tld-ext {
  font-weight: 700;
  color: var(--text-main);
}

.tld-tag .tld-price {
  color: var(--accent-cyber);
  font-family: var(--font-mono);
  font-size: 0.8rem;
}

/* Domain Search Result Modal / Dropdown */
.domain-results-area {
  margin-top: 1.25rem;
  display: none;
  animation: fadeIn 0.3s ease;
}

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

.domain-result-card {
  background: rgba(14, 6, 10, 0.95);
  border: 1px solid rgba(255, 42, 95, 0.35);
  border-radius: var(--radius-md);
  padding: 1.25rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.domain-name-display {
  font-family: var(--font-mono);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text-main);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

/* ==========================================================================
   Pricing Toggle & Hosting Plans Grid
   ========================================================================== */
.pricing-toggle-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
  margin-bottom: 3.5rem;
}

.toggle-label {
  font-weight: 600;
  color: var(--text-secondary);
  font-size: 1rem;
  cursor: pointer;
}

.toggle-label.active {
  color: var(--text-main);
}

.switch {
  position: relative;
  display: inline-block;
  width: 58px;
  height: 32px;
}

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

.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(255, 255, 255, 0.1);
  border: 1px solid var(--border-glass);
  transition: 0.3s;
  border-radius: 34px;
}

.slider:before {
  position: absolute;
  content: "";
  height: 22px;
  width: 22px;
  left: 4px;
  bottom: 4px;
  background: var(--primary-gradient);
  transition: 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--primary);
}

input:checked + .slider {
  background-color: rgba(255, 42, 95, 0.25);
  border-color: var(--primary);
}

input:checked + .slider:before {
  transform: translateX(26px);
}

.save-badge {
  background: rgba(255, 75, 43, 0.15);
  border: 1px solid rgba(255, 75, 43, 0.35);
  color: #ff6b4a;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.25rem 0.6rem;
  border-radius: var(--radius-full);
}

/* Pricing Grid */
.plans-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
  align-items: stretch;
}

.plan-card {
  padding: 2.25rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
}

.plan-card.featured {
  border-color: rgba(255, 42, 95, 0.45);
  background: linear-gradient(180deg, rgba(38, 14, 22, 0.85) 0%, rgba(20, 8, 14, 0.95) 100%);
  box-shadow: var(--shadow-lg), 0 0 35px rgba(255, 42, 95, 0.25);
  transform: translateY(-8px);
}

.plan-card.featured:hover {
  transform: translateY(-12px);
}

.popular-ribbon {
  position: absolute;
  top: 18px;
  right: 18px;
  background: var(--primary-gradient);
  color: #ffffff;
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-full);
  box-shadow: 0 0 15px var(--primary-glow);
}

.plan-header {
  margin-bottom: 1.75rem;
}

.plan-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: rgba(255, 42, 95, 0.12);
  border: 1px solid rgba(255, 42, 95, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--primary);
  margin-bottom: 1.25rem;
}

.plan-card.purple-theme .plan-icon {
  background: rgba(255, 75, 43, 0.12);
  border-color: rgba(255, 75, 43, 0.3);
  color: #ff7a59;
}

.plan-title {
  font-size: 1.5rem;
  margin-bottom: 0.35rem;
}

.plan-desc {
  color: var(--text-secondary);
  font-size: 0.9rem;
}

.plan-price-wrap {
  margin: 1.5rem 0 2rem;
  padding: 1.25rem 0;
  border-top: 1px solid var(--border-glass);
  border-bottom: 1px solid var(--border-glass);
}

.plan-price {
  font-size: 2.8rem;
  font-weight: 800;
  font-family: var(--font-heading);
  color: var(--text-main);
  line-height: 1;
  display: flex;
  align-items: baseline;
  gap: 0.25rem;
}

.plan-currency {
  font-size: 1.5rem;
  color: var(--primary);
}

.plan-period {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-muted);
}

.plan-features-list {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  margin-bottom: 2rem;
  flex: 1;
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.92rem;
  color: var(--text-secondary);
}

.feature-item i {
  color: var(--accent-cyber);
  font-size: 0.9rem;
}

.feature-item.highlight {
  color: var(--text-main);
  font-weight: 600;
}

.feature-item.highlight i {
  color: var(--primary);
}

/* ==========================================================================
   Features & Technology Grid
   ========================================================================== */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.feature-box {
  padding: 2.25rem;
  text-align: left;
}

.feature-box-icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
  background: rgba(255, 42, 95, 0.12);
  color: var(--primary);
  border: 1px solid rgba(255, 42, 95, 0.25);
}

.feature-box:nth-child(2) .feature-box-icon {
  background: rgba(255, 75, 43, 0.12);
  color: var(--secondary);
  border-color: rgba(255, 75, 43, 0.25);
}

.feature-box:nth-child(3) .feature-box-icon {
  background: rgba(255, 42, 95, 0.12);
  color: var(--primary);
  border-color: rgba(255, 42, 95, 0.25);
}

.feature-box:nth-child(4) .feature-box-icon {
  background: rgba(255, 183, 3, 0.1);
  color: var(--warning);
  border-color: rgba(255, 183, 3, 0.25);
}

.feature-box h3 {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
}

.feature-box p {
  color: var(--text-secondary);
  font-size: 0.92rem;
}

/* ==========================================================================
   VPS Interactive Configurator & Sliders
   ========================================================================== */
.vps-builder-container {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr;
  gap: 2.5rem;
  align-items: start;
}

.config-sliders-card {
  padding: 2.5rem;
}

.config-group {
  margin-bottom: 2.25rem;
}

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

.config-label {
  font-weight: 700;
  font-size: 1.05rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.config-value-badge {
  background: rgba(255, 42, 95, 0.12);
  border: 1px solid rgba(255, 42, 95, 0.3);
  color: var(--primary);
  font-family: var(--font-mono);
  font-weight: 700;
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
}

/* Custom Range Slider */
.custom-range {
  -webkit-appearance: none;
  width: 100%;
  height: 8px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.08);
  outline: none;
  transition: 0.2s;
  cursor: pointer;
}

.custom-range::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--primary-gradient);
  cursor: pointer;
  box-shadow: 0 0 15px var(--primary);
  border: 2px solid #080406;
  transition: transform 0.1s ease;
}

.custom-range::-webkit-slider-thumb:hover {
  transform: scale(1.25);
}

.slider-scale-labels {
  display: flex;
  justify-content: space-between;
  margin-top: 0.5rem;
  color: var(--text-muted);
  font-size: 0.75rem;
  font-family: var(--font-mono);
}

/* OS Selector Grid */
.os-selector-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
  gap: 0.85rem;
  margin-top: 1rem;
}

.os-item {
  background: rgba(14, 6, 10, 0.6);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-md);
  padding: 0.85rem 0.5rem;
  text-align: center;
  cursor: pointer;
  transition: var(--transition-fast);
}

.os-item:hover, .os-item.active {
  border-color: var(--primary);
  background: rgba(255, 42, 95, 0.1);
  box-shadow: 0 0 15px rgba(255, 42, 95, 0.25);
}

.os-item i {
  font-size: 1.8rem;
  margin-bottom: 0.4rem;
  display: block;
}

.os-item span {
  font-size: 0.8rem;
  font-weight: 600;
}

/* Datacenter Grid */
.location-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 0.85rem;
  margin-top: 1rem;
}

.loc-btn {
  background: rgba(14, 6, 10, 0.6);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-md);
  padding: 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
  transition: var(--transition-fast);
  color: var(--text-secondary);
}

.loc-btn:hover, .loc-btn.active {
  border-color: var(--primary);
  background: rgba(255, 42, 95, 0.1);
  color: var(--text-main);
}

.loc-flag {
  font-size: 1.2rem;
}

.loc-text {
  font-size: 0.8rem;
  font-weight: 600;
  line-height: 1.2;
}

/* VPS Live Summary Card (Sticky) */
.vps-summary-card {
  position: sticky;
  top: 6rem;
  padding: 2.25rem;
  border-color: rgba(255, 42, 95, 0.35);
}

.summary-title {
  font-size: 1.35rem;
  margin-bottom: 1.25rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border-glass);
}

.summary-spec-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 2rem;
}

.summary-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.92rem;
}

.summary-row .label {
  color: var(--text-secondary);
}

.summary-row .val {
  font-weight: 700;
  font-family: var(--font-mono);
  color: var(--text-main);
}

.summary-pricing-box {
  background: rgba(14, 6, 10, 0.85);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  text-align: center;
  margin-bottom: 1.5rem;
}

.summary-total {
  font-size: 2.5rem;
  font-weight: 800;
  font-family: var(--font-heading);
  color: var(--primary);
}

/* ==========================================================================
   Global Network / Datacenter Map Section
   ========================================================================== */
.datacenter-section {
  background: linear-gradient(180deg, transparent 0%, rgba(18, 7, 12, 0.6) 50%, transparent 100%);
}

.datacenter-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
}

.dc-card {
  padding: 1.5rem;
  display: flex;
  align-items: center;
  gap: 1.2rem;
}

.dc-icon {
  font-size: 2rem;
}

.dc-info h4 {
  font-size: 1.1rem;
  margin-bottom: 0.2rem;
}

.dc-info p {
  color: var(--text-secondary);
  font-size: 0.85rem;
}

.dc-ping-tag {
  display: inline-block;
  margin-top: 0.35rem;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--accent-cyber);
  font-weight: 600;
}

/* ==========================================================================
   Live Server Status & Knowledge Base (Support Page)
   ========================================================================== */
.status-overview-card {
  padding: 2.25rem;
  margin-bottom: 3rem;
}

.status-header-live {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--border-glass);
}

.status-indicator {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 700;
  font-size: 1.2rem;
}

.service-status-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

.service-row {
  background: rgba(14, 6, 10, 0.65);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-md);
  padding: 1.25rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.service-name {
  font-weight: 600;
  font-size: 1.05rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.uptime-bars {
  display: flex;
  gap: 3px;
  align-items: center;
}

.bar {
  width: 5px;
  height: 24px;
  border-radius: 2px;
  background: var(--accent-cyber);
  opacity: 0.85;
  transition: var(--transition-fast);
}

.bar:hover {
  transform: scaleY(1.3);
  opacity: 1;
  box-shadow: 0 0 8px var(--accent-cyber);
}

.bar.maintenance {
  background: var(--warning);
}

.uptime-percentage {
  font-family: var(--font-mono);
  font-weight: 700;
  color: var(--accent-cyber);
  font-size: 0.9rem;
}

/* FAQ Accordion */
.faq-accordion {
  max-width: 860px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: var(--transition-fast);
}

.faq-item:hover {
  border-color: rgba(255, 42, 95, 0.35);
}

.faq-question {
  width: 100%;
  padding: 1.25rem 1.5rem;
  text-align: left;
  background: transparent;
  border: none;
  color: var(--text-main);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1.05rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
}

.faq-icon {
  font-size: 0.9rem;
  color: var(--primary);
  transition: transform 0.3s ease;
}

.faq-item.active .faq-icon {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
  padding: 0 1.5rem;
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.6;
}

.faq-item.active .faq-answer {
  max-height: 300px;
  padding-bottom: 1.5rem;
}

/* ==========================================================================
   Comparison Table (Web Hosting Page)
   ========================================================================== */
.table-responsive {
  overflow-x: auto;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-glass);
  background: var(--bg-card);
  backdrop-filter: blur(16px);
}

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

.pricing-table th, .pricing-table td {
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid var(--border-glass);
}

.pricing-table th {
  background: rgba(14, 6, 10, 0.9);
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
}

.pricing-table th:first-child {
  width: 35%;
}

.pricing-table tr:hover td {
  background: rgba(255, 42, 95, 0.04);
}

.pricing-table .check-yes {
  color: var(--accent-cyber);
  font-size: 1.1rem;
}

.pricing-table .check-no {
  color: var(--text-muted);
  font-size: 0.9rem;
}

/* ==========================================================================
   Modals & Drawers
   ========================================================================== */
.modal-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(5, 2, 4, 0.88);
  backdrop-filter: blur(10px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition-normal);
}

.modal-backdrop.open {
  opacity: 1;
  visibility: visible;
}

.modal-dialog {
  background: var(--bg-secondary);
  border: 1px solid var(--border-glass-glow);
  border-radius: var(--radius-lg);
  width: 100%;
  max-width: 480px;
  padding: 2.5rem;
  box-shadow: var(--shadow-lg), 0 0 50px rgba(255, 42, 95, 0.25);
  transform: scale(0.95);
  transition: var(--transition-normal);
  position: relative;
}

.modal-backdrop.open .modal-dialog {
  transform: scale(1);
}

.modal-close {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-size: 1.4rem;
  cursor: pointer;
  transition: var(--transition-fast);
}

.modal-close:hover {
  color: var(--danger);
  transform: rotate(90deg);
}

.form-group {
  margin-bottom: 1.25rem;
}

.form-label {
  display: block;
  font-size: 0.88rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--text-secondary);
}

.form-control {
  width: 100%;
  background: rgba(14, 6, 10, 0.85);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-md);
  padding: 0.85rem 1rem;
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--text-main);
  outline: none;
  transition: var(--transition-fast);
}

.form-control:focus {
  border-color: var(--primary);
  box-shadow: 0 0 15px rgba(255, 42, 95, 0.3);
}

/* Cart Drawer */
.cart-drawer {
  position: fixed;
  top: 0;
  right: -420px;
  width: 100%;
  max-width: 400px;
  height: 100vh;
  background: var(--bg-secondary);
  border-left: 1px solid var(--border-glass-glow);
  box-shadow: var(--shadow-lg);
  z-index: 2500;
  display: flex;
  flex-direction: column;
  transition: right 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  padding: 2rem;
}

.cart-drawer.open {
  right: 0;
}

.cart-drawer-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border-glass);
  margin-bottom: 1.5rem;
}

.cart-items-list {
  flex: 1;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.cart-item {
  background: rgba(14, 6, 10, 0.65);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-md);
  padding: 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.cart-item-info h5 {
  font-size: 0.95rem;
}

.cart-item-info p {
  font-size: 0.8rem;
  color: var(--text-muted);
  font-family: var(--font-mono);
}

.cart-item-price {
  font-family: var(--font-mono);
  font-weight: 700;
  color: var(--primary);
}

.cart-drawer-footer {
  padding-top: 1.5rem;
  border-top: 1px solid var(--border-glass);
  margin-top: 1.5rem;
}

/* Floating Live Chat Widget */
.floating-chat-trigger {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: var(--primary-gradient);
  border: none;
  color: #ffffff;
  font-size: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 4px 25px rgba(255, 42, 95, 0.55);
  z-index: 1500;
  transition: var(--transition-normal);
}

.floating-chat-trigger:hover {
  transform: scale(1.1) rotate(10deg);
}

.chat-box-popup {
  position: fixed;
  bottom: 6rem;
  right: 2rem;
  width: 360px;
  height: 480px;
  background: var(--bg-secondary);
  border: 1px solid var(--border-glass-glow);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg), 0 0 35px rgba(255, 42, 95, 0.25);
  z-index: 1500;
  display: none;
  flex-direction: column;
  overflow: hidden;
  animation: fadeIn 0.3s ease;
}

.chat-box-popup.open {
  display: flex;
}

.chat-header {
  background: rgba(14, 6, 10, 0.95);
  padding: 1rem 1.25rem;
  border-bottom: 1px solid var(--border-glass);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.chat-body {
  flex: 1;
  padding: 1.25rem;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.chat-msg {
  max-width: 80%;
  padding: 0.75rem 1rem;
  border-radius: var(--radius-md);
  font-size: 0.88rem;
}

.chat-msg.bot {
  background: rgba(26, 10, 18, 0.9);
  border: 1px solid var(--border-glass);
  align-self: flex-start;
  border-bottom-left-radius: 2px;
}

.chat-msg.user {
  background: var(--primary-gradient);
  color: #ffffff;
  font-weight: 500;
  align-self: flex-end;
  border-bottom-right-radius: 2px;
}

.chat-input-row {
  padding: 0.75rem 1rem;
  background: rgba(14, 6, 10, 0.95);
  border-top: 1px solid var(--border-glass);
  display: flex;
  gap: 0.5rem;
}

/* Toast Container */
.toast-container {
  position: fixed;
  bottom: 2rem;
  left: 2rem;
  z-index: 3000;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.toast-item {
  background: var(--bg-card);
  backdrop-filter: blur(16px);
  border: 1px solid var(--border-glass-glow);
  padding: 0.85rem 1.25rem;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  box-shadow: var(--shadow-md);
  animation: slideInLeft 0.3s ease;
  font-size: 0.9rem;
}

@keyframes slideInLeft {
  from { opacity: 0; transform: translateX(-20px); }
  to { opacity: 1; transform: translateX(0); }
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  background: #050204;
  border-top: 1px solid var(--border-glass);
  padding: 5rem 0 2rem;
  position: relative;
  z-index: 1;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr 1.2fr;
  gap: 3rem;
  margin-bottom: 4rem;
}

.footer-brand p {
  color: var(--text-secondary);
  font-size: 0.92rem;
  margin: 1rem 0 1.5rem;
}

.social-links {
  display: flex;
  gap: 0.75rem;
}

.social-btn {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-glass);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  transition: var(--transition-fast);
}

.social-btn:hover {
  background: rgba(255, 42, 95, 0.15);
  border-color: var(--primary);
  color: var(--primary);
  transform: translateY(-3px);
}

.footer-col h4 {
  font-size: 1.05rem;
  margin-bottom: 1.25rem;
  color: var(--text-main);
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-links a {
  color: var(--text-secondary);
  font-size: 0.9rem;
  transition: var(--transition-fast);
}

.footer-links a:hover {
  color: var(--primary);
  transform: translateX(4px);
}

.newsletter-form {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.5rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border-glass);
  color: var(--text-muted);
  font-size: 0.88rem;
}

.payment-badges {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 1.4rem;
  color: var(--text-secondary);
}

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .hero-lead {
    margin: 0 auto 2rem;
  }
  .hero-cta-group {
    justify-content: center;
  }
  .hero-stats-row {
    justify-content: center;
  }
  .vps-builder-container {
    grid-template-columns: 1fr;
  }
  .vps-summary-card {
    position: static;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 320px;
    height: 100vh;
    background: var(--bg-secondary);
    border-left: 1px solid var(--border-glass);
    flex-direction: column;
    padding: 6rem 2rem 2rem;
    transition: right 0.4s ease;
    z-index: 999;
  }
  .nav-menu.open {
    right: 0;
  }
  .hamburger-btn {
    display: block;
  }
  .hero-content h1 {
    font-size: 2.5rem;
  }
  .section-header h2 {
    font-size: 2rem;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}
