/* HostCPN – Main Stylesheet
   Design System: Modern SaaS UI
   Colors: Primary #0d6efd | Accent #ff7a00 | BG #f7f9fc | Text #2c3e50
*/

/* ─── Google Fonts ──────────────────────────────────────────────────────── */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800&family=Inter:wght@300;400;500;600&display=swap');

/* ─── CSS Variables ─────────────────────────────────────────────────────── */
:root {
  --primary: #0d6efd;
  --primary-dark: #0b5ed7;
  --secondary: #1e5eff;
  --accent: #ff7a00;
  --accent-dark: #e06900;
  --bg: #f7f9fc;
  --bg-dark: #080f1f;
  --card-bg: rgba(255, 255, 255, 0.8);
  --glass-bg: rgba(255, 255, 255, 0.05);
  --glass-border: rgba(255, 255, 255, 0.12);
  --text: #1e293b;
  --text-muted: #64748b;
  --border: #e2e8f0;
  --success: #10b981;
  --warning: #f59e0b;
  --danger: #ef4444;
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, .04);
  --shadow: 0 10px 25px -5px rgba(0, 0, 0, .08), 0 8px 10px -6px rgba(0, 0, 0, .04);
  --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, .1), 0 8px 10px -6px rgba(0, 0, 0, .1);
  --shadow-premium: 0 0 0 1px rgba(0, 0, 0, .05), 0 20px 50px 0 rgba(0, 0, 0, .1);
  --radius: 14px;
  --radius-sm: 8px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --transition: all .3s cubic-bezier(.4, 0, .2, 1);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  color: var(--text);
  line-height: 1.3;
}

h1 { font-size: clamp(2rem, 5vw, 3rem); }
h2 { font-size: clamp(1.75rem, 4vw, 2.5rem); }
h3 { font-size: clamp(1.5rem, 3.5vw, 2rem); }
h4 { font-size: clamp(1.25rem, 3vw, 1.75rem); }
h5 { font-size: clamp(1.1rem, 2.5vw, 1.5rem); }
h6 { font-size: clamp(1rem, 2vw, 1.25rem); }

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

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

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

.section-py {
  padding: clamp(40px, 8vh, 80px) 0;
}

.section-py-sm {
  padding: clamp(30px, 6vh, 50px) 0;
}

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

::-webkit-scrollbar-track {
  background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
  background: var(--primary);
  border-radius: 3px;
}

/* ─── Buttons ───────────────────────────────────────────────────────────── */
.btn {
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  border-radius: var(--radius-sm);
  padding: clamp(0.5rem, 1.5vw, 0.75rem) clamp(1rem, 3vw, 1.75rem);
  font-size: clamp(0.875rem, 2vw, 1rem);
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.btn-primary {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
}

.btn-primary:hover {
  background: var(--primary-dark);
  border-color: var(--primary-dark);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 4px 15px rgba(13, 110, 253, .4);
}

.btn-accent {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}

.btn-accent:hover {
  background: var(--accent-dark);
  border-color: var(--accent-dark);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 4px 15px rgba(255, 122, 0, .4);
}

.btn-outline-primary:hover {
  transform: translateY(-1px);
  background: rgba(13, 110, 253, 0.05);
}

.btn-lg {
  padding: clamp(0.75rem, 2vw, 1rem) clamp(1.5rem, 4vw, 2.5rem);
  font-size: clamp(0.95rem, 2.5vw, 1.15rem);
}

.btn-xl {
  padding: clamp(1rem, 3vw, 1.25rem) clamp(2rem, 5vw, 3.5rem);
  font-size: clamp(1rem, 3vw, 1.25rem);
  border-radius: var(--radius);
}

/* ─── Navbar ─────────────────────────────────────────────────────────────── */
.navbar {
  background: rgba(255, 255, 255, .97);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 1px 0 var(--border);
  padding: .8rem 0;
  transition: var(--transition);
  position: sticky;
  top: 0;
  z-index: 1030;
}

.navbar-brand {
  font-family: 'Poppins', sans-serif;
  font-size: clamp(1.2rem, 4vw, 1.5rem);
  font-weight: 800;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.navbar-brand span {
  -webkit-text-fill-color: var(--accent);
}

.nav-link {
  font-family: 'Poppins', sans-serif;
  font-weight: 500;
  color: var(--text) !important;
  padding: .4rem .9rem !important;
  border-radius: var(--radius-sm);
  transition: var(--transition);
  font-size: .9rem;
}

.nav-link:hover,
.nav-link.active {
  color: var(--primary) !important;
  background: rgba(13, 110, 253, .07);
}

.navbar .btn {
  font-size: .875rem;
  padding: .45rem 1.1rem;
}

.navbar-toggler {
  border: none;
  padding: .25rem .5rem;
}

.navbar-toggler:focus {
  box-shadow: none;
}

/* ─── Hero Section ───────────────────────────────────────── */
.hero-section {
  background: #0f172a linear-gradient(135deg, #0f172a 0%, #1e3a6e 50%, #0d6efd 100%);
  position: relative;
  overflow: hidden;
  padding: 100px 0 120px;
  z-index: 10;
  color: #fff;
}

.hero-section .container {
  position: relative;
  z-index: 20;
}

.hero-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  z-index: 5;
}

.hero-section::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  right: 0;
  height: 80px;
  background: var(--bg);
  clip-path: ellipse(55% 100% at 50% 100%);
  z-index: 5;
}

