/* ==============================================
   DOMAINTOR — app.css
   Custom CSS + Design Tokens
   Complements Tailwind utility classes
   ============================================== */

/* ---- Design Tokens ---- */
:root {
  --color-bg:           #0f0f0f;
  --color-bg-subtle:    #141414;
  --color-bg-muted:     #1a1a1a;
  --color-bg-overlay:   #1f1f1f;
  --color-border:       #2a2a2a;
  --color-border-hover: #3a3a3a;
  --color-brand:        #3ecf8e;
  --color-brand-hover:  #4fd4a0;
  --color-brand-dim:    rgba(62, 207, 142, 0.12);
  --color-brand-glow:   rgba(62, 207, 142, 0.06);
  --color-text:         #f0f0f0;
  --color-text-muted:   #a1a1aa;
  --color-text-subtle:  #71717a;
  --color-available:    #3ecf8e;
  --color-taken:        #ef4444;
  --color-premium:      #f59e0b;
  --color-info:         #60a5fa;
  --card-radius:        0.75rem;
  --input-radius:       0.5rem;
}

/* ---- Base Reset ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; overflow-x: hidden; }
body {
  background: var(--color-bg);
  color: var(--color-text);
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  padding-top: 64px; /* fixed navbar height */
  overflow-x: hidden;
}

/* ---- Typography ---- */
.text-hero {
  font-family: 'Inter', sans-serif;
  font-weight: 800;
  font-size: clamp(2.25rem, 5vw, 4.5rem);
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--color-text);
}
.text-section {
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  line-height: 1.2;
  letter-spacing: -0.01em;
  color: var(--color-text);
}
.text-brand-gradient {
  background: linear-gradient(135deg, var(--color-brand) 0%, #6ee7b7 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.text-muted { color: var(--color-text-muted); }
.text-domain { font-family: 'JetBrains Mono', monospace; }

/* ---- Section Container ---- */
.section-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 5rem 2rem;
}
@media (min-width: 1024px) { .section-container { padding: 6rem 2rem; } }

/* ---- Section Underline ---- */
.section-underline {
  width: 3rem;
  height: 3px;
  background: var(--color-brand);
  border-radius: 2px;
}

/* ============================================
   NAVBAR
   ============================================ */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(15, 15, 15, 0.75);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid transparent;
  transition: border-color 200ms ease, background 200ms ease;
}
.navbar--scrolled {
  background: rgba(15, 15, 15, 0.92);
  border-color: var(--color-border);
}

/* ---- Dropdown Trigger ---- */
.nav-dropdown-wrapper {
  position: relative;
}
.nav-dropdown-trigger {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  font-family: 'Inter', sans-serif;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--color-text-muted);
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem 0.75rem;
  border-radius: 0.375rem;
  transition: color 150ms ease, background 150ms ease;
  white-space: nowrap;
}
.nav-dropdown-trigger:hover { color: var(--color-text); background: rgba(255,255,255,0.04); }
.nav-dropdown-wrapper.open .nav-dropdown-trigger { color: var(--color-text); }
.nav-chevron {
  width: 14px; height: 14px;
  transition: transform 200ms ease;
  flex-shrink: 0;
}
.nav-dropdown-wrapper.open .nav-chevron { transform: rotate(180deg); }

/* ---- Nav divider ---- */
.nav-divider {
  width: 1px;
  height: 1.125rem;
  background: var(--color-border);
  margin: 0 0.25rem;
}

/* ---- Mega Menu Panel ---- */

/* Invisible hover bridge — fills the gap between trigger and panel */
.nav-dropdown-wrapper::after {
  content: '';
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  height: 12px;
  display: none;
}
.nav-dropdown-wrapper.open::after { display: block; }

.mega-menu {
  position: absolute;
  top: calc(100% + 10px);
  left: 50%;
  background: var(--color-bg-overlay);
  border: 1px solid var(--color-border);
  border-radius: var(--card-radius);
  box-shadow: 0 16px 48px rgba(0,0,0,0.55), 0 4px 12px rgba(0,0,0,0.35);
  opacity: 0;
  visibility: hidden;
  transform: translateX(-50%) translateY(-8px);
  transition: opacity 200ms ease, transform 200ms ease, visibility 200ms ease;
  pointer-events: none;
  z-index: 200;
  min-width: 560px;
}
.mega-menu--developers { min-width: 300px; }
.mega-menu--solutions  { min-width: 560px; }

/* Arrow pointer — sits above the panel border */
.mega-menu::before {
  content: '';
  position: absolute;
  top: -5px;
  left: 50%;
  transform: translateX(-50%) rotate(45deg);
  width: 9px; height: 9px;
  background: var(--color-bg-overlay);
  border-top: 1px solid var(--color-border);
  border-left: 1px solid var(--color-border);
  z-index: 1;
}

/* Clip radius on inner content without hiding the arrow */
.mega-menu__inner,
.mega-menu__footer {
  position: relative;
  z-index: 2;
}

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

/* ---- Mega Menu Inner Layout ---- */
.mega-menu__inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 0;
  padding: 1.25rem;
}
.mega-menu__inner--single {
  grid-template-columns: 1fr;
}

.mega-menu__section {
  display: flex;
  flex-direction: column;
  gap: 0.125rem;
}
.mega-menu__section-label {
  font-family: 'Inter', sans-serif;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-text-subtle);
  padding: 0 0.625rem;
  margin-bottom: 0.375rem;
}
.mega-menu__divider-v {
  width: 1px;
  background: var(--color-border);
  margin: 0 1rem;
  align-self: stretch;
}

/* ---- Mega Menu Item ---- */
.mega-menu__item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.625rem;
  border-radius: 0.5rem;
  text-decoration: none;
  transition: background 150ms ease;
  cursor: pointer;
}
.mega-menu__item:hover { background: rgba(255,255,255,0.04); }
.mega-menu__item:hover .mega-menu__item-title { color: var(--color-brand); }

.mega-menu__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2rem; height: 2rem;
  border-radius: 0.375rem;
  flex-shrink: 0;
}
.mega-menu__item-body {
  display: flex;
  flex-direction: column;
  gap: 0.125rem;
  min-width: 0;
}
.mega-menu__item-title {
  font-family: 'Inter', sans-serif;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--color-text);
  transition: color 150ms ease;
  white-space: nowrap;
}
.mega-menu__item-desc {
  font-family: 'Inter', sans-serif;
  font-size: 0.75rem;
  color: var(--color-text-subtle);
  line-height: 1.4;
}

/* ---- Mega Menu Footer ---- */
.mega-menu__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 1.25rem;
  border-top: 1px solid var(--color-border);
  background: rgba(255,255,255,0.015);
}
.mega-menu__footer-link {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  font-family: 'Inter', sans-serif;
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--color-text-subtle);
  text-decoration: none;
  transition: color 150ms ease;
}
.mega-menu__footer-link:hover { color: var(--color-text); }
.mega-menu__footer-link:last-child:hover { color: var(--color-brand); }

/* ---- GitHub Stars Button ---- */
.github-stars-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--color-bg-overlay);
  border: 1px solid var(--color-border);
  color: var(--color-text-muted);
  font-family: 'Inter', sans-serif;
  font-size: 0.8125rem;
  font-weight: 500;
  padding: 0.4375rem 0.875rem;
  border-radius: var(--input-radius);
  text-decoration: none;
  transition: border-color 150ms, color 150ms, background 150ms;
  white-space: nowrap;
}
.github-stars-btn:hover { border-color: var(--color-border-hover); color: var(--color-text); background: var(--color-bg-muted); }
.github-stars-count {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.75rem;
  color: var(--color-text-muted);
}
.github-stars-icon { color: #f59e0b; font-size: 0.75rem; }

/* ---- Mobile Sections ---- */
.mobile-section {}
.mobile-section__trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: 'Inter', sans-serif;
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--color-text-muted);
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.625rem 0.5rem;
  border-radius: 0.375rem;
  transition: color 150ms, background 150ms;
  text-align: left;
}
.mobile-section__trigger:hover { color: var(--color-text); background: rgba(255,255,255,0.03); }
.mobile-section.open .mobile-section__trigger { color: var(--color-brand); }
.mobile-chevron { transition: transform 200ms ease; }
.mobile-section.open .mobile-chevron { transform: rotate(180deg); }

