/* ==========================================================================
   Hostarise - Modern BDIX Web Hosting Platform Stylesheet
   Brand Color: Tech Blue (#0064CE)
   ========================================================================== */

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

:root {
  /* Brand Colors */
  --primary: #0064CE;
  --primary-hover: #0052aa;
  --primary-dark: #003e82;
  --primary-light: #e6f1fc;
  --primary-glow: rgba(0, 100, 206, 0.25);
  --primary-subtle: rgba(0, 100, 206, 0.08);

  /* Accents */
  --accent-orange: #FF6B00;
  --accent-orange-light: #fff2ea;
  --accent-green: #10B981;
  --accent-green-light: #ecfdf5;
  --accent-purple: #8B5CF6;
  --accent-purple-light: #f5f3ff;
  --accent-red: #EF4444;

  /* Neutral & Dark */
  --dark-950: #060b17;
  --dark-900: #0B132B;
  --dark-800: #131E3D;
  --dark-700: #1C2B52;
  --slate-900: #0F172A;
  --slate-800: #1E293B;
  --slate-700: #334155;
  --slate-600: #475569;
  --slate-500: #64748B;
  --slate-400: #94A3B8;
  --slate-300: #CBD5E1;
  --slate-200: #E2E8F0;
  --slate-100: #F1F5F9;
  --slate-50: #F8FAFC;
  --white: #FFFFFF;

  /* Typography */
  --font-heading: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  /* Spacing & Radius */
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 9999px;

  /* Shadows */
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.08), 0 2px 4px -2px rgba(0, 0, 0, 0.05);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.08), 0 4px 6px -4px rgba(0, 0, 0, 0.04);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.05);
  --shadow-glow: 0 0 25px rgba(0, 100, 206, 0.35);
  --shadow-card: 0 2px 8px rgba(15, 23, 42, 0.06), 0 1px 2px rgba(15, 23, 42, 0.04);

  /* Transitions */
  --transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-fast: all 0.15s ease-in-out;
}

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

html, body {
  max-width: 100vw;
  overflow-x: hidden;
}

body {
  font-family: var(--font-body);
  background-color: var(--slate-50);
  color: var(--slate-700);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

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

a:hover {
  color: var(--primary-hover);
}

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

button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
  outline: none;
}

button {
  cursor: pointer;
  border: none;
  background: none;
}

ul, ol {
  list-style: none;
}

.container {
  width: 100%;
  max-width: 1240px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 20px;
  padding-right: 20px;
}

@media (max-width: 480px) {
  .container {
    padding-left: 14px;
    padding-right: 14px;
  }
}

.section-spacing {
  padding: 80px 0;
}

@media (max-width: 768px) {
  .section-spacing {
    padding: 50px 0;
  }
}

/* ==========================================================================
   Header & Navigation
   ========================================================================== */
/* Top Announcement Bar */
.top-bar {
  background: var(--dark-950);
  color: var(--slate-300);
  font-size: 0.84rem;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.top-bar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
}

.top-bar-left {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px 12px;
}

.promo-pill {
  background: rgba(255, 107, 0, 0.2);
  color: #ff9d54;
  border: 1px solid rgba(255, 107, 0, 0.4);
  padding: 2px 8px;
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  white-space: nowrap;
}

.top-bar-promo {
  color: #ffffff;
  font-weight: 500;
  font-size: 0.82rem;
  line-height: 1.4;
}

.top-bar-promo code {
  background: rgba(255, 255, 255, 0.15);
  padding: 1px 6px;
  border-radius: 4px;
  color: #ffb076;
  font-family: monospace;
}

.top-bar-right {
  display: flex;
  align-items: center;
  gap: 20px;
}

.top-bar-contact {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--slate-300);
}

.top-bar-contact:hover {
  color: var(--white);
}

.currency-selector {
  display: flex;
  align-items: center;
  gap: 4px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-sm);
  padding: 2px 6px;
  color: var(--white);
  font-size: 0.8rem;
  cursor: pointer;
}