.hero-title {
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 800;
  color: #fff;
  line-height: 1.2;
}

.hero-title span {
  background: linear-gradient(135deg, #ff7a00, #ffb347);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  color: rgba(255, 255, 255, .75);
  font-size: 1.15rem;
  max-width: 580px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  background: rgba(255, 255, 255, .1);
  border: 1px solid rgba(255, 255, 255, .2);
  border-radius: 50px;
  padding: .4rem 1rem;
  color: rgba(255, 255, 255, .9);
  font-size: .85rem;
  font-weight: 500;
  margin-bottom: 1.5rem;
  backdrop-filter: blur(10px);
}

.hero-badge .dot {
  width: 8px;
  height: 8px;
  background: var(--success);
  border-radius: 50%;
  animation: pulse 1.5s infinite;
}

@keyframes pulse {

  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }

  50% {
    opacity: .6;
    transform: scale(1.2);
  }
}

/* ─── Domain Search Box ──────────────────────────────────────────────────── */
.domain-search-box {
  background: rgba(255, 255, 255, .08);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, .15);
  border-radius: var(--radius-xl);
  padding: 2rem;
}

.domain-search-box .form-control {
  border: 2px solid rgba(255, 255, 255, .2);
  background: rgba(255, 255, 255, .1);
  color: #fff;
  border-radius: var(--radius);
  font-size: 1.1rem;
  padding: .9rem 1.3rem;
  transition: var(--transition);
}

.domain-search-box .form-control::placeholder {
  color: rgba(255, 255, 255, .5);
}

.domain-search-box .form-control:focus {
  background: rgba(255, 255, 255, .15);
  border-color: rgba(255, 255, 255, .5);
  box-shadow: 0 0 0 4px rgba(255, 255, 255, .1);
  color: #fff;
}

.tld-badges .badge {
  background: rgba(255, 255, 255, .1) !important;
  border: 1px solid rgba(255, 255, 255, .2);
  color: rgba(255, 255, 255, .8) !important;
  font-weight: 500;
  padding: .45rem .9rem;
  font-size: .8rem;
  border-radius: 50px;
}

/* ─── Domain Results ─────────────────────────────────────────────────────── */
#domain-results {
  display: none;
}

.domain-result-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 1rem 1.5rem;
  box-shadow: var(--shadow);
  border-left: 4px solid var(--success);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: .75rem;
  margin-bottom: .75rem;
  transition: var(--transition);
}

.domain-result-card.unavailable {
  border-left-color: var(--danger);
}

.domain-result-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-2px);
}

.domain-status {
  font-size: .8rem;
  font-weight: 600;
}

.domain-status.available {
  color: var(--success);
}

.domain-status.unavailable {
  color: var(--danger);
}

.registrar-prices {
  display: flex;
  gap: .75rem;
  flex-wrap: wrap;
}

.registrar-price-item {
  text-align: center;
  padding: .5rem 1rem;
  background: var(--bg);
  border-radius: var(--radius-sm);
}

.registrar-price-item .price {
  font-weight: 700;
  color: var(--primary);
  font-size: .95rem;
}

.registrar-price-item .reg-name {
  font-size: .72rem;
  color: var(--text-muted);
}

/* ─── Section Headers ────────────────────────────────────────────────────── */
.section-header {
  text-align: center;
  margin-bottom: 4rem;
  position: relative;
}

.section-label {
  display: inline-block;
  background: rgba(13, 110, 253, 0.08);
  color: var(--primary);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.5rem 1.25rem;
  border-radius: 99px;
  margin-bottom: 1rem;
  border: 1px solid rgba(13, 110, 253, 0.1);
}

.section-title {
  font-size: clamp(2rem, 5vw, 2.8rem);
  font-weight: 800;
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
  background: linear-gradient(135deg, var(--text) 0%, #475569 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-subtitle {
  color: var(--text-muted);
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.6;
}

/* ─── Coupon Cards ────────────────────────────────────────────────────────── */
.coupon-card {
  background: var(--card-bg);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.coupon-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
}

.coupon-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

.coupon-logo {
  width: 56px;
  height: 56px;
  object-fit: contain;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  padding: 6px;
  background: #fff;
}

.coupon-logo-placeholder {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-sm);
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 700;
  font-size: 1.2rem;
}

.coupon-badge-discount {
  background: linear-gradient(135deg, var(--accent), #ff9a3c);
  color: #fff;
  font-weight: 800;
  font-size: 1.1rem;
  padding: .4rem .9rem;
  border-radius: var(--radius-sm);
  display: inline-block;
}

.verified-badge {
  display: inline-flex;
  align-items: center;
  gap: .3rem;
  color: var(--success);
  font-size: .78rem;
  font-weight: 600;
}

.coupon-code-box {
  background: var(--bg);
  border: 2px dashed var(--border);
  border-radius: var(--radius-sm);
  padding: .6rem 1rem;
  font-family: 'Courier New', monospace;
  font-weight: 700;
  font-size: 1rem;
  color: var(--primary);
  letter-spacing: .05em;
  cursor: pointer;
  transition: var(--transition);
  text-align: center;
}

.coupon-code-box:hover {
  border-color: var(--primary);
  background: rgba(13, 110, 253, .05);
}

.expiry-timer {
  font-size: .75rem;
  color: var(--text-muted);
}

.expiry-timer.urgent {
  color: var(--danger);
  font-weight: 600;
}

.uses-counter {
  font-size: .78rem;
  color: var(--text-muted);
}

/* --- Improved Horizontal Coupon Card (CouponFollow Style) --- */

.coupon-list-item {
  border: 1px solid var(--border);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
  border-radius: 20px;
  background: #fff;
  transition: var(--transition);
  display: flex;
  position: relative;
  margin-bottom: 2rem;
  overflow: hidden;
}

.coupon-list-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
  border-color: rgba(13, 110, 253, 0.25);
}

