/* ============================================================
   EpicHost - Premium Hosting Website
   Main Stylesheet
   ============================================================ */

/* --- CSS Variables / Design Tokens --- */
:root {
  /* Primary Palette */
  --primary: #6C3CE1;
  --primary-light: #8B5CF6;
  --primary-dark: #5224B5;
  --primary-glow: rgba(108, 60, 225, 0.35);

  /* Accent */
  --accent: #06D6A0;
  --accent-light: #34EABD;
  --accent-dark: #05B384;
  --accent-glow: rgba(6, 214, 160, 0.3);

  /* Neutrals */
  --dark: #0B0F1A;
  --dark-card: #111827;
  --dark-surface: #1A1F35;
  --dark-border: rgba(255,255,255,0.06);
  --text-primary: #F1F5F9;
  --text-secondary: #94A3B8;
  --text-muted: #64748B;
  --white: #FFFFFF;

  /* Gradients */
  --gradient-hero: linear-gradient(135deg, #0B0F1A 0%, #1a1040 40%, #0B0F1A 100%);
  --gradient-primary: linear-gradient(135deg, #6C3CE1 0%, #8B5CF6 50%, #A78BFA 100%);
  --gradient-accent: linear-gradient(135deg, #06D6A0 0%, #34D399 100%);
  --gradient-card: linear-gradient(135deg, rgba(108,60,225,0.08) 0%, rgba(6,214,160,0.04) 100%);
  --gradient-glass: linear-gradient(135deg, rgba(255,255,255,0.05) 0%, rgba(255,255,255,0.02) 100%);

  /* Effects */
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.3);
  --shadow-md: 0 8px 32px rgba(0,0,0,0.4);
  --shadow-lg: 0 16px 64px rgba(0,0,0,0.5);
  --shadow-glow: 0 0 40px var(--primary-glow);
  --shadow-accent-glow: 0 0 40px var(--accent-glow);
  --glass-bg: rgba(255,255,255,0.03);
  --glass-border: rgba(255,255,255,0.08);
  --blur: blur(20px);

  /* Typography */
  --font-heading: 'Plus Jakarta Sans', sans-serif;
  --font-body: 'Inter', sans-serif;

  /* Spacing */
  --section-padding: 120px;
  --container-max: 1280px;

  /* Transitions */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
}

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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  background: var(--dark);
  color: var(--text-primary);
  line-height: 1.7;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.3s var(--ease-out);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

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

.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 24px;
}

/* --- Utility Classes --- */
.text-gradient {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

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

.text-muted {
  color: var(--text-secondary);
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: 100px;
  font-size: 0.813rem;
  font-weight: 600;
  letter-spacing: 0.03em;
}

.badge-primary {
  background: rgba(108, 60, 225, 0.15);
  color: var(--primary-light);
  border: 1px solid rgba(108, 60, 225, 0.25);
}

.badge-accent {
  background: rgba(6, 214, 160, 0.1);
  color: var(--accent);
  border: 1px solid rgba(6, 214, 160, 0.2);
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--primary-light);
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 16px;
}

.section-label::before {
  content: '';
  width: 24px;
  height: 2px;
  background: var(--gradient-primary);
  border-radius: 2px;
}

.section-title {
  font-size: clamp(2rem, 4vw, 3.25rem);
  margin-bottom: 20px;
  color: var(--white);
}

.section-desc {
  font-size: 1.125rem;
  color: var(--text-secondary);
  max-width: 600px;
  line-height: 1.8;
}

.section-desc.centered {
  margin: 0 auto;
}

.section-header {
  text-align: center;
  margin-bottom: 64px;
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 32px;
  border-radius: 14px;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.938rem;
  border: none;
  cursor: pointer;
  transition: all 0.4s var(--ease-out);
  position: relative;
  overflow: hidden;
}

.btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.1), transparent);
  opacity: 0;
  transition: opacity 0.4s var(--ease-out);
}

.btn:hover::before {
  opacity: 1;
}

.btn-primary {
  background: var(--gradient-primary);
  color: var(--white);
  box-shadow: 0 4px 24px var(--primary-glow);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 40px var(--primary-glow);
}

.btn-accent {
  background: var(--gradient-accent);
  color: var(--dark);
  box-shadow: 0 4px 24px var(--accent-glow);
}

.btn-accent:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 40px var(--accent-glow);
}

.btn-outline {
  background: transparent;
  color: var(--text-primary);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(8px);
}

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

.btn-lg {
  padding: 18px 40px;
  font-size: 1rem;
  border-radius: 16px;
}

.btn-sm {
  padding: 10px 20px;
  font-size: 0.813rem;
  border-radius: 10px;
}

.btn i {
  font-size: 1.1em;
  transition: transform 0.3s var(--ease-spring);
}

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

/* --- Glass Card --- */
.glass-card {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 24px;
  backdrop-filter: var(--blur);
  -webkit-backdrop-filter: var(--blur);
  transition: all 0.5s var(--ease-out);
}

.glass-card:hover {
  border-color: rgba(255,255,255,0.12);
  background: rgba(255,255,255,0.05);
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

/* ==========================================================
   NAVIGATION
   ========================================================== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 20px 0;
  transition: all 0.4s var(--ease-out);
}

.navbar.scrolled {
  padding: 12px 0;
  background: rgba(11, 15, 26, 0.85);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-bottom: 1px solid var(--dark-border);
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.navbar-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--white);
}

.navbar-brand .logo-icon {
  width: 40px;
  height: 40px;
  background: var(--gradient-primary);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  box-shadow: 0 4px 16px var(--primary-glow);
}

.navbar-nav {
  display: flex;
  align-items: center;
  gap: 8px;
  list-style: none;
}

.navbar-nav a {
  padding: 10px 18px;
  border-radius: 10px;
  font-size: 0.938rem;
  font-weight: 500;
  color: var(--text-secondary);
  transition: all 0.3s var(--ease-out);
}

.navbar-nav a:hover {
  color: var(--white);
  background: rgba(255,255,255,0.05);
}

.navbar-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.navbar-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--white);
  font-size: 1.5rem;
  cursor: pointer;
  padding: 8px;
}

/* Currency Switcher */
.currency-switcher {
  position: relative;
}

.currency-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  color: var(--white);
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s var(--ease-out);
  font-family: inherit;
}

.currency-btn:hover {
  background: rgba(255,255,255,0.14);
  border-color: rgba(255,255,255,0.25);
}

.currency-btn i {
  font-size: 0.65rem;
  transition: transform 0.2s var(--ease-out);
}

.currency-switcher.open .currency-btn i {
  transform: rotate(180deg);
}

.currency-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  min-width: 120px;
  background: var(--surface-1);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  box-shadow: 0 12px 32px rgba(0,0,0,0.4);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: all 0.2s var(--ease-out);
  z-index: 1000;
  overflow: hidden;
}

.currency-switcher.open .currency-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.currency-option {
  display: block;
  padding: 10px 16px;
  color: var(--text-secondary);
  font-size: 0.9rem;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.15s ease;
}

.currency-option:hover {
  background: rgba(108,60,225,0.1);
  color: var(--white);
}

.currency-option.active {
  color: var(--primary);
  background: rgba(108,60,225,0.08);
}

/* ==========================================================
   HERO SECTION
   ========================================================== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 140px 0 var(--section-padding);
  background: var(--gradient-hero);
  overflow: hidden;
}

/* Animated orbs */
.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.4;
  pointer-events: none;
}

.hero-orb-1 {
  width: 600px;
  height: 600px;
  background: var(--primary);
  top: -200px;
  right: -200px;
  animation: orbFloat 20s ease-in-out infinite;
}

.hero-orb-2 {
  width: 400px;
  height: 400px;
  background: var(--accent);
  bottom: -100px;
  left: -100px;
  animation: orbFloat 15s ease-in-out infinite reverse;
}

.hero-orb-3 {
  width: 300px;
  height: 300px;
  background: #3B82F6;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  animation: orbFloat 25s ease-in-out infinite;
  opacity: 0.2;
}

@keyframes orbFloat {
  0%, 100% { transform: translate(0, 0) scale(1); }
  25% { transform: translate(30px, -40px) scale(1.05); }
  50% { transform: translate(-20px, 30px) scale(0.95); }
  75% { transform: translate(40px, 20px) scale(1.02); }
}