.currency-selector select {
  background: transparent;
  color: var(--white);
  border: none;
  font-weight: 600;
  cursor: pointer;
}

.currency-selector select option {
  background: var(--dark-900);
  color: var(--white);
}

/* Main Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--slate-200);
  transition: var(--transition);
}

.site-header.scrolled {
  box-shadow: var(--shadow-md);
}

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

.brand-logo {
  display: flex;
  align-items: center;
}

.brand-logo img {
  height: 38px;
  width: auto;
  object-fit: contain;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-link {
  font-family: var(--font-heading);
  color: var(--slate-800);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 8px 2px;
  position: relative;
  display: flex;
  align-items: center;
  gap: 5px;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary);
  transition: width 0.25s ease;
  border-radius: 2px;
}

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

.nav-link:hover::after, .nav-link.active::after {
  width: 100%;
}

.nav-badge {
  font-size: 0.65rem;
  background: var(--primary);
  color: var(--white);
  padding: 2px 6px;
  border-radius: var(--radius-full);
  font-weight: 700;
  letter-spacing: 0.3px;
  text-transform: uppercase;
}

.nav-badge.bdix {
  background: #00875A;
}

.nav-badge.hot {
  background: var(--accent-orange);
}

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

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  width: 280px;
  background: var(--white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-xl);
  border: 1px solid var(--slate-200);
  padding: 10px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: var(--transition);
  z-index: 100;
}

.nav-item-dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  color: var(--slate-800);
  transition: var(--transition-fast);
}

.dropdown-item:hover {
  background: var(--primary-light);
  color: var(--primary-dark);
}

.dropdown-icon {
  width: 32px;
  height: 32px;
  border-radius: var(--radius-sm);
  background: var(--slate-100);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  flex-shrink: 0;
}

.dropdown-item:hover .dropdown-icon {
  background: var(--primary);
  color: var(--white);
}

.dropdown-text h4 {
  font-size: 0.88rem;
  margin-bottom: 2px;
}

.dropdown-text p {
  font-size: 0.76rem;
  color: var(--slate-500);
  line-height: 1.3;
}

/* Header Actions */
.header-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.92rem;
  padding: 10px 22px;
  border-radius: var(--radius-md);
  transition: var(--transition);
  white-space: nowrap;
}

.btn-primary {
  background: var(--primary);
  color: var(--white);
  box-shadow: 0 4px 14px rgba(0, 100, 206, 0.3);
}

.btn-primary:hover {
  background: var(--primary-hover);
  color: var(--white);
  box-shadow: var(--shadow-glow);
  transform: translateY(-2px);
}

.btn-secondary {
  background: var(--white);
  color: var(--slate-800);
  border: 1px solid var(--slate-300);
}

.btn-secondary:hover {
  background: var(--slate-100);
  color: var(--slate-900);
  border-color: var(--slate-400);
  transform: translateY(-1px);
}

.btn-outline-primary {
  background: transparent;
  color: var(--primary);
  border: 1.5px solid var(--primary);
}

.btn-outline-primary:hover {
  background: var(--primary);
  color: var(--white);
}

.btn-outline-white {
  background: transparent;
  color: var(--white);
  border: 1.5px solid rgba(255, 255, 255, 0.4);
}

.btn-outline-white:hover {
  background: var(--white);
  color: var(--dark-900);
  border-color: var(--white);
}

.btn-accent {
  background: var(--accent-orange);
  color: var(--white);
  box-shadow: 0 4px 14px rgba(255, 107, 0, 0.35);
}

.btn-accent:hover {
  background: #e65a00;
  color: var(--white);
  transform: translateY(-2px);
}

.btn-sm {
  padding: 7px 14px;
  font-size: 0.82rem;
  border-radius: var(--radius-sm);
}

.btn-lg {
  padding: 14px 30px;
  font-size: 1.05rem;
  border-radius: var(--radius-lg);
}

.btn-block {
  width: 100%;
}