.mobile-section__body {
  display: flex;
  flex-direction: column;
  gap: 0;
  padding: 0.25rem 0 0.5rem 0.75rem;
}
.mobile-link {
  font-family: 'Inter', sans-serif;
  font-size: 0.875rem;
  color: var(--color-text-subtle);
  text-decoration: none;
  padding: 0.4375rem 0.5rem;
  border-radius: 0.25rem;
  transition: color 150ms, background 150ms;
  display: block;
}
.mobile-link:hover { color: var(--color-text); background: rgba(255,255,255,0.03); }
.mobile-link--top {
  color: var(--color-text-muted);
  padding: 0.625rem 0.5rem;
  font-size: 0.9375rem;
  font-weight: 500;
}
.navbar-logo {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  text-decoration: none;
}
.logo-text {
  font-family: 'Inter', sans-serif;
  font-weight: 800;
  font-size: 1.25rem;
  color: var(--color-text);
  letter-spacing: -0.02em;
}
.logo-dot {
  width: 6px;
  height: 6px;
  background: var(--color-brand);
  border-radius: 50%;
  flex-shrink: 0;
}
.nav-link {
  font-family: 'Inter', sans-serif;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--color-text-muted);
  text-decoration: none;
  transition: color 150ms ease;
}
.nav-link:hover { color: var(--color-text); }
.hamburger-btn {
  background: transparent;
  border: 1px solid var(--color-border);
  color: var(--color-text-muted);
  border-radius: 0.375rem;
  padding: 0.5rem;
  cursor: pointer;
  transition: border-color 150ms, color 150ms;
}
.hamburger-btn:hover { border-color: var(--color-border-hover); color: var(--color-text); }
.mobile-menu {
  border-top: 1px solid var(--color-border);
  background: rgba(15, 15, 15, 0.98);
}

/* ============================================
   BUTTONS
   ============================================ */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--color-brand);
  color: #0a0a0a;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 0.875rem;
  padding: 0.625rem 1.25rem;
  border-radius: var(--input-radius);
  border: none;
  cursor: pointer;
  transition: background 150ms ease, transform 100ms ease, box-shadow 150ms ease;
  white-space: nowrap;
  text-decoration: none;
}
.btn-primary:hover {
  background: var(--color-brand-hover);
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(62, 207, 142, 0.25);
}
.btn-primary:active { transform: translateY(0); box-shadow: none; }

.btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.375rem;
  background: transparent;
  color: var(--color-text);
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  font-size: 0.875rem;
  padding: 0.625rem 1.25rem;
  border-radius: var(--input-radius);
  border: 1px solid var(--color-border);
  cursor: pointer;
  transition: border-color 150ms ease, background 150ms ease, color 150ms ease;
  white-space: nowrap;
  text-decoration: none;
}
.btn-ghost:hover { border-color: var(--color-border-hover); background: var(--color-bg-muted); }

/* ============================================
   BADGE / PILL
   ============================================ */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  background: var(--color-brand-dim);
  color: var(--color-brand);
  border: 1px solid rgba(62, 207, 142, 0.25);
  font-family: 'Inter', sans-serif;
  font-size: 0.8125rem;
  font-weight: 500;
  padding: 0.3125rem 0.875rem;
  border-radius: 9999px;
  white-space: nowrap;
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-bg);
  overflow: hidden;
  padding: 0 1.5rem 4rem;
  margin-top: -3rem;
}
/* Radial green glow */
.hero::before {
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -60%);
  width: 900px; height: 900px;
  background: radial-gradient(circle, rgba(62, 207, 142, 0.08) 0%, transparent 65%);
  pointer-events: none;
  z-index: 0;
}
/* Dot grid */
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, #2a2a2a 1px, transparent 1px);
  background-size: 32px 32px;
  opacity: 0.45;
  pointer-events: none;
  z-index: 0;
}
.hero-content {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

/* ---- Hero Search Bar ---- */
.search-wrapper {
  display: flex;
  width: 100%;
  max-width: 600px;
  background: var(--color-bg-muted);
  border: 1px solid var(--color-border);
  border-radius: var(--card-radius);
  padding: 0.375rem;
  gap: 0.375rem;
  transition: border-color 200ms ease, box-shadow 200ms ease;
}
.search-wrapper:focus-within {
  border-color: var(--color-brand);
  box-shadow: 0 0 0 3px var(--color-brand-dim);
}
.search-input {
  flex: 1;
  min-width: 0;
  background: transparent;
  border: none;
  outline: none;
  color: var(--color-text);
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  padding: 0.625rem 0.875rem;
}
.search-input::placeholder { color: var(--color-text-subtle); }
.search-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  background: var(--color-brand);
  color: #0a0a0a;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 0.9375rem;
  padding: 0.625rem 1.375rem;
  border-radius: 0.5rem;
  border: none;
  cursor: pointer;
  white-space: nowrap;
  transition: background 150ms ease, transform 100ms ease;
  flex-shrink: 0;
}
.search-btn:hover { background: var(--color-brand-hover); }
.search-btn:active { transform: scale(0.98); }

/* Hint chips */
.hint-chip {
  background: none;
  border: none;
  color: var(--color-brand);
  font-family: 'Inter', sans-serif;
  font-size: 0.8125rem;
  font-weight: 500;
  cursor: pointer;
  padding: 0;
  text-decoration: underline;
  text-underline-offset: 2px;
  text-decoration-color: rgba(62, 207, 142, 0.4);
  transition: color 150ms;
}
.hint-chip:hover { color: var(--color-brand-hover); }

/* Stats Row */
.stats-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
}
.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.125rem;
}
.stat-number {
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--color-text);
}
.stat-label {
  font-size: 0.8125rem;
  color: var(--color-text-subtle);
}
.stat-divider {
  width: 1px;
  height: 2.5rem;
  background: var(--color-border);
}
@media (max-width: 480px) {
  .stat-divider { display: none; }
  .stats-row { gap: 1.5rem; }
}

/* ============================================
   RESULTS SECTION
   ============================================ */
.results-section {
  background: var(--color-bg-subtle);
  border-top: 1px solid var(--color-border);
}
.results-heading {
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--color-text);
}
.results-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.5rem;
}
@media (min-width: 640px)  { .results-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .results-grid { grid-template-columns: repeat(3, 1fr); } }

/* ---- Tabs ---- */
.tabs {
  display: flex;
  gap: 0;
  border-bottom: 1px solid var(--color-border);
  overflow-x: auto;
  scrollbar-width: none;
}
.tabs::-webkit-scrollbar { display: none; }
.tab {
  padding: 0.625rem 1rem;
  font-family: 'Inter', sans-serif;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--color-text-muted);
  border-bottom: 2px solid transparent;
  cursor: pointer;
  transition: color 150ms, border-color 150ms;
  margin-bottom: -1px;
  white-space: nowrap;
  background: none;
  border-top: none;
  border-left: none;
  border-right: none;
}
.tab.active { color: var(--color-brand); border-bottom-color: var(--color-brand); }
.tab:hover:not(.active) { color: var(--color-text); }
.tab-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--color-bg-overlay);
  color: var(--color-text-subtle);
  font-size: 0.6875rem;
  font-weight: 600;
  min-width: 1.25rem;
  height: 1.25rem;
  border-radius: 9999px;
  padding: 0 0.375rem;
  margin-left: 0.375rem;
}
.tab.active .tab-count { background: var(--color-brand-dim); color: var(--color-brand); }