/* Grid pattern overlay */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.02) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
}

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

.hero-title {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 800;
  margin-bottom: 24px;
  line-height: 1.1;
}

.hero-subtitle {
  font-size: clamp(1.1rem, 2vw, 1.375rem);
  color: var(--text-secondary);
  margin-bottom: 48px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.7;
}

/* Domain Search Box */
.domain-search-box {
  max-width: 720px;
  margin: 0 auto 48px;
  position: relative;
}

.domain-search-input-wrap {
  display: flex;
  border-radius: 20px;
  overflow: hidden;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  backdrop-filter: blur(16px);
  transition: all 0.4s var(--ease-out);
  box-shadow: 0 8px 32px rgba(0,0,0,0.3);
}

.domain-search-input-wrap:focus-within {
  border-color: var(--primary-light);
  box-shadow: 0 0 0 4px var(--primary-glow), 0 8px 32px rgba(0,0,0,0.3);
}

.domain-search-input-wrap input {
  flex: 1;
  padding: 20px 28px;
  background: transparent;
  border: none;
  outline: none;
  color: var(--white);
  font-size: 1.125rem;
  font-family: var(--font-body);
}

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

.domain-search-btn {
  padding: 16px 36px;
  margin: 6px;
  background: var(--gradient-primary);
  color: var(--white);
  border: none;
  border-radius: 16px;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.4s var(--ease-out);
  display: flex;
  align-items: center;
  gap: 10px;
  white-space: nowrap;
}

.domain-search-btn:hover {
  box-shadow: 0 4px 24px var(--primary-glow);
  transform: scale(1.02);
}

.domain-search-btn .spinner {
  display: none;
  width: 18px;
  height: 18px;
  border: 2px solid rgba(255,255,255,0.3);
  border-top-color: white;
  border-radius: 50%;
  animation: spin 0.6s linear infinite;
}

.domain-search-btn.loading .spinner {
  display: block;
}

.domain-search-btn.loading .btn-text {
  display: none;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* TLD Quick Picks */
.tld-quick-picks {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 20px;
}

.tld-pill {
  padding: 8px 18px;
  border-radius: 100px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  font-size: 0.875rem;
  color: var(--text-secondary);
  cursor: pointer;
  transition: all 0.3s var(--ease-out);
}

.tld-pill:hover {
  background: rgba(108, 60, 225, 0.15);
  border-color: rgba(108, 60, 225, 0.3);
  color: var(--primary-light);
}

.tld-pill .price {
  color: var(--accent);
  font-weight: 600;
  margin-left: 6px;
}

/* Domain Search Results */
.domain-results {
  max-width: 720px;
  margin: 0 auto;
  display: none;
}

.domain-results.active {
  display: block;
}

.domain-result-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 24px;
  margin-bottom: 8px;
  border-radius: 16px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.06);
  backdrop-filter: blur(8px);
  transition: all 0.3s var(--ease-out);
  animation: slideUp 0.4s var(--ease-out) both;
}

.domain-result-item:nth-child(1) { animation-delay: 0.05s; }
.domain-result-item:nth-child(2) { animation-delay: 0.1s; }
.domain-result-item:nth-child(3) { animation-delay: 0.15s; }
.domain-result-item:nth-child(4) { animation-delay: 0.2s; }
.domain-result-item:nth-child(5) { animation-delay: 0.25s; }
.domain-result-item:nth-child(6) { animation-delay: 0.3s; }

.domain-result-item:hover {
  background: rgba(255,255,255,0.06);
  border-color: rgba(255,255,255,0.1);
}

.domain-result-name {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1.05rem;
}

.domain-result-name .tld {
  color: var(--primary-light);
}

.domain-result-status {
  display: flex;
  align-items: center;
  gap: 16px;
}

.status-badge {
  padding: 6px 14px;
  border-radius: 100px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.status-badge.available {
  background: rgba(6, 214, 160, 0.12);
  color: var(--accent);
  border: 1px solid rgba(6, 214, 160, 0.25);
}

.status-badge.taken {
  background: rgba(239, 68, 68, 0.1);
  color: #EF4444;
  border: 1px solid rgba(239, 68, 68, 0.2);
}

.domain-add-btn {
  padding: 10px 24px;
  border-radius: 10px;
  font-size: 0.813rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s var(--ease-out);
  border: none;
}

.domain-add-btn.available {
  background: var(--gradient-accent);
  color: var(--dark);
}

.domain-add-btn.available:hover {
  box-shadow: 0 4px 16px var(--accent-glow);
  transform: translateY(-1px);
}

.domain-add-btn.taken {
  background: rgba(255,255,255,0.06);
  color: var(--text-muted);
  cursor: default;
}

/* Hero stats */
.hero-stats {
  display: flex;
  justify-content: center;
  gap: 48px;
  margin-top: 48px;
  padding-top: 48px;
  border-top: 1px solid rgba(255,255,255,0.06);
}

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

.hero-stat-number {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 800;
  color: var(--white);
}

.hero-stat-label {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-top: 4px;
}

/* ==========================================================
   TRUSTED BY / LOGOS
   ========================================================== */
.trust-section {
  padding: 80px 0;
  border-bottom: 1px solid var(--dark-border);
}

.trust-section .container {
  text-align: center;
}

.trust-label {
  font-size: 0.813rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  margin-bottom: 32px;
}

.trust-logos {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 48px;
  flex-wrap: wrap;
  opacity: 0.4;
  filter: grayscale(1) brightness(2);
  transition: all 0.4s;
}

.trust-logos:hover {
  opacity: 0.6;
}

.trust-logos svg {
  height: 28px;
  width: auto;
}

/* ==========================================================
   FEATURES GRID
   ========================================================== */
.features-section {
  padding: var(--section-padding) 0;
}

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

.feature-card {
  padding: 40px 32px;
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--gradient-primary);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s var(--ease-out);
}

.feature-card:hover::before {
  transform: scaleX(1);
}

.feature-icon {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.375rem;
  margin-bottom: 24px;
  transition: all 0.4s var(--ease-out);
}

.feature-icon.purple {
  background: rgba(108, 60, 225, 0.12);
  color: var(--primary-light);
}

.feature-icon.green {
  background: rgba(6, 214, 160, 0.1);
  color: var(--accent);
}

.feature-icon.blue {
  background: rgba(59, 130, 246, 0.1);
  color: #60A5FA;
}

.feature-icon.orange {
  background: rgba(249, 115, 22, 0.1);
  color: #FB923C;
}

.feature-icon.pink {
  background: rgba(236, 72, 153, 0.1);
  color: #F472B6;
}

.feature-icon.cyan {
  background: rgba(6, 182, 212, 0.1);
  color: #22D3EE;
}

.feature-card:hover .feature-icon {
  transform: scale(1.1) rotate(-3deg);
}

.feature-card h3 {
  font-size: 1.25rem;
  margin-bottom: 12px;
  color: var(--white);
}

.feature-card p {
  color: var(--text-secondary);
  font-size: 0.938rem;
  line-height: 1.7;
}

/* ==========================================================
   PRICING SECTION
   ========================================================== */
.pricing-section {
  padding: var(--section-padding) 0;
  position: relative;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: stretch;
}

.pricing-card {
  padding: 40px 32px;
  display: flex;
  flex-direction: column;
  position: relative;
}

.pricing-card.featured {
  border-color: rgba(108, 60, 225, 0.3);
  background: linear-gradient(135deg, rgba(108,60,225,0.08) 0%, rgba(6,214,160,0.03) 100%);
  box-shadow: 0 0 60px rgba(108, 60, 225, 0.1);
}

.pricing-card.featured::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gradient-primary);
  border-radius: 24px 24px 0 0;
}

.pricing-popular {
  position: absolute;
  top: -14px;
  right: 24px;
  padding: 6px 16px;
  background: var(--gradient-primary);
  color: var(--white);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  border-radius: 100px;
  box-shadow: 0 4px 16px var(--primary-glow);
}

.pricing-card-header {
  margin-bottom: 32px;
}

.pricing-card-header h3 {
  font-size: 1.375rem;
  margin-bottom: 8px;
  color: var(--white);
}

.pricing-card-header p {
  color: var(--text-secondary);
  font-size: 0.875rem;
}