/* Left Discount Tab */
.coupon-list-left {
  width: 170px;
  background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
  border-right: 1px dashed rgba(0, 0, 0, 0.08);
  padding: 2.5rem 1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  position: relative;
}

.coupon-list-left .badge-top {
  position: absolute;
  top: 12px;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.25rem 0.8rem;
  border-radius: 50px;
  color: #fff;
  text-transform: uppercase;
}

.coupon-list-discount {
  font-size: 2.8rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 0px;
  line-height: 0.9;
  display: flex;
  align-items: baseline;
  letter-spacing: -2px;
}

.coupon-list-discount small {
  font-size: 1.1rem;
}

.coupon-list-type {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-top: 8px;
}

/* Main Body */
.coupon-list-body {
  padding: 1.5rem 2rem;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.coupon-list-header {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 0.6rem;
}

.coupon-list-logo {
  height: 20px;
  width: auto;
  object-fit: contain;
}

.coupon-list-brand {
  font-size: 0.85rem;
  color: #4a5568;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 600;
}

.coupon-list-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: #1a202c;
  margin-bottom: 0.5rem;
  line-height: 1.4;
}

.coupon-list-meta {
  font-size: 0.82rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.coupon-list-meta span i {
  color: var(--success);
  font-size: 0.85rem;
}

/* Right Side & Reveal Box (The main fix) */
.coupon-list-right {
  width: 250px;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  flex-shrink: 0;
}

.coupon-reveal-wrapper {
  width: 100%;
  height: 48px;
  border: 2px dashed #2563eb;
  border-radius: 12px;
  background-color: #f0f7ff;
  position: relative;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding-right: 18px;
  overflow: hidden;
  color: #2563eb;
  transition: var(--transition);
}

.coupon-hidden-code {
  font-family: monospace;
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: 2px;
}

.btn-coupon-reveal {
  position: absolute;
  left: 0;
  top: 0;
  width: 82%;
  height: 100%;
  border-radius: 10px 0 0 10px;
  background-color: #2563eb;
  color: #fff;
  font-weight: 600;
  font-size: 0.95rem;
  border: none;
  transition: width 0.35s cubic-bezier(0.4, 0, 0.2, 1), background 0.3s ease;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: none;
}

/* Hover effect to reveal more of the code */
.coupon-reveal-wrapper:hover .btn-coupon-reveal {
  width: 65%;
  /* Shrink button to reveal code on hover */
  background-color: #2b458d;
}

/* Success state after clicking/copying */
.btn-coupon-reveal.copied {
  background-color: #22c55e !important;
  width: 100%;
  /* Fully reveal success message */
  border-radius: 4px;
  /* match borders */
}

@media (max-width: 768px) {
  .coupon-list-item {
    flex-direction: column;
    gap: 0;
  }

  .coupon-list-left {
    width: 100%;
    border-right: none;
    border-bottom: 2px dashed #e2e8f0;
    flex-direction: row;
    justify-content: center;
    gap: 1.5rem;
    padding: 1rem;
    min-height: 100px;
  }

  .coupon-list-left .badge-top {
    top: 10px;
    left: 10px;
    position: absolute;
    margin-right: 0;
  }

  .coupon-list-discount {
    margin: 0;
    font-size: clamp(1.8rem, 5vw, 2.2rem);
  }

  .coupon-list-type {
    margin-top: 5px;
  }

  .coupon-list-body {
    padding: 1rem 1.25rem;
    text-align: center;
  }
  
  .coupon-list-header {
    justify-content: center;
    margin-bottom: 0.4rem;
  }

  .coupon-list-right {
    width: 100%;
    padding: 0 1.25rem 1.25rem;
  }
}

/* ─── Hosting Deal Cards ─────────────────────────────────────────────────── */
.deal-card {
  background: var(--card-bg);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  transition: var(--transition);
}

.deal-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-5px);
}