/* ---- TLD Filter Pills ---- */
.tld-filters {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  overflow-x: auto;
  flex-wrap: nowrap;
  scrollbar-width: none;
  padding-bottom: 0.25rem;
}
.tld-filters::-webkit-scrollbar { display: none; }
.filter-label {
  font-family: 'Inter', sans-serif;
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--color-text-subtle);
  white-space: nowrap;
}
.tld-pill {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--color-text-muted);
  background: var(--color-bg-overlay);
  border: 1px solid var(--color-border);
  padding: 0.3rem 0.75rem;
  border-radius: 9999px;
  cursor: pointer;
  transition: all 150ms ease;
}
.tld-pill.active {
  background: var(--color-brand-dim);
  color: var(--color-brand);
  border-color: rgba(62, 207, 142, 0.3);
}
.tld-pill:hover:not(.active) { border-color: var(--color-border-hover); color: var(--color-text); }

/* ---- Sort & Toggle Controls ---- */
.sort-select {
  background: var(--color-bg-overlay);
  color: var(--color-text-muted);
  border: 1px solid var(--color-border);
  border-radius: var(--input-radius);
  font-family: 'Inter', sans-serif;
  font-size: 0.8125rem;
  padding: 0.4375rem 0.75rem;
  cursor: pointer;
  outline: none;
  transition: border-color 150ms;
  -webkit-appearance: none;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%2371717a' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.625rem center;
  padding-right: 2rem;
}
.sort-select:focus { border-color: var(--color-brand); }
.sort-select option { background: var(--color-bg-overlay); }

/* Toggle */
.toggle-label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
}
.toggle-input { display: none; }
.toggle-track {
  position: relative;
  width: 2.25rem;
  height: 1.25rem;
  background: var(--color-bg-overlay);
  border: 1px solid var(--color-border);
  border-radius: 9999px;
  transition: background 200ms, border-color 200ms;
  flex-shrink: 0;
}
.toggle-track::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 2px;
  transform: translateY(-50%);
  width: 0.875rem;
  height: 0.875rem;
  background: var(--color-text-subtle);
  border-radius: 50%;
  transition: transform 200ms ease, background 200ms;
}
.toggle-input:checked + .toggle-track {
  background: var(--color-brand-dim);
  border-color: var(--color-brand);
}
.toggle-input:checked + .toggle-track::after {
  transform: translateY(-50%) translateX(1rem);
  background: var(--color-brand);
}
.toggle-text {
  font-family: 'Inter', sans-serif;
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--color-text-muted);
  white-space: nowrap;
}

/* ---- Domain Cards ---- */
.domain-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  background: var(--color-bg-muted);
  border: 1px solid var(--color-border);
  border-left: 3px solid transparent;
  border-radius: var(--card-radius);
  padding: 0.5rem 0.75rem;
  transition: border-color 200ms, background 200ms;
  cursor: default;
}
.domain-card:hover { background: var(--color-bg-overlay); border-color: var(--color-border-hover); }
.domain-card[data-status="available"] { border-left-color: var(--color-available); }
.domain-card[data-status="taken"]     { border-left-color: var(--color-taken); }
.domain-card[data-status="premium"]   { border-left-color: var(--color-premium); }
.domain-card[data-status="checking"]  { border-left-color: var(--color-border); }

.domain-card__left {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  min-width: 0;
  flex: 1;
}
.domain-card__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}
.domain-card[data-status="available"] .domain-card__dot { background: var(--color-available); box-shadow: 0 0 6px rgba(62, 207, 142, 0.5); }
.domain-card[data-status="taken"]     .domain-card__dot { background: var(--color-taken); }
.domain-card[data-status="premium"]   .domain-card__dot { background: var(--color-premium); box-shadow: 0 0 6px rgba(245, 158, 11, 0.5); }
.domain-card[data-status="checking"]  .domain-card__dot { background: var(--color-border); animation: dot-pulse 1.2s ease-in-out infinite; }

/* Checking state — animated bouncing dots */
.domain-card__checking {
  display: flex;
  align-items: center;
  gap: 3px;
}
.checking-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--color-text-subtle);
  animation: checking-bounce 1.2s ease-in-out infinite;
}
.checking-dot:nth-child(2) { animation-delay: 0.2s; }
.checking-dot:nth-child(3) { animation-delay: 0.4s; }
@keyframes checking-bounce {
  0%, 80%, 100% { transform: scale(0.7); opacity: 0.4; }
  40%           { transform: scale(1);   opacity: 1; }
}
@keyframes dot-pulse {
  0%, 100% { opacity: 0.3; }
  50%      { opacity: 1; }
}

.domain-card__name {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.8125rem;
  font-weight: 500;
  text-decoration: none;
  color: var(--color-text);
  cursor: pointer;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  transition: color 150ms;
  min-width: 0;
}
.domain-card__name:hover { color: var(--color-brand); }

.domain-card__right {
  display: flex;
  align-items: center;
  gap: 0.375rem;
  flex-shrink: 0;
}
.domain-card__price {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--color-text-muted);
  white-space: nowrap;
}
.domain-card[data-status="premium"] .domain-card__price {
  color: var(--color-premium);
  font-weight: 600;
}
.domain-card__taken-label {
  font-family: 'Inter', sans-serif;
  font-size: 0.8125rem;
  color: var(--color-taken);
  font-weight: 500;
}
.domain-card__save {
  background: none;
  border: none;
  cursor: pointer;
  font-size: 1.0625rem;
  color: var(--color-text-subtle);
  transition: color 150ms, transform 150ms;
  padding: 0.125rem;
  line-height: 1;
}
.domain-card__save:hover { color: var(--color-brand); transform: scale(1.2); }
.domain-card__save.saved { color: var(--color-brand); }
.domain-card__register {
  background: transparent;
  border: 1px solid var(--color-border);
  color: var(--color-text);
  font-family: 'Inter', sans-serif;
  font-size: 0.75rem;
  font-weight: 500;
  padding: 0.25rem 0.5rem;
  border-radius: 0.375rem;
  cursor: pointer;
  transition: all 150ms ease;
  white-space: nowrap;
}
.domain-card__register:hover { border-color: var(--color-brand); color: var(--color-brand); background: var(--color-brand-dim); }
.domain-card[data-status="available"] .domain-card__register:hover { border-color: var(--color-brand); }

.taken-btn { color: var(--color-text-subtle) !important; }
.taken-btn:hover { border-color: var(--color-taken) !important; color: var(--color-taken) !important; background: rgba(239, 68, 68, 0.1) !important; }

.registrar-row {
  display: flex;
  gap: 0.375rem;
  margin-top: 0.3125rem;
}
.registrar-tag {
  font-family: 'Inter', sans-serif;
  font-size: 0.625rem;
  font-weight: 500;
  color: var(--color-text-subtle);
  background: var(--color-bg-overlay);
  border: 1px solid var(--color-border);
  padding: 0.125rem 0.375rem;
  border-radius: 3px;
}
.ai-badge {
  display: inline-flex;
  align-items: center;
  background: var(--color-brand-dim);
  color: var(--color-brand);
  font-family: 'Inter', sans-serif;
  font-size: 0.625rem;
  font-weight: 600;
  padding: 0.0625rem 0.375rem;
  border-radius: 3px;
  margin-left: 0.375rem;
  letter-spacing: 0.05em;
  vertical-align: middle;
}

/* ============================================
   AI GENERATOR SECTION
   ============================================ */
.generator-section {
  background: var(--color-bg-muted);
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}
.generator-form {
  max-width: 760px;
  margin: 0 auto;
  background: var(--color-bg-overlay);
  border: 1px solid var(--color-border);
  border-radius: var(--card-radius);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
}
.generator-step {}
.step-label {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-family: 'Inter', sans-serif;
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: 0.875rem;
}
.step-number {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 1.625rem;
  height: 1.625rem;
  background: var(--color-brand-dim);
  color: var(--color-brand);
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-size: 0.8125rem;
  border-radius: 50%;
  flex-shrink: 0;
  border: 1px solid rgba(62, 207, 142, 0.25);
}
.gen-input {
  width: 100%;
  background: var(--color-bg-muted);
  border: 1px solid var(--color-border);
  border-radius: var(--input-radius);
  color: var(--color-text);
  font-family: 'Inter', sans-serif;
  font-size: 0.9375rem;
  padding: 0.75rem 1rem;
  outline: none;
  transition: border-color 200ms ease, box-shadow 200ms ease;
}
.gen-input::placeholder { color: var(--color-text-subtle); }
.gen-input:focus { border-color: var(--color-brand); box-shadow: 0 0 0 3px var(--color-brand-dim); }