/* Mobile Nav Toggle */
.mobile-nav-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--slate-800);
  cursor: pointer;
  padding: 8px;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
}

.mobile-nav-toggle:hover {
  background: var(--slate-100);
  color: var(--primary);
}

/* Mobile Drawer */
.mobile-drawer {
  position: fixed;
  top: 0;
  right: -100%;
  width: 320px;
  max-width: 85vw;
  height: 100vh;
  background: var(--white);
  box-shadow: var(--shadow-xl);
  z-index: 2000;
  transition: right 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  padding: 24px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
}

.mobile-drawer.active {
  right: 0;
}

.drawer-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 1999;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
}

.drawer-overlay.active {
  opacity: 1;
  visibility: visible;
}

.drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--slate-200);
}

.drawer-close {
  font-size: 1.5rem;
  color: var(--slate-600);
  cursor: pointer;
}

.mobile-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 30px;
}

.mobile-nav-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--slate-800);
  padding: 10px 0;
  border-bottom: 1px solid var(--slate-100);
}

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

/* ==========================================================================
   Hero Section Styles
   ========================================================================== */
.hero {
  position: relative;
  background: linear-gradient(135deg, var(--dark-950) 0%, var(--dark-900) 50%, #0d2252 100%);
  color: var(--white);
  padding: 90px 0 100px;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: 
    radial-gradient(circle at 15% 25%, rgba(0, 100, 206, 0.25) 0%, transparent 45%),
    radial-gradient(circle at 85% 70%, rgba(16, 185, 129, 0.15) 0%, transparent 45%),
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 100% 100%, 100% 100%, 40px 40px, 40px 40px;
  pointer-events: none;
}

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

.hero-badge-wrap {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  max-width: 100%;
  gap: 8px 10px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius-full);
  padding: 6px 14px;
  margin-bottom: 22px;
  backdrop-filter: blur(8px);
}

.hero-badge-flag {
  font-size: 1.1rem;
}

.hero-badge-text {
  font-size: 0.84rem;
  font-weight: 600;
  color: #79c0ff;
  letter-spacing: 0.3px;
}

.hero h1 {
  color: var(--white);
  font-size: clamp(1.85rem, 5vw, 3.4rem);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 20px;
  letter-spacing: -0.5px;
}

.hero h1 .text-highlight {
  color: #38bdf8;
  background: linear-gradient(90deg, #38bdf8 0%, #60a5fa 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtext {
  font-size: 1.12rem;
  color: var(--slate-300);
  margin-bottom: 32px;
  max-width: 580px;
  line-height: 1.65;
}

.hero-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 40px;
}

.hero-trust-list {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-top: 24px;
}

.hero-trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.86rem;
  color: var(--slate-300);
}

.hero-trust-item svg {
  color: var(--accent-green);
  flex-shrink: 0;
}

/* Hero Right Visual Card */
.hero-visual {
  position: relative;
}

.server-speed-card {
  background: rgba(19, 30, 61, 0.85);
  border: 1px solid rgba(0, 100, 206, 0.35);
  border-radius: var(--radius-xl);
  padding: 30px;
  backdrop-filter: blur(16px);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5), var(--shadow-glow);
}

.server-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.server-card-title {
  display: flex;
  align-items: center;
  gap: 10px;
}

.server-status-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--accent-green);
  box-shadow: 0 0 12px var(--accent-green);
  animation: pulse-green 2s infinite;
}

@keyframes pulse-green {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.3); opacity: 0.7; }
}

.server-card-title h3 {
  color: var(--white);
  font-size: 1.05rem;
  margin: 0;
}

.server-card-badge {
  background: rgba(0, 100, 206, 0.3);
  color: #70b5ff;
  border: 1px solid rgba(0, 100, 206, 0.5);
  padding: 3px 10px;
  border-radius: var(--radius-full);
  font-size: 0.76rem;
  font-weight: 700;
}

.speed-metric-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 24px;
}

.speed-metric-box {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
  padding: 16px;
  text-align: center;
}