.deal-card .deal-header {
  background: linear-gradient(135deg, #f8faff, #eef3ff);
  padding: 1.5rem;
  text-align: center;
  border-bottom: 1px solid var(--border);
}

.deal-badge {
  position: absolute;
  top: .75rem;
  right: .75rem;
  background: linear-gradient(135deg, var(--accent), #ff9a3c);
  color: #fff;
  font-size: .75rem;
  font-weight: 700;
  padding: .3rem .7rem;
  border-radius: 50px;
}

.deal-logo {
  width: 80px;
  height: 50px;
  object-fit: contain;
}

.deal-price {
  font-size: 2rem;
  font-weight: 800;
  color: var(--primary);
}

.deal-price sub,
.deal-price sup {
  font-size: 1rem;
  font-weight: 600;
}

.deal-original-price {
  color: var(--text-muted);
  text-decoration: line-through;
  font-size: .9rem;
}

.feature-list {
  list-style: none;
  padding: 0;
}

.feature-list li {
  padding: .35rem 0;
  display: flex;
  align-items: center;
  gap: .5rem;
  font-size: .9rem;
  border-bottom: 1px solid var(--border);
}

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

.feature-list li i {
  color: var(--success);
  flex-shrink: 0;
}

.rating-stars {
  color: #f59e0b;
  font-size: .9rem;
}

/* ─── Comparison Table ───────────────────────────────────────────────────── */
.compare-table {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  overflow-x: auto; /* Enable horizontal scroll */
  -webkit-overflow-scrolling: touch;
}

.compare-table table {
  font-size: .9rem;
}

.compare-table thead th {
  background: var(--primary);
  color: #fff;
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  padding: 1rem 1.25rem;
  white-space: nowrap;
  border: none;
}

.compare-table tbody td {
  padding: .85rem 1.25rem;
  vertical-align: middle;
  border-color: var(--border);
}

.compare-table tbody tr:hover {
  background: rgba(13, 110, 253, .04);
}

.compare-table .check-yes {
  color: var(--success);
  font-size: 1.1rem;
}

.compare-table .check-no {
  color: var(--danger);
  font-size: 1.1rem;
}

.provider-cell {
  display: flex;
  align-items: center;
  gap: .75rem;
}

.provider-cell img {
  width: 40px;
  height: 25px;
  object-fit: contain;
}

/* ─── Trust Stats ────────────────────────────────────────────────────────── */
.stats-section {
  background: #080f1f;
  padding: 100px 0;
  position: relative;
  overflow: hidden;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.stats-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 20% 50%, rgba(13, 110, 253, 0.15), transparent 40%),
    radial-gradient(circle at 80% 50%, rgba(124, 58, 237, 0.1), transparent 40%);
  pointer-events: none;
}

.stat-card {
  text-align: center;
  color: #fff;
  position: relative;
  z-index: 1;
}

.stat-number {
  font-size: 3.5rem;
  font-weight: 800;
  font-family: 'Poppins', sans-serif;
  line-height: 1;
  display: block;
  background: linear-gradient(135deg, #fff 0%, rgba(255, 255, 255, 0.7) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 0.5rem;
}

.stat-label {
  font-size: 0.9rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.5);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* ─── Blog Cards ─────────────────────────────────────────────────────────── */
.blog-card {
  background: var(--card-bg);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  transition: var(--transition);
  height: 100%;
}

.blog-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

.blog-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.blog-card-body {
  padding: 1.5rem;
}

.blog-category {
  display: inline-block;
  background: rgba(13, 110, 253, .1);
  color: var(--primary);
  font-size: .75rem;
  font-weight: 700;
  padding: .25rem .7rem;
  border-radius: 50px;
  margin-bottom: .75rem;
  text-transform: uppercase;
  letter-spacing: .05em;
}

.blog-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  line-height: 1.4;
  margin-bottom: .5rem;
}

.blog-card h3 a {
  color: var(--text);
}

.blog-card h3 a:hover {
  color: var(--primary);
}

.blog-meta {
  font-size: .8rem;
  color: var(--text-muted);
}

.blog-meta span {
  display: inline-flex;
  align-items: center;
  gap: .3rem;
}

/* ─── Testimonials ───────────────────────────────────────────────────────── */
.testimonial-card {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: var(--shadow-premium);
  border: 1px solid var(--border);
  transition: var(--transition);
  height: 100%;
}

.testimonial-card:hover {
  transform: translateY(-5px);
  border-color: var(--primary);
}

.testimonial-card .quote {
  font-size: 4rem;
  line-height: 0.1;
  color: var(--primary);
  opacity: 0.15;
  font-family: 'Poppins', serif;
  margin-bottom: 1.5rem;
  display: block;
}

.testimonial-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
}

.testimonial-avatar-placeholder {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 700;
  font-size: 1.2rem;
  flex-shrink: 0;
}

/* ─── Gift CTA ───────────────────────────────────────────────────────────── */
.gift-section {
  background: linear-gradient(135deg, #080f1f 0%, #1e293b 100%);
  border-radius: var(--radius-xl);
  padding: 4rem 2rem;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: var(--shadow-premium);
}

.gift-section::before {
  content: '🎁';
  position: absolute;
  right: 5%;
  top: -10%;
  font-size: 12rem;
  opacity: .05;
  transform: rotate(15deg);
}

.gift-section::after {
  content: '⭐';
  position: absolute;
  left: 5%;
  bottom: -10%;
  font-size: 8rem;
  opacity: .05;
  transform: rotate(-15deg);
}

/* ─── CTA Banner ─────────────────────────────────────────────────────────── */
.cta-banner {
  background: linear-gradient(135deg, #0f172a, #1e3a6e);
  border-radius: var(--radius-xl);
  padding: 4rem 2rem;
  position: relative;
  overflow: hidden;
}

.cta-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 70% 50%, rgba(13, 110, 253, .3), transparent 60%);
}

/* ─── Footer ─────────────────────────────────────────────────────────────── */
.site-footer {
  background: #0f172a;
  color: rgba(255, 255, 255, .7);
  padding: 60px 0 0;
}

.footer-brand {
  font-family: 'Poppins', sans-serif;
  font-size: 1.6rem;
  font-weight: 800;
  background: linear-gradient(135deg, #fff, rgba(255, 255, 255, .7));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.footer-desc {
  font-size: .9rem;
  line-height: 1.7;
  max-width: 280px;
}

.footer-title {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  color: #fff;
  font-size: .95rem;
  margin-bottom: 1.25rem;
}

.footer-links {
  list-style: none;
  padding: 0;
}

.footer-links li {
  margin-bottom: .5rem;
}

.footer-links a {
  color: rgba(255, 255, 255, .6);
  font-size: .9rem;
  transition: var(--transition);
}

.footer-links a:hover {
  color: #fff;
  padding-left: 4px;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, .1);
  padding: 1.25rem 0;
  margin-top: 2.5rem;
}