.pricing-amount {
  display: flex;
  align-items: baseline;
  gap: 4px;
  margin-bottom: 32px;
}

.pricing-currency {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-secondary);
}

.pricing-value {
  font-family: var(--font-heading);
  font-size: 3.5rem;
  font-weight: 800;
  color: var(--white);
  letter-spacing: -0.03em;
}

.pricing-period {
  font-size: 1rem;
  color: var(--text-muted);
}

.pricing-features {
  list-style: none;
  margin-bottom: 32px;
  flex: 1;
}

.pricing-features li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 0;
  font-size: 0.938rem;
  color: var(--text-secondary);
  border-bottom: 1px solid rgba(255,255,255,0.04);
}

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

.pricing-features li i {
  color: var(--accent);
  font-size: 0.875rem;
  width: 20px;
  text-align: center;
}

.pricing-card .btn {
  width: 100%;
}

/* ==========================================================
   WHY CHOOSE US
   ========================================================== */
.why-section {
  padding: var(--section-padding) 0;
}

.why-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.why-visual {
  position: relative;
}

.why-visual-card {
  background: var(--gradient-card);
  border: 1px solid var(--glass-border);
  border-radius: 24px;
  padding: 48px;
  position: relative;
  overflow: hidden;
}

.why-visual-card::after {
  content: '';
  position: absolute;
  width: 200px;
  height: 200px;
  background: var(--primary);
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.2;
  right: -50px;
  bottom: -50px;
}

.why-metric {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px 0;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.why-metric:last-child {
  border-bottom: none;
}

.why-metric-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.125rem;
  flex-shrink: 0;
}

.why-metric-value {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--white);
}

.why-metric-label {
  font-size: 0.875rem;
  color: var(--text-muted);
}

.why-content-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.why-item {
  display: flex;
  gap: 20px;
}

.why-item-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: rgba(108, 60, 225, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-light);
  font-size: 1.125rem;
  flex-shrink: 0;
  transition: all 0.4s var(--ease-out);
}

.why-item:hover .why-item-icon {
  background: var(--gradient-primary);
  color: var(--white);
  box-shadow: 0 4px 16px var(--primary-glow);
  transform: scale(1.05);
}

.why-item h4 {
  font-size: 1.125rem;
  margin-bottom: 6px;
  color: var(--white);
}

.why-item p {
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* ==========================================================
   TESTIMONIALS
   ========================================================== */
.testimonials-section {
  padding: var(--section-padding) 0;
}

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

.testimonial-card {
  padding: 36px 32px;
}

.testimonial-stars {
  display: flex;
  gap: 4px;
  margin-bottom: 20px;
  color: #FBBF24;
  font-size: 0.875rem;
}

.testimonial-text {
  font-size: 0.938rem;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 24px;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 14px;
}

.testimonial-avatar {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--gradient-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.875rem;
  color: var(--white);
}

.testimonial-name {
  font-weight: 600;
  font-size: 0.938rem;
  color: var(--white);
}

.testimonial-role {
  font-size: 0.813rem;
  color: var(--text-muted);
}

/* ==========================================================
   CTA SECTION
   ========================================================== */
.cta-section {
  padding: var(--section-padding) 0;
}

.cta-card {
  padding: 80px 64px;
  text-align: center;
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, rgba(108,60,225,0.15) 0%, rgba(6,214,160,0.08) 100%);
  border: 1px solid rgba(108, 60, 225, 0.2);
  border-radius: 32px;
}

.cta-card::before {
  content: '';
  position: absolute;
  width: 500px;
  height: 500px;
  background: var(--primary);
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.15;
  top: -200px;
  right: -200px;
  pointer-events: none;
}

.cta-card h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 16px;
  color: var(--white);
  position: relative;
}

.cta-card p {
  font-size: 1.125rem;
  color: var(--text-secondary);
  margin-bottom: 36px;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
  position: relative;
}

.cta-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  position: relative;
}

/* ==========================================================
   FOOTER
   ========================================================== */
.footer {
  padding: 80px 0 40px;
  border-top: 1px solid var(--dark-border);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr repeat(5, 1fr);
  gap: 48px;
  margin-bottom: 64px;
}

.footer-brand p {
  color: var(--text-secondary);
  font-size: 0.875rem;
  margin: 16px 0 24px;
  max-width: 320px;
  line-height: 1.7;
}

.footer-social {
  display: flex;
  gap: 12px;
}

.footer-social a {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  font-size: 0.938rem;
  transition: all 0.3s var(--ease-out);
}

.footer-social a:hover {
  background: var(--gradient-primary);
  color: var(--white);
  border-color: transparent;
  transform: translateY(-2px);
  box-shadow: 0 4px 16px var(--primary-glow);
}

.footer-column h4 {
  font-size: 0.938rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 20px;
}

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

.footer-links a {
  font-size: 0.875rem;
  color: var(--text-muted);
  transition: all 0.3s;
}

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

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 32px;
  border-top: 1px solid var(--dark-border);
  font-size: 0.813rem;
  color: var(--text-muted);
}

.footer-bottom-links {
  display: flex;
  gap: 24px;
}

.footer-bottom-links a:hover {
  color: var(--primary-light);
}

/* ==========================================================
   ANIMATIONS (AOS replacements)
   ========================================================== */
@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

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

@keyframes scaleIn {
  from {
    opacity: 0;
    transform: scale(0.9);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.8s var(--ease-out);
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

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

/* ==========================================================
   RESPONSIVE
   ========================================================== */
@media (max-width: 1024px) {
  .features-grid,
  .pricing-grid,
  .testimonials-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .why-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

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

@media (max-width: 768px) {
  :root {
    --section-padding: 80px;
  }

  .navbar-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(11, 15, 26, 0.95);
    backdrop-filter: blur(24px);
    flex-direction: column;
    padding: 24px;
    border-bottom: 1px solid var(--dark-border);
    border-radius: 0 0 16px 16px;
  }

  .navbar-nav.open {
    display: flex;
  }

  .navbar-toggle {
    display: block;
  }

  .navbar-actions .btn-outline {
    display: none;
  }

  .currency-switcher {
    order: -1;
  }

  .currency-btn {
    padding: 5px 10px;
    font-size: 0.8rem;
  }

  .features-grid,
  .pricing-grid,
  .testimonials-grid {
    grid-template-columns: 1fr;
  }

  .hero-stats {
    flex-direction: column;
    gap: 24px;
  }

  .domain-search-input-wrap {
    flex-direction: column;
  }

  .domain-search-btn {
    margin: 6px;
    justify-content: center;
  }

  .domain-result-item {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }

  .cta-card {
    padding: 48px 24px;
  }

  .cta-actions {
    flex-direction: column;
    align-items: center;
  }

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

  .footer-bottom {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .hero-stats {
    gap: 20px;
  }

  .tld-quick-picks {
    gap: 8px;
  }

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

/* ==========================================================
   FOOTER - Column & Bottom Styles
   ========================================================== */
.footer-column h4 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 20px;
}

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

.footer-links a {
  font-size: 0.875rem;
  color: var(--text-muted);
  transition: all 0.3s var(--ease-out);
}

.footer-links a:hover {
  color: var(--primary-light);
  padding-left: 4px;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 32px;
  border-top: 1px solid var(--dark-border);
  font-size: 0.813rem;
  color: var(--text-muted);
}

.footer-bottom-links {
  display: flex;
  gap: 24px;
}

.footer-bottom-links a {
  color: var(--text-muted);
  font-size: 0.813rem;
}

.footer-bottom-links a:hover {
  color: var(--primary-light);
}

/* ==========================================================
   NAVBAR - Hidden & Active States
   ========================================================== */
.navbar.nav-hidden {
  transform: translateY(-100%);
}

.navbar-nav a.active {
  color: var(--white);
  background: rgba(108, 60, 225, 0.15);
}

/* ==========================================================
   MOBILE NAV OPEN STATE
   ========================================================== */
@media (max-width: 768px) {
  .navbar-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(11, 15, 26, 0.97);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 8px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s var(--ease-out);
    z-index: 999;
  }

  .navbar-nav.open {
    opacity: 1;
    pointer-events: all;
  }

  .navbar-nav a {
    font-size: 1.25rem;
    padding: 14px 24px;
  }

  .navbar-toggle {
    display: block;
    position: relative;
    z-index: 1001;
  }

  .navbar-actions .btn {
    display: none;
  }
}

/* ==========================================================
   SCROLL REVEAL ANIMATIONS
   ========================================================== */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}

.reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

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

/* ==========================================================
   SLIDE UP KEYFRAME (for domain results)
   ========================================================== */
@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ==========================================================
   SCROLL PROGRESS BAR
   ========================================================== */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0;
  background: var(--gradient-primary);
  z-index: 10000;
  transition: width 0.1s linear;
  box-shadow: 0 0 10px var(--primary-glow);
  pointer-events: none;
}