.speed-metric-box.active-bdix {
  background: rgba(0, 100, 206, 0.15);
  border-color: rgba(0, 100, 206, 0.5);
}

.metric-label {
  font-size: 0.76rem;
  color: var(--slate-400);
  margin-bottom: 6px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.metric-value {
  font-family: var(--font-heading);
  font-size: 1.7rem;
  font-weight: 800;
  color: var(--white);
  line-height: 1;
}

.metric-value.highlight {
  color: #00e676;
}

.metric-note {
  font-size: 0.72rem;
  color: var(--slate-400);
  margin-top: 4px;
}

.server-features-compact {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.compact-feature {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.85rem;
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.03);
}

.compact-feature span:first-child {
  color: var(--slate-300);
}

.compact-feature span:last-child {
  color: var(--white);
  font-weight: 600;
}

/* ==========================================================================
   Domain Search Section
   ========================================================================== */
.domain-search-wrapper {
  margin-top: -45px;
  position: relative;
  z-index: 10;
}

.domain-search-box {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: 30px;
  box-shadow: var(--shadow-xl);
  border: 1px solid var(--slate-200);
}

.domain-form {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--slate-100);
  border: 2px solid var(--slate-200);
  border-radius: var(--radius-lg);
  padding: 6px 6px 6px 18px;
  transition: var(--transition);
}

.domain-form:focus-within {
  border-color: var(--primary);
  box-shadow: 0 0 0 4px var(--primary-subtle);
  background: var(--white);
}

.domain-form input {
  flex: 1;
  border: none;
  background: transparent;
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--slate-900);
}

.domain-form input::placeholder {
  color: var(--slate-400);
}

.domain-tld-select {
  border: none;
  background: transparent;
  font-weight: 700;
  color: var(--slate-700);
  font-size: 0.95rem;
  padding: 8px 10px;
  cursor: pointer;
}

.domain-tld-pills {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px solid var(--slate-100);
}

.tld-pill-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.85rem;
}

.tld-pill-item .tld-name {
  font-weight: 700;
  color: var(--slate-900);
}

.tld-pill-item .tld-price {
  color: var(--primary);
  font-weight: 600;
}

.domain-result-box {
  margin-top: 16px;
  padding: 16px 20px;
  border-radius: var(--radius-md);
  display: none;
  align-items: center;
  justify-content: space-between;
}

.domain-result-box.available {
  background: var(--accent-green-light);
  border: 1px solid rgba(16, 185, 129, 0.3);
  display: flex;
}

.domain-result-box.taken {
  background: #fef2f2;
  border: 1px solid rgba(239, 68, 68, 0.3);
  display: flex;
}

/* ==========================================================================
   Section Headers
   ========================================================================== */
.section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 50px;
}

.section-tag {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--primary);
  background: var(--primary-light);
  padding: 4px 14px;
  border-radius: var(--radius-full);
  margin-bottom: 12px;
}

.section-tag.orange {
  color: var(--accent-orange);
  background: var(--accent-orange-light);
}

.section-title {
  font-size: clamp(1.8rem, 3.2vw, 2.5rem);
  font-weight: 800;
  letter-spacing: -0.5px;
  margin-bottom: 14px;
}

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

/* ==========================================================================
   Hosting Plans / Pricing Cards
   ========================================================================== */
.pricing-toggle-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-bottom: 40px;
}

.toggle-label {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--slate-700);
  cursor: pointer;
}

.toggle-label.active {
  color: var(--slate-900);
  font-weight: 700;
}

.toggle-switch {
  position: relative;
  width: 56px;
  height: 28px;
  background: var(--slate-300);
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: var(--transition);
}

.toggle-switch::after {
  content: '';
  position: absolute;
  top: 3px;
  left: 4px;
  width: 22px;
  height: 22px;
  background: var(--white);
  border-radius: 50%;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
}

.toggle-switch.annual {
  background: var(--primary);
}

.toggle-switch.annual::after {
  transform: translateX(26px);
}