.footer-bottom p {
  font-size: .85rem;
}

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

.social-links a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, .7);
  transition: var(--transition);
}

.social-links a:hover {
  background: var(--primary);
  color: #fff;
  transform: translateY(-2px);
}

/* ─── Conversion Popup ───────────────────────────────────────────────────── */
#conversion-popup {
  position: fixed;
  bottom: 1.5rem;
  left: 1.5rem;
  z-index: 9999;
  max-width: 320px;
  background: #fff;
  border-radius: var(--radius-lg);
  box-shadow: 0 8px 40px rgba(0, 0, 0, .2);
  padding: 1rem 1.25rem;
  display: flex;
  align-items: flex-start;
  gap: .75rem;
  border-left: 4px solid var(--success);
  animation: slideInLeft .4s ease-out;
}

@keyframes slideInLeft {
  from {
    transform: translateX(-120%);
    opacity: 0;
  }

  to {
    transform: translateX(0);
    opacity: 1;
  }
}

@keyframes slideOutLeft {
  from {
    transform: translateX(0);
    opacity: 1;
  }

  to {
    transform: translateX(-120%);
    opacity: 0;
  }
}

#conversion-popup.hiding {
  animation: slideOutLeft .3s ease-in forwards;
}

.popup-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--success), #16a34a);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  flex-shrink: 0;
  font-size: .9rem;
}

.popup-text {
  font-size: .82rem;
  color: var(--text);
  font-weight: 500;
}

.popup-time {
  font-size: .72rem;
  color: var(--text-muted);
  margin-top: .2rem;
}

.popup-close {
  position: absolute;
  top: .5rem;
  right: .5rem;
  background: none;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  padding: .15rem;
  font-size: .8rem;
}

/* ─── Alert / Flash ──────────────────────────────────────────────────────── */
.flash-message {
  border-radius: var(--radius);
  animation: fadeInDown .3s ease;
}

@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ─── Cards & Generic ────────────────────────────────────────────────────── */
.card-hover {
  transition: var(--transition);
}

.card-hover:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

.badge-featured {
  background: linear-gradient(135deg, var(--accent), #ff9a3c);
  color: #fff;
  font-size: .72rem;
  font-weight: 700;
  padding: .28rem .65rem;
  border-radius: 50px;
}

.badge-exclusive {
  background: linear-gradient(135deg, #7c3aed, #a855f7);
  color: #fff;
  font-size: .72rem;
  font-weight: 700;
  padding: .28rem .65rem;
  border-radius: 50px;
}

.badge-hot {
  background: linear-gradient(135deg, #ef4444, #f97316);
  color: #fff;
  font-size: .72rem;
  font-weight: 700;
  padding: .28rem .65rem;
  border-radius: 50px;
}

/* ─── Breadcrumb ─────────────────────────────────────────────────────────── */
.breadcrumb-item+.breadcrumb-item::before {
  color: var(--text-muted);
}

.breadcrumb-item a {
  color: var(--primary);
}

/* ─── Page Headers ───────────────────────────────────────────────────────── */
.page-header {
  background: linear-gradient(135deg, #0f172a 0%, #1e3a6e 100%);
  padding: 60px 0 70px;
  position: relative;
  overflow: hidden;
}

.page-header::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  right: 0;
  height: 50px;
  background: var(--bg);
  clip-path: ellipse(55% 100% at 50% 100%);
}

.page-header h1 {
  color: #fff;
  font-size: clamp(1.8rem, 4vw, 2.8rem);
}

.page-header p {
  color: rgba(255, 255, 255, .75);
}

.page-header .breadcrumb-item,
.page-header .breadcrumb-item a {
  color: rgba(255, 255, 255, .7);
}

.page-header .breadcrumb-item.active {
  color: rgba(255, 255, 255, .95);
}

/* ─── Forms ──────────────────────────────────────────────────────────────── */
.form-control,
.form-select {
  border: 2px solid var(--border);
  border-radius: var(--radius-sm);
  padding: .65rem 1rem;
  font-size: .95rem;
  transition: var(--transition);
}

.form-control:focus,
.form-select:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(13, 110, 253, .12);
}

.form-label {
  font-weight: 600;
  font-size: .875rem;
  color: var(--text);
}

/* ─── Auth Pages ─────────────────────────────────────────────────────────── */
.auth-wrapper {
  min-height: 100vh;
  background: linear-gradient(135deg, #0f172a 0%, #1e3a6e 100%);
  display: flex;
  align-items: center;
  padding: 2rem;
}

.auth-card {
  background: #fff;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  padding: 3rem 2.5rem;
  width: 100%;
  max-width: 440px;
  margin: 0 auto;
}

.auth-logo {
  font-family: 'Poppins', sans-serif;
  font-size: 1.8rem;
  font-weight: 800;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-align: center;
  display: block;
  margin-bottom: .75rem;
}

/* ─── User Dashboard ─────────────────────────────────────────────────────── */
.dashboard-sidebar {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  position: sticky;
  top: 85px;
}

.sidebar-avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 700;
  font-size: 1.3rem;
}

.sidebar-link {
  display: flex;
  align-items: center;
  gap: .75rem;
  padding: .65rem 1rem;
  border-radius: var(--radius-sm);
  color: var(--text);
  font-size: .9rem;
  font-weight: 500;
  transition: var(--transition);
}

.sidebar-link:hover,
.sidebar-link.active {
  background: rgba(13, 110, 253, .08);
  color: var(--primary);
}

.sidebar-link i {
  width: 18px;
  text-align: center;
}

.stat-mini-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 1.25rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 1rem;
  transition: var(--transition);
}

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

.stat-mini-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}