/* Style Pills */
.style-pills { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.style-pill {
  font-family: 'Inter', sans-serif;
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--color-text-muted);
  background: var(--color-bg-muted);
  border: 1px solid var(--color-border);
  padding: 0.375rem 0.875rem;
  border-radius: 9999px;
  cursor: pointer;
  transition: all 150ms ease;
}
.style-pill.active {
  background: var(--color-brand-dim);
  color: var(--color-brand);
  border-color: rgba(62, 207, 142, 0.35);
}
.style-pill:hover:not(.active) { border-color: var(--color-border-hover); color: var(--color-text); }

/* Length & TLD options */
.length-options, .tld-options { display: flex; gap: 0.5rem; flex-wrap: wrap; }
.length-option, .tld-option {
  font-family: 'Inter', sans-serif;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--color-text-muted);
  background: var(--color-bg-muted);
  border: 1px solid var(--color-border);
  padding: 0.5rem 1rem;
  border-radius: var(--input-radius);
  cursor: pointer;
  transition: all 150ms ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.125rem;
}
.length-option.active, .tld-option.active {
  background: var(--color-brand-dim);
  color: var(--color-brand);
  border-color: rgba(62, 207, 142, 0.35);
}
.length-option:hover:not(.active), .tld-option:hover:not(.active) {
  border-color: var(--color-border-hover);
  color: var(--color-text);
}
.length-hint {
  font-size: 0.6875rem;
  color: var(--color-text-subtle);
  font-weight: 400;
}
.length-option.active .length-hint { color: rgba(62, 207, 142, 0.7); }

.generate-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: var(--color-brand);
  color: #0a0a0a;
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  padding: 0.875rem 2rem;
  border-radius: var(--input-radius);
  border: none;
  cursor: pointer;
  transition: background 150ms ease, transform 100ms ease, box-shadow 200ms ease;
  width: 100%;
  letter-spacing: 0.01em;
}
.generate-btn:hover {
  background: var(--color-brand-hover);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(62, 207, 142, 0.3);
}
.generate-btn:active { transform: translateY(0); box-shadow: none; }

/* Generator Results Grid */
.gen-results { max-width: 760px; margin: 0 auto; }
.gen-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.875rem;
}
@media (min-width: 640px) { .gen-grid { grid-template-columns: repeat(3, 1fr); } }

.gen-name-card {
  background: var(--color-bg-overlay);
  border: 1px solid var(--color-border);
  border-radius: var(--card-radius);
  padding: 1.25rem 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  transition: border-color 200ms, transform 200ms;
  position: relative;
}
.gen-name-card:hover { border-color: var(--color-brand); transform: translateY(-2px); }
.gen-name-card__name {
  font-family: 'JetBrains Mono', monospace;
  font-weight: 600;
  font-size: 1.0625rem;
  color: var(--color-text);
  word-break: break-all;
}
.gen-name-card__tld {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.8125rem;
  color: var(--color-text-subtle);
}
.gen-name-card__status {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  font-family: 'Inter', sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.1875rem 0.5rem;
  border-radius: 9999px;
}
.gen-name-card__status.available {
  background: rgba(62, 207, 142, 0.12);
  color: var(--color-available);
}
.gen-name-card__status.taken {
  background: rgba(239, 68, 68, 0.1);
  color: var(--color-taken);
}
.gen-name-card__actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.gen-name-card__save {
  background: none;
  border: none;
  cursor: pointer;
  font-size: 1rem;
  color: var(--color-text-subtle);
  transition: color 150ms, transform 150ms;
  padding: 0;
  line-height: 1;
}
.gen-name-card__save:hover { color: var(--color-brand); transform: scale(1.2); }
.gen-name-card__save.saved { color: var(--color-brand); }
.gen-name-card__register {
  font-family: 'Inter', sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--color-brand);
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  text-decoration: none;
  transition: color 150ms;
}
.gen-name-card__register:hover { color: var(--color-brand-hover); }

/* ============================================
   HOW IT WORKS + FEATURES SECTION
   ============================================ */
.features-section {
  background: var(--color-bg);
  border-top: 1px solid var(--color-border);
}

/* Subtext under section heading */
.how-subtext {
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  color: var(--color-text-muted);
  margin-top: 1rem;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.65;
}

/* ── Steps Timeline ── */
.how-steps {
  position: relative;
}

.how-steps__track {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  align-items: start;
  gap: 0;
}

/* Each step column */
.how-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

/* Number badge row — keeps the circle at a fixed height for connector alignment */
.how-step__num-row {
  height: 3.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  position: relative;
  z-index: 1;
}

.how-step__num {
  width: 3.75rem;
  height: 3.75rem;
  border-radius: 50%;
  background: var(--color-brand-dim);
  border: 1px solid rgba(62, 207, 142, 0.28);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: 1rem;
  letter-spacing: 0.06em;
  color: var(--color-brand);
  transition: background 200ms ease, border-color 200ms ease, box-shadow 200ms ease;
}

.how-step:hover .how-step__num {
  background: rgba(62, 207, 142, 0.18);
  border-color: rgba(62, 207, 142, 0.5);
  box-shadow: 0 0 20px rgba(62, 207, 142, 0.12);
}

/* Card body below the number */
.how-step__card {
  background: var(--color-bg-muted);
  border: 1px solid var(--color-border);
  border-radius: var(--card-radius);
  padding: 1.5rem 1.25rem;
  width: 100%;
  transition: border-color 200ms ease, background 200ms ease;
}

.how-step:hover .how-step__card {
  border-color: rgba(62, 207, 142, 0.25);
  background: var(--color-bg-overlay);
}

.how-step__icon-wrap {
  width: 2.5rem;
  height: 2.5rem;
  background: var(--color-bg-overlay);
  border: 1px solid var(--color-border);
  border-radius: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  transition: border-color 200ms ease, background 200ms ease;
}

.how-step:hover .how-step__icon-wrap {
  border-color: rgba(62, 207, 142, 0.3);
  background: var(--color-brand-dim);
}

.how-step__icon {
  width: 1.125rem;
  height: 1.125rem;
  color: var(--color-text-muted);
  transition: color 200ms ease;
}

.how-step:hover .how-step__icon {
  color: var(--color-brand);
}

.how-step__title {
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: 1.0625rem;
  color: var(--color-text);
  margin-bottom: 0.5rem;
}

.how-step__desc {
  font-family: 'Inter', sans-serif;
  font-size: 0.875rem;
  color: var(--color-text-muted);
  line-height: 1.65;
}

/* ── Connector between steps ── */
.how-connector {
  display: flex;
  flex-direction: column;
  align-items: center;
  /* push the dash down to align with circle center (3.75rem circle, so 1.875rem = center) */
  padding-top: 1.875rem;
  width: 5rem;
  position: relative;
  z-index: 0;
}

.how-connector__dash {
  width: 100%;
  height: 0;
  border-top: 1.5px dashed rgba(62, 207, 142, 0.2);
}

.how-connector__arrow {
  width: 0.875rem;
  height: 0.875rem;
  color: rgba(62, 207, 142, 0.35);
  margin-top: 0.25rem;
  flex-shrink: 0;
}

/* Mobile: vertical stack */
@media (max-width: 767px) {
  .how-steps__track {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
    max-width: 340px;
    margin: 0 auto;
  }

  .how-connector {
    flex-direction: row;
    width: auto;
    height: 2.5rem;
    padding-top: 0;
    padding-left: 1.875rem; /* align with circle center */
    justify-content: flex-start;
    align-items: center;
  }

  .how-connector__dash {
    width: 0;
    height: 2.5rem;
    border-top: none;
    border-left: 1.5px dashed rgba(62, 207, 142, 0.2);
  }

  .how-connector__arrow {
    display: none;
  }
}

/* ── Section divider between steps and features ── */
.how-divider {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  margin: 5rem 0 4rem;
}

.how-divider::before,
.how-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--color-border);
}