.discount-tag {
  background: #84cc16;
  color: #14532d;
  font-size: 0.74rem;
  font-weight: 800;
  padding: 3px 10px;
  border-radius: var(--radius-full);
  animation: pulse-badge 2s infinite;
}

.badge-discount-save {
  background: #84cc16;
  color: #14532d;
  font-size: 0.74rem;
  font-weight: 800;
  padding: 2px 8px;
  border-radius: var(--radius-full);
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.badge-discount-save::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #14532d;
}

.price-was-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 6px;
  font-size: 0.85rem;
}

.price-was-amount {
  color: var(--slate-400);
  text-decoration: line-through;
  font-weight: 500;
}

.price-renew-text {
  font-size: 0.8rem;
  color: var(--slate-500);
  margin-top: 6px;
}

@keyframes pulse-badge {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.05); }
}

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

.pricing-card {
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-xl);
  padding: 32px 28px;
  position: relative;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-card);
  transition: var(--transition);
}

.pricing-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-xl);
  border-color: var(--primary);
}

.pricing-card.featured {
  border: 2px solid var(--primary);
  box-shadow: 0 15px 35px -5px rgba(0, 100, 206, 0.2);
}

.featured-ribbon {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--primary);
  color: var(--white);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  padding: 4px 14px;
  border-radius: var(--radius-full);
  text-transform: uppercase;
  box-shadow: 0 4px 10px rgba(0, 100, 206, 0.3);
}

.featured-ribbon.ecommerce {
  background: var(--accent-purple);
  box-shadow: 0 4px 10px rgba(139, 92, 246, 0.3);
}

.card-header-plan {
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--slate-100);
}

.plan-name {
  font-size: 1.35rem;
  font-weight: 800;
  margin-bottom: 6px;
}

.plan-desc {
  font-size: 0.85rem;
  color: var(--slate-500);
  min-height: 40px;
}

.plan-price-wrap {
  margin-bottom: 22px;
}

.price-main {
  display: flex;
  align-items: baseline;
  gap: 4px;
}

.currency-sym {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--slate-900);
}

.price-amount {
  font-family: var(--font-heading);
  font-size: 2.7rem;
  font-weight: 800;
  color: var(--slate-900);
  line-height: 1;
}

.price-period {
  font-size: 0.9rem;
  color: var(--slate-500);
  font-weight: 500;
}

.price-billing-cycle {
  font-size: 0.78rem;
  color: var(--slate-500);
  margin-top: 6px;
}

.price-regular {
  font-size: 0.85rem;
  color: var(--slate-400);
  text-decoration: line-through;
  margin-right: 6px;
}

/* Feature List */
.plan-features-list {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 28px;
}

.plan-feature-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.9rem;
  color: var(--slate-700);
}

.feature-check {
  color: var(--accent-green);
  flex-shrink: 0;
  margin-top: 3px;
}

.feature-check.primary {
  color: var(--primary);
}

.plan-feature-item strong {
  color: var(--slate-900);
}

.spec-meter {
  background: var(--slate-100);
  border-radius: var(--radius-sm);
  padding: 8px 12px;
  margin-bottom: 14px;
  font-size: 0.82rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.spec-meter span:first-child {
  color: var(--slate-600);
  font-weight: 500;
}

.spec-meter span:last-child {
  color: var(--primary);
  font-weight: 700;
}

/* ==========================================================================
   Interactive BDIX Ping Latency Simulator
   ========================================================================== */
.ping-simulator-section {
  background: var(--dark-900);
  color: var(--white);
  padding: 90px 0;
  position: relative;
  overflow: hidden;
}

.ping-simulator-card {
  background: var(--dark-800);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-xl);
  padding: 40px;
  box-shadow: var(--shadow-xl);
}

.isp-buttons-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
  gap: 12px;
  margin-bottom: 30px;
}

.isp-btn {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--slate-300);
  padding: 10px 14px;
  border-radius: var(--radius-md);
  font-weight: 600;
  font-size: 0.86rem;
  text-align: center;
  transition: var(--transition-fast);
}