/* ─── Admin Panel ────────────────────────────────────────────────────────── */
.admin-sidebar {
  width: 260px;
  min-height: 100vh;
  background: #0f172a;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1040;
  overflow-y: auto;
  transition: var(--transition);
}

.admin-main {
  margin-left: 260px;
  min-height: 100vh;
  background: #f1f5f9;
  transition: var(--transition);
}

.admin-topbar {
  background: #fff;
  border-bottom: 1px solid var(--border);
  padding: 1rem 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-shadow: var(--shadow-sm);
  position: sticky;
  top: 0;
  z-index: 100;
}

.admin-logo {
  font-family: 'Poppins', sans-serif;
  font-weight: 800;
  font-size: 1.3rem;
  color: #fff;
  padding: 1.5rem 1.25rem 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, .08);
}

.admin-logo span {
  color: var(--accent);
}

.admin-nav-section {
  padding: .5rem 1rem;
  margin-top: .5rem;
}

.admin-nav-label {
  font-size: .68rem;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: rgba(255, 255, 255, .35);
  font-weight: 700;
  padding: .5rem .25rem .25rem;
}

.admin-nav-link {
  display: flex;
  align-items: center;
  gap: .75rem;
  padding: .65rem .9rem;
  border-radius: var(--radius-sm);
  color: rgba(255, 255, 255, .65);
  font-size: .875rem;
  font-weight: 500;
  transition: var(--transition);
  margin-bottom: .2rem;
}

.admin-nav-link:hover,
.admin-nav-link.active {
  background: rgba(255, 255, 255, .1);
  color: #fff;
}

.admin-nav-link.active {
  background: var(--primary);
  color: #fff;
}

.admin-nav-link i {
  width: 18px;
  text-align: center;
  font-size: .9rem;
  opacity: .8;
}

.admin-content {
  padding: 2rem;
}

.admin-stat-card {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.admin-stat-icon {
  width: 60px;
  height: 60px;
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  flex-shrink: 0;
}

.admin-stat-number {
  font-size: 2rem;
  font-weight: 800;
  font-family: 'Poppins', sans-serif;
  line-height: 1;
}

.admin-stat-label {
  color: var(--text-muted);
  font-size: .85rem;
  margin-top: .15rem;
}

.admin-card {
  background: #fff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  overflow: hidden;
}

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

.admin-card-header h5 {
  font-size: 1rem;
  font-weight: 700;
  margin: 0;
}

.admin-table {
  font-size: .875rem;
}

.admin-table th {
  color: var(--text-muted);
  font-size: .78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .05em;
  border-bottom: 2px solid var(--border);
  padding: .75rem 1rem;
  white-space: nowrap;
}

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

.admin-table tr:hover td {
  background: rgba(13, 110, 253, .03);
}

/* ─── Tools Pages ────────────────────────────────────────────────────────── */
.tool-card {
  background: var(--card-bg);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
}

.wizard-steps {
  display: flex;
  gap: 0;
  margin-bottom: 2rem;
}

.wizard-step {
  flex: 1;
  text-align: center;
  position: relative;
}

.wizard-step::after {
  content: '';
  position: absolute;
  top: 20px;
  left: 50%;
  width: 100%;
  height: 2px;
  background: var(--border);
  z-index: 0;
}

.wizard-step:last-child::after {
  display: none;
}

.wizard-step-num {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--border);
  color: var(--text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: .9rem;
  margin: 0 auto .5rem;
  position: relative;
  z-index: 1;
  transition: var(--transition);
}

.wizard-step.active .wizard-step-num {
  background: var(--primary);
  color: #fff;
}

.wizard-step.done .wizard-step-num {
  background: var(--success);
  color: #fff;
}

.wizard-step-label {
  font-size: .75rem;
  font-weight: 600;
  color: var(--text-muted);
}

.wizard-step.active .wizard-step-label {
  color: var(--primary);
}

/* ─── Animations ─────────────────────────────────────────────────────────── */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes countUp {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

.animate-fade-up {
  animation: fadeInUp .6s ease both;
}

.animate-delay-1 {
  animation-delay: .1s;
}

.animate-delay-2 {
  animation-delay: .2s;
}

.animate-delay-3 {
  animation-delay: .3s;
}

.animate-delay-4 {
  animation-delay: .4s;
}

/* ─── Scroll Reveal ──────────────────────────────────────────────────────── */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.animate-on-scroll.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* ─── Loader ─────────────────────────────────────────────────────────────── */
.spinner-dots {
  display: inline-flex;
  gap: 4px;
  align-items: center;
}

.spinner-dots span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--primary);
  animation: dot-bounce .6s infinite alternate;
}

.spinner-dots span:nth-child(2) {
  animation-delay: .2s;
}

.spinner-dots span:nth-child(3) {
  animation-delay: .4s;
}

@keyframes dot-bounce {
  from {
    transform: translateY(0);
    opacity: .4;
  }

  to {
    transform: translateY(-6px);
    opacity: 1;
  }
}