.how-divider__label {
  font-family: 'Inter', sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--color-text-subtle);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  white-space: nowrap;
}

/* ── Features Bento Grid ── */
.features-bento {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

@media (min-width: 640px) {
  .features-bento {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .features-bento {
    grid-template-columns: repeat(3, 1fr);
  }
  /* Wide cards span 2 columns */
  .feat-card--wide {
    grid-column: span 2;
  }
}

.feat-card {
  background: var(--color-bg-muted);
  border: 1px solid var(--color-border);
  border-radius: var(--card-radius);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
  transition: border-color 200ms ease, background 200ms ease;
}

.feat-card:hover {
  border-color: var(--color-border-hover);
  background: var(--color-bg-overlay);
}

.feat-card--accent {
  border-color: rgba(62, 207, 142, 0.18);
  background: linear-gradient(135deg, var(--color-bg-muted) 0%, rgba(62, 207, 142, 0.04) 100%);
}

.feat-card--accent:hover {
  border-color: rgba(62, 207, 142, 0.35);
}

.feat-card__icon-wrap {
  width: 2.25rem;
  height: 2.25rem;
  background: var(--color-bg-overlay);
  border: 1px solid var(--color-border);
  border-radius: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.25rem;
  transition: border-color 200ms ease, background 200ms ease;
}

.feat-card:hover .feat-card__icon-wrap {
  border-color: rgba(62, 207, 142, 0.3);
  background: var(--color-brand-dim);
}

.feat-card__icon-wrap--premium {
  border-color: rgba(245, 158, 11, 0.2);
  background: rgba(245, 158, 11, 0.06);
}

.feat-card:hover .feat-card__icon-wrap--premium {
  border-color: rgba(245, 158, 11, 0.4);
  background: rgba(245, 158, 11, 0.1);
}

.feat-card__icon {
  width: 1.0625rem;
  height: 1.0625rem;
  color: var(--color-brand);
  transition: color 200ms ease;
}

.feat-card__icon--premium {
  color: var(--color-premium);
}

.feat-card__title {
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: 0.9375rem;
  color: var(--color-text);
  line-height: 1.3;
}

.feat-card__desc {
  font-family: 'Inter', sans-serif;
  font-size: 0.875rem;
  color: var(--color-text-muted);
  line-height: 1.6;
}

/* Stat highlight inside the wide accent card */
.feat-card__stat {
  margin-top: auto;
  padding-top: 0.875rem;
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
}

.feat-card__stat-num {
  font-family: 'JetBrains Mono', monospace;
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--color-brand);
}

.feat-card__stat-label {
  font-family: 'Inter', sans-serif;
  font-size: 0.8125rem;
  color: var(--color-text-subtle);
}

/* Registrar tags inside the price comparison wide card */
.feat-card__registrars {
  display: flex;
  flex-wrap: wrap;
  gap: 0.375rem;
  margin-top: auto;
  padding-top: 0.875rem;
}

.feat-card__reg-tag {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.6875rem;
  color: var(--color-text-subtle);
  background: var(--color-bg-overlay);
  border: 1px solid var(--color-border);
  border-radius: 0.25rem;
  padding: 0.1875rem 0.5rem;
}

/* ============================================
   FEATURES SECTION
   ============================================ */
.features-section {
  background: var(--color-bg);
  border-top: 1px solid var(--color-border);
}
.features-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}
@media (min-width: 640px) { .features-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .features-grid { grid-template-columns: repeat(3, 1fr); } }

.feature-card {
  background: var(--color-bg-muted);
  border: 1px solid var(--color-border);
  border-radius: var(--card-radius);
  padding: 1.5rem;
  transition: border-color 200ms ease, background 200ms ease;
}
.feature-card:hover { border-color: var(--color-border-hover); background: var(--color-bg-overlay); }
.feature-card--highlight { border-color: rgba(62, 207, 142, 0.2); background: linear-gradient(135deg, var(--color-bg-muted) 0%, rgba(62, 207, 142, 0.04) 100%); }
.feature-card--highlight:hover { border-color: rgba(62, 207, 142, 0.4); }
.feature-card__icon { font-size: 1.5rem; margin-bottom: 0.875rem; display: block; }
.feature-card__title {
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  color: var(--color-text);
  margin-bottom: 0.375rem;
}
.feature-card__desc {
  font-family: 'Inter', sans-serif;
  font-size: 0.875rem;
  color: var(--color-text-muted);
  line-height: 1.6;
}

/* ============================================
   BULK SEARCH SECTION
   ============================================ */
.bulk-section {
  background: var(--color-bg-muted);
  border-top: 1px solid var(--color-border);
  position: relative;
  overflow: hidden;
}
.bulk-section::before {
  content: '';
  position: absolute;
  top: 0; right: 0;
  width: 40%;
  height: 100%;
  background: linear-gradient(to left, rgba(62, 207, 142, 0.03) 0%, transparent 100%);
  pointer-events: none;
}
.bulk-inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
  position: relative;
}
@media (min-width: 1024px) { .bulk-inner { grid-template-columns: 1fr 1fr; gap: 4rem; } }

.bulk-features {
  display: flex;
  flex-direction: column;
  gap: 0.875rem;
  list-style: none;
}
.bulk-feature {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-family: 'Inter', sans-serif;
  font-size: 0.9375rem;
  color: var(--color-text-muted);
}
.bulk-feature svg { color: var(--color-brand); flex-shrink: 0; }

.bulk-ui {
  background: var(--color-bg-overlay);
  border: 1px solid var(--color-border);
  border-radius: var(--card-radius);
  padding: 1.25rem;
}
.bulk-ui__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.875rem;
}
.bulk-textarea {
  width: 100%;
  background: var(--color-bg-muted);
  border: 1px solid var(--color-border);
  border-radius: var(--input-radius);
  color: var(--color-text);
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.875rem;
  padding: 0.75rem 1rem;
  outline: none;
  resize: vertical;
  transition: border-color 200ms ease, box-shadow 200ms ease;
  line-height: 1.6;
}
.bulk-textarea::placeholder { color: var(--color-text-subtle); font-family: 'Inter', sans-serif; }
.bulk-textarea:focus { border-color: var(--color-brand); box-shadow: 0 0 0 3px var(--color-brand-dim); }

.bulk-preview {
  border-top: 1px solid var(--color-border);
  padding-top: 0.875rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.bulk-preview__item {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  padding: 0.5rem 0.625rem;
  border-radius: 0.375rem;
  background: var(--color-bg-muted);
  border: 1px solid var(--color-border);
}
.bulk-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  flex-shrink: 0;
}
.bulk-dot.available { background: var(--color-available); }
.bulk-dot.taken     { background: var(--color-taken); }
.bulk-dot.premium   { background: var(--color-premium); }

.bulk-domain {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.8125rem;
  color: var(--color-text);
  flex: 1;
}
.bulk-status {
  font-family: 'Inter', sans-serif;
  font-size: 0.75rem;
  color: var(--color-text-subtle);
}
.bulk-preview__item.available .bulk-status { color: var(--color-available); }
.bulk-preview__item.taken     .bulk-status { color: var(--color-taken); }
.bulk-preview__item.premium   .bulk-status { color: var(--color-premium); }

/* ============================================
   EXTENSIONS BROWSER SECTION
   ============================================ */
.extensions-section {
  background: var(--color-bg);
  border-top: 1px solid var(--color-border);
}
.category-scroll {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  overflow-x: auto;
  scrollbar-width: none;
  padding-bottom: 0.25rem;
}
.category-scroll::-webkit-scrollbar { display: none; }
.category-pill {
  font-family: 'Inter', sans-serif;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--color-text-muted);
  background: var(--color-bg-muted);
  border: 1px solid var(--color-border);
  padding: 0.5rem 1.125rem;
  border-radius: 9999px;
  cursor: pointer;
  white-space: nowrap;
  transition: all 150ms ease;
}
.category-pill.active {
  background: var(--color-brand-dim);
  color: var(--color-brand);
  border-color: rgba(62, 207, 142, 0.3);
}
.category-pill:hover:not(.active) { border-color: var(--color-border-hover); color: var(--color-text); }