/* ==========================================================
   BACK TO TOP
   ========================================================== */
.back-to-top {
  position: fixed;
  bottom: 32px;
  right: 32px;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: var(--gradient-primary);
  color: var(--white);
  border: none;
  font-size: 1.125rem;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(16px);
  transition: all 0.4s var(--ease-out);
  z-index: 900;
  box-shadow: 0 4px 24px var(--primary-glow);
  display: flex;
  align-items: center;
  justify-content: center;
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 32px var(--primary-glow);
}

/* ==========================================================
   PRELOADER
   ========================================================== */
.preloader {
  position: fixed;
  inset: 0;
  background: var(--dark);
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.5s var(--ease-out), visibility 0.5s;
}

.preloader.loaded {
  opacity: 0;
  visibility: hidden;
}

.preloader-spinner {
  width: 48px;
  height: 48px;
  border: 3px solid rgba(108, 60, 225, 0.2);
  border-top-color: var(--primary);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

/* ==========================================================
   TRUST LOGOS MARQUEE ANIMATION
   ========================================================== */
@keyframes marquee {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.trust-logos {
  animation: marquee 30s linear infinite;
  flex-wrap: nowrap;
  justify-content: flex-start;
  gap: 64px;
  overflow: hidden;
}

/* ==========================================================
   SELECTION STYLING
   ========================================================== */
::selection {
  background: rgba(108, 60, 225, 0.4);
  color: var(--white);
}

/* Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: var(--dark);
}

::-webkit-scrollbar-thumb {
  background: rgba(108, 60, 225, 0.3);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: rgba(108, 60, 225, 0.5);
}

/* ==========================================================
   PAGE HERO (inner pages)
   ========================================================== */
.page-hero {
  position: relative;
  padding: 180px 0 100px;
  background: var(--gradient-hero);
  overflow: hidden;
  text-align: center;
}

.page-hero-tall {
  padding-bottom: 60px;
}

.page-hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  margin: 0 auto;
}

.page-hero-content .hero-title {
  font-size: clamp(2.25rem, 5vw, 3.75rem);
  margin-bottom: 20px;
}

.page-hero-content .hero-subtitle {
  font-size: clamp(1rem, 1.8vw, 1.25rem);
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 40px;
}

/* Alternate section background */
.alt-bg {
  background: linear-gradient(180deg, rgba(108,60,225,0.03) 0%, transparent 100%);
}

/* ==========================================================
   TLD PRICING TABLE
   ========================================================== */
.tld-pricing-table {
  border: 1px solid var(--glass-border);
  border-radius: 20px;
  overflow: hidden;
  background: var(--glass-bg);
  backdrop-filter: var(--blur);
}

.tld-table-header {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr auto;
  gap: 16px;
  padding: 18px 28px;
  background: rgba(108, 60, 225, 0.08);
  border-bottom: 1px solid var(--glass-border);
  font-size: 0.813rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.tld-table-row {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr auto;
  gap: 16px;
  padding: 18px 28px;
  align-items: center;
  border-bottom: 1px solid rgba(255,255,255,0.04);
  transition: all 0.3s var(--ease-out);
}

.tld-table-row:last-child {
  border-bottom: none;
}

.tld-table-row:hover {
  background: rgba(255,255,255,0.03);
}

.tld-col-ext {
  display: flex;
  align-items: center;
  gap: 12px;
}

.tld-dot {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.125rem;
  color: var(--primary-light);
}

.tld-desc {
  font-size: 0.813rem;
  color: var(--text-muted);
}

.tld-col-price {
  font-size: 0.938rem;
  color: var(--text-secondary);
}

.tld-col-price strong {
  color: var(--white);
}

.tld-col-action {
  min-width: 100px;
  text-align: right;
}

/* ==========================================================
   DATA CENTER GRID
   ========================================================== */
.dc-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.dc-card {
  padding: 32px;
  text-align: center;
}

.dc-flag {
  font-size: 3rem;
  margin-bottom: 16px;
  line-height: 1;
}

.dc-card h4 {
  font-size: 1.125rem;
  color: var(--white);
  margin-bottom: 6px;
}

.dc-card p {
  font-size: 0.875rem;
  color: var(--text-muted);
}

/* ==========================================================
   CONTACT PAGE
   ========================================================== */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 64px;
  align-items: start;
}

.contact-info-items {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.contact-info-item {
  display: flex;
  gap: 20px;
}

.contact-info-item h4 {
  font-size: 1rem;
  color: var(--white);
  margin-bottom: 4px;
}

.contact-info-item p {
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

.contact-form-card {
  padding: 40px;
}

/* ==========================================================
   FORM ELEMENTS
   ========================================================== */
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

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

.form-group label {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 8px;
}

.form-link {
  font-size: 0.813rem;
  color: var(--primary-light);
  font-weight: 500;
}

.form-link:hover {
  color: var(--accent);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 14px 18px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 12px;
  color: var(--white);
  font-family: var(--font-body);
  font-size: 0.938rem;
  transition: all 0.3s var(--ease-out);
  outline: none;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--text-muted);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--primary-light);
  box-shadow: 0 0 0 4px var(--primary-glow);
  background: rgba(255,255,255,0.06);
}

.form-group select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath d='M6 8L1 3h10z' fill='%2394A3B8'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
  cursor: pointer;
}

.form-group select option {
  background: var(--dark-card);
  color: var(--white);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.input-icon-wrap {
  position: relative;
}

.input-icon-wrap i {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
  font-size: 0.875rem;
  pointer-events: none;
}

.input-icon-wrap input {
  padding-left: 44px;
}

.form-check {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 24px;
}

.form-check input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: var(--primary);
  cursor: pointer;
  flex-shrink: 0;
}

.form-check label {
  font-size: 0.875rem;
  color: var(--text-secondary);
  cursor: pointer;
}

.form-check label a {
  color: var(--primary-light);
}

/* ==========================================================
   FAQ ACCORDION
   ========================================================== */
.faq-list {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  overflow: hidden;
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 28px;
  background: transparent;
  border: none;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--white);
  cursor: pointer;
  text-align: left;
  transition: all 0.3s var(--ease-out);
}

.faq-question:hover {
  color: var(--primary-light);
}

.faq-question i {
  font-size: 0.75rem;
  color: var(--text-muted);
  transition: transform 0.4s var(--ease-out);
  flex-shrink: 0;
}

.faq-item.open .faq-question i {
  transform: rotate(180deg);
  color: var(--primary-light);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s var(--ease-out), padding 0.4s var(--ease-out);
}

.faq-item.open .faq-answer {
  max-height: 300px;
}

.faq-answer p {
  padding: 0 28px 22px;
  font-size: 0.938rem;
  color: var(--text-secondary);
  line-height: 1.8;
}

/* ==========================================================
   AUTH (Login/Signup) PAGES
   ========================================================== */
.auth-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 140px 0 var(--section-padding);
  background: var(--gradient-hero);
  overflow: hidden;
}

.auth-card {
  max-width: 480px;
  margin: 0 auto;
  padding: 48px 40px;
  position: relative;
  z-index: 2;
}

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

.auth-header h1 {
  font-size: 1.75rem;
  color: var(--white);
  margin-bottom: 8px;
}

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

.auth-divider {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 24px 0;
  color: var(--text-muted);
  font-size: 0.813rem;
}

.auth-divider::before,
.auth-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: rgba(255,255,255,0.08);
}

.social-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.social-btn img {
  display: inline-block;
}

.auth-footer-text {
  text-align: center;
  margin-top: 24px;
  font-size: 0.875rem;
  color: var(--text-muted);
}

.text-gradient-link {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-weight: 600;
}

/* 4-column features grid */
.features-grid-4 {
  grid-template-columns: repeat(4, 1fr);
}

