/* ===========================================================
   KatHosting — Modern Tech & Cloud Web Hosting
   Clean White Background, Deep Navy & Royal Blue Typography,
   Soft Glassmorphism, Micro-gradients & Refined Shadows.
=========================================================== */
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&family=Inter:wght@400;500;600;700&family=JetBrains+Mono:wght@500;600&display=swap');

:root {
  --bg-page: #FFFFFF;
  --bg-subtle: #F8FAFC;
  --bg-card: #FFFFFF;

  --navy-950: #0B1120;
  --navy-900: #0F172A;
  --navy-primary: #0F172A;
  --navy-800: #1E3A8A;
  --blue-700: #1D4ED8;
  --blue-600: #2563EB;
  --blue-500: #3B82F6;
  --blue-100: #DBEAFE;
  --blue-50: #EFF6FF;

  --text-primary: #0F172A;
  --text-secondary: #475569;
  --text-muted: #64748B;

  --mint-600: #059669;
  --mint-50: #ECFDF5;
  --mint-200: #A7F3D0;

  --coral-600: #DC2626;
  --coral-50: #FEF2F2;
  --coral-200: #FCA5A5;

  --amber-600: #D97706;
  --amber-50: #FFFBEB;
  --amber-200: #FDE68A;

  --border-subtle: #E2E8F0;
  --border-focus: #2563EB;
  --border-hover: #93C5FD;

  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-full: 9999px;

  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-card: 0 1px 3px rgba(15, 23, 42, 0.04), 0 6px 16px -4px rgba(15, 23, 42, 0.04);
  --shadow-hover: 0 12px 28px -4px rgba(37, 99, 235, 0.12), 0 4px 10px -2px rgba(15, 23, 42, 0.04);
  --shadow-btn: 0 2px 8px rgba(37, 99, 235, 0.25);

  --font-display: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, Menlo, monospace;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--bg-page);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a {
  color: var(--blue-600);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.15s ease;
}
a:hover {
  color: var(--blue-700);
}

::selection {
  background: var(--blue-100);
  color: var(--blue-800);
}

:focus-visible {
  outline: 2px solid var(--blue-600);
  outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation: none !important;
    transition: none !important;
  }
}

h1, h2, h3, h4, .headline {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.025em;
  color: var(--navy-900);
}

.domain-string {
  font-family: var(--font-mono);
  font-weight: 600;
  letter-spacing: -0.015em;
  color: var(--navy-900);
}

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

/* ---------- Navbar (Glassmorphic Stripe-style) ---------- */
.navbar-main {
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(226, 232, 240, 0.8);
  padding: 0.75rem 0;
  transition: background 0.2s ease;
}

.navbar-main .navbar-brand {
  color: var(--navy-900) !important;
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.navbar-main .navbar-brand i {
  color: var(--blue-600);
}

.navbar-main .nav-link {
  color: var(--text-secondary);
  font-family: var(--font-display);
  font-size: 0.92rem;
  font-weight: 600;
  padding: 0.45rem 0.85rem !important;
  border-radius: var(--radius-sm);
  transition: all 0.15s ease;
}

.navbar-main .nav-link:hover {
  color: var(--blue-600);
  background: var(--blue-50);
}

.navbar-main .nav-item.dropdown {
  position: relative;
}

.navbar-main .dropdown-menu {
  position: absolute !important;
  top: 100% !important;
  left: 0 !important;
  z-index: 1050 !important;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  box-shadow: 0 10px 25px -5px rgba(15, 23, 42, 0.1), 0 8px 10px -6px rgba(15, 23, 42, 0.04);
  padding: 0.5rem;
  min-width: 220px;
  background-color: #FFFFFF;
  margin-top: 0.25rem !important;
}

.navbar-main .dropdown-menu::before {
  content: '';
  position: absolute;
  top: -8px;
  left: 0;
  right: 0;
  height: 8px;
}

.navbar-main .dropdown-menu-end {
  left: auto !important;
  right: 0 !important;
}

.navbar-main .dropdown-item {
  font-family: var(--font-display);
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text-primary);
  border-radius: var(--radius-sm);
  padding: 0.5rem 0.85rem;
  transition: all 0.15s ease;
  display: flex;
  align-items: center;
}

.navbar-main .dropdown-item:hover, .navbar-main .dropdown-item:focus {
  background: var(--blue-50);
  color: var(--blue-600);
}

.navbar-main .dropdown-item i {
  color: var(--blue-600);
  font-size: 1rem;
}

.navbar-main .nav-item.dropdown .dropdown-toggle::after {
  margin-left: 0.35em;
  vertical-align: 0.18em;
  opacity: 0.65;
}

@media (min-width: 992px) {
  .navbar-main .nav-item.dropdown:hover > .dropdown-menu {
    display: block;
    animation: navFadeIn 0.15s ease-in-out;
  }
}

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

.btn-icon {
  background: transparent;
  border: none;
  padding: 0.25rem 0.5rem;
  color: var(--navy-900) !important;
}