.tld-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
}
.tld-grid > * {
  flex: 0 0 calc(50% - 0.375rem);
}
@media (min-width: 480px)  { .tld-grid > * { flex: 0 0 calc(33.333% - 0.5rem); } }
@media (min-width: 768px)  { .tld-grid > * { flex: 0 0 calc(25% - 0.5625rem); } }
@media (min-width: 1024px) { .tld-grid > * { flex: 0 0 calc(16.666% - 0.625rem); } }

.tld-card {
  background: var(--color-bg-muted);
  border: 1px solid var(--color-border);
  border-radius: var(--card-radius);
  padding: 1.125rem 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  transition: border-color 200ms, background 200ms;
  cursor: pointer;
}
.tld-card:hover { border-color: var(--color-brand); background: var(--color-bg-overlay); }
.tld-card__ext {
  font-family: 'JetBrains Mono', monospace;
  font-weight: 600;
  font-size: 1.125rem;
  color: var(--color-text);
}
.tld-card__price {
  font-family: 'Inter', sans-serif;
  font-size: 0.8125rem;
  color: var(--color-text-subtle);
}
.tld-card__bar-wrap {
  height: 3px;
  background: var(--color-bg-overlay);
  border-radius: 2px;
  overflow: hidden;
}
.tld-card__bar {
  height: 100%;
  background: linear-gradient(90deg, var(--color-brand), #6ee7b7);
  border-radius: 2px;
  transition: width 600ms ease;
}
.tld-card__cta {
  font-family: 'Inter', sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--color-brand);
  opacity: 0;
  transition: opacity 150ms;
}
.tld-card:hover .tld-card__cta { opacity: 1; }

/* ============================================
   PRICING SECTION
   ============================================ */
.pricing-section {
  background: var(--color-bg-muted);
  border-top: 1px solid var(--color-border);
  position: relative;
  overflow: hidden;
}
.pricing-section::before {
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(62, 207, 142, 0.05) 0%, transparent 70%);
  pointer-events: none;
}
.pricing-inner {
  position: relative;
  z-index: 1;
  text-align: center;
}
.trust-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 0.375rem;
  font-family: 'Inter', sans-serif;
  font-size: 0.875rem;
  color: var(--color-text-subtle);
}
.trust-item svg { color: var(--color-brand); }
.trust-divider { color: var(--color-text-subtle); }

/* ============================================
   FOOTER
   ============================================ */
.site-footer {
  background: var(--color-bg-subtle);
  border-top: 1px solid var(--color-border);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid var(--color-border);
}
@media (min-width: 640px) { .footer-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .footer-grid { grid-template-columns: 2fr 1fr 1fr 1fr; } }

.footer-col {}
.footer-col--brand {}
.footer-tagline {
  font-family: 'Inter', sans-serif;
  font-size: 0.875rem;
  color: var(--color-text-subtle);
  line-height: 1.6;
  max-width: 260px;
  margin-top: 0.75rem;
}
.footer-col-title {
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 0.875rem;
  color: var(--color-text);
  margin-bottom: 1rem;
}
.footer-links { list-style: none; display: flex; flex-direction: column; gap: 0.625rem; }
.footer-link {
  font-family: 'Inter', sans-serif;
  font-size: 0.875rem;
  color: var(--color-text-subtle);
  text-decoration: none;
  transition: color 150ms ease;
}
.footer-link:hover { color: var(--color-text); }
.footer-social { display: flex; gap: 0.75rem; }
.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2rem; height: 2rem;
  background: var(--color-bg-overlay);
  border: 1px solid var(--color-border);
  border-radius: 0.375rem;
  color: var(--color-text-subtle);
  text-decoration: none;
  transition: border-color 150ms, color 150ms, background 150ms;
}
.social-link:hover { border-color: var(--color-brand); color: var(--color-brand); background: var(--color-brand-dim); }
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 1rem;
  padding-bottom: 2rem;
  gap: 1rem;
  flex-wrap: wrap;
}

/* ============================================
   SKELETON LOADERS
   ============================================ */
.skeleton-card {
  background: var(--color-bg-overlay);
  border: 1px solid var(--color-border);
  border-radius: var(--card-radius);
  animation: skeleton-pulse 1.5s ease-in-out infinite;
}
.skeleton-line {
  background: var(--color-bg-overlay);
  border-radius: 0.25rem;
  animation: skeleton-pulse 1.5s ease-in-out infinite;
}
@keyframes skeleton-pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.35; }
}

/* ============================================
   TOAST NOTIFICATIONS
   ============================================ */
#toast-container {
  position: fixed;
  top: 1.25rem;
  right: 1.25rem;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  pointer-events: none;
}
.toast {
  background: var(--color-bg-overlay);
  border: 1px solid var(--color-border);
  border-left: 3px solid var(--color-brand);
  color: var(--color-text);
  font-family: 'Inter', sans-serif;
  font-size: 0.875rem;
  font-weight: 500;
  padding: 0.75rem 1.125rem;
  border-radius: var(--input-radius);
  pointer-events: auto;
  white-space: nowrap;
  animation: toast-in 200ms ease forwards;
}
@keyframes toast-in {
  from { transform: translateX(0.75rem); opacity: 0; }
  to   { transform: translateX(0);       opacity: 1; }
}
@keyframes toast-out {
  from { transform: translateX(0);       opacity: 1; }
  to   { transform: translateX(0.75rem); opacity: 0; }
}

/* ============================================
   ANIMATIONS
   ============================================ */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: translateY(0); }
}
.fade-in-up { animation: fadeInUp 300ms ease forwards; }

/* ============================================
   UTILITIES
   ============================================ */
.hidden { display: none !important; }

/* Desktop nav — hidden on mobile, flex on lg+ */
.nav-desktop-items {
  display: none;
}
.nav-desktop-actions {
  display: none;
}
/* Hamburger — visible on mobile, hidden on lg+ */
.nav-mobile-only {
  display: flex;
}

@media (min-width: 1024px) {
  .nav-desktop-items {
    display: flex;
    align-items: center;
    gap: 0.25rem;
  }
  .nav-desktop-actions {
    display: flex;
    align-items: center;
    gap: 0.75rem;
  }
  .nav-mobile-only {
    display: none;
  }
}

/* ============================================
   RESPONSIVE OVERRIDES
   ============================================ */
@media (max-width: 640px) {
  .generator-form { padding: 1.25rem; }
  .domain-card { flex-direction: column; align-items: flex-start; }
  .domain-card__right { width: 100%; justify-content: flex-end; }
  .search-btn span { display: none; }
  .search-btn { padding: 0.625rem 1rem; }
}

/* ============================================
   LANGUAGE SWITCHER
   ============================================ */
.lang-switcher-wrapper {
  position: relative;
}
.lang-switcher-btn {
  background: transparent;
  cursor: pointer;
  transition: border-color 0.2s, color 0.2s;
}
.lang-flag {
  font-family: 'Twemoji Country Flags', 'Apple Color Emoji', 'Segoe UI Emoji', 'Noto Color Emoji', 'Android Emoji', sans-serif;
  font-style: normal;
  line-height: 1;
}
.lang-switcher-btn:hover {
  border-color: var(--color-brand) !important;
  color: var(--color-text) !important;
}
.lang-menu {
  min-width: 140px;
  left: auto !important;
  right: 0 !important;
  transform: translateY(-8px) !important;
  padding: 0.375rem;
}
.nav-dropdown-wrapper.open .lang-menu {
  transform: translateY(0) !important;
}
.lang-menu::before {
  left: auto !important;
  right: 28px !important;
  transform: rotate(45deg) !important;
}
.lang-option {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 0.75rem;
  border-radius: 6px;
  font-size: 0.875rem;
  color: var(--color-text-muted);
  text-decoration: none;
  transition: background 0.15s, color 0.15s;
}
.lang-option:hover {
  background: var(--color-bg-overlay);
  color: var(--color-text);
}
.lang-option--active {
  color: var(--color-brand);
  background: var(--color-brand-dim);
}