/* 4-column pricing grid */
.pricing-grid-4 {
  grid-template-columns: repeat(3, 1fr);
}

/* ==========================================================
   RESPONSIVE - NEW PAGES
   ========================================================== */
@media (max-width: 1024px) {
  .features-grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }

  .tld-table-header,
  .tld-table-row {
    grid-template-columns: 1.5fr 1fr 1fr auto;
  }

  .tld-col-price:nth-child(4) {
    display: none;
  }
}

@media (max-width: 768px) {
  .page-hero {
    padding: 140px 0 60px;
  }

  .contact-layout {
    grid-template-columns: 1fr;
    gap: 40px;
  }

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

  .auth-card {
    padding: 36px 24px;
    margin: 0 16px;
  }

  .dc-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .features-grid-4 {
    grid-template-columns: 1fr;
  }

  .tld-table-header,
  .tld-table-row {
    grid-template-columns: 1fr 1fr auto;
  }

  .tld-col-price:nth-child(3),
  .tld-col-price:nth-child(4) {
    display: none;
  }

  .tld-desc {
    display: none;
  }
}

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

  .tld-table-header {
    display: none;
  }

  .tld-table-row {
    grid-template-columns: 1fr auto;
    padding: 14px 20px;
  }

  .tld-col-price:not(:nth-child(2)) {
    display: none;
  }
}

/* ========================================================================
   MEGA DROPDOWN MENU
   ======================================================================== */
.has-dropdown {
  position: relative;
}

.has-dropdown > a {
  display: flex;
  align-items: center;
  gap: 6px;
}

.dropdown-arrow {
  font-size: 0.6em;
  transition: transform 0.3s ease;
}

.has-dropdown:hover .dropdown-arrow,
.has-dropdown.open .dropdown-arrow {
  transform: rotate(180deg);
}

.mega-dropdown {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(10px);
  min-width: 340px;
  background: rgba(22, 22, 40, 0.98);
  backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border);
  border-radius: 16px;
  padding: 24px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: all 0.3s cubic-bezier(.4,0,.2,1);
  z-index: 1000;
  box-shadow: 0 20px 60px rgba(0,0,0,0.5), 0 0 0 1px rgba(108, 60, 225, 0.08);
}

.has-dropdown:hover .mega-dropdown,
.has-dropdown.open .mega-dropdown {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

.mega-dropdown-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 24px;
}

.mega-heading {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--primary-light);
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
}

.mega-heading i {
  font-size: 0.85rem;
}

.mega-link {
  display: block;
  padding: 8px 12px;
  border-radius: 8px;
  font-size: 0.875rem;
  color: var(--text-secondary);
  transition: all 0.2s ease;
  font-weight: 500;
}

.mega-link:hover {
  color: var(--text-primary);
  background: rgba(108, 60, 225, 0.1);
  transform: translateX(4px);
}

/* ========================================================================
   4-COLUMN PRICING GRID
   ======================================================================== */
.pricing-grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.pricing-grid-4 .pricing-card {
  padding: 32px 24px;
}

.pricing-grid-4 .pricing-features li {
  font-size: 0.825rem;
}

/* ========================================================================
   STEPS GRID (Acronis/CodeGuard how-it-works)
   ======================================================================== */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  max-width: 1000px;
  margin: 0 auto;
}

.step-card {
  padding: 40px 32px;
  text-align: center;
}

.step-number {
  font-size: 3rem;
  font-weight: 800;
  font-family: var(--font-heading);
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 16px;
  line-height: 1;
}

.step-card h3 {
  font-size: 1.25rem;
  margin-bottom: 10px;
  color: var(--text-primary);
}

.step-card p {
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.7;
}

/* ========================================================================
   RESPONSIVE: Mega Menu + 4-col grid
   ======================================================================== */
@media (max-width: 1024px) {
  .pricing-grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }

  .steps-grid {
    grid-template-columns: 1fr;
    max-width: 500px;
  }
}

@media (max-width: 768px) {
  /* Mobile mega menu */
  .mega-dropdown {
    position: static;
    transform: none;
    min-width: 100%;
    border-radius: 12px;
    margin-top: 8px;
    padding: 16px;
    display: none;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    box-shadow: none;
    border: 1px solid var(--glass-border);
  }

  .has-dropdown.open .mega-dropdown {
    display: block;
    transform: none;
  }

  .has-dropdown:hover .mega-dropdown {
    display: none;
    opacity: 0;
    visibility: hidden;
  }

  .has-dropdown.open:hover .mega-dropdown {
    display: block;
    opacity: 1;
    visibility: visible;
  }

  .mega-dropdown-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .pricing-grid-4 {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .pricing-grid-4 .pricing-card {
    padding: 24px 20px;
  }
}

/* ==========================================================
   ALERTS
   ========================================================== */
.alert {
  padding: 16px 20px;
  border-radius: 12px;
  font-size: 0.938rem;
  display: flex;
  align-items: center;
  gap: 10px;
}

.alert-error {
  background: rgba(239, 68, 68, 0.12);
  color: #fca5a5;
  border: 1px solid rgba(239, 68, 68, 0.25);
}

.alert-success {
  background: rgba(6, 214, 160, 0.12);
  color: var(--accent-light);
  border: 1px solid rgba(6, 214, 160, 0.25);
}

/* ==========================================================
   STATUS BADGES
   ========================================================== */
.status-badge {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 100px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: capitalize;
}

.status-active, .status-completed, .status-paid, .status-success {
  background: rgba(6, 214, 160, 0.15);
  color: var(--accent);
}

.status-pending, .status-initiated, .status-processing, .status-provisioning {
  background: rgba(251, 191, 36, 0.15);
  color: #fbbf24;
}

.status-failed, .status-cancelled, .status-suspended, .status-refunded, .status-deleted {
  background: rgba(239, 68, 68, 0.15);
  color: #ef4444;
}

.status-expired {
  background: rgba(100, 116, 139, 0.15);
  color: var(--text-muted);
}

/* ==========================================================
   CART PAGE
   ========================================================== */
.cart-layout {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 32px;
  align-items: start;
}

.cart-item {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 24px;
  margin-bottom: 12px;
}

.cart-item-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(108, 60, 225, 0.15);
  color: var(--primary-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  flex-shrink: 0;
}

.cart-item-details {
  flex: 1;
  min-width: 0;
}

.cart-item-details h3 {
  font-size: 1rem;
  margin-bottom: 4px;
}

.cart-item-price {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--white);
  white-space: nowrap;
}

.cart-item-remove {
  background: none;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  padding: 8px;
  border-radius: 8px;
  transition: all 0.2s;
}

.cart-item-remove:hover {
  color: #ef4444;
  background: rgba(239, 68, 68, 0.1);
}

.cart-summary {
  padding: 32px;
  position: sticky;
  top: 100px;
}

.cart-summary h3 {
  margin-bottom: 20px;
  font-size: 1.25rem;
}

.cart-summary-row {
  display: flex;
  justify-content: space-between;
  padding: 12px 0;
  border-bottom: 1px solid var(--dark-border);
  font-size: 0.938rem;
}

.cart-summary-total {
  border-bottom: none;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--white);
  padding-top: 16px;
  margin-top: 8px;
  border-top: 2px solid var(--dark-border);
}

.cart-badge {
  position: absolute;
  top: -4px;
  right: -4px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--dark);
  font-size: 0.688rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cart-btn {
  position: relative;
}

/* ==========================================================
   CHECKOUT PAGE
   ========================================================== */
.checkout-layout {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 32px;
  align-items: start;
}

.checkout-billing-info p {
  margin: 4px 0;
  color: var(--text-secondary);
}

.checkout-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 0;
  border-bottom: 1px solid var(--dark-border);
}

.checkout-item:last-child {
  border-bottom: none;
}

.payment-methods {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.payment-method-option {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 20px;
  border-radius: 12px;
  border: 1px solid var(--dark-border);
  cursor: pointer;
  transition: all 0.2s;
}

.payment-method-option:hover {
  border-color: rgba(108, 60, 225, 0.3);
}

.payment-method-option.active {
  border-color: var(--primary);
  background: rgba(108, 60, 225, 0.08);
}

.payment-method-option input[type="radio"] {
  display: none;
}

.payment-method-option i {
  font-size: 1.5rem;
  color: var(--primary-light);
  width: 32px;
  text-align: center;
}

/* ==========================================================
   DASHBOARD LAYOUT
   ========================================================== */
.dashboard-layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 32px;
  align-items: start;
}