.wallet-badge {
  background: var(--blue-50);
  color: var(--blue-700);
  border: 1px solid var(--blue-100);
  font-family: var(--font-mono);
  font-weight: 600;
  font-size: 0.88rem;
  padding: 0.45rem 0.85rem;
  border-radius: var(--radius-full);
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.wallet-badge i {
  color: var(--blue-600);
}

/* User Profile Menu Pill Button in Header - No black hover */
#userMenuDropdown,
.user-menu-btn {
  background: #FFFFFF !important;
  color: var(--text-primary) !important;
  border: 1px solid var(--border-subtle) !important;
  font-weight: 600;
  font-size: 0.88rem;
  padding: 0.42rem 0.95rem;
  box-shadow: var(--shadow-sm);
  transition: all 0.2s ease;
}

#userMenuDropdown:hover,
#userMenuDropdown:focus,
#userMenuDropdown:active,
#userMenuDropdown.show,
.user-menu-btn:hover,
.user-menu-btn:focus,
.user-menu-btn:active,
.user-menu-btn.show {
  background: var(--blue-50) !important;
  color: var(--blue-700) !important;
  border-color: var(--border-hover) !important;
  box-shadow: 0 2px 8px rgba(37, 99, 235, 0.12) !important;
}

#userMenuDropdown::after,
.user-menu-btn::after {
  color: var(--text-muted);
  vertical-align: middle;
  transition: transform 0.2s ease, color 0.2s ease;
}

#userMenuDropdown:hover::after,
#userMenuDropdown.show::after,
.user-menu-btn:hover::after,
.user-menu-btn.show::after {
  color: var(--blue-700);
}

#userMenuDropdown.show::after,
.user-menu-btn.show::after {
  transform: rotate(180deg);
}

/* ---------- Offcanvas (Mobile Nav) ---------- */
.offcanvas {
  background: #FFFFFF;
  color: var(--text-primary);
  width: 290px;
  border-right: 1px solid var(--border-subtle);
}
.offcanvas-header {
  border-bottom: 1px solid var(--border-subtle);
  padding: 1.25rem 1.5rem;
}
.offcanvas-title {
  color: var(--navy-900);
  font-family: var(--font-display);
  font-weight: 700;
}
.offcanvas .nav-link {
  color: var(--text-secondary);
  font-family: var(--font-display);
  font-weight: 600;
  padding: 0.6rem 0.85rem;
  border-radius: var(--radius-md);
  transition: all 0.15s ease;
}
.offcanvas .nav-link:hover, .offcanvas .nav-link:focus {
  color: var(--blue-600);
  background: var(--blue-50);
}
.offcanvas .nav-link.active {
  color: var(--blue-600);
  background: var(--blue-50);
  font-weight: 700;
}
.offcanvas .mobile-dropdown-toggle {
  cursor: pointer;
  border: none;
  background: transparent;
  width: 100%;
}
.offcanvas .mobile-dropdown-chevron {
  font-size: 0.75rem;
  transition: transform 0.25s ease, color 0.2s ease;
  color: var(--text-muted);
}
.offcanvas .mobile-dropdown-toggle[aria-expanded="true"] .mobile-dropdown-chevron,
.offcanvas .mobile-dropdown-toggle:not(.collapsed) .mobile-dropdown-chevron {
  transform: rotate(180deg);
  color: var(--blue-600);
}
.offcanvas .mobile-dropdown-toggle[aria-expanded="true"] {
  color: var(--blue-600);
}
.offcanvas .mobile-submenu {
  list-style: none;
  padding: 0.2rem 0 0.25rem 0.65rem;
  margin: 0.15rem 0 0.35rem 0.65rem;
  border-left: 2px solid var(--blue-100);
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.offcanvas .mobile-submenu .nav-link {
  font-size: 0.875rem;
  font-weight: 500;
  padding: 0.42rem 0.75rem;
  color: var(--text-secondary);
}
.offcanvas .mobile-submenu .nav-link:hover,
.offcanvas .mobile-submenu .nav-link:focus,
.offcanvas .mobile-submenu .nav-link.active {
  color: var(--blue-600);
  background: var(--blue-50);
}
.offcanvas .mobile-submenu .nav-link.active {
  font-weight: 600;
}
.offcanvas .dropdown-menu {
  position: static !important;
  float: none;
  border: none;
  box-shadow: none;
  background: transparent;
  padding: 0 0 0 0.65rem;
}
.offcanvas-user-box {
  background: var(--blue-50);
  border: 1px solid var(--blue-100);
  border-radius: var(--radius-md);
  color: var(--navy-900);
}

/* ---------- Buttons (Linear / Stripe Gradient) ---------- */
.btn {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.9rem;
  border-radius: var(--radius-md);
  padding: 0.55rem 1.15rem;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
}

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

.btn-amber {
  background: linear-gradient(180deg, #2563EB 0%, #1D4ED8 100%);
  border: 1px solid #1D4ED8;
  color: #FFFFFF !important;
  box-shadow: var(--shadow-btn);
}
.btn-amber:hover {
  background: linear-gradient(180deg, #1D4ED8 0%, #1E40AF 100%);
  border-color: #1E40AF;
  color: #FFFFFF !important;
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.35);
  transform: translateY(-1px);
}
.btn-amber:active {
  transform: translateY(0);
}

.btn-outline-light {
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary) !important;
  background: #FFFFFF;
}
.btn-outline-light:hover {
  border-color: var(--blue-500);
  color: var(--blue-600) !important;
  background: var(--blue-50);
}

.btn-light {
  background: var(--blue-50);
  border: 1px solid var(--blue-100);
  color: var(--blue-600) !important;
}
.btn-light:hover {
  background: var(--blue-100);
  color: var(--blue-700) !important;
}

/* ---------- Hero Section (Stripe Mesh Glow) ---------- */
.hero {
  padding: 5rem 0 4rem;
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 15% 15%, rgba(37, 99, 235, 0.08) 0%, transparent 45%),
    radial-gradient(circle at 85% 75%, rgba(59, 130, 246, 0.05) 0%, transparent 40%),
    var(--bg-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: #FFFFFF;
  border: 1px solid var(--blue-100);
  box-shadow: 0 2px 6px rgba(37, 99, 235, 0.06);
  padding: 0.35rem 0.9rem;
  border-radius: var(--radius-full);
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--blue-700);
  margin-bottom: 1.25rem;
}

.hero-pill-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--blue-600);
  animation: pulse-dot 2s infinite ease-in-out;
}

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

.hero h1 {
  font-size: clamp(2.3rem, 4.5vw, 3.6rem);
  line-height: 1.12;
  color: var(--navy-950);
  max-width: 15ch;
  margin-bottom: 1.2rem;
}

.hero h1 .text-gradient {
  background: linear-gradient(135deg, #1E3A8A 0%, #2563EB 50%, #3B82F6 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero .lede {
  font-size: 1.1rem;
  color: var(--text-secondary);
  max-width: 44ch;
  line-height: 1.6;
}

.hero-stats {
  display: flex;
  gap: 2.5rem;
  flex-wrap: wrap;
  margin-top: 2.25rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(226, 232, 240, 0.8);
}

.hero-stats .stat-num {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--blue-600);
  display: block;
  line-height: 1.2;
}

.hero-stats .stat-label {
  color: var(--text-muted);
  font-size: 0.85rem;
  font-weight: 500;
}

/* ---------- Domain Checker Box (SaaS Card) ---------- */
.checker-card {
  background: #FFFFFF;
  border: 1px solid rgba(226, 232, 240, 0.9);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: 0 10px 30px -5px rgba(37, 99, 235, 0.08), 0 4px 8px -2px rgba(15, 23, 42, 0.03);
  position: relative;
}

.checker-card h2 {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--navy-900);
  margin-bottom: 0.5rem;
}

.checker-card .sub-text {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-bottom: 1.25rem;
}

.checker-card .search-wrapper {
  position: relative;
  display: flex;
  background: #FFFFFF;
  border: 2px solid var(--border-subtle);
  border-radius: var(--radius-md);
  transition: all 0.2s ease;
  overflow: hidden;
}