.isp-btn:hover, .isp-btn.active {
  background: var(--primary);
  color: var(--white);
  border-color: var(--primary);
  box-shadow: 0 0 15px rgba(0, 100, 206, 0.5);
}

.ping-results-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  align-items: center;
}

@media (max-width: 768px) {
  .ping-results-row {
    grid-template-columns: 1fr;
  }
}

.ping-bar-container {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.ping-bar-item {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.ping-bar-label {
  display: flex;
  justify-content: space-between;
  font-size: 0.86rem;
}

.ping-bar-track {
  height: 12px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-full);
  overflow: hidden;
  position: relative;
}

.ping-bar-fill {
  height: 100%;
  border-radius: var(--radius-full);
  transition: width 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.ping-bar-fill.bdix {
  background: linear-gradient(90deg, #10b981 0%, #00e676 100%);
  width: 6%;
}

.ping-bar-fill.international {
  background: linear-gradient(90deg, #f97316 0%, #ef4444 100%);
  width: 85%;
}

.ping-stat-card {
  background: rgba(0, 100, 206, 0.15);
  border: 1px solid rgba(0, 100, 206, 0.4);
  border-radius: var(--radius-lg);
  padding: 24px;
  text-align: center;
}

.ping-stat-num {
  font-family: var(--font-heading);
  font-size: 3.5rem;
  font-weight: 800;
  color: #00e676;
  line-height: 1;
  margin-bottom: 8px;
}

.ping-stat-text {
  color: var(--slate-300);
  font-size: 0.95rem;
}

/* ==========================================================================
   Features Grid
   ========================================================================== */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 28px;
}

.feature-card {
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-xl);
  padding: 32px;
  transition: var(--transition);
  position: relative;
}

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

.feature-icon-wrap {
  width: 54px;
  height: 54px;
  border-radius: var(--radius-lg);
  background: var(--primary-light);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.feature-card h3 {
  font-size: 1.25rem;
  margin-bottom: 10px;
}

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

/* ==========================================================================
   Comparison Table
   ========================================================================== */
.comparison-wrapper {
  overflow-x: auto;
  background: var(--white);
  border-radius: var(--radius-xl);
  border: 1px solid var(--slate-200);
  box-shadow: var(--shadow-card);
}

.comparison-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  min-width: 640px;
}

.comparison-table th, .comparison-table td {
  padding: 16px 20px;
  border-bottom: 1px solid var(--slate-200);
  font-size: 0.92rem;
}

.comparison-table th {
  background: var(--slate-100);
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--slate-900);
}

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

.comparison-table tr:hover td {
  background: var(--slate-50);
}

.table-badge-yes {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: var(--accent-green);
  font-weight: 700;
}

.table-badge-no {
  color: var(--slate-400);
}

/* ==========================================================================
   Payment Methods & Trust
   ========================================================================== */
.payment-section {
  background: var(--white);
  border-top: 1px solid var(--slate-200);
  border-bottom: 1px solid var(--slate-200);
  padding: 40px 0;
}

.payment-grid {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 20px 40px;
}

.payment-badge-img {
  height: 38px;
  object-fit: contain;
  transition: var(--transition-fast);
  filter: grayscale(20%);
}

.payment-badge-img:hover {
  filter: grayscale(0%);
  transform: scale(1.06);
}

/* ==========================================================================
   Testimonials & Reviews
   ========================================================================== */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
}

.testimonial-card {
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-xl);
  padding: 30px;
  box-shadow: var(--shadow-card);
  position: relative;
}

.testimonial-stars {
  color: #f59e0b;
  display: flex;
  gap: 4px;
  margin-bottom: 14px;
}

.testimonial-quote {
  font-size: 0.95rem;
  color: var(--slate-700);
  line-height: 1.6;
  margin-bottom: 20px;
  font-style: italic;
}

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

.testimonial-avatar {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--primary-light);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.1rem;
}

.user-info h4 {
  font-size: 0.95rem;
  margin-bottom: 2px;
}