/* ─── Copy Button ────────────────────────────────────────────────────────── */
.btn-copy {
  cursor: pointer;
  transition: var(--transition);
}

.btn-copy.copied {
  background: var(--success) !important;
  border-color: var(--success) !important;
  color: #fff !important;
}

/* ─── Responsive ─────────────────────────────────────────────────────────── */
@media (max-width: 991px) {
  .admin-sidebar {
    transform: translateX(-100%);
  }

  .admin-sidebar.open {
    transform: translateX(0);
  }

  .admin-main {
    margin-left: 0;
  }

  .dashboard-sidebar {
    position: static;
    margin-bottom: 1.5rem;
  }
}

@media (max-width: 767px) {
  .section-py {
    padding: 55px 0;
  }

  .hero-section {
    padding: 70px 0 90px;
  }

  #conversion-popup {
    left: 1rem;
    right: 1rem;
    max-width: none;
  }

  .compare-table {
    font-size: .8rem;
  }

  .coupon-card {
    padding: 1.25rem;
  }

  .auth-card {
    padding: 2rem 1.5rem;
  }
}

@media (max-width: 575px) {
  .hero-title {
    font-size: 1.75rem;
  }

  .domain-search-box {
    padding: 1.25rem;
  }

  .stat-number {
    font-size: 2rem;
  }
}

/* ─── Custom CSS injection (from admin settings) ─────────────────────────── */
/* ─── Domain Checker (Moved to Hero) ────────────────────────────────────── */
.dc-panel {
  display: none;
}

/* Redundant now that it's integrated */
.dc-header {
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.dc-icon-box {
  width: 42px;
  height: 42px;
  background: #6366f1;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.dc-window-controls span {
  display: block;
  width: 12px;
  height: 12px;
  border-radius: 50%;
}

.dc-body {
  padding: 2rem;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.02) 0%, transparent 100%);
}

.dc-search-box {
  background: rgba(0, 0, 0, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 14px;
  padding: 4px;
  transition: all 0.2s ease;
}

.dc-search-box:focus-within {
  border-color: rgba(99, 102, 241, 0.6);
  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.2);
}

.dc-input {
  background: transparent !important;
  border: none !important;
  color: #fff !important;
  font-size: 1.05rem;
  padding: 0.75rem 0.5rem;
}

.dc-input::placeholder {
  color: rgba(255, 255, 255, 0.3);
}

.dc-search-btn {
  background: linear-gradient(135deg, #6366f1, #a855f7);
  color: #fff;
  border: none;
  font-weight: 600;
  font-size: 1rem;
  padding: 0 1.5rem;
  border-radius: 10px;
  transition: transform 0.2s, opacity 0.2s;
}

.dc-search-btn:hover {
  opacity: 0.9;
  transform: scale(1.02);
}

.dc-chip {
  padding: 0.4rem 1rem;
  background: rgba(255, 255, 255, 0.05);
  color: rgba(255, 255, 255, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 99px;
  font-size: 0.85rem;
  font-weight: 600;
  transition: all 0.2s;
}

.dc-chip:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
}

.dc-chip-active {
  background: rgba(99, 102, 241, 0.15);
  border-color: rgba(99, 102, 241, 0.4);
  color: #c7d2fe;
}

.dc-ex-card {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 1.25rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  font-size: 0.95rem;
  transition: transform 0.2s;
}

.dc-ex-card:hover {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.05);
}

.dc-status-success {
  color: #4ade80;
  font-weight: 600;
  font-size: 0.85rem;
}

.dc-status-danger {
  color: #f87171;
  font-weight: 600;
  font-size: 0.85rem;
}

.dc-stat-pill {
  display: inline-flex;
  align-items: center;
  padding: 0.5rem 1.25rem;
  background: rgba(30, 33, 54, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 99px;
  backdrop-filter: blur(10px);
  font-size: 0.9rem;
  transition: transform 0.2s, background 0.2s;
}

.dc-stat-pill:hover {
  transform: translateY(-3px);
  background: rgba(40, 44, 70, 0.9);
}

.dc-stat-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  font-size: 0.85rem;
  margin-right: 6px;
}

/* ─── Integrated Hero Search ─────────────────────────────────────────────── */
.hero-search-wrapper {
  max-width: 800px;
  width: 100%;
  margin: 0 auto;
  padding: clamp(0.75rem, 3vw, 1.25rem);
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
}

.hero-search-wrapper .dc-search-box {
  background: rgba(0, 0, 0, 0.2);
  border-radius: 12px;
  padding: 4px;
  flex-wrap: nowrap; /* Keep input and button on same line if possible, or stack on very small */
}

@media (max-width: 575px) {
  .hero-search-wrapper .dc-search-box {
    flex-wrap: wrap;
    background: transparent;
    padding: 0;
    gap: 10px;
  }
  .hero-search-wrapper .dc-input {
    background: rgba(0, 0, 0, 0.2) !important;
    border-radius: 10px !important;
    width: 100%;
  }
  .hero-search-wrapper .dc-search-btn {
    width: 100%;
    padding: 0.8rem !important;
  }
}

.hero-search-wrapper .dc-input {
  font-size: 1.1rem;
  padding: 0.8rem 1rem;
}

.hero-search-wrapper .dc-search-btn {
  padding: 0 2rem;
  font-size: 1.1rem;
}