.checker-card .search-wrapper:focus-within {
  border-color: var(--blue-600);
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.12);
}

.checker-card .search-icon {
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
  font-size: 1.1rem;
  pointer-events: none;
}

.checker-card .form-control {
  background: transparent;
  border: none;
  color: var(--navy-900);
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 500;
  height: 52px;
  padding-left: 2.8rem;
  padding-right: 1rem;
}

.checker-card .form-control:focus {
  background: transparent;
  box-shadow: none;
  color: var(--navy-900);
}

.checker-card .form-control::placeholder {
  color: var(--slate-400);
  font-family: var(--font-body);
}

.checker-card .search-btn {
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  padding: 0 1.5rem;
  margin: 3px;
  border-radius: 8px;
}

.tld-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: var(--bg-subtle);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-full);
  padding: 0.35rem 0.8rem;
  font-family: var(--font-mono);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-secondary);
  cursor: pointer;
  transition: all 0.15s ease;
}

.tld-chip:hover {
  background: var(--blue-50);
  border-color: var(--blue-200, #BFDBFE);
  color: var(--blue-600);
  transform: translateY(-1px);
}

.result-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.95rem 1.15rem;
  background: var(--bg-subtle);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  margin-top: 0.75rem;
  flex-wrap: wrap;
  transition: border-color 0.15s ease;
}

.result-row:hover {
  border-color: var(--border-hover);
}

.result-row .domain-string {
  font-size: 1.05rem;
  color: var(--navy-900);
}

.status-available {
  color: var(--mint-600);
  font-weight: 600;
  font-size: 0.88rem;
  display: inline-flex;
  align-items: center;
  background: var(--mint-50);
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-full);
  border: 1px solid var(--mint-200);
}

.status-taken {
  color: var(--coral-600);
  font-weight: 600;
  font-size: 0.88rem;
  display: inline-flex;
  align-items: center;
  background: var(--coral-50);
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-full);
  border: 1px solid var(--coral-200);
}

/* ---------- Trust & Security Guarantee Strip ---------- */
.trust-strip {
  background: #FFFFFF;
  border-bottom: 1px solid var(--border-subtle);
  padding: 1.75rem 0;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.trust-icon-box {
  width: 42px;
  height: 42px;
  border-radius: var(--radius-md);
  background: var(--blue-50);
  color: var(--blue-600);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  flex-shrink: 0;
  border: 1px solid var(--blue-100);
}

.trust-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--navy-900);
  line-height: 1.2;
}

.trust-desc {
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.3;
}

/* ---------- Section Headings ---------- */
.section-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 1.75rem;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.section-head h2 {
  font-size: 1.75rem;
  margin: 0;
  color: var(--navy-950);
}

/* ---------- Domain Marketplace Cards ---------- */
.domain-card {
  background: #FFFFFF;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  height: 100%;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  box-shadow: var(--shadow-card);
  transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
}

.domain-card:hover {
  border-color: var(--blue-500);
  box-shadow: var(--shadow-hover);
  transform: translateY(-3px);
}

.domain-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
}

.domain-card .domain-string {
  font-size: 1.25rem;
  color: var(--navy-950);
  word-break: break-all;
}

.copy-btn {
  background: transparent;
  border: none;
  color: var(--slate-400);
  padding: 0.25rem;
  font-size: 0.95rem;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all 0.15s ease;
  line-height: 1;
}

.copy-btn:hover {
  color: var(--blue-600);
  background: var(--blue-50);
}

.domain-card .desc {
  color: var(--text-secondary);
  font-size: 0.88rem;
  flex-grow: 1;
  margin-bottom: 0;
}

.domain-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 0.85rem;
  border-top: 1px solid var(--border-subtle);
}

.domain-card .price {
  font-family: var(--font-display);
  font-size: 1.35rem;
  color: var(--blue-600);
  font-weight: 800;
  letter-spacing: -0.02em;
}

.badge-featured {
  background: var(--blue-50);
  color: var(--blue-700);
  border: 1px solid var(--blue-100);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.72rem;
  padding: 0.25rem 0.6rem;
  border-radius: var(--radius-full);
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
}

.badge-length {
  background: var(--bg-subtle);
  color: var(--text-muted);
  border: 1px solid var(--border-subtle);
  font-family: var(--font-mono);
  font-weight: 600;
  font-size: 0.72rem;
  padding: 0.25rem 0.55rem;
  border-radius: var(--radius-full);
}

/* ---------- Auth Pages ---------- */
.auth-wrap {
  min-height: calc(100vh - 180px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 3.5rem 1rem;
  background:
    radial-gradient(circle at 50% 10%, rgba(37, 99, 235, 0.05) 0%, transparent 60%),
    var(--bg-subtle);
}

.auth-card {
  background: #FFFFFF;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  width: 100%;
  max-width: 440px;
  box-shadow: 0 10px 25px -5px rgba(15, 23, 42, 0.05), 0 8px 10px -6px rgba(15, 23, 42, 0.02);
}

.auth-card h1 {
  font-size: 1.7rem;
  color: var(--navy-950);
}

.auth-card label {
  color: var(--text-secondary);
  font-family: var(--font-display);
  font-size: 0.88rem;
  font-weight: 600;
  margin-bottom: 0.35rem;
}

.auth-card .form-control {
  background: #FFFFFF;
  border: 1.5px solid var(--border-subtle);
  color: var(--navy-900);
  height: 48px;
  border-radius: var(--radius-md);
  font-size: 0.95rem;
  transition: all 0.15s ease;
}

.auth-card .form-control:focus {
  border-color: var(--blue-600);
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.12);
}

/* ---------- Dashboard Shell & Sidebar ---------- */
.dash-shell {
  display: flex;
  min-height: calc(100vh - 130px);
  background: var(--bg-page);
}

.dash-sidebar {
  width: 260px;
  flex-shrink: 0;
  background: var(--bg-subtle);
  border-right: 1px solid var(--border-subtle);
  padding: 1.75rem 1.25rem;
}

.dash-sidebar .nav-link {
  color: var(--text-secondary);
  font-family: var(--font-display);
  font-size: 0.92rem;
  font-weight: 600;
  padding: 0.65rem 0.95rem;
  border-radius: var(--radius-md);
  margin-bottom: 0.25rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  transition: all 0.15s ease;
}

.dash-sidebar .nav-link.active {
  background: var(--blue-50);
  color: var(--blue-600);
}