.user-info p {
  font-size: 0.8rem;
  color: var(--slate-500);
}

/* ==========================================================================
   FAQ Accordion
   ========================================================================== */
.faq-wrap {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.faq-item {
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: var(--transition-fast);
}

.faq-item.active {
  border-color: var(--primary);
  box-shadow: var(--shadow-sm);
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  text-align: left;
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--slate-900);
  cursor: pointer;
}

.faq-icon {
  width: 20px;
  height: 20px;
  transition: transform 0.25s ease;
  color: var(--primary);
  flex-shrink: 0;
}

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

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
  padding: 0 24px;
  color: var(--slate-600);
  font-size: 0.94rem;
  line-height: 1.65;
}

.faq-item.active .faq-answer {
  max-height: 400px;
  padding-bottom: 20px;
}

/* ==========================================================================
   CTA Banner
   ========================================================================== */
.cta-banner {
  background: linear-gradient(135deg, var(--primary) 0%, #004fb0 100%);
  color: var(--white);
  border-radius: var(--radius-xl);
  padding: 60px 40px;
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  margin-top: 40px;
}

.cta-banner h2 {
  color: var(--white);
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  margin-bottom: 14px;
}

.cta-banner p {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.9);
  max-width: 600px;
  margin: 0 auto 28px;
}

/* ==========================================================================
   Page Headers (Inner Pages)
   ========================================================================== */
.page-header {
  background: linear-gradient(135deg, var(--dark-950) 0%, var(--dark-900) 100%);
  color: var(--white);
  padding: 70px 0 80px;
  position: relative;
}

.breadcrumb-list {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  color: var(--slate-400);
  margin-bottom: 16px;
}

.breadcrumb-list a {
  color: var(--slate-300);
}

.breadcrumb-list a:hover {
  color: var(--white);
}

.breadcrumb-separator {
  color: var(--slate-600);
}

.page-title {
  color: var(--white);
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 800;
  margin-bottom: 14px;
}

.page-subtitle {
  color: var(--slate-300);
  font-size: 1.1rem;
  max-width: 700px;
}

/* ==========================================================================
   Contact Page Styles
   ========================================================================== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 40px;
}

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

.contact-info-card {
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-xl);
  padding: 36px;
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.contact-channel-item {
  display: flex;
  gap: 16px;
}

.channel-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-lg);
  background: var(--primary-light);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.channel-content h4 {
  font-size: 1rem;
  margin-bottom: 4px;
}

.channel-content p {
  font-size: 0.9rem;
  color: var(--slate-600);
}

.channel-content a {
  font-weight: 600;
  color: var(--primary);
}

.contact-form-card {
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-xl);
  padding: 40px;
  box-shadow: var(--shadow-card);
}

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

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

.form-control {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--slate-300);
  border-radius: var(--radius-md);
  font-size: 0.95rem;
  color: var(--slate-900);
  background: var(--slate-50);
  transition: var(--transition-fast);
}

.form-control:focus {
  background: var(--white);
  border-color: var(--primary);
  box-shadow: 0 0 0 3px var(--primary-subtle);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

@media (max-width: 600px) {
  .form-row {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   Order Checkout Modal
   ========================================================================== */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(11, 19, 43, 0.7);
  backdrop-filter: blur(6px);
  z-index: 3000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  transition: opacity 0.25s ease;
}

.modal-backdrop.active {
  display: flex;
  opacity: 1;
}

.modal-dialog {
  background: var(--white);
  border-radius: var(--radius-xl);
  max-width: 580px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: var(--shadow-xl);
  position: relative;
  transform: translateY(20px);
  transition: transform 0.25s ease;
}

.modal-backdrop.active .modal-dialog {
  transform: translateY(0);
}

.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 28px;
  border-bottom: 1px solid var(--slate-200);
}

.modal-title {
  font-size: 1.25rem;
  font-weight: 800;
}

.modal-close {
  font-size: 1.5rem;
  color: var(--slate-500);
  cursor: pointer;
}