.dashboard-sidebar {
  padding: 24px;
  position: sticky;
  top: 100px;
}

.dash-sidebar-user {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-bottom: 16px;
  margin-bottom: 16px;
  border-bottom: 1px solid var(--dark-border);
}

.dash-avatar {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(108, 60, 225, 0.15);
  color: var(--primary-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
}

.dash-nav {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.dash-nav-link {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 10px;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-secondary);
  transition: all 0.2s;
}

.dash-nav-link:hover {
  color: var(--white);
  background: rgba(255, 255, 255, 0.04);
}

.dash-nav-link.active {
  color: var(--white);
  background: rgba(108, 60, 225, 0.15);
}

.dash-nav-link i {
  width: 18px;
  text-align: center;
  font-size: 0.875rem;
}

.dashboard-content {
  min-width: 0;
}

.dashboard-header {
  margin-bottom: 32px;
}

.dashboard-header h1 {
  font-size: 1.75rem;
  margin-bottom: 4px;
}

/* Dashboard Stats */
.dash-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 32px;
}

.dash-stat-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 24px;
}

.dash-stat-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  flex-shrink: 0;
}

.dash-stat-value {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1.2;
}

.dash-stat-label {
  font-size: 0.813rem;
  color: var(--text-muted);
}

/* Dashboard Tables */
.dash-table-wrap {
  overflow-x: auto;
}

.dash-table {
  width: 100%;
  border-collapse: collapse;
}

.dash-table th {
  text-align: left;
  padding: 12px 16px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  border-bottom: 1px solid var(--dark-border);
  white-space: nowrap;
}

.dash-table td {
  padding: 14px 16px;
  font-size: 0.875rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.03);
  color: var(--text-secondary);
}

.dash-table tr:last-child td {
  border-bottom: none;
}

.dash-table a {
  color: var(--primary-light);
}

.dash-table a:hover {
  text-decoration: underline;
}

/* Order detail grid */
.order-detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.order-detail-grid > div {
  padding: 8px 0;
  font-size: 0.938rem;
}

/* Empty state */
.empty-state {
  padding: 80px 40px;
  text-align: center;
}

/* Pagination */
.pagination {
  display: flex;
  gap: 8px;
  justify-content: center;
}

/* Form input small (for search) */
.form-input-sm {
  padding: 8px 16px;
  border-radius: 10px;
  border: 1px solid var(--dark-border);
  background: var(--dark-surface);
  color: var(--text-primary);
  font-size: 0.875rem;
  outline: none;
}

.form-input-sm:focus {
  border-color: var(--primary);
}

/* ==========================================================
   DASHBOARD RESPONSIVE
   ========================================================== */
@media (max-width: 1024px) {
  .dash-stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .dashboard-layout {
    grid-template-columns: 1fr;
  }

  .dashboard-sidebar {
    position: static;
  }

  .cart-layout, .checkout-layout {
    grid-template-columns: 1fr;
  }

  .cart-summary {
    position: static;
  }

  .dash-stats-grid {
    grid-template-columns: 1fr 1fr;
  }

  .order-detail-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .dash-stats-grid {
    grid-template-columns: 1fr;
  }

  .cart-item {
    flex-wrap: wrap;
  }
}

/* ==========================================================
   HERO SPLIT LAYOUT (SVG Illustrations)
   ========================================================== */
.page-hero-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  text-align: left;
}

.page-hero-text {
  max-width: 600px;
}

.page-hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-illustration {
  width: 100%;
  max-width: 400px;
  height: auto;
  filter: drop-shadow(0 0 40px rgba(108,60,225,0.15));
  animation: floatIllustration 6s ease-in-out infinite;
}

@keyframes floatIllustration {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

@media (max-width: 900px) {
  .page-hero-split {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .page-hero-visual {
    order: -1;
  }
  .hero-illustration {
    max-width: 280px;
  }
}

/* ==========================================================
   ADMIN KPI CARDS
   ========================================================== */
.admin-kpi-card {
  transition: all 0.3s var(--ease-out);
  position: relative;
  overflow: hidden;
}

.admin-kpi-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 3px;
  height: 100%;
  background: var(--gradient-primary);
  opacity: 0;
  transition: opacity 0.3s;
}

.admin-kpi-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(0,0,0,0.3);
}

.admin-kpi-card:hover::before {
  opacity: 1;
}

.admin-kpi-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}

/* ── Admin Dashboard Grid Layouts ── */
.admin-kpi-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 20px;
}

.admin-kpi-card {
  padding: 22px 24px;
}

.admin-kpi-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 14px;
}

.admin-kpi-badge {
  font-size: 0.7rem;
  font-weight: 600;
  padding: 3px 8px;
  border-radius: 20px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.admin-kpi-badge.up {
  background: rgba(6, 214, 160, 0.12);
  color: #06D6A0;
}

.admin-kpi-badge.down {
  background: rgba(239, 68, 68, 0.12);
  color: #ef4444;
}

.admin-kpi-badge.neutral {
  background: rgba(251, 191, 36, 0.12);
  color: #fbbf24;
}

.admin-kpi-badge.warning {
  background: rgba(251, 191, 36, 0.1);
  color: #fbbf24;
}

.admin-kpi-value {
  font-size: 1.75rem;
  font-weight: 800;
  font-family: var(--font-display);
  line-height: 1.2;
  margin-bottom: 2px;
}

.admin-kpi-label {
  font-size: 0.813rem;
  color: var(--text-secondary);
  margin-bottom: 8px;
}

.admin-kpi-sub {
  font-size: 0.7rem;
  color: var(--text-muted);
  border-top: 1px solid rgba(255,255,255,0.06);
  padding-top: 8px;
}

.admin-charts-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 20px;
  margin-bottom: 20px;
}

.admin-chart-card {
  padding: 24px;
}

.admin-chart-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 16px;
}

.admin-chart-header h3 {
  font-size: 1rem;
  margin: 0;
}

.admin-chart-legend {
  display: flex;
  gap: 14px;
  align-items: center;
}

.admin-middle-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 20px;
}

/* ── Admin Timeline ── */
.admin-timeline {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.admin-timeline-item {
  display: flex;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255,255,255,0.04);
  align-items: flex-start;
}

.admin-timeline-item:last-child {
  border-bottom: none;
}

.admin-timeline-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  margin-top: 5px;
  flex-shrink: 0;
}

.admin-timeline-content {
  flex: 1;
  min-width: 0;
}

/* ── Admin Quick Actions ── */
.admin-quick-actions {
  padding: 20px 24px;
  margin-bottom: 20px;
}

.admin-qa-grid {
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  gap: 10px;
}

.admin-qa-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 14px 8px;
  border-radius: 12px;
  font-size: 0.75rem;
  color: var(--text-secondary);
  text-decoration: none;
  transition: all 0.2s;
  text-align: center;
}

.admin-qa-item:hover {
  background: rgba(255,255,255,0.04);
  color: var(--white);
}

.admin-qa-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
}