.dash-sidebar .nav-link:hover:not(.active) {
  color: var(--navy-900);
  background: rgba(226, 232, 240, 0.5);
}

.dash-main {
  flex-grow: 1;
  padding: 2.25rem;
  min-width: 0;
  background: #FFFFFF;
}

.dash-main h1 {
  font-size: 1.75rem;
  color: var(--navy-950);
}

@media (max-width: 991.98px) {
  .dash-shell { flex-direction: column; }
  .dash-sidebar {
    width: 100%;
    border-right: none;
    border-bottom: 1px solid var(--border-subtle);
    display: flex;
    overflow-x: auto;
    gap: 0.4rem;
    padding: 0.85rem 1rem;
  }
  .dash-sidebar .nav { flex-direction: row !important; flex-wrap: nowrap; }
  .dash-sidebar .nav-link { white-space: nowrap; margin-bottom: 0; }
  .dash-main { padding: 1.5rem; }
}

.stat-card {
  background: #FFFFFF;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  box-shadow: var(--shadow-card);
  transition: all 0.15s ease;
}

.stat-card:hover {
  border-color: var(--border-hover);
  box-shadow: var(--shadow-hover);
}

.stat-card .num {
  font-family: var(--font-display);
  font-size: 1.9rem;
  font-weight: 800;
  letter-spacing: -0.025em;
  color: var(--navy-950);
}

.stat-card .label {
  color: var(--text-muted);
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-top: 0.25rem;
}

/* ---------- Tables ---------- */
.table-panel {
  background: #FFFFFF;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
}

.table-panel table {
  color: var(--text-primary);
  margin-bottom: 0;
}

.table-panel thead {
  background: var(--bg-subtle);
}

.table-panel th {
  color: var(--navy-900);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 0.95rem 1rem;
  border-bottom: 1px solid var(--border-subtle);
}

.table-panel td {
  border-color: var(--border-subtle);
  vertical-align: middle;
  padding: 1rem;
}

.table-panel tbody tr:hover {
  background: rgba(248, 250, 252, 0.7);
}

/* ---------- Badges & Status ---------- */
.badge-status-available {
  background: var(--mint-50);
  color: var(--mint-600);
  border: 1px solid var(--mint-200);
  font-weight: 600;
  padding: 0.3rem 0.65rem;
  border-radius: var(--radius-full);
}

.badge-status-sold {
  background: var(--bg-subtle);
  color: var(--text-muted);
  border: 1px solid var(--border-subtle);
  font-weight: 600;
  padding: 0.3rem 0.65rem;
  border-radius: var(--radius-full);
}

.badge-status-pending {
  background: var(--amber-50);
  color: var(--amber-600);
  border: 1px solid var(--amber-200);
  font-weight: 600;
  padding: 0.3rem 0.65rem;
  border-radius: var(--radius-full);
}

.badge-status-approved {
  background: var(--mint-50);
  color: var(--mint-600);
  border: 1px solid var(--mint-200);
  font-weight: 600;
  padding: 0.3rem 0.65rem;
  border-radius: var(--radius-full);
}

.badge-status-rejected {
  background: var(--coral-50);
  color: var(--coral-600);
  border: 1px solid var(--coral-200);
  font-weight: 600;
  padding: 0.3rem 0.65rem;
  border-radius: var(--radius-full);
}

/* ---------- Alerts ---------- */
.alert-dark-success {
  background: var(--mint-50);
  border: 1px solid var(--mint-200);
  color: #065F46;
  font-weight: 500;
  border-radius: var(--radius-md);
}

.alert-dark-danger {
  background: var(--coral-50);
  border: 1px solid var(--coral-200);
  color: #991B1B;
  font-weight: 500;
  border-radius: var(--radius-md);
}

/* ---------- Modern Footer ---------- */
.site-footer {
  background: var(--bg-subtle);
  border-top: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  padding: 3rem 0 2rem;
}

.site-footer .brand-col .brand-name {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--navy-900);
}

.site-footer .brand-col .brand-name i {
  color: var(--blue-600);
}

.footer-status-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: #FFFFFF;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-full);
  padding: 0.3rem 0.75rem;
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--navy-900);
}

.status-dot-pulse {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--mint-600);
  box-shadow: 0 0 0 2px rgba(5, 150, 105, 0.2);
}

/* ---------- Empty State ---------- */
.empty-state {
  text-align: center;
  padding: 3.5rem 1.5rem;
  color: var(--text-muted);
  border: 2px dashed var(--border-subtle);
  border-radius: var(--radius-lg);
  background: var(--bg-subtle);
  font-family: var(--font-display);
  font-weight: 500;
}

/* ---------- Support Tickets System ---------- */
.badge-priority-low { background: var(--bg-subtle); color: var(--text-muted); border: 1px solid var(--border-subtle); font-weight: 600; font-size: 0.76rem; padding: 0.25rem 0.55rem; border-radius: var(--radius-full); }
.badge-priority-medium { background: var(--blue-50); color: var(--blue-700); border: 1px solid var(--blue-100); font-weight: 600; font-size: 0.76rem; padding: 0.25rem 0.55rem; border-radius: var(--radius-full); }
.badge-priority-high { background: var(--amber-50); color: var(--amber-600); border: 1px solid var(--amber-200); font-weight: 600; font-size: 0.76rem; padding: 0.25rem 0.55rem; border-radius: var(--radius-full); }
.badge-priority-urgent { background: var(--coral-50); color: var(--coral-600); border: 1px solid var(--coral-200); font-weight: 600; font-size: 0.76rem; padding: 0.25rem 0.55rem; border-radius: var(--radius-full); }

.badge-ticket-open { background: var(--blue-50); color: var(--blue-700); border: 1px solid var(--blue-100); font-weight: 600; padding: 0.28rem 0.65rem; border-radius: var(--radius-full); }
.badge-ticket-in_progress { background: var(--amber-50); color: var(--amber-600); border: 1px solid var(--amber-200); font-weight: 600; padding: 0.28rem 0.65rem; border-radius: var(--radius-full); }
.badge-ticket-answered { background: var(--mint-50); color: var(--mint-600); border: 1px solid var(--mint-200); font-weight: 600; padding: 0.28rem 0.65rem; border-radius: var(--radius-full); }
.badge-ticket-closed { background: var(--bg-subtle); color: var(--text-muted); border: 1px solid var(--border-subtle); font-weight: 600; padding: 0.28rem 0.65rem; border-radius: var(--radius-full); }