.modal-close:hover {
  color: var(--slate-900);
}

.modal-body {
  padding: 28px;
}

.order-summary-box {
  background: var(--slate-50);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-md);
  padding: 16px 20px;
  margin-bottom: 24px;
}

.order-summary-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.9rem;
  margin-bottom: 8px;
}

.order-summary-row.total {
  border-top: 1px dashed var(--slate-300);
  margin-top: 12px;
  padding-top: 12px;
  font-weight: 800;
  font-size: 1.15rem;
  color: var(--primary);
}

.promo-input-group {
  display: flex;
  gap: 10px;
  margin-bottom: 20px;
}

.payment-method-selector {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-bottom: 24px;
}

.payment-tab {
  border: 1.5px solid var(--slate-200);
  border-radius: var(--radius-md);
  padding: 12px 8px;
  text-align: center;
  font-size: 0.85rem;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition-fast);
}

.payment-tab.active {
  border-color: var(--primary);
  background: var(--primary-light);
  color: var(--primary-dark);
}

/* ==========================================================================
   Footer Styles
   ========================================================================== */
.site-footer {
  background: var(--dark-950);
  color: var(--slate-400);
  padding-top: 80px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 40px;
  margin-bottom: 60px;
}

@media (max-width: 992px) {
  .footer-top {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 576px) {
  .footer-top {
    grid-template-columns: 1fr;
  }
}

.footer-logo img {
  height: 38px;
  width: auto;
  margin-bottom: 18px;
}

.footer-about {
  font-size: 0.9rem;
  line-height: 1.65;
  margin-bottom: 20px;
}

.footer-server-status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.25);
  color: #34d399;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 600;
}

.footer-col h4 {
  color: var(--white);
  font-size: 1.05rem;
  margin-bottom: 20px;
}

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

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

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

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 28px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
  font-size: 0.85rem;
}

.footer-payment-badges {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.footer-payment-badges img {
  height: 24px;
  width: auto;
  border-radius: 4px;
}

/* ==========================================================================
   Floating WhatsApp Button
   ========================================================================== */
.floating-whatsapp {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #25D366;
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
  z-index: 1500;
  transition: var(--transition);
}

.floating-whatsapp:hover {
  transform: scale(1.1);
  box-shadow: 0 10px 25px rgba(37, 211, 102, 0.6);
  color: var(--white);
}

.floating-whatsapp svg {
  width: 32px;
  height: 32px;
  fill: currentColor;
}

/* ==========================================================================
   Toast Notifications
   ========================================================================== */
.toast-container {
  position: fixed;
  bottom: 30px;
  left: 30px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.toast {
  background: var(--dark-900);
  color: var(--white);
  padding: 14px 20px;
  border-radius: var(--radius-md);
  border-left: 4px solid var(--primary);
  box-shadow: var(--shadow-lg);
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  gap: 10px;
  animation: slide-up 0.3s ease;
}

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

/* ==========================================================================
   Responsive Queries
   ========================================================================== */
@media (max-width: 992px) {
  .nav-menu {
    display: none;
  }
  .mobile-nav-toggle {
    display: flex;
  }
  .hero-content {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .hero-subtext {
    margin-left: auto;
    margin-right: auto;
  }
  .hero-actions {
    justify-content: center;
  }
  .hero-trust-list {
    justify-content: center;
  }
}

@media (max-width: 640px) {
  .header-actions .btn {
    display: none;
  }
  .brand-logo img {
    height: 32px;
  }
  .navbar {
    height: 64px;
  }
}

@media (max-width: 576px) {
  .top-bar {
    text-align: center;
    padding: 6px 0;
  }
  .top-bar-left {
    justify-content: center;
    width: 100%;
    font-size: 0.78rem;
  }
  .domain-form {
    flex-direction: column;
    align-items: stretch;
    padding: 12px;
  }
  .domain-form input {
    padding: 8px 0;
  }
  .top-bar-right {
    display: none;
  }
}