/* ── Admin responsive ── */
@media (max-width: 1200px) {
  .admin-kpi-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .admin-charts-grid {
    grid-template-columns: 1fr;
  }
  .admin-qa-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (max-width: 768px) {
  .admin-kpi-grid {
    grid-template-columns: 1fr;
  }
  .admin-middle-grid {
    grid-template-columns: 1fr;
  }
  .admin-qa-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* ==========================================================
   TICKET PRIORITY BADGES
   ========================================================== */
.priority-low {
  color: var(--accent);
  font-weight: 600;
  font-size: 0.813rem;
}

.priority-medium {
  color: #38bdf8;
  font-weight: 600;
  font-size: 0.813rem;
}

.priority-high {
  color: #fbbf24;
  font-weight: 600;
  font-size: 0.813rem;
}

.priority-urgent {
  color: #ef4444;
  font-weight: 600;
  font-size: 0.813rem;
}

.status-open {
  background: rgba(56, 189, 248, 0.15);
  color: #38bdf8;
}

.status-answered {
  background: rgba(6, 214, 160, 0.15);
  color: var(--accent);
}

.status-customerreply {
  background: rgba(251, 191, 36, 0.15);
  color: #fbbf24;
}

.status-closed {
  background: rgba(100, 116, 139, 0.15);
  color: var(--text-muted);
}

.status-overdue {
  background: rgba(239, 68, 68, 0.15);
  color: #ef4444;
}

/* ==========================================================
   ENHANCED PRICING CARD HOVER
   ========================================================== */
.pricing-card {
  transition: all 0.4s var(--ease-out);
  position: relative;
}

.pricing-card::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: var(--gradient-primary);
  opacity: 0;
  transition: opacity 0.4s;
  z-index: -1;
  filter: blur(30px);
}

.pricing-card:hover {
  transform: translateY(-8px);
  border-color: rgba(108,60,225,0.3);
  box-shadow: 0 20px 60px rgba(108,60,225,0.15);
}

.pricing-card:hover::after {
  opacity: 0.08;
}

.pricing-card.featured:hover {
  box-shadow: 0 20px 60px rgba(108,60,225,0.25);
}

/* ==========================================================
   FEATURE CARD HOVER ENHANCEMENTS
   ========================================================== */
.feature-card {
  transition: all 0.4s var(--ease-out);
}

.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 48px rgba(0,0,0,0.3);
  border-color: rgba(108,60,225,0.2);
}

.feature-card:hover .feature-icon {
  transform: scale(1.1);
}

.feature-icon {
  transition: transform 0.3s var(--ease-spring);
}

/* ==========================================================
   PULSE ANIMATION (for live indicators)
   ========================================================== */
@keyframes pulse-glow {
  0%, 100% { box-shadow: 0 0 0 0 rgba(6,214,160,0.4); }
  50% { box-shadow: 0 0 0 8px rgba(6,214,160,0); }
}

.pulse-dot {
  width: 8px;
  height: 8px;
  background: var(--accent);
  border-radius: 50%;
  animation: pulse-glow 2s ease-in-out infinite;
  display: inline-block;
}

/* ==========================================================
   LOADING SKELETON
   ========================================================== */
.skeleton {
  background: linear-gradient(90deg, rgba(255,255,255,0.03) 25%, rgba(255,255,255,0.06) 50%, rgba(255,255,255,0.03) 75%);
  background-size: 200% 100%;
  animation: skeleton-shimmer 1.5s ease-in-out infinite;
  border-radius: 8px;
}

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

.skeleton-text {
  height: 14px;
  margin-bottom: 8px;
  width: 100%;
}

.skeleton-title {
  height: 24px;
  margin-bottom: 12px;
  width: 60%;
}

.skeleton-card {
  height: 200px;
  width: 100%;
}

/* ==========================================================
   NOTIFICATION BELL
   ========================================================== */
.notif-bell {
  position: relative;
  cursor: pointer;
  font-size: 1.1rem;
  color: var(--text-secondary);
  transition: color 0.3s;
  padding: 4px;
}

.notif-bell:hover {
  color: var(--white);
}

.notif-badge {
  position: absolute;
  top: -2px;
  right: -4px;
  width: 16px;
  height: 16px;
  background: #ef4444;
  border-radius: 50%;
  font-size: 0.6rem;
  font-weight: 700;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--dark);
}

/* ==========================================================
   LIVE CHAT WIDGET
   ========================================================== */
.chat-widget-btn {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--gradient-primary);
  color: white;
  border: none;
  cursor: pointer;
  font-size: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 32px rgba(108,60,225,0.4);
  z-index: 1000;
  transition: all 0.3s var(--ease-spring);
}

.chat-widget-btn:hover {
  transform: scale(1.1);
  box-shadow: 0 12px 40px rgba(108,60,225,0.5);
}

.chat-widget-btn .chat-pulse {
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 2px solid rgba(108,60,225,0.5);
  animation: pulse-glow 2s ease-in-out infinite;
}

.chat-popup {
  position: fixed;
  bottom: 92px;
  right: 24px;
  width: 360px;
  max-height: 500px;
  border-radius: 16px;
  background: var(--dark-card);
  border: 1px solid var(--glass-border);
  box-shadow: 0 16px 64px rgba(0,0,0,0.5);
  z-index: 1001;
  display: none;
  flex-direction: column;
  overflow: hidden;
}

.chat-popup.open {
  display: flex;
  animation: slideUp 0.3s var(--ease-out);
}

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

.chat-popup-header {
  padding: 20px;
  background: rgba(108,60,225,0.1);
  border-bottom: 1px solid var(--dark-border);
}

.chat-popup-header h4 {
  margin-bottom: 2px;
}

.chat-popup-body {
  padding: 20px;
  flex: 1;
  overflow-y: auto;
}

.chat-popup-footer {
  padding: 12px 16px;
  border-top: 1px solid var(--dark-border);
  display: flex;
  gap: 8px;
}

.chat-popup-footer input {
  flex: 1;
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--dark-border);
  border-radius: 8px;
  padding: 8px 12px;
  color: var(--text-primary);
  font-size: 0.875rem;
  outline: none;
}

.chat-popup-footer button {
  background: var(--gradient-primary);
  border: none;
  border-radius: 8px;
  padding: 8px 14px;
  color: white;
  cursor: pointer;
  font-size: 0.875rem;
}

/* ==========================================================
   GLASSMORPHISM TABLE ROW HOVER
   ========================================================== */
.dash-table tbody tr {
  transition: background 0.2s;
}

.dash-table tbody tr:hover {
  background: rgba(108,60,225,0.04);
}

/* ==========================================================
   TESTIMONIAL CARD ENHANCEMENTS
   ========================================================== */
.testimonial-card {
  transition: all 0.4s var(--ease-out);
}

.testimonial-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.3);
  border-color: rgba(108,60,225,0.2);
}

/* ==========================================================
   KNOWLEDGE BASE STYLES
   ========================================================== */
.kb-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
}

.kb-category-card {
  padding: 32px;
  transition: all 0.3s var(--ease-out);
}

.kb-category-card:hover {
  transform: translateY(-4px);
  border-color: rgba(108,60,225,0.2);
}

.kb-category-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  margin-bottom: 16px;
}

.kb-article-list {
  list-style: none;
  margin-top: 16px;
}

.kb-article-list li {
  padding: 8px 0;
  border-bottom: 1px solid var(--dark-border);
}

.kb-article-list li:last-child {
  border-bottom: none;
}

.kb-article-list a {
  color: var(--text-secondary);
  font-size: 0.875rem;
  display: flex;
  align-items: center;
  gap: 8px;
}

.kb-article-list a:hover {
  color: var(--accent);
}

.kb-article-list a::before {
  content: '→';
  color: var(--primary-light);
  font-size: 0.75rem;
}

/* ==========================================================
   STATUS PAGE STYLES
   ========================================================== */
.status-grid {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.status-service-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 24px;
  border-radius: 12px;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  transition: all 0.2s;
}

.status-service-row:hover {
  background: rgba(255,255,255,0.04);
}

.status-indicator {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
}

.status-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.status-dot.green {
  background: var(--accent);
  box-shadow: 0 0 8px rgba(6,214,160,0.5);
}

.status-dot.yellow {
  background: #fbbf24;
  box-shadow: 0 0 8px rgba(251,191,36,0.5);
}

.status-dot.red {
  background: #ef4444;
  box-shadow: 0 0 8px rgba(239,68,68,0.5);
}

.uptime-bar {
  display: flex;
  gap: 2px;
  height: 28px;
  align-items: stretch;
}

.uptime-bar-segment {
  flex: 1;
  border-radius: 3px;
  min-width: 4px;
  transition: transform 0.2s;
}

.uptime-bar-segment:hover {
  transform: scaleY(1.3);
}

.uptime-bar-segment.up { background: var(--accent); }
.uptime-bar-segment.degraded { background: #fbbf24; }
.uptime-bar-segment.down { background: #ef4444; }

/* ==========================================================
   COMPARE PLANS TABLE
   ========================================================== */
.compare-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
}

.compare-table th {
  padding: 16px;
  text-align: center;
  font-weight: 700;
  border-bottom: 2px solid var(--dark-border);
  white-space: nowrap;
}

.compare-table td {
  padding: 14px 16px;
  text-align: center;
  border-bottom: 1px solid var(--dark-border);
  font-size: 0.875rem;
}

.compare-table td:first-child {
  text-align: left;
  font-weight: 600;
  color: var(--text-primary);
}

.compare-table tbody tr:hover {
  background: rgba(108,60,225,0.04);
}

.compare-check { color: var(--accent); }
.compare-x { color: var(--text-muted); }

/* ==========================================================
   BLOG CARDS
   ========================================================== */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 24px;
}