.ticket-thread {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin-bottom: 2rem;
}

.ticket-message {
  background: #FFFFFF;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  box-shadow: var(--shadow-card);
  transition: all 0.15s ease;
}

.ticket-message.is-admin {
  border-color: var(--blue-200, #BFDBFE);
  background: linear-gradient(180deg, #FFFFFF 0%, rgba(239, 246, 255, 0.4) 100%);
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.05);
}

.ticket-message-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--border-subtle);
  flex-wrap: wrap;
  gap: 0.5rem;
}

.ticket-sender-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.85rem;
  background: var(--blue-50);
  color: var(--blue-600);
  border: 1px solid var(--blue-100);
}

.ticket-sender-avatar.admin-avatar {
  background: var(--blue-600);
  color: #FFFFFF;
  border: none;
}

.ticket-message-body {
  font-size: 0.95rem;
  line-height: 1.65;
  color: var(--navy-900);
  white-space: pre-wrap;
  word-break: break-word;
}

.ticket-meta-card {
  background: #FFFFFF;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  box-shadow: var(--shadow-card);
}

.ticket-meta-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.6rem 0;
  border-bottom: 1px solid var(--border-subtle);
  font-size: 0.9rem;
}
.ticket-meta-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

/* ---------- Pagination Controls ---------- */
.pagination {
  gap: 0.25rem;
}

.pagination .page-link {
  color: var(--navy-800);
  background-color: #FFFFFF;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm) !important;
  font-size: 0.85rem;
  font-weight: 500;
  padding: 0.35rem 0.75rem;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.03);
  transition: all 0.15s ease;
}

.pagination .page-link:hover {
  color: var(--blue-600);
  background-color: var(--blue-50);
  border-color: var(--blue-200);
}

.pagination .page-item.active .page-link {
  color: #FFFFFF;
  background-color: var(--blue-600);
  border-color: var(--blue-600);
  box-shadow: 0 2px 4px rgba(37, 99, 235, 0.25);
  font-weight: 600;
}

.pagination .page-item.disabled .page-link {
  color: var(--text-muted);
  background-color: #F8FAFC;
  border-color: var(--border-subtle);
  opacity: 0.65;
  cursor: not-allowed;
}

/* ---------- Standalone Domain Search Page ---------- */
.search-wrapper-standalone {
  position: relative;
  display: flex;
  background: #FFFFFF;
  border: 2px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  box-shadow: 0 10px 25px -5px rgba(37, 99, 235, 0.08), 0 4px 10px -2px rgba(15, 23, 42, 0.04);
  transition: all 0.2s ease;
  overflow: hidden;
}

.search-wrapper-standalone:focus-within {
  border-color: var(--blue-600);
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.15);
}

.search-wrapper-standalone .search-icon {
  position: absolute;
  left: 1.25rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
  pointer-events: none;
}

.search-wrapper-standalone .form-control {
  background: transparent;
  border: none;
  color: var(--navy-900);
  font-family: var(--font-display);
  font-size: 1.08rem;
  font-weight: 500;
  height: 58px;
  padding-left: 3.2rem;
  padding-right: 1rem;
}

.search-wrapper-standalone .form-control:focus {
  background: transparent;
  box-shadow: none;
  color: var(--navy-900);
}

.search-wrapper-standalone .form-control::placeholder {
  color: var(--slate-400);
  font-family: var(--font-body);
}

.search-wrapper-standalone .search-btn {
  margin: 4px;
  padding: 0 1.8rem;
  font-size: 0.98rem;
  border-radius: var(--radius-md);
  font-weight: 600;
}

.tld-chip-action {
  font-family: var(--font-mono);
  font-size: 0.84rem;
  padding: 0.35rem 0.85rem;
  transition: all 0.18s ease;
}

.tld-chip-action:hover {
  border-color: var(--blue-400);
  background: var(--blue-50);
}

/* ---------- Pricing Plans Section (Adaptive 4-Card Grid) ---------- */
.pricing-card {
  background: #FFFFFF;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 2rem 1.45rem;
  height: 100%;
  display: flex;
  flex-direction: column;
  position: relative;
  box-shadow: var(--shadow-card);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

@media (min-width: 1400px) {
  .pricing-card {
    padding: 2.25rem 1.85rem;
  }
}

.pricing-card:hover {
  transform: translateY(-5px);
  border-color: var(--blue-400);
  box-shadow: var(--shadow-hover);
}

.pricing-card.is-popular {
  border: 2px solid var(--blue-600);
  box-shadow: 0 12px 35px -5px rgba(37, 99, 235, 0.15), 0 4px 12px -2px rgba(15, 23, 42, 0.04);
}

.pricing-card-badge {
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--blue-600);
  color: #FFFFFF;
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 0.25rem 0.95rem;
  border-radius: var(--radius-full);
  box-shadow: 0 4px 10px rgba(37, 99, 235, 0.3);
  white-space: nowrap;
}

.pricing-plan-title {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--navy-950);
  margin-bottom: 0.4rem;
}

.pricing-plan-desc {
  font-size: 0.86rem;
  line-height: 1.5;
  color: var(--text-muted);
  min-height: 58px;
  margin-bottom: 1.25rem;
}

.pricing-price-box {
  display: flex;
  align-items: baseline;
  gap: 0.4rem;
  margin-bottom: 1.25rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--border-subtle);
}

.pricing-amount {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 800;
  color: var(--navy-950);
  letter-spacing: -0.03em;
  line-height: 1;
}

@media (min-width: 1400px) {
  .pricing-amount {
    font-size: 2.2rem;
  }
}

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

.pricing-features-list {
  list-style: none;
  padding: 0;
  margin: 0 0 2rem 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  flex-grow: 1;
}

.pricing-feature-item {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  font-size: 0.92rem;
  color: var(--navy-900);
}

.pricing-feature-item i {
  color: var(--blue-600);
  font-size: 1.05rem;
  margin-top: 1px;
  flex-shrink: 0;
}

#currencySwitcher, .currency-switcher-wrap {
  display: inline-flex;
  align-items: center;
  background-color: #F1F5F9 !important;
  border: 1px solid #CBD5E1 !important;
  padding: 4px !important;
  border-radius: 9999px !important;
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.04);
}

.currency-toggle-btn {
  border: none !important;
  background-color: transparent !important;
  color: #475569 !important;
  font-size: 0.88rem !important;
  font-weight: 600 !important;
  padding: 6px 18px !important;
  border-radius: 9999px !important;
  transition: all 0.18s ease;
  cursor: pointer;
}