/* Custom scrollbar for language list */
#lang-list,
#mobile-lang-list {
  scrollbar-width: thin;
  scrollbar-color: var(--color-border) transparent;
}
#lang-list::-webkit-scrollbar,
#mobile-lang-list::-webkit-scrollbar {
  width: 4px;
}
#lang-list::-webkit-scrollbar-track,
#mobile-lang-list::-webkit-scrollbar-track {
  background: transparent;
}
#lang-list::-webkit-scrollbar-thumb,
#mobile-lang-list::-webkit-scrollbar-thumb {
  background: var(--color-border);
  border-radius: 999px;
}
#lang-list::-webkit-scrollbar-thumb:hover,
#mobile-lang-list::-webkit-scrollbar-thumb:hover {
  background: var(--color-brand);
}

/* ============================================
   SEARCH MODE — full-page results
   ============================================ */

/* Elements that hide when searching */
.hero-badge,
.hero-headline,
.hero-sub,
.hero-hints,
.hero-stats {
  transition: opacity 0.2s ease, transform 0.2s ease, max-height 0.25s ease;
}

body.is-searching .hero-badge,
body.is-searching .hero-headline,
body.is-searching .hero-sub,
body.is-searching .hero-hints,
body.is-searching .hero-stats {
  opacity: 0;
  pointer-events: none;
  max-height: 0;
  overflow: hidden;
  margin: 0 !important;
  padding: 0 !important;
}

/* Shrink hero to compact search bar strip */
body.is-searching .hero {
  min-height: 0;
  padding: 1.25rem 2rem;
  align-items: center;
  border-bottom: 1px solid var(--color-border);
  margin-top: 0;
}
body.is-searching .hero::before,
body.is-searching .hero::after {
  display: none;
}
body.is-searching .hero-content {
  max-width: 1280px;
  margin: 0 auto;
  text-align: left;
  width: 100%;
}

body.is-searching .search-wrapper {
  max-width: 100%;
}

/* Results become full page */
body.is-searching .results-section {
  min-height: calc(100vh - 120px);
  padding-top: 0;
}
body.is-searching .results-section .section-container {
  padding-top: 2rem !important;
}

/* Hide all other homepage sections */
body.is-searching #generator,
body.is-searching #features,
body.is-searching #bulk,
body.is-searching #extensions,
body.is-searching #pricing,
body.is-searching .site-footer,
body.is-searching .tld-content-section {
  display: none;
}

/* Smooth transition for hero shrink */
.hero {
  transition: min-height 0.25s ease, padding 0.25s ease;
}

/* TLD page hero — shorter so SEO content is visible above the fold */
.hero--tld {
  min-height: 72vh;
  padding-bottom: 2.5rem;
}
body.is-searching .hero--tld {
  min-height: 0;
}

/* Search bar row with back button */
.search-bar-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  width: 100%;
  max-width: 720px;
  margin: 0 auto;
}
.search-back-btn {
  display: none;
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--color-border);
  background: transparent;
  color: var(--color-text-muted);
  cursor: pointer;
  align-items: center;
  justify-content: center;
  transition: border-color 0.2s, color 0.2s, background 0.2s;
}
.search-back-btn:hover {
  border-color: var(--color-brand);
  color: var(--color-brand);
  background: var(--color-brand-dim);
}
body.is-searching .search-back-btn {
  display: flex;
}
body.is-searching .search-bar-row {
  justify-content: flex-start;
}
body.is-searching .search-wrapper {
  flex: 1;
}

/* ── Auth Prompt Modal ──────────────────────────────────────────────── */
.auth-modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(4px);
  z-index: 1000;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}
.auth-modal-overlay.is-visible {
  display: flex;
}
.auth-modal {
  background: var(--color-bg-muted);
  border: 1px solid var(--color-border);
  border-radius: 16px;
  padding: 2.5rem 2rem;
  max-width: 420px;
  width: 100%;
  position: relative;
  text-align: center;
  animation: modal-in 200ms ease;
}
@keyframes modal-in {
  from { opacity: 0; transform: translateY(12px) scale(0.97); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}
.auth-modal__close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: none;
  border: none;
  color: var(--color-text-muted);
  font-size: 1.4rem;
  cursor: pointer;
  line-height: 1;
  padding: 0.25rem 0.5rem;
  border-radius: 6px;
  transition: color 0.15s, background 0.15s;
}
.auth-modal__close:hover {
  color: var(--color-text);
  background: var(--color-bg-overlay);
}
.auth-modal__icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--color-brand-dim);
  border: 1px solid var(--color-brand);
  color: var(--color-brand);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.25rem;
}
.auth-modal__title {
  font-family: 'Syne', sans-serif;
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--color-text);
  margin: 0 0 0.5rem;
}
.auth-modal__desc {
  color: var(--color-text-muted);
  font-size: 0.9rem;
  margin: 0 0 1.25rem;
  line-height: 1.55;
}
.auth-modal__perks {
  list-style: none;
  padding: 0;
  margin: 0 0 1.75rem;
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.auth-modal__perks li {
  font-size: 0.875rem;
  color: var(--color-text-subtle);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.auth-modal__check {
  color: var(--color-brand);
  font-weight: 700;
  flex-shrink: 0;
}
.auth-modal__actions {
  display: flex;
  gap: 0.75rem;
  flex-direction: column;
}
.auth-modal__btn-primary {
  display: block;
  background: var(--color-brand);
  color: #0f0f0f;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.75rem 1.5rem;
  border-radius: 8px;
  text-decoration: none;
  transition: opacity 0.2s;
}
.auth-modal__btn-primary:hover { opacity: 0.88; }
.auth-modal__btn-ghost {
  display: block;
  background: transparent;
  border: 1px solid var(--color-border);
  color: var(--color-text-subtle);
  font-size: 0.9rem;
  padding: 0.65rem 1.5rem;
  border-radius: 8px;
  text-decoration: none;
  transition: border-color 0.2s, color 0.2s;
}
.auth-modal__btn-ghost:hover {
  border-color: var(--color-text-muted);
  color: var(--color-text);
}
.auth-modal__footer {
  margin: 1rem 0 0;
  font-size: 0.78rem;
  color: var(--color-text-muted);
}

/* Make domain-card__register work as both <button> and <a> */
a.domain-card__register {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}
a.gen-name-card__register {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

/* ============================================
   FEATURE: TLD CHIPS ON SEARCH BAR (hero)
   ============================================ */
.hero-search-tlds {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.375rem;
}
.search-tld-chip {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--color-text-subtle);
  background: var(--color-bg-overlay);
  border: 1px solid var(--color-border);
  padding: 0.1875rem 0.625rem;
  border-radius: 9999px;
  cursor: pointer;
  transition: all 150ms ease;
}
.search-tld-chip.active {
  background: var(--color-brand-dim);
  color: var(--color-brand);
  border-color: rgba(62, 207, 142, 0.3);
}
.search-tld-chip:hover:not(.active) {
  border-color: var(--color-border-hover);
  color: var(--color-text);
}
/* Hide/show TLD chips in searching mode */
.hero-search-tlds {
  transition: opacity 0.2s ease, max-height 0.25s ease;
}
body.is-searching .hero-search-tlds {
  opacity: 0;
  pointer-events: none;
  max-height: 0;
  overflow: hidden;
  margin: 0 !important;
  padding: 0 !important;
}

/* ============================================
   FEATURE: TYPO BANNER
   ============================================ */
.typo-banner {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
  background: rgba(245, 158, 11, 0.08);
  border: 1px solid rgba(245, 158, 11, 0.3);
  border-radius: var(--card-radius);
  padding: 0.75rem 1rem;
  margin-bottom: 1.25rem;
  font-family: 'Inter', sans-serif;
  font-size: 0.875rem;
  color: var(--color-text-muted);
}
.typo-banner strong { color: var(--color-text); }
.typo-banner__search {
  background: rgba(245, 158, 11, 0.15);
  border: 1px solid rgba(245, 158, 11, 0.4);
  color: #f59e0b;
  font-family: 'Inter', sans-serif;
  font-size: 0.8125rem;
  font-weight: 600;
  padding: 0.25rem 0.75rem;
  border-radius: 0.375rem;
  cursor: pointer;
  transition: background 150ms;
}
.typo-banner__search:hover { background: rgba(245, 158, 11, 0.25); }
.typo-banner__dismiss {
  background: none;
  border: none;
  color: var(--color-text-subtle);
  font-family: 'Inter', sans-serif;
  font-size: 0.8125rem;
  cursor: pointer;
  padding: 0.25rem 0.5rem;
  border-radius: 0.25rem;
  transition: color 150ms;
}
.typo-banner__dismiss:hover { color: var(--color-text); }

/* ============================================
   FEATURE: "YOU MIGHT ALSO LIKE" ROW
   ============================================ */
.might-also-like {
  grid-column: 1 / -1;
  background: rgba(62, 207, 142, 0.05);
  border: 1px solid rgba(62, 207, 142, 0.2);
  border-radius: var(--card-radius);
  padding: 0.75rem 1rem;
  margin-bottom: 0.25rem;
}
.might-also-like__inner {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}
.might-also-like__title {
  font-family: 'Inter', sans-serif;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--color-text-muted);
  white-space: nowrap;
}
.might-also-like__chips {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}
.might-also-chip {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--color-brand);
  background: var(--color-brand-dim);
  border: 1px solid rgba(62, 207, 142, 0.25);
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  cursor: pointer;
  transition: all 150ms ease;
}
.might-also-chip:hover {
  background: rgba(62, 207, 142, 0.2);
  border-color: rgba(62, 207, 142, 0.5);
}