.blog-card {
  border-radius: 16px;
  overflow: hidden;
  transition: all 0.3s var(--ease-out);
}

.blog-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.3);
}

.blog-card-img {
  width: 100%;
  height: 180px;
  background: var(--gradient-card);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
}

.blog-card-body {
  padding: 24px;
}

.blog-card-meta {
  display: flex;
  gap: 16px;
  margin-bottom: 12px;
  font-size: 0.813rem;
  color: var(--text-muted);
}

.blog-card-title {
  font-size: 1.125rem;
  margin-bottom: 8px;
  line-height: 1.4;
}

.blog-card-excerpt {
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ==========================================================
   REFERRAL PROGRAM
   ========================================================== */
.referral-box {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px;
  background: rgba(108,60,225,0.08);
  border: 1px solid rgba(108,60,225,0.2);
  border-radius: 12px;
}

.referral-box input {
  flex: 1;
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--dark-border);
  border-radius: 8px;
  padding: 10px 14px;
  color: var(--text-primary);
  font-size: 0.875rem;
  font-family: monospace;
}

/* ==========================================================
   DARK/LIGHT THEME TOGGLE
   ========================================================== */
.theme-toggle {
  width: 44px;
  height: 24px;
  border-radius: 12px;
  background: rgba(255,255,255,0.1);
  border: 1px solid var(--glass-border);
  position: relative;
  cursor: pointer;
  transition: background 0.3s;
}

.theme-toggle-knob {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--primary-light);
  position: absolute;
  top: 2px;
  left: 2px;
  transition: transform 0.3s var(--ease-spring);
}

body.light-theme .theme-toggle-knob {
  transform: translateX(20px);
  background: #fbbf24;
}

/* Light theme overrides */
body.light-theme {
  --dark: #f8fafc;
  --dark-card: #ffffff;
  --dark-surface: #f1f5f9;
  --dark-border: rgba(0,0,0,0.08);
  --text-primary: #1e293b;
  --text-secondary: #475569;
  --text-muted: #94a3b8;
  --glass-bg: rgba(255,255,255,0.7);
  --glass-border: rgba(0,0,0,0.08);
  --gradient-hero: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 40%, #f8fafc 100%);
  --gradient-glass: linear-gradient(135deg, rgba(255,255,255,0.8) 0%, rgba(255,255,255,0.6) 100%);
  --gradient-card: linear-gradient(135deg, rgba(108,60,225,0.04) 0%, rgba(6,214,160,0.02) 100%);
}

body.light-theme .navbar {
  background: rgba(255,255,255,0.9);
  backdrop-filter: blur(20px);
}

body.light-theme .glass-card {
  background: rgba(255,255,255,0.7);
  border-color: rgba(0,0,0,0.08);
  box-shadow: 0 4px 16px rgba(0,0,0,0.06);
}

body.light-theme .footer {
  background: #1e293b;
  color: #e2e8f0;
}

/* ==========================================================
   SCROLL PROGRESS BAR
   ========================================================== */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  background: var(--gradient-primary);
  z-index: 9999;
  transition: width 0.1s;
}

/* ==========================================================
   COUPON/PROMO INPUT
   ========================================================== */
.coupon-input-group {
  display: flex;
  gap: 8px;
  align-items: center;
}

.coupon-input-group input {
  flex: 1;
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--dark-border);
  border-radius: 8px;
  padding: 10px 14px;
  color: var(--text-primary);
  font-family: monospace;
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.coupon-success {
  color: var(--accent);
  font-size: 0.813rem;
  display: flex;
  align-items: center;
  gap: 6px;
}

.coupon-error {
  color: #ef4444;
  font-size: 0.813rem;
}


/* ─────────────────────────────────────────────────────────────────────
   Scroll-reveal animations + hover micro-interactions (17.D.2)
   ───────────────────────────────────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.55s ease-out, transform 0.55s ease-out;
  will-change: opacity, transform;
}
.reveal.is-revealed {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger child reveals inside grids so cards appear sequentially. */
.pricing-grid > .reveal:nth-child(2),
.plan-grid > .reveal:nth-child(2),
.feature-grid > .reveal:nth-child(2) { transition-delay: 0.06s; }
.pricing-grid > .reveal:nth-child(3),
.plan-grid > .reveal:nth-child(3),
.feature-grid > .reveal:nth-child(3) { transition-delay: 0.12s; }
.pricing-grid > .reveal:nth-child(4),
.plan-grid > .reveal:nth-child(4),
.feature-grid > .reveal:nth-child(4) { transition-delay: 0.18s; }
.pricing-grid > .reveal:nth-child(n+5),
.plan-grid > .reveal:nth-child(n+5),
.feature-grid > .reveal:nth-child(n+5) { transition-delay: 0.24s; }

@media (prefers-reduced-motion: reduce) {
  .reveal { transition: none; opacity: 1; transform: none; }
}

/* Plan-area fragment swap (17.D.1) */
[data-plan-area] {
  transition: opacity 0.18s ease-out;
  min-height: 200px;
}
[data-plan-area].is-loading { opacity: 0.4; }

/* Hover micro-interactions */
.pricing-card,
.plan-card,
.feature-card,
.glass-card {
  transition: transform 0.25s ease-out, box-shadow 0.25s ease-out, border-color 0.25s ease-out;
}
.pricing-card:hover,
.plan-card:hover,
.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 48px -12px rgba(108, 60, 225, 0.35);
}
.btn { transition: transform 0.18s ease-out, box-shadow 0.18s ease-out, background 0.18s ease-out; }
.btn:hover { transform: translateY(-1px); }
.btn-primary:hover { box-shadow: 0 10px 28px -8px rgba(108, 60, 225, 0.55); }

/* Mega-menu link micro-interaction */
.mega-link {
  position: relative;
  transition: color 0.18s ease-out, padding-left 0.18s ease-out;
}
.mega-link:hover { padding-left: 6px; }

/* Comparison-table row hover (sitelock + future compare pages) */
.comparison-table tbody tr { transition: background 0.18s ease-out; }
.comparison-table tbody tr:hover { background: rgba(108, 60, 225, 0.06); }


/* ─────────────────────────────────────────────────────────────────────
   Cart visual polish (17.A.6) — sticky summary, hover state, mobile
   ───────────────────────────────────────────────────────────────────── */
.cart-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 24px;
  align-items: start;
}
.cart-summary { position: sticky; top: 110px; }
.cart-summary-row {
  display: flex; justify-content: space-between; align-items: center;
  padding: 8px 0; font-size: 0.92rem; color: var(--text);
}
.cart-summary-row + .cart-summary-row { border-top: 1px solid var(--dark-border); }
.cart-summary-total {
  margin-top: 12px; padding-top: 14px;
  border-top: 2px solid var(--accent);
  font-size: 1.08rem; font-weight: 700; color: var(--accent);
}

.cart-line {
  border: 1px solid var(--dark-border);
  transition: transform 0.2s ease-out, box-shadow 0.2s ease-out, border-color 0.2s ease-out;
}
.cart-line:hover {
  transform: translateY(-1px);
  border-color: rgba(108, 60, 225, 0.45);
  box-shadow: 0 12px 32px -16px rgba(108, 60, 225, 0.4);
}
.cart-item-icon { box-shadow: 0 8px 20px -8px rgba(108, 60, 225, 0.55); }
.cart-item-remove:hover {
  color: #ef4444 !important;
  border-color: rgba(239, 68, 68, 0.5) !important;
  background: rgba(239, 68, 68, 0.08) !important;
}

@media (max-width: 960px) {
  .cart-layout { grid-template-columns: 1fr; }
  .cart-summary { position: static; }
  .cart-line { grid-template-columns: 56px 1fr !important; }
  .cart-line .cart-item-price,
  .cart-line .cart-item-remove { grid-column: 1 / -1; }
  .cart-line .cart-item-price { text-align: left !important; padding-top: 8px; }
}