.currency-toggle-btn:not(.active):hover {
  color: #0F172A !important;
}

.currency-toggle-btn.active {
  background-color: var(--blue-600) !important;
  color: #FFFFFF !important;
  box-shadow: 0 2px 8px rgba(37, 99, 235, 0.3) !important;
}

/* ===========================================================
   Digital Marketplace & Themes / Software Cards (Light Theme)
=========================================================== */
.marketplace-section {
  position: relative;
  overflow: hidden;
}

.marketplace-pill-nav {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #F1F5F9;
  padding: 6px 8px;
  border-radius: 9999px;
  border: 1px solid #E2E8F0;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04);
  max-width: 100%;
  overflow-x: auto;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.marketplace-pill-nav::-webkit-scrollbar {
  display: none;
}

.marketplace-pill-btn {
  border: none;
  background: transparent;
  color: #475569;
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 600;
  padding: 6px 20px;
  border-radius: 9999px;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: pointer;
  white-space: nowrap;
}

.marketplace-pill-btn:hover {
  color: #0F172A;
  background: rgba(0, 0, 0, 0.05);
}

.marketplace-pill-btn.active {
  background: #00E676 !important;
  color: #0B1120 !important;
  font-weight: 700 !important;
  box-shadow: 0 2px 12px rgba(0, 230, 118, 0.45) !important;
}

/* Marketplace Card Container - Clean Light Theme */
.marketplace-card {
  background: #FFFFFF !important;
  border: 1px solid #E2E8F0 !important;
  border-radius: 18px !important;
  overflow: hidden;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04), 0 8px 24px -4px rgba(15, 23, 42, 0.06);
}

.marketplace-card:hover {
  transform: translateY(-6px);
  border-color: #93C5FD !important;
  box-shadow: 0 16px 36px -6px rgba(37, 99, 235, 0.12), 0 4px 14px rgba(15, 23, 42, 0.04);
}

/* Preview Mockup Header */
.marketplace-preview-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9.5;
  overflow: hidden;
  background: #F8FAFC;
  border-bottom: 1px solid #E2E8F0;
}

.marketplace-preview-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.marketplace-card:hover .marketplace-preview-img {
  transform: scale(1.03);
}

/* Badges on preview */
.marketplace-badge-pill {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 2;
  padding: 4px 10px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.5px;
  border-radius: 9999px;
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
  text-transform: uppercase;
}

.marketplace-badge-pill.bestseller {
  color: #D97706;
  background: #FFFBEB;
  border-color: #FDE68A;
}

.marketplace-badge-pill.popular {
  color: #0284C7;
  background: #F0F9FF;
  border-color: #BAE6FD;
}

.marketplace-badge-pill.new {
  color: #16A34A;
  background: #F0FDF4;
  border-color: #BBF7D0;
}

.marketplace-badge-pill.featured {
  color: #7C3AED;
  background: #F5F3FF;
  border-color: #DDD6FE;
}

.marketplace-badge-pill.hot {
  color: #DC2626;
  background: #FEF2F2;
  border-color: #FECACA;
}

/* Card Content Body */
.marketplace-card-body {
  padding: 18px 20px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  background: #FFFFFF;
}

.marketplace-cat-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: #2563EB;
  margin-bottom: 6px;
}

.marketplace-title {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 700;
  color: #0F172A;
  margin-bottom: 8px;
  line-height: 1.35;
}

.marketplace-rating {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: #F59E0B;
  margin-bottom: 16px;
}

.marketplace-rating .score {
  font-weight: 700;
  color: #0F172A;
  margin-left: 2px;
}

.marketplace-rating .count {
  color: #64748B;
  font-size: 12px;
}

/* Card Footer */
.marketplace-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid #F1F5F9;
}

.marketplace-price {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 800;
  color: #0F172A;
}

.marketplace-btn-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: #F0FDF4;
  border: 1px solid #BBF7D0;
  color: #059669;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: pointer;
}

.marketplace-btn-icon:hover {
  background: #00E676;
  color: #0B1120;
  border-color: #00E676;
  box-shadow: 0 4px 14px rgba(0, 230, 118, 0.4);
  transform: scale(1.06);
}

/* ===========================================================
   Interactive Cloud Command Center & Console (Hero Section)
=========================================================== */
.hero-interactive-stage {
  position: relative;
  padding: 14px 10px;
}

/* Floating Glass Accent Badges */
.hero-float-badge {
  position: absolute;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid #E2E8F0;
  border-radius: 14px;
  padding: 8px 14px;
  box-shadow: 0 12px 28px -4px rgba(15, 23, 42, 0.12), 0 4px 10px -2px rgba(15, 23, 42, 0.04);
  z-index: 10;
  display: flex;
  align-items: center;
  gap: 10px;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  pointer-events: auto;
}

.hero-float-badge:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 32px -4px rgba(37, 99, 235, 0.16);
}

.hero-float-badge.badge-top-right {
  top: -6px;
  right: -8px;
}

.hero-float-badge.badge-bottom-left {
  bottom: -6px;
  left: -8px;
}

.float-badge-icon {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  flex-shrink: 0;
}

/* Main Console Card Window */
.hero-console-window {
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: 20px;
  box-shadow: 0 20px 45px -12px rgba(15, 23, 42, 0.08), 0 0 0 1px rgba(226, 232, 240, 0.7);
  overflow: hidden;
  position: relative;
  transition: all 0.3s ease;
}

.hero-console-window:hover {
  border-color: #CBD5E1;
  box-shadow: 0 24px 50px -12px rgba(15, 23, 42, 0.12), 0 0 0 1px rgba(37, 99, 235, 0.2);
}

/* Window Top Bar */
.hero-console-header {
  background: #F8FAFC;
  border-bottom: 1px solid #E2E8F0;
  padding: 10px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.window-dots {
  display: flex;
  align-items: center;
  gap: 6px;
}

.window-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  display: inline-block;
}

.window-dot.dot-red { background: #EF4444; }
.window-dot.dot-amber { background: #F59E0B; }
.window-dot.dot-green { background: #10B981; }

.console-path {
  font-family: var(--font-mono);
  font-size: 11px;
  color: #64748B;
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  padding: 3px 10px;
  border-radius: 6px;
}

.console-status-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 8px;
  border-radius: 9999px;
  font-size: 11px;
  font-weight: 700;
  background: #ECFDF5;
  color: #059669;
  border: 1px solid #A7F3D0;
}

.console-pulse-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #10B981;
  box-shadow: 0 0 0 rgba(16, 185, 129, 0.4);
  animation: consolePulse 2s infinite;
}

@keyframes consolePulse {
  0% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.6); }
  70% { box-shadow: 0 0 0 6px rgba(16, 185, 129, 0); }
  100% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

