/* ═══════════════════════════════════════════════════════════════════════════
   HostClub – Design System v2.0
   Professional Web Hosting & Domain Platform
═══════════════════════════════════════════════════════════════════════════ */

/* ── CSS Custom Properties ──────────────────────────────────────────────── */
:root {
  /* Brand */
  --primary:          #4f46e5;
  --primary-light:    #6366f1;
  --primary-dark:     #3730a3;
  --primary-glow:     rgba(79,70,229,.25);
  --secondary:        #7c3aed;
  --accent:           #06b6d4;
  --accent-orange:    #f97316;

  /* Semantic */
  --success:          #10b981;
  --warning:          #f59e0b;
  --danger:           #ef4444;
  --info:             #3b82f6;

  /* Neutrals */
  --dark:             #0a0e1a;
  --dark-2:           #0f172a;
  --dark-3:           #1e293b;
  --dark-4:           #334155;
  --text:             #1e293b;
  --text-secondary:   #475569;
  --text-muted:       #94a3b8;
  --border:           #e2e8f0;
  --border-light:     #f1f5f9;
  --bg:               #f8fafc;
  --bg-2:             #f1f5f9;

  /* Shadows */
  --shadow-sm:        0 1px 2px rgba(0,0,0,.06), 0 1px 3px rgba(0,0,0,.1);
  --shadow:           0 4px 6px rgba(0,0,0,.07), 0 10px 15px rgba(0,0,0,.07);
  --shadow-md:        0 10px 25px rgba(0,0,0,.1), 0 4px 10px rgba(0,0,0,.06);
  --shadow-lg:        0 20px 40px rgba(0,0,0,.12), 0 8px 16px rgba(0,0,0,.08);
  --shadow-xl:        0 40px 80px rgba(0,0,0,.15);
  --shadow-primary:   0 8px 24px rgba(79,70,229,.3);
  --shadow-card:      0 2px 8px rgba(0,0,0,.06), 0 8px 24px rgba(0,0,0,.04);

  /* Radius */
  --radius-sm:        .375rem;
  --radius:           .75rem;
  --radius-md:        1rem;
  --radius-lg:        1.5rem;
  --radius-xl:        2rem;
  --radius-full:      9999px;

  /* Transitions */
  --transition:       all .2s cubic-bezier(.4,0,.2,1);
  --transition-slow:  all .4s cubic-bezier(.4,0,.2,1);

  /* Gradients */
  --grad-primary:     linear-gradient(135deg, #4f46e5 0%, #7c3aed 100%);
  --grad-hero:        linear-gradient(135deg, #050811 0%, #0d1440 35%, #1a0a3d 65%, #0d1440 100%);
  --grad-blue:        linear-gradient(135deg, #1e40af 0%, #3b82f6 100%);
  --grad-orange:      linear-gradient(135deg, #ea580c 0%, #f97316 100%);
  --grad-green:       linear-gradient(135deg, #059669 0%, #10b981 100%);
  --grad-card:        linear-gradient(145deg, #ffffff 0%, #f8faff 100%);
}

/* ── Reset & Base ────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  color: var(--text); line-height: 1.6; background: var(--bg);
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
}
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
button { font-family: inherit; }

/* ── Scrollbar ───────────────────────────────────────────────────────────── */
::-webkit-scrollbar { width: 7px; height: 7px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: #cbd5e1; border-radius: 99px; }
::-webkit-scrollbar-thumb:hover { background: #94a3b8; }

/* ══════════════════════════════════════════════════════════════════════════
   TYPOGRAPHY
══════════════════════════════════════════════════════════════════════════ */
.gradient-text {
  background: var(--grad-primary);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}
.gradient-text-blue {
  background: linear-gradient(135deg, #60a5fa 0%, #a78bfa 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}
.section-label {
  display: inline-flex; align-items: center; gap: .5rem;
  background: rgba(79,70,229,.1); color: var(--primary);
  padding: .35rem .9rem; border-radius: 99px; font-size: .8rem;
  font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
  border: 1px solid rgba(79,70,229,.2); margin-bottom: 1rem;
}
.section-title {
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  font-weight: 800; line-height: 1.2; color: var(--text);
  letter-spacing: -.02em;
}
.section-subtitle {
  font-size: 1.125rem; color: var(--text-secondary); max-width: 560px;
  margin: 0 auto; line-height: 1.7;
}

/* ══════════════════════════════════════════════════════════════════════════
   BUTTONS
══════════════════════════════════════════════════════════════════════════ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  padding: .7rem 1.75rem; border-radius: var(--radius); font-weight: 600;
  font-size: .9375rem; cursor: pointer; transition: var(--transition);
  border: 2px solid transparent; white-space: nowrap; position: relative;
  overflow: hidden; letter-spacing: -.01em;
}
.btn::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(rgba(255,255,255,.15), transparent);
  opacity: 0; transition: opacity .2s;
}
.btn:hover::after { opacity: 1; }

.btn-primary {
  background: var(--grad-primary); color: #fff;
  box-shadow: 0 4px 14px rgba(79,70,229,.35);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: var(--shadow-primary); }
.btn-primary:active { transform: translateY(0); }

.btn-secondary { background: var(--secondary); color: #fff; box-shadow: 0 4px 14px rgba(124,58,237,.35); }
.btn-secondary:hover { transform: translateY(-2px); background: #6d28d9; }

.btn-accent { background: var(--accent-orange); color: #fff; box-shadow: 0 4px 14px rgba(249,115,22,.35); }
.btn-accent:hover { transform: translateY(-2px); background: #ea580c; }

.btn-outline {
  background: transparent; border-color: var(--primary); color: var(--primary);
}
.btn-outline:hover { background: var(--primary); color: #fff; box-shadow: var(--shadow-primary); transform: translateY(-1px); }

.btn-outline-white {
  background: transparent; border-color: rgba(255,255,255,.4); color: #fff;
}
.btn-outline-white:hover { background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.7); }

.btn-white { background: #fff; color: var(--primary); border-color: #fff; box-shadow: var(--shadow-md); }
.btn-white:hover { background: #f8fafc; transform: translateY(-2px); box-shadow: var(--shadow-lg); }

.btn-dark { background: var(--dark-3); color: #fff; }
.btn-dark:hover { background: var(--dark-4); transform: translateY(-1px); }

.btn-success { background: var(--success); color: #fff; }
.btn-danger { background: var(--danger); color: #fff; }
.btn-warning { background: var(--warning); color: #fff; }

.btn-ghost { background: transparent; color: var(--text-secondary); border-color: transparent; }
.btn-ghost:hover { background: var(--bg-2); color: var(--text); }

.btn-sm { padding: .45rem 1.1rem; font-size: .875rem; border-radius: .5rem; }
.btn-lg { padding: .9rem 2.25rem; font-size: 1.0625rem; border-radius: .875rem; }
.btn-xl { padding: 1.1rem 2.75rem; font-size: 1.125rem; border-radius: 1rem; }

.btn:disabled { opacity: .5; cursor: not-allowed; transform: none !important; box-shadow: none !important; }

/* Gradient border button */
.btn-gradient-border {
  background: transparent; position: relative; color: #fff;
  border: 2px solid transparent;
  background-clip: padding-box;
}
.btn-gradient-border::before {
  content: ''; position: absolute; inset: -2px; border-radius: inherit;
  background: var(--grad-primary); z-index: -1;
}

/* ══════════════════════════════════════════════════════════════════════════
   NAVBAR
══════════════════════════════════════════════════════════════════════════ */
.navbar {
  position: sticky; top: 0; z-index: 200;
  background: rgba(5,8,17,.92); backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid rgba(255,255,255,.07);
  transition: var(--transition);
}
.navbar.scrolled {
  background: rgba(5,8,17,.98);
  box-shadow: 0 4px 30px rgba(0,0,0,.3);
}
.nav-container { max-width: 1320px; margin: 0 auto; padding: 0 1.5rem; display: flex; align-items: center; height: 68px; }
.nav-logo { display: flex; align-items: center; gap: .75rem; }
.nav-logo-mark {
  width: 38px; height: 38px; border-radius: 10px;
  background: var(--grad-primary); display: flex; align-items: center;
  justify-content: center; font-weight: 900; color: #fff; font-size: 1.2rem;
  box-shadow: 0 4px 12px rgba(79,70,229,.4);
}
.nav-logo-text { font-weight: 800; font-size: 1.25rem; color: #fff; letter-spacing: -.02em; }
.nav-logo-text span { color: var(--primary-light); }
.nav-links { display: flex; align-items: center; gap: .25rem; margin-left: 2.5rem; flex: 1; }
.nav-link {
  display: flex; align-items: center; gap: .35rem;
  color: rgba(255,255,255,.75); padding: .5rem .875rem; border-radius: .5rem;
  font-size: .9375rem; font-weight: 500; transition: var(--transition);
  position: relative;
}
.nav-link:hover { color: #fff; background: rgba(255,255,255,.07); }
.nav-link.active { color: #fff; }
.nav-link .chevron { font-size: .65rem; opacity: .6; transition: transform .2s; }
.nav-link:hover .chevron { transform: rotate(180deg); }

/* Dropdown */
.nav-dropdown { position: relative; }
.nav-dropdown-menu {
  position: absolute; top: calc(100% + .75rem); left: 50%; transform: translateX(-50%);
  background: #fff; border-radius: 1rem; box-shadow: var(--shadow-xl);
  border: 1px solid var(--border-light); min-width: 640px;
  padding: 1.25rem; display: none;
  animation: dropIn .2s ease;
}
.nav-dropdown-menu.narrow { min-width: 220px; }
@keyframes dropIn { from { opacity: 0; transform: translateX(-50%) translateY(-8px); } to { opacity: 1; transform: translateX(-50%) translateY(0); } }
.nav-dropdown:hover .nav-dropdown-menu { display: block; }
.dropdown-grid { display: grid; grid-template-columns: 1fr 1fr; gap: .5rem; }
.dropdown-item {
  display: flex; align-items: flex-start; gap: .875rem; padding: .875rem 1rem;
  border-radius: .625rem; transition: var(--transition); color: var(--text);
}
.dropdown-item:hover { background: var(--bg-2); }
.dropdown-icon {
  width: 2.5rem; height: 2.5rem; border-radius: .625rem;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem; flex-shrink: 0;
}
.dropdown-icon.indigo { background: rgba(79,70,229,.1); }
.dropdown-icon.purple { background: rgba(124,58,237,.1); }
.dropdown-icon.blue   { background: rgba(59,130,246,.1); }
.dropdown-icon.green  { background: rgba(16,185,129,.1); }
.dropdown-icon.orange { background: rgba(249,115,22,.1); }
.dropdown-icon.cyan   { background: rgba(6,182,212,.1); }
.dropdown-text-title { font-weight: 600; font-size: .9375rem; color: var(--text); }
.dropdown-text-sub { font-size: .8125rem; color: var(--text-muted); margin-top: .1rem; }

.nav-actions { display: flex; align-items: center; gap: .75rem; margin-left: auto; }
.nav-user-btn {
  display: flex; align-items: center; gap: .625rem; color: rgba(255,255,255,.8);
  padding: .4rem .75rem; border-radius: .5rem; font-size: .9rem; font-weight: 500;
  transition: var(--transition); cursor: pointer;
}
.nav-user-btn:hover { background: rgba(255,255,255,.08); color: #fff; }
.nav-user-avatar {
  width: 30px; height: 30px; border-radius: 50%;
  background: var(--grad-primary); display: flex; align-items: center;
  justify-content: center; font-size: .8rem; font-weight: 700; color: #fff;
}
.cart-btn {
  position: relative; width: 38px; height: 38px; display: flex;
  align-items: center; justify-content: center; border-radius: .5rem;
  color: rgba(255,255,255,.75); transition: var(--transition); cursor: pointer;
}
.cart-btn:hover { background: rgba(255,255,255,.08); color: #fff; }
.cart-badge {
  position: absolute; top: -2px; right: -2px; width: 18px; height: 18px;
  background: var(--danger); color: #fff; border-radius: 50%; font-size: .65rem;
  font-weight: 700; display: flex; align-items: center; justify-content: center;
  border: 2px solid #050811;
}

/* Mobile Nav */
.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: .5rem; }
.hamburger span { display: block; width: 24px; height: 2px; background: rgba(255,255,255,.8); border-radius: 2px; transition: var(--transition); }
#mobile-menu { display: none; background: #0a0e1a; border-top: 1px solid rgba(255,255,255,.07); padding: 1.5rem; }
#mobile-menu.open { display: block; }

/* Promo bar */
.promo-bar {
  background: linear-gradient(90deg, #4f46e5 0%, #7c3aed 50%, #4f46e5 100%);
  background-size: 200% 100%;
  animation: gradientShift 4s ease infinite;
  text-align: center; padding: .6rem 1rem; font-size: .875rem; color: #fff; font-weight: 500;
}
@keyframes gradientShift { 0%,100% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } }
.promo-bar a { color: #fff; font-weight: 700; text-decoration: underline; }

/* ══════════════════════════════════════════════════════════════════════════
   HERO
══════════════════════════════════════════════════════════════════════════ */
.hero {
  position: relative; overflow: hidden;
  background: var(--grad-hero); min-height: 600px;
}
.hero-mesh {
  position: absolute; inset: 0; opacity: .4;
  background-image:
    radial-gradient(ellipse 80% 50% at 20% 40%, rgba(79,70,229,.35), transparent),
    radial-gradient(ellipse 60% 70% at 80% 20%, rgba(124,58,237,.25), transparent),
    radial-gradient(ellipse 40% 60% at 60% 80%, rgba(6,182,212,.15), transparent);
}
.hero-grid {
  position: absolute; inset: 0;
  background-image: linear-gradient(rgba(255,255,255,.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.03) 1px, transparent 1px);
  background-size: 60px 60px;
}
.hero-orb {
  position: absolute; border-radius: 50%; filter: blur(80px); pointer-events: none;
}
.hero-orb-1 { width: 500px; height: 500px; background: rgba(79,70,229,.2); top: -150px; left: -100px; }
.hero-orb-2 { width: 400px; height: 400px; background: rgba(124,58,237,.15); top: -100px; right: -100px; }
.hero-orb-3 { width: 300px; height: 300px; background: rgba(6,182,212,.1); bottom: -100px; left: 40%; }

/* ── Domain Search Bar ──────────────────────────────────────────────────── */
.domain-search-wrap { position: relative; max-width: 720px; margin: 0 auto; }
.domain-search-box {
  display: flex; align-items: center; background: rgba(255,255,255,.08);
  border: 1.5px solid rgba(255,255,255,.15); border-radius: 1rem;
  padding: .375rem .375rem .375rem 1.5rem;
  backdrop-filter: blur(20px);
  box-shadow: 0 8px 32px rgba(0,0,0,.25), inset 0 1px 0 rgba(255,255,255,.1);
  transition: border-color .2s, box-shadow .2s;
}
.domain-search-box:focus-within {
  border-color: var(--primary-light); background: rgba(255,255,255,.12);
  box-shadow: 0 8px 32px rgba(0,0,0,.25), 0 0 0 4px rgba(99,102,241,.2), inset 0 1px 0 rgba(255,255,255,.1);
}
.domain-search-input {
  flex: 1; background: transparent; border: none; outline: none;
  font-size: 1.125rem; color: #fff; font-weight: 400;
  padding: .625rem 1rem .625rem 0;
}
.domain-search-input::placeholder { color: rgba(255,255,255,.4); }
.domain-search-btn {
  flex-shrink: 0; background: var(--grad-primary); color: #fff; border: none;
  padding: .8rem 1.75rem; border-radius: .75rem; font-weight: 700; font-size: 1rem;
  cursor: pointer; transition: var(--transition);
  box-shadow: 0 4px 12px rgba(79,70,229,.4);
}
.domain-search-btn:hover { transform: translateY(-1px); box-shadow: 0 8px 20px rgba(79,70,229,.5); }

.tld-quick-select {
  display: flex; flex-wrap: wrap; gap: .5rem; justify-content: center; margin-top: 1.25rem;
}
.tld-quick-btn {
  display: inline-flex; align-items: center; gap: .375rem;
  background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.12);
  color: rgba(255,255,255,.8); padding: .35rem .875rem; border-radius: 99px;
  font-size: .875rem; cursor: pointer; transition: var(--transition);
}
.tld-quick-btn:hover { background: rgba(99,102,241,.25); border-color: rgba(99,102,241,.5); color: #fff; }
.tld-quick-btn.active { background: var(--primary); border-color: var(--primary); color: #fff; }
.tld-quick-btn .price { font-size: .75rem; opacity: .7; }

/* Stats strip */
.hero-stats { display: flex; gap: 2.5rem; flex-wrap: wrap; }
.hero-stat { display: flex; flex-direction: column; }
.hero-stat-val { font-size: 1.75rem; font-weight: 800; color: #fff; letter-spacing: -.03em; }
.hero-stat-label { font-size: .8125rem; color: rgba(255,255,255,.5); margin-top: .1rem; }

/* ══════════════════════════════════════════════════════════════════════════
   CARDS
══════════════════════════════════════════════════════════════════════════ */
.card {
  background: #fff; border-radius: var(--radius-md); padding: 1.5rem;
  box-shadow: var(--shadow-card); border: 1px solid var(--border);
  transition: var(--transition);
}
.card:hover { box-shadow: 0 8px 32px rgba(0,0,0,.1); transform: translateY(-2px); }

.card-glass {
  background: rgba(255,255,255,.06); backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,.1); border-radius: var(--radius-md);
}

/* ── Pricing Cards ──────────────────────────────────────────────────────── */
.pricing-card {
  background: #fff; border-radius: 1.25rem; padding: 2rem;
  border: 2px solid var(--border); position: relative; transition: var(--transition);
  display: flex; flex-direction: column;
}
.pricing-card:hover {
  border-color: rgba(79,70,229,.3); transform: translateY(-6px);
  box-shadow: 0 24px 48px rgba(79,70,229,.12);
}
.pricing-card.popular {
  border-color: var(--primary); box-shadow: 0 20px 50px rgba(79,70,229,.2);
  transform: scale(1.03);
}
.pricing-card.popular:hover { transform: scale(1.03) translateY(-4px); }
.popular-badge {
  position: absolute; top: -1px; left: 50%; transform: translateX(-50%);
  background: var(--grad-primary); color: #fff;
  padding: .3rem 1.25rem; border-radius: 0 0 .875rem .875rem;
  font-size: .75rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em;
  box-shadow: 0 4px 12px rgba(79,70,229,.4);
}
.pricing-name { font-size: .9rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--text-secondary); }
.pricing-price { font-size: 2.75rem; font-weight: 900; letter-spacing: -.04em; color: var(--text); line-height: 1; }
.pricing-price sup { font-size: 1.25rem; font-weight: 700; vertical-align: top; margin-top: .5rem; }
.pricing-period { font-size: .9rem; color: var(--text-muted); font-weight: 400; }
.pricing-original { font-size: .9rem; color: var(--text-muted); text-decoration: line-through; }
.pricing-save { background: #dcfce7; color: #166534; padding: .2rem .6rem; border-radius: 99px; font-size: .75rem; font-weight: 700; }
.pricing-features { list-style: none; flex: 1; }
.pricing-features li {
  display: flex; align-items: flex-start; gap: .75rem;
  padding: .55rem 0; font-size: .9375rem; border-bottom: 1px solid #f1f5f9;
  color: var(--text-secondary);
}
.pricing-features li:last-child { border-bottom: none; }
.pricing-features .feat-check { color: var(--success); flex-shrink: 0; margin-top: .1rem; font-size: 1rem; }
.pricing-features .feat-cross { color: var(--text-muted); flex-shrink: 0; font-size: .75rem; margin-top: .2rem; }
.pricing-features .feat-val { font-weight: 600; color: var(--text); }

/* VPS spec cards */
.vps-card {
  background: #fff; border-radius: 1.25rem; border: 2px solid var(--border);
  padding: 1.75rem 1.5rem; position: relative; transition: var(--transition);
  display: flex; flex-direction: column; overflow: hidden;
}
.vps-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 4px;
  background: var(--grad-primary); opacity: 0; transition: opacity .2s;
}
.vps-card:hover { border-color: var(--primary); transform: translateY(-6px); box-shadow: 0 24px 48px rgba(79,70,229,.12); }
.vps-card:hover::before { opacity: 1; }
.vps-card.featured { border-color: var(--primary); box-shadow: 0 20px 50px rgba(79,70,229,.2); }
.vps-card.featured::before { opacity: 1; }

.vps-spec-row { display: flex; align-items: center; gap: .75rem; padding: .6rem 0; border-bottom: 1px solid #f1f5f9; }
.vps-spec-row:last-child { border-bottom: none; }
.vps-spec-icon { width: 2rem; height: 2rem; border-radius: .5rem; display: flex; align-items: center; justify-content: center; font-size: .875rem; flex-shrink: 0; }
.vps-spec-label { font-size: .8125rem; color: var(--text-muted); flex: 1; }
.vps-spec-val { font-weight: 700; font-size: .9375rem; color: var(--text); }

.spec-bar { height: 5px; border-radius: 99px; background: #f1f5f9; margin-top: .5rem; overflow: hidden; }
.spec-bar-fill { height: 100%; border-radius: 99px; background: var(--grad-primary); }

/* ── Feature Cards ──────────────────────────────────────────────────────── */
.feature-card {
  background: #fff; border-radius: 1rem; padding: 1.75rem;
  border: 1px solid var(--border); transition: var(--transition);
}
.feature-card:hover { border-color: rgba(79,70,229,.3); box-shadow: 0 12px 32px rgba(79,70,229,.1); transform: translateY(-3px); }
.feature-icon {
  width: 3.25rem; height: 3.25rem; border-radius: .875rem;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.375rem; margin-bottom: 1.25rem; position: relative; overflow: hidden;
}
.feature-icon::before { content: ''; position: absolute; inset: 0; opacity: .12; }
.fi-indigo { background: rgba(79,70,229,.12); }
.fi-purple { background: rgba(124,58,237,.12); }
.fi-blue   { background: rgba(59,130,246,.12); }
.fi-green  { background: rgba(16,185,129,.12); }
.fi-orange { background: rgba(249,115,22,.12); }
.fi-cyan   { background: rgba(6,182,212,.12); }
.fi-red    { background: rgba(239,68,68,.12); }
.fi-pink   { background: rgba(236,72,153,.12); }

/* ── Stat Cards ──────────────────────────────────────────────────────────── */
.stat-card {
  background: #fff; border-radius: var(--radius-md); padding: 1.25rem 1.5rem;
  border: 1px solid var(--border); display: flex; align-items: center; gap: 1.1rem;
  transition: var(--transition);
}
.stat-card:hover { box-shadow: var(--shadow-md); }
.stat-icon {
  width: 3rem; height: 3rem; border-radius: .75rem;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.25rem; flex-shrink: 0;
}

/* ── Trust / Social Proof ────────────────────────────────────────────────── */
.trust-bar {
  background: #fff; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
  padding: 1.25rem 0; overflow: hidden;
}
.trust-track {
  display: flex; align-items: center; gap: 3.5rem;
  animation: scrollLeft 30s linear infinite; width: max-content;
}
@keyframes scrollLeft { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.trust-logo {
  display: flex; align-items: center; gap: .625rem; color: var(--text-muted);
  font-weight: 600; font-size: .9rem; white-space: nowrap; opacity: .7;
  transition: opacity .2s;
}
.trust-logo:hover { opacity: 1; }
.trust-logo-icon { font-size: 1.25rem; }

.trust-badge {
  display: flex; align-items: center; gap: .75rem; padding: .875rem 1.25rem;
  background: #fff; border: 1px solid var(--border); border-radius: .75rem;
}
.trust-badge-icon { font-size: 1.5rem; }
.trust-badge-text { font-size: .875rem; }
.trust-badge-title { font-weight: 700; color: var(--text); }
.trust-badge-sub { color: var(--text-muted); }

/* ── Testimonials ────────────────────────────────────────────────────────── */
.testimonial-card {
  background: #fff; border-radius: 1.25rem; padding: 1.75rem;
  border: 1px solid var(--border); box-shadow: var(--shadow-card);
  transition: var(--transition);
}
.testimonial-card:hover { box-shadow: var(--shadow-md); border-color: rgba(79,70,229,.2); }
.testimonial-stars { color: #f59e0b; font-size: 1rem; letter-spacing: .1rem; }
.testimonial-quote { font-size: 1.0625rem; color: var(--text-secondary); line-height: 1.7; margin: 1rem 0; font-style: italic; }
.testimonial-author { display: flex; align-items: center; gap: .875rem; }
.testimonial-avatar {
  width: 2.75rem; height: 2.75rem; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 1rem; color: #fff; flex-shrink: 0;
}
.testimonial-name { font-weight: 700; color: var(--text); }
.testimonial-role { font-size: .8125rem; color: var(--text-muted); }

/* ── Domain Result Rows ──────────────────────────────────────────────────── */
.domain-result {
  display: flex; align-items: center; justify-content: space-between;
  padding: 1rem 1.5rem; border-radius: .75rem; background: #fff;
  border: 1.5px solid var(--border); transition: var(--transition); gap: 1rem;
}
.domain-result:hover { border-color: rgba(79,70,229,.3); box-shadow: var(--shadow-sm); }
.domain-result.available { border-color: rgba(16,185,129,.3); }
.domain-result.unavailable { opacity: .65; }
.domain-result .tld-name { font-weight: 700; font-size: 1.125rem; }
.domain-result .tld-ext { color: var(--primary); }
.domain-avail { display: flex; align-items: center; gap: .5rem; font-size: .875rem; font-weight: 600; }
.avail-dot { width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0; }
.avail-dot.green { background: var(--success); box-shadow: 0 0 0 3px rgba(16,185,129,.2); }
.avail-dot.red { background: var(--danger); }
.avail-dot.orange { background: var(--warning); }

/* TLD Pricing Strip */
.tld-strip { display: grid; grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: .75rem; }
.tld-tile {
  background: #fff; border: 1.5px solid var(--border); border-radius: .875rem;
  padding: 1.25rem 1rem; text-align: center; cursor: pointer;
  transition: var(--transition); display: flex; flex-direction: column; align-items: center;
}
.tld-tile:hover { border-color: var(--primary); box-shadow: 0 8px 24px rgba(79,70,229,.12); transform: translateY(-3px); }
.tld-tile-ext { font-size: 1.25rem; font-weight: 800; color: var(--primary); }
.tld-tile-price { font-size: .8rem; color: var(--text-muted); margin-top: .25rem; }
.tld-tile-price strong { color: var(--text); font-weight: 700; }
.tld-tile-popular { font-size: .65rem; background: #fef3c7; color: #92400e; padding: .15rem .5rem; border-radius: 99px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; margin-top: .375rem; }

/* ══════════════════════════════════════════════════════════════════════════
   COMPARISON TABLE
══════════════════════════════════════════════════════════════════════════ */
.compare-table { width: 100%; border-collapse: separate; border-spacing: 0; }
.compare-table th, .compare-table td { padding: .875rem 1.25rem; text-align: center; border-bottom: 1px solid var(--border-light); }
.compare-table th:first-child, .compare-table td:first-child { text-align: left; font-weight: 500; color: var(--text-secondary); }
.compare-table th { font-size: .8rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--text-muted); background: #f8fafc; padding-top: 1.25rem; padding-bottom: 1.25rem; }
.compare-table th.highlight { background: rgba(79,70,229,.06); color: var(--primary); }
.compare-table td.highlight { background: rgba(79,70,229,.03); }
.compare-table .check { color: var(--success); font-size: 1.1rem; }
.compare-table .cross { color: var(--text-muted); font-size: .85rem; }

/* ══════════════════════════════════════════════════════════════════════════
   FORMS
══════════════════════════════════════════════════════════════════════════ */
.form-group { margin-bottom: 1.25rem; }
.form-label { display: block; font-size: .9rem; font-weight: 600; margin-bottom: .45rem; color: var(--text); }
.form-control {
  width: 100%; padding: .7rem 1rem; border: 1.5px solid var(--border);
  border-radius: .625rem; font-size: .9375rem; background: #fff; color: var(--text);
  transition: border-color .2s, box-shadow .2s; outline: none; font-family: inherit;
}
.form-control:focus { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(79,70,229,.12); }
.form-control:hover:not(:focus) { border-color: #cbd5e1; }
.form-control.is-invalid { border-color: var(--danger); }
.form-control.is-invalid:focus { box-shadow: 0 0 0 3px rgba(239,68,68,.12); }
.form-hint { font-size: .8125rem; color: var(--text-muted); margin-top: .35rem; }
.form-error { font-size: .8125rem; color: var(--danger); margin-top: .35rem; font-weight: 500; }
.input-group { position: relative; }
.input-icon { position: absolute; left: 1rem; top: 50%; transform: translateY(-50%); color: var(--text-muted); pointer-events: none; }
.input-icon ~ .form-control { padding-left: 2.75rem; }
select.form-control { cursor: pointer; appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='%2394a3b8'%3E%3Cpath fill-rule='evenodd' d='M5.293 7.293a1 1 0 011.414 0L10 10.586l3.293-3.293a1 1 0 111.414 1.414l-4 4a1 1 0 01-1.414 0l-4-4a1 1 0 010-1.414z'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right .875rem center; background-size: 1.25rem; padding-right: 2.5rem; }
textarea.form-control { resize: vertical; min-height: 100px; }

/* Auth forms */
.auth-page { min-height: 100vh; display: flex; }
.auth-brand {
  width: 45%; background: var(--grad-hero); position: relative; overflow: hidden;
  display: flex; flex-direction: column; justify-content: center; padding: 3rem;
}
.auth-brand-content { position: relative; z-index: 2; }
.auth-brand::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse 80% 60% at 30% 50%, rgba(79,70,229,.4), transparent);
}
.auth-form-wrap {
  flex: 1; display: flex; align-items: center; justify-content: center;
  padding: 2rem; background: var(--bg);
}
.auth-form-card { width: 100%; max-width: 440px; }
.auth-divider { display: flex; align-items: center; gap: 1rem; color: var(--text-muted); font-size: .875rem; margin: 1.25rem 0; }
.auth-divider::before, .auth-divider::after { content: ''; flex: 1; height: 1px; background: var(--border); }

/* ══════════════════════════════════════════════════════════════════════════
   ALERTS & BADGES
══════════════════════════════════════════════════════════════════════════ */
.alert {
  padding: .875rem 1.25rem; border-radius: .75rem; margin-bottom: 1rem;
  display: flex; align-items: flex-start; gap: .875rem; font-size: .9375rem;
}
.alert-success { background: #ecfdf5; color: #065f46; border: 1px solid #a7f3d0; }
.alert-error   { background: #fef2f2; color: #991b1b; border: 1px solid #fca5a5; }
.alert-warning { background: #fffbeb; color: #92400e; border: 1px solid #fcd34d; }
.alert-info    { background: #eff6ff; color: #1e40af; border: 1px solid #bfdbfe; }

.badge {
  display: inline-flex; align-items: center; padding: .25rem .75rem;
  border-radius: 99px; font-size: .75rem; font-weight: 700; letter-spacing: .04em;
}
.badge-success { background: #ecfdf5; color: #065f46; }
.badge-warning { background: #fffbeb; color: #92400e; }
.badge-danger  { background: #fef2f2; color: #991b1b; }
.badge-info    { background: #eff6ff; color: #1e40af; }
.badge-gray    { background: #f1f5f9; color: #475569; }
.badge-primary { background: rgba(79,70,229,.1); color: var(--primary); }
.badge-purple  { background: rgba(124,58,237,.1); color: #6d28d9; }

/* ══════════════════════════════════════════════════════════════════════════
   TABLES (admin/dashboard)
══════════════════════════════════════════════════════════════════════════ */
.table-wrap {
  background: #fff; border-radius: var(--radius-md);
  border: 1px solid var(--border); overflow: hidden;
}
table { width: 100%; border-collapse: collapse; }
th {
  background: #f8fafc; padding: .75rem 1rem; text-align: left;
  font-size: .78rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: .06em; color: var(--text-muted); border-bottom: 1px solid var(--border);
}
td { padding: .875rem 1rem; border-bottom: 1px solid #f8fafc; font-size: .9375rem; vertical-align: middle; }
tr:last-child td { border-bottom: none; }
tr:hover td { background: #fafbff; }

/* ══════════════════════════════════════════════════════════════════════════
   FAQ ACCORDION
══════════════════════════════════════════════════════════════════════════ */
.faq-item { border: 1px solid var(--border); border-radius: .875rem; overflow: hidden; margin-bottom: .625rem; transition: var(--transition); }
.faq-item:hover { border-color: rgba(79,70,229,.3); }
.faq-question {
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.1rem 1.5rem; cursor: pointer; font-weight: 600; font-size: 1rem;
  color: var(--text); background: #fff; user-select: none; gap: 1rem;
  transition: var(--transition);
}
.faq-question:hover { background: #fafbff; }
.faq-icon { font-size: 1.125rem; color: var(--primary); transition: transform .3s; flex-shrink: 0; }
.faq-item.open .faq-icon { transform: rotate(45deg); }
.faq-answer { display: none; padding: 0 1.5rem 1.25rem; color: var(--text-secondary); font-size: .9375rem; line-height: 1.7; border-top: 1px solid #f1f5f9; }
.faq-item.open .faq-answer { display: block; }
.faq-item.open .faq-question { background: #fafbff; }

/* ══════════════════════════════════════════════════════════════════════════
   STEPS / PROCESS
══════════════════════════════════════════════════════════════════════════ */
.steps { display: grid; gap: 2rem; counter-reset: step; }
.step { display: flex; gap: 1.5rem; align-items: flex-start; counter-increment: step; }
.step-num {
  width: 3rem; height: 3rem; border-radius: 50%; flex-shrink: 0;
  background: var(--grad-primary); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 1.1rem; box-shadow: 0 4px 12px rgba(79,70,229,.35);
}
.step-content h4 { font-weight: 700; font-size: 1.0625rem; margin-bottom: .375rem; }
.step-content p { color: var(--text-secondary); font-size: .9375rem; line-height: 1.6; }

/* ══════════════════════════════════════════════════════════════════════════
   OS/TECHNOLOGY SELECTOR
══════════════════════════════════════════════════════════════════════════ */
.os-selector { display: flex; flex-wrap: wrap; gap: .75rem; }
.os-btn {
  display: flex; align-items: center; gap: .625rem; padding: .625rem 1.125rem;
  border: 2px solid var(--border); border-radius: .75rem; cursor: pointer;
  font-size: .9rem; font-weight: 600; color: var(--text-secondary);
  background: #fff; transition: var(--transition);
}
.os-btn:hover { border-color: var(--primary); color: var(--primary); }
.os-btn.selected { border-color: var(--primary); background: rgba(79,70,229,.06); color: var(--primary); }
.os-icon { font-size: 1.1rem; }

/* ══════════════════════════════════════════════════════════════════════════
   DASHBOARD & ADMIN
══════════════════════════════════════════════════════════════════════════ */
.dash-layout { display: flex; min-height: 100vh; }
.sidebar {
  width: 260px; background: var(--dark-2); flex-shrink: 0;
  position: sticky; top: 0; height: 100vh; overflow-y: auto;
  display: flex; flex-direction: column;
}
.sidebar-logo { padding: 1.5rem; border-bottom: 1px solid rgba(255,255,255,.06); }
.sidebar-nav { padding: 1rem 0; flex: 1; }
.sidebar-section { padding: .5rem 1.25rem; margin-top: .75rem; }
.sidebar-section span { font-size: .7rem; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: rgba(255,255,255,.25); }
.sidebar-link {
  display: flex; align-items: center; gap: .75rem; padding: .65rem 1.25rem;
  color: rgba(255,255,255,.6); font-size: .9375rem; transition: var(--transition);
  border-left: 3px solid transparent; margin: .125rem 0;
}
.sidebar-link:hover { background: rgba(255,255,255,.05); color: rgba(255,255,255,.9); border-left-color: rgba(79,70,229,.5); }
.sidebar-link.active { background: rgba(79,70,229,.12); color: #fff; border-left-color: var(--primary); }

.dashboard-main { flex: 1; background: var(--bg); overflow-y: auto; min-width: 0; }
.topbar {
  background: #fff; border-bottom: 1px solid var(--border);
  padding: .875rem 1.5rem; display: flex; align-items: center; justify-content: space-between;
  position: sticky; top: 0; z-index: 50; gap: 1rem;
}

.admin-layout { display: flex; min-height: 100vh; }
.admin-sidebar { width: 260px; background: var(--dark-3); flex-shrink: 0; position: sticky; top: 0; height: 100vh; overflow-y: auto; display: flex; flex-direction: column; }
.admin-main { flex: 1; background: #f8fafc; overflow: auto; min-width: 0; }

/* ══════════════════════════════════════════════════════════════════════════
   MISC COMPONENTS
══════════════════════════════════════════════════════════════════════════ */
/* Toast */
#toast-container { position: fixed; bottom: 1.5rem; right: 1.5rem; z-index: 9999; display: flex; flex-direction: column; gap: .5rem; max-width: 400px; }
.toast {
  background: var(--dark-3); color: #fff; padding: .875rem 1.25rem;
  border-radius: .875rem; font-size: .9375rem; min-width: 300px;
  box-shadow: 0 12px 32px rgba(0,0,0,.25); display: flex; align-items: center; gap: .75rem;
  animation: slideIn .3s cubic-bezier(.4,0,.2,1); border-left: 4px solid var(--primary);
}
.toast.success { border-left-color: var(--success); }
.toast.error   { border-left-color: var(--danger); }
.toast.warning { border-left-color: var(--warning); }
@keyframes slideIn { from { opacity: 0; transform: translateX(1rem); } to { opacity: 1; transform: translateX(0); } }

/* Spinner */
.spinner { width: 1.25rem; height: 1.25rem; border: 2px solid rgba(255,255,255,.25); border-top-color: currentColor; border-radius: 50%; animation: spin .6s linear infinite; }
.spinner-dark { border-color: rgba(79,70,229,.2); border-top-color: var(--primary); }
@keyframes spin { to { transform: rotate(360deg); } }

/* Skeleton */
.skeleton { background: linear-gradient(90deg, #f1f5f9 25%, #e2e8f0 50%, #f1f5f9 75%); background-size: 200% 100%; animation: shimmer 1.4s ease infinite; border-radius: .5rem; }
@keyframes shimmer { 0% { background-position: 200% 0; } 100% { background-position: -200% 0; } }

/* WhatsApp */
.whatsapp-btn {
  position: fixed; bottom: 1.5rem; left: 1.5rem; z-index: 999;
  width: 3.5rem; height: 3.5rem; border-radius: 50%; background: #25D366;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 6px 20px rgba(37,211,102,.45); transition: var(--transition);
}
.whatsapp-btn:hover { transform: scale(1.1); box-shadow: 0 8px 28px rgba(37,211,102,.5); }

/* Progress bar */
.progress { height: 6px; background: #e2e8f0; border-radius: 99px; overflow: hidden; }
.progress-bar { height: 100%; border-radius: 99px; background: var(--grad-primary); transition: width .6s ease; }

/* Uptime indicator */
.uptime-dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--success); box-shadow: 0 0 0 3px rgba(16,185,129,.2); animation: pulse 2s ease infinite; }
@keyframes pulse { 0%,100% { box-shadow: 0 0 0 3px rgba(16,185,129,.2); } 50% { box-shadow: 0 0 0 6px rgba(16,185,129,.1); } }

/* Announcement banner */
.announcement-banner {
  padding: .75rem 1.5rem; border-radius: .75rem; margin-bottom: 1.5rem;
  display: flex; align-items: flex-start; gap: .875rem;
}
.announcement-banner.info    { background: #eff6ff; border: 1px solid #bfdbfe; color: #1e40af; }
.announcement-banner.warning { background: #fffbeb; border: 1px solid #fcd34d; color: #92400e; }
.announcement-banner.success { background: #ecfdf5; border: 1px solid #a7f3d0; color: #065f46; }
.announcement-banner.danger  { background: #fef2f2; border: 1px solid #fca5a5; color: #991b1b; }

/* Impersonation bar */
.impersonate-bar {
  background: linear-gradient(90deg, #7c3aed, #4f46e5);
  color: #fff; padding: .625rem 1.5rem; font-size: .875rem; font-weight: 600;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
}

/* Section layouts */
.section { padding: 5rem 0; }
.section-sm { padding: 3.5rem 0; }
.section-lg { padding: 7rem 0; }
.container { max-width: 1280px; margin: 0 auto; padding: 0 1.5rem; }
.container-sm { max-width: 900px; margin: 0 auto; padding: 0 1.5rem; }
.container-lg { max-width: 1440px; margin: 0 auto; padding: 0 1.5rem; }

/* Dark sections */
.section-dark { background: var(--dark-2); color: #fff; }
.section-dark .section-title { color: #fff; }
.section-dark .section-subtitle { color: rgba(255,255,255,.6); }
.section-darker { background: var(--dark); color: #fff; }

/* Gradient sections */
.section-gradient { background: linear-gradient(180deg, #fff 0%, #f0f4ff 100%); }
.section-gradient-dark { background: linear-gradient(180deg, #0f172a 0%, #1e1b4b 100%); }

/* Grid helpers */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }

/* Money back badge */
.money-back-badge {
  display: inline-flex; align-items: center; gap: .625rem;
  background: #fff; border: 2px solid var(--success); border-radius: 99px;
  padding: .5rem 1.125rem; font-size: .875rem; font-weight: 700; color: #065f46;
  box-shadow: 0 4px 12px rgba(16,185,129,.2);
}

/* OS logos strip */
.os-logos { display: flex; align-items: center; gap: 1.5rem; flex-wrap: wrap; }
.os-logo-item {
  display: flex; align-items: center; gap: .5rem; padding: .5rem .875rem;
  border: 1px solid var(--border); border-radius: .5rem; font-size: .875rem;
  font-weight: 600; color: var(--text-secondary); transition: var(--transition);
}
.os-logo-item:hover { border-color: var(--primary); color: var(--primary); }

/* FOOTER */
.footer { background: var(--dark); color: rgba(255,255,255,.7); }
.footer-top { border-bottom: 1px solid rgba(255,255,255,.06); padding: 4rem 0 3rem; }
.footer-logo { font-size: 1.5rem; font-weight: 900; color: #fff; letter-spacing: -.03em; margin-bottom: .75rem; }
.footer-desc { font-size: .9375rem; line-height: 1.7; max-width: 280px; margin-bottom: 1.5rem; }
.footer-heading { font-size: .8rem; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: rgba(255,255,255,.35); margin-bottom: 1rem; }
.footer-link { display: block; padding: .35rem 0; color: rgba(255,255,255,.6); font-size: .9375rem; transition: var(--transition); }
.footer-link:hover { color: #fff; padding-left: .375rem; }
.footer-bottom { padding: 1.5rem 0; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 1rem; font-size: .875rem; }
.footer-bottom a { color: rgba(255,255,255,.5); }
.footer-bottom a:hover { color: #fff; }
.social-links { display: flex; gap: .75rem; }
.social-link {
  width: 2.25rem; height: 2.25rem; border-radius: .5rem;
  background: rgba(255,255,255,.06); display: flex; align-items: center;
  justify-content: center; color: rgba(255,255,255,.6); font-size: 1rem;
  transition: var(--transition);
}
.social-link:hover { background: var(--primary); color: #fff; }

/* ══════════════════════════════════════════════════════════════════════════
   RESPONSIVE
══════════════════════════════════════════════════════════════════════════ */
@media (max-width: 1024px) {
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .auth-brand { display: none; }
  .auth-form-wrap { padding: 1.5rem; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .section { padding: 3.5rem 0; }
  .section-lg { padding: 4.5rem 0; }
  .grid-2, .grid-3 { grid-template-columns: 1fr; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .sidebar { position: fixed; left: -100%; top: 0; z-index: 300; transition: left .3s; height: 100vh; }
  .sidebar.open { left: 0; }
  .domain-search-box { flex-direction: column; padding: .75rem; gap: .625rem; }
  .domain-search-btn { width: 100%; padding: .875rem; }
  .hero-stats { gap: 1.5rem; }
  .pricing-card.popular { transform: scale(1); }
}
@media (max-width: 480px) {
  .grid-4 { grid-template-columns: 1fr; }
  .tld-strip { grid-template-columns: repeat(3, 1fr); }
  .container { padding: 0 1rem; }
}

/* ── Utility animations ──────────────────────────────────────────────────── */
.fade-in { animation: fadeIn .5s ease both; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: translateY(0); } }
.fade-in-delay-1 { animation-delay: .1s; }
.fade-in-delay-2 { animation-delay: .2s; }
.fade-in-delay-3 { animation-delay: .3s; }

/* Floating animation */
.float { animation: float 4s ease-in-out infinite; }
@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