/* ─── Smart Filter ──────────────────────────────────────────────────────── */
.filter-tag {
  padding: 0.6rem 1.4rem;
  border-radius: 99px;
  border: 1px solid var(--border);
  background: #fff;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  color: var(--text-muted);
  box-shadow: var(--shadow-sm);
}

.filter-tag:hover {
  border-color: var(--primary);
  color: var(--primary);
  background: rgba(13, 110, 253, 0.05);
  transform: translateY(-2px);
}

.filter-tag.active {
  border-color: var(--primary);
  background: var(--primary);
  color: #fff;
  box-shadow: 0 4px 15px rgba(13, 110, 253, 0.3);
}

.hosting-filter-card {
  transition: var(--transition);
}

.hosting-filter-card.hf-hidden {
  opacity: 0;
  pointer-events: none;
  transform: scale(.97);
  height: 0;
  overflow: hidden;
  padding: 0 !important;
  margin: 0 !important;
}

/* ─── Domain Generator Restored ─────────────────────────────────────────── */

.gen-spinner {
  width: 48px;
  height: 48px;
  border: 4px solid rgba(13, 110, 253, 0.1);
  border-left-color: var(--primary);
  border-radius: 50%;
  animation: gen-spin 1s linear infinite;
}

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

/* Suggestion Cards for Light BG */
.gen-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 1.5rem;
  height: 100%;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
}

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

.gen-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.25rem;
}

.gen-domain {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--text);
}

.gen-tld-badge {
  font-size: 0.7rem;
  font-weight: 800;
  text-transform: uppercase;
  padding: 0.25rem 0.75rem;
  border-radius: 50px;
}

.tld-com {
  background: #eff6ff;
  color: #1e40af;
  border: 1px solid #dbeafe;
}

.tld-net {
  background: #f0fdf4;
  color: #166534;
  border: 1px solid #dcfce7;
}

.tld-io {
  background: #faf5ff;
  color: #6b21a8;
  border: 1px solid #f3e8ff;
}

.gen-pricing {
  background: #f8fafc;
  border-radius: 12px;
  padding: 1rem;
  margin-bottom: 1.25rem;
  border: 1px solid #f1f5f9;
}

.gen-price-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
  margin-bottom: 0.5rem;
}

.gen-price-item:last-child {
  margin-bottom: 0;
}

.gen-registrar {
  color: var(--text-muted);
  font-weight: 600;
}

.gen-price {
  font-weight: 800;
  color: var(--text);
}

.gen-card-footer {
  display: flex;
  gap: 10px;
}

.btn-gen-buy {
  background: var(--primary);
  color: #fff;
  border: none;
  font-weight: 700;
  font-size: 0.85rem;
  padding: 0.6rem 1.2rem;
  border-radius: 12px;
  flex: 1;
  text-align: center;
}

.btn-gen-buy:hover {
  background: var(--primary-dark);
  color: #fff;
  box-shadow: 0 4px 12px rgba(13, 110, 253, .3);
}

.btn-gen-copy {
  background: #f1f5f9;
  color: var(--text);
  border: 1px solid #e2e8f0;
  font-size: 0.9rem;
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  transition: all 0.2s;
}

.btn-gen-copy:hover {
  background: #e2e8f0;
  color: var(--primary);
}

.gen-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 1.25rem;
}

.gen-filter-tag {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.6);
  padding: 0.4rem 1rem;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
}

.gen-filter-tag:hover,
.gen-filter-tag.active {
  background: rgba(13, 110, 253, 0.15);
  border-color: var(--primary);
  color: #fff;
}

/* Suggestion Cards */
.gen-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: clamp(1rem, 3vw, 1.25rem);
  height: 100%;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

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

.gen-card-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 1rem;
}

.gen-domain {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--text);
  letter-spacing: -0.01em;
}

.gen-tld-badge {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  padding: 0.2rem 0.6rem;
  border-radius: 6px;
}

.tld-com {
  background: #eff6ff;
  color: #1e40af;
}

.tld-net {
  background: #f0fdf4;
  color: #166534;
}

.tld-io {
  background: #faf5ff;
  color: #6b21a8;
}

.gen-pricing {
  background: #f8fafc;
  border-radius: 12px;
  padding: 0.75rem;
  margin-bottom: 1rem;
}

.gen-price-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.82rem;
  margin-bottom: 0.4rem;
}

.gen-price-item:last-child {
  margin-bottom: 0;
}

.gen-registrar {
  color: var(--text-muted);
  font-weight: 500;
}

.gen-price {
  font-weight: 700;
  color: var(--text);
}

.gen-card-footer {
  display: flex;
  gap: 8px;
}

.btn-gen-buy {
  background: var(--primary);
  color: #fff;
  border: none;
  font-weight: 700;
  font-size: 0.85rem;
  padding: 0.5rem 1rem;
  border-radius: 8px;
  flex: 1;
  text-align: center;
}

.btn-gen-copy {
  background: #f1f5f9;
  color: var(--text);
  border: none;
  font-size: 0.85rem;
  padding: 0.5rem 0.75rem;
  border-radius: 8px;
  transition: all 0.2s;
}

.btn-gen-copy:hover {
  background: #e2e8f0;
}

#gen-loading {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 4rem 0;
}

.gen-spinner {
  width: 48px;
  height: 48px;
  border: 4px solid rgba(13, 110, 253, 0.1);
  border-left-color: var(--primary);
  border-radius: 50%;
  animation: gen-spin 1s linear infinite;
  margin-bottom: 1rem;
}

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