/* Console Navigation Tabs */
.hero-console-tabs {
  background: #FFFFFF;
  border-bottom: 1px solid #F1F5F9;
  padding: 8px 14px 0;
  display: flex;
  gap: 6px;
}

.hero-tab-btn {
  border: none;
  background: transparent;
  color: #64748B;
  font-size: 12px;
  font-weight: 600;
  padding: 7px 12px;
  border-radius: 8px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.2s ease;
}

.hero-tab-btn:hover {
  color: #0F172A;
  background: #F8FAFC;
}

.hero-tab-btn.active {
  background: #EFF6FF;
  color: #2563EB;
  font-weight: 700;
}

/* Tab Panes */
.hero-tab-pane {
  display: none;
  padding: 16px 18px;
}

.hero-tab-pane.active {
  display: block;
  animation: fadeInPane 0.25s ease;
}

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

/* Telemetry Grid Tiles (Tab 1) */
.hero-telemetry-tile {
  background: #F8FAFC;
  border: 1px solid #E2E8F0;
  border-radius: 12px;
  padding: 10px 12px;
  height: 100%;
  transition: all 0.2s ease;
}

.hero-telemetry-tile:hover {
  background: #FFFFFF;
  border-color: #CBD5E1;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.05);
  transform: translateY(-2px);
}