/* ============================================
   FEATURE: VARIATIONS PANEL
   ============================================ */
.variations-panel {
  margin-top: 1.5rem;
  background: var(--color-bg-overlay);
  border: 1px solid var(--color-border);
  border-radius: var(--card-radius);
  overflow: hidden;
}
.variations-panel__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.875rem 1rem;
  border-bottom: 1px solid var(--color-border);
}
.variations-panel__title {
  font-family: 'Inter', sans-serif;
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--color-text);
}
.variations-panel__body {
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.variations-panel__section {}
.variations-panel__label {
  font-family: 'Inter', sans-serif;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--color-text-subtle);
  margin-bottom: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.variations-panel__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.variation-chip {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--color-text-muted);
  background: var(--color-bg-muted);
  border: 1px solid var(--color-border);
  padding: 0.3125rem 0.75rem;
  border-radius: 9999px;
  cursor: pointer;
  transition: all 150ms ease;
}
.variation-chip:hover { border-color: var(--color-brand); color: var(--color-brand); }
.variation-chip.active {
  background: var(--color-brand-dim);
  color: var(--color-brand);
  border-color: rgba(62, 207, 142, 0.35);
}
.variations-results {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding-top: 0.5rem;
  border-top: 1px solid var(--color-border);
  margin-top: 0.5rem;
}
.variation-result-card {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.5rem 0.75rem;
  background: var(--color-bg-muted);
  border: 1px solid var(--color-border);
  border-radius: 0.5rem;
  border-left: 3px solid transparent;
}
.variation-result-card[data-status="available"] { border-left-color: var(--color-available); }
.variation-result-card[data-status="taken"]     { border-left-color: var(--color-taken); }
.variation-result-card__dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  flex-shrink: 0;
  background: var(--color-border);
}
.variation-result-card[data-status="available"] .variation-result-card__dot { background: var(--color-available); }
.variation-result-card[data-status="taken"]     .variation-result-card__dot { background: var(--color-taken); }
.variation-result-card__name {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.875rem;
  color: var(--color-text);
  flex: 1;
}
.variation-result-card__price {
  font-family: 'Inter', sans-serif;
  font-size: 0.8125rem;
  color: var(--color-text-subtle);
}
.variation-result-card__register {
  font-family: 'Inter', sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--color-brand);
  text-decoration: none;
  transition: color 150ms;
  display: inline-flex;
  align-items: center;
}
.variation-result-card__register:hover { color: var(--color-brand-hover); }

/* ============================================
   FEATURE: KEYBOARD NAVIGATION
   ============================================ */
.domain-card.kbd-focused {
  outline: 2px solid var(--color-brand);
  outline-offset: 2px;
  background: var(--color-bg-overlay);
}

/* ============================================
   FEATURE: DOMAIN CARD REFRESH BUTTON
   ============================================ */
.domain-card__refresh {
  display: none;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--color-text-subtle);
  padding: 0.125rem;
  border-radius: 0.25rem;
  transition: color 150ms, background 150ms;
}
.domain-card:hover .domain-card__refresh {
  display: inline-flex;
}
.domain-card__refresh:hover {
  color: var(--color-brand);
  background: var(--color-brand-dim);
}

/* ============================================
   FEATURE: DOMAIN CARD CHECKBOX
   ============================================ */
.domain-card__checkbox {
  width: 15px;
  height: 15px;
  flex-shrink: 0;
  cursor: pointer;
  accent-color: var(--color-brand);
  opacity: 0;
  transition: opacity 150ms;
}
.domain-card:hover .domain-card__checkbox,
.domain-card__checkbox:checked {
  opacity: 1;
}

/* ============================================
   FEATURE: VIEW TOGGLE (GRID/LIST)
   ============================================ */
.view-toggle-group {
  display: flex;
  border: 1px solid var(--color-border);
  border-radius: var(--input-radius);
  overflow: hidden;
}
.view-toggle-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.4375rem 0.625rem;
  background: var(--color-bg-overlay);
  border: none;
  color: var(--color-text-subtle);
  cursor: pointer;
  transition: background 150ms, color 150ms;
}
.view-toggle-btn + .view-toggle-btn {
  border-left: 1px solid var(--color-border);
}
.view-toggle-btn:hover { background: var(--color-bg-muted); color: var(--color-text); }
.view-toggle-btn.active {
  background: var(--color-brand-dim);
  color: var(--color-brand);
}

/* List view mode */
.results-grid--list {
  grid-template-columns: 1fr !important;
}
.results-grid--list .domain-card {
  padding: 0.4rem 0.75rem;
}
.results-grid--grid {
  /* same as default grid */
}

/* ============================================
   FEATURE: BULK ACTION BAR
   ============================================ */
.bulk-action-bar {
  position: fixed;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 500;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: var(--color-bg-overlay);
  border: 1px solid var(--color-border);
  border-radius: 9999px;
  padding: 0.5rem 1rem;
  box-shadow: 0 8px 32px rgba(0,0,0,0.5), 0 0 0 1px rgba(62, 207, 142, 0.15);
  animation: fadeInUp 200ms ease;
  white-space: nowrap;
}
.bulk-action-count {
  font-family: 'Inter', sans-serif;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--color-brand);
  padding-right: 0.75rem;
  border-right: 1px solid var(--color-border);
}
.bulk-action-buttons {
  display: flex;
  align-items: center;
  gap: 0.375rem;
}

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

/* ── Search results filter bar (shared: homepage is-searching + generator) ── */
.search-filters-bar {
  display: none;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
  padding: 0 0.75rem;
  margin-top: 10px;
}
body.is-searching .search-filters-bar {
  display: flex;
}
.gp-pill {
  padding: 0.25rem 0.6rem;
  border: 1px solid var(--color-border);
  border-radius: 999px;
  background: transparent;
  color: var(--color-text-muted);
  font-size: 0.75rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.15s;
  font-family: 'Inter', sans-serif;
}
.gp-pill:hover { border-color: var(--color-brand); color: var(--color-brand); }
.gp-pill.active { background: rgba(62,207,142,0.12); border-color: var(--color-brand); color: var(--color-brand); font-weight: 600; }
.gp-section-label { font-size: 0.7rem; font-weight: 600; color: var(--color-text-subtle); text-transform: uppercase; letter-spacing: 0.06em; white-space: nowrap; }
.gp-filter-sep { width: 1px; height: 18px; background: var(--color-border); margin: 0 0.25rem; flex-shrink: 0; }

/* ---- Sienna Accessibility Widget ---- */
.asw-menu-btn {
  outline: none !important;
  background: #1a1a1a !important;
  background-image: none !important;
}