.hero-quick-action {
  background: #FFFFFF;
  border: 1px dashed #CBD5E1;
  border-radius: 8px;
  padding: 6px 10px;
  font-size: 12px;
  font-weight: 600;
  color: #334155;
  cursor: pointer;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.hero-quick-action:hover {
  background: #EFF6FF;
  border-color: #93C5FD;
  color: #1D4ED8;
  border-style: solid;
}

/* App Stacks (Tab 2) */
.hero-stack-item {
  background: #F8FAFC;
  border: 1px solid #E2E8F0;
  border-radius: 10px;
  padding: 9px 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
  transition: all 0.2s ease;
}

.hero-stack-item:hover {
  background: #FFFFFF;
  border-color: #93C5FD;
  box-shadow: 0 4px 10px rgba(37, 99, 235, 0.06);
}

/* Terminal Log Box (Tab 3) */
.hero-terminal-box {
  background: #0B1120;
  border-radius: 10px;
  padding: 10px 14px;
  font-family: var(--font-mono);
  font-size: 11px;
  line-height: 1.6;
  color: #94A3B8;
  max-height: 140px;
  overflow: hidden;
}

.hero-terminal-box .term-green { color: #10B981; }
.hero-terminal-box .term-cyan { color: #06B6D4; }
.hero-terminal-box .term-amber { color: #F59E0B; }
.hero-terminal-box .term-blue { color: #60A5FA; }

/* Console Bottom Bar */
.hero-console-footer {
  padding: 10px 18px;
  border-top: 1px solid #F1F5F9;
  background: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Live Console Activity Ticker */
.hero-console-ticker {
  background: #F8FAFC;
  border-top: 1px solid #E2E8F0;
  padding: 6px 16px;
  font-family: var(--font-mono);
  font-size: 10.5px;
  color: #64748B;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

@media (max-width: 991.98px) {
  .hero-float-badge {
    display: none !important;
  }
  .hero-interactive-stage {
    padding: 0;
  }
}


/* ===========================================================
   HOMEPAGE MODERN CLOUD INFRASTRUCTURE, BENTO & FEATURE SHOWCASE
   =========================================================== */
.infra-section {
  position: relative;
  background: #FFFFFF;
}

.bento-card {
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: 20px;
  padding: 28px;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.03), 0 8px 24px -6px rgba(15, 23, 42, 0.04);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  height: 100%;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}

.bento-card.auto-height,
.bento-card.h-auto {
  height: auto !important;
}

.bento-card:hover {
  transform: translateY(-3px);
  border-color: #CBD5E1;
  box-shadow: 0 16px 36px -8px rgba(37, 99, 235, 0.09), 0 4px 12px rgba(15, 23, 42, 0.03);
}

.infra-stat-val {
  font-size: 1.35rem;
  font-weight: 700;
  line-height: 1.2;
}
.infra-stat-sub {
  font-size: 0.8rem;
  font-weight: 400;
  color: #64748B;
}

/* Browser Mockup Window */
.mockup-browser {
  background: #F8FAFC;
  border: 1px solid #E2E8F0;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.04);
}

.mockup-browser-bar {
  background: #F1F5F9;
  border-bottom: 1px solid #E2E8F0;
  padding: 8px 14px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.mockup-dots {
  display: flex;
  align-items: center;
  gap: 6px;
}
.mockup-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  display: inline-block;
}
.mockup-dot.red { background: #FF5F56; }
.mockup-dot.yellow { background: #FFBD2E; }
.mockup-dot.green { background: #27C93F; }

.mockup-address {
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: 6px;
  padding: 3px 12px;
  font-size: 11.5px;
  color: #64748B;
  display: flex;
  align-items: center;
  gap: 6px;
  flex: 1;
  max-width: 220px;
}

.mockup-browser-body {
  padding: 16px;
  background: #FFFFFF;
}

/* PageSpeed Score Component */
.pagespeed-meter-ring {
  width: 52px;
  height: 52px;
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.pagespeed-meter-ring svg {
  transform: rotate(-90deg);
}
.pagespeed-meter-ring .score-val {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-weight: 800;
  font-size: 13.5px;
  color: #059669;
}

.ps-stat-box {
  background: #F8FAFC;
  border: 1px solid #E2E8F0;
  border-radius: 10px;
  padding: 8px 10px;
  text-align: center;
  flex: 1;
}
.ps-stat-box.blue { background: #EFF6FF; border-color: #BFDBFE; color: #1D4ED8; }
.ps-stat-box.green { background: #ECFDF5; border-color: #A7F3D0; color: #047857; }
.ps-stat-box.purple { background: #FAF5FF; border-color: #E9D5FF; color: #7E22CE; }

/* Elastic Scaling Bar Graphic */
.scaling-bars {
  display: flex;
  align-items: flex-end;
  gap: 8px;
  height: 90px;
  padding-right: 12px;
}
.scaling-bar {
  width: 22px;
  border-radius: 6px 6px 0 0;
  background: linear-gradient(180deg, #60A5FA 0%, #2563EB 100%);
  transition: height 0.5s ease;
}
.scaling-bar:nth-child(1) { height: 35%; opacity: 0.5; }
.scaling-bar:nth-child(2) { height: 55%; opacity: 0.7; }
.scaling-bar:nth-child(3) { height: 80%; opacity: 0.9; }
.scaling-bar:nth-child(4) { 
  height: 100%; 
  opacity: 1; 
  background: linear-gradient(180deg, #3B82F6 0%, #1D4ED8 100%); 
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.25); 
}

/* Softaculous App Grid */
.soft-app-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 10px;
}
.soft-app-icon {
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: 12px;
  padding: 12px 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.03);
  transition: all 0.2s ease;
}
.soft-app-icon:hover {
  transform: translateY(-2px);
  border-color: #93C5FD;
  box-shadow: 0 6px 14px rgba(37, 99, 235, 0.1);
}

.soft-filter-btn {
  font-size: 11.5px;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 9999px;
  border: 1px solid #E2E8F0;
  background: #F8FAFC;
  color: #475569;
  cursor: pointer;
  transition: all 0.15s ease;
}
.soft-filter-btn.active, .soft-filter-btn:hover {
  background: #2563EB;
  border-color: #2563EB;
  color: #FFFFFF;
}

/* cPanel Mockup Window (Clean White Theme) */
.cpanel-window {
  background: #FFFFFF;
  border-radius: 16px;
  border: 1px solid #E2E8F0;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(15, 23, 42, 0.05);
}
.cpanel-window-bar {
  background: #F8FAFC;
  border-bottom: 1px solid #E2E8F0;
  padding: 10px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.cpanel-window-body {
  padding: 18px;
  background: #FFFFFF;
}
.cpanel-tool-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}
.cpanel-tool-item {
  background: #F8FAFC;
  border: 1px solid #E2E8F0;
  border-radius: 10px;
  padding: 12px 6px;
  text-align: center;
  transition: all 0.2s ease;
}
.cpanel-tool-item:hover {
  background: #FFFFFF;
  border-color: #93C5FD;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(37, 99, 235, 0.08);
}
.cpanel-tool-icon {
  font-size: 20px;
  margin-bottom: 4px;
  display: inline-block;
}
.cpanel-tool-name {
  font-size: 11px;
  font-weight: 600;
  color: #0F172A;
  display: block;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Pastel Tint Feature Cards */
.pastel-card {
  border-radius: 20px;
  padding: 28px;
  height: 100%;
  display: flex;
  flex-direction: column;
  transition: all 0.25s ease;
  position: relative;
  overflow: hidden;
}
.pastel-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 32px -8px rgba(15, 23, 42, 0.08);
}
.pastel-card-green {
  background: rgba(236, 253, 245, 0.45);
  border: 1px solid #A7F3D0;
}
.pastel-card-blue {
  background: rgba(239, 246, 255, 0.45);
  border: 1px solid #BFDBFE;
}
.pastel-card-yellow {
  background: rgba(254, 252, 232, 0.45);
  border: 1px solid #FDE68A;
}
.pastel-card-indigo {
  background: rgba(238, 242, 255, 0.45);
  border: 1px solid #C7D2FE;
}
.pastel-card-emerald {
  background: rgba(209, 250, 229, 0.45);
  border: 1px solid #6EE7B7;
}
.pastel-card-purple {
  background: rgba(250, 245, 255, 0.45);
  border: 1px solid #E9D5FF;
}

.pastel-icon-circle {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
}

.pastel-pill-tag {
  font-size: 11.5px;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 9999px;
  background: #FFFFFF;
  box-shadow: 0 1px 3px rgba(0,0,0,0.04);
}

/* Stat Counters & Trust Cards */
.stat-counter-card {
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: 18px;
  padding: 24px;
  text-align: center;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.03);
  transition: all 0.25s ease;
  height: 100%;
}
.stat-counter-card:hover {
  transform: translateY(-3px);
  border-color: #93C5FD;
  box-shadow: 0 12px 24px -6px rgba(37, 99, 235, 0.08);
}

.guarantee-card {
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: 16px;
  padding: 18px 20px;
  display: flex;
  align-items: center;
  gap: 16px;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.03);
  transition: all 0.2s ease;
  height: 100%;
}
.guarantee-card:hover {
  transform: translateY(-2px);
  border-color: #CBD5E1;
  box-shadow: 0 8px 20px -4px rgba(15, 23, 42, 0.06);
}

/* Diagnostics Live Toast */
.diag-toast {
  position: fixed;
  bottom: 24px;
  right: 24px;
  background: #0B1120;
  color: #FFFFFF;
  border: 1px solid #1E293B;
  border-radius: 12px;
  padding: 12px 18px;
  font-size: 13px;
  z-index: 1060;
  display: none;
  box-shadow: 0 12px 30px rgba(0,0,0,0.25);
  animation: fadeInToast 0.25s ease;
}
@keyframes fadeInToast {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 767.98px) {
  .soft-app-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .cpanel-tool-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .scaling-bars {
    justify-content: center;
    margin-top: 16px;
  }
  .bento-card {
    padding: 20px 16px;
  }
  .infra-stat-val {
    font-size: 0.82rem;
  }
  .infra-stat-sub {
    display: block;
    font-size: 0.68rem;
    line-height: 1.1;
  }
}

@media (max-width: 380px) {
  .bento-card {
    padding: 16px 12px;
  }
  .infra-stat-val {
    font-size: 0.74rem;
  }
}

/* ==========================================================================
   FLOATING WHATSAPP BUTTON (LEFT SIDE)
   ========================================================================== */
.whatsapp-float-btn {
  position: fixed;
  bottom: 24px;
  left: 24px;
  width: 56px;
  height: 56px;
  background-color: #25D366;
  color: #FFFFFF !important;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 30px;
  box-shadow: 0 4px 16px rgba(37, 211, 102, 0.45);
  z-index: 1050;
  text-decoration: none !important;
  transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.25s cubic-bezier(0.4, 0, 0.2, 1), background-color 0.2s ease;
}

.whatsapp-float-btn:hover {
  background-color: #20BA5A;
  color: #FFFFFF !important;
  transform: scale(1.08) translateY(-2px);
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.55);
}

.whatsapp-float-btn:active {
  transform: scale(0.95);
}

@media (max-width: 576px) {
  .whatsapp-float-btn {
    bottom: 18px;
    left: 18px;
    width: 50px;
    height: 50px;
    font-size: 26px;
  }
}