/* ==========================================================================
   Domainer.my - Premium .MY Domain Marketplace Stylesheet
   Inspired by zoo.my editorial luxury & modern web aesthetics
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Newsreader:ital,opsz,wght@0,6..72,400;0,6..72,600;0,6..72,700;1,6..72,400;1,6..72,600&family=Plus+Jakarta+Sans:wght@400;500;600;700;800&family=Quicksand:wght@600;700&display=swap');

:root {
  --ink: #141416;
  --ink-secondary: #4b5563;
  --ink-muted: #6b7280;
  --cream: #FAF8F4;
  --cream-alt: #F3EFE6;
  --surface: #FFFFFF;
  --surface-raised: #FFFFFF;
  --gold: #B8860B;
  --gold-hover: #996515;
  --gold-light: #FBF4E4;
  --gold-border: #E8D5AA;
  --line: #E7E2D8;
  --line-subtle: #F0EDE6;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-full: 9999px;
  --shadow-sm: 0 2px 6px rgba(20, 20, 22, 0.04);
  --shadow-md: 0 10px 25px -4px rgba(20, 20, 22, 0.07), 0 4px 10px -2px rgba(20, 20, 22, 0.03);
  --shadow-lg: 0 20px 35px -5px rgba(20, 20, 22, 0.12), 0 10px 15px -3px rgba(20, 20, 22, 0.05);
  --font-serif: 'Newsreader', Georgia, serif;
  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-brand: 'Quicksand', 'Plus Jakarta Sans', sans-serif;
  --whatsapp-color: #25D366;
  --whatsapp-hover: #1EBE5D;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  font-family: var(--font-sans);
  background-color: var(--cream);
  color: var(--ink);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease;
}

button, input, select, textarea {
  font: inherit;
}

.serif {
  font-family: var(--font-serif);
}

/* Container */
.container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Top Announcement Banner */
.top-notice-bar {
  background: #0f172a;
  color: #e2e8f0;
  font-size: 0.82rem;
  padding: 0.5rem 1rem;
  text-align: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.top-notice-bar strong {
  color: #facc15;
}

.top-notice-bar a {
  text-decoration: underline;
  color: #fff;
  margin-left: 0.4rem;
}

/* Header */
header.site-header {
  background: var(--ink);
  color: #fff;
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 74px;
  gap: 1.5rem;
}

.site-brand {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  font-family: var(--font-brand);
  font-size: 2.2rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: #ffffff;
}

.site-brand span {
  color: #E5A91B;
  font-size: 0.65em;
  font-weight: 700;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  font-size: 0.92rem;
}

.site-nav a {
  color: #cbd5e1;
  font-weight: 500;
  transition: color 0.2s ease;
}

.site-nav a:hover, .site-nav a.active {
  color: #ffffff;
}

.nav-cta-btn {
  background: #25D366;
  color: #0b2912 !important;
  font-weight: 700 !important;
  padding: 0.45rem 1rem;
  border-radius: var(--radius-full);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  transition: transform 0.15s ease, background-color 0.2s ease;
}

.nav-cta-btn:hover {
  background: #1ebe5d;
  transform: translateY(-1px);
}

.lang-toggle-btn {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #E5A91B;
  font-size: 0.8rem;
  font-weight: 700;
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all 0.2s ease;
}

.lang-toggle-btn:hover {
  background: rgba(255, 255, 255, 0.2);
}

.shortlist-badge-btn {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #fff;
  font-size: 0.85rem;
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-full);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.shortlist-badge-btn span.count {
  background: var(--gold);
  color: #fff;
  border-radius: var(--radius-full);
  padding: 0.1rem 0.45rem;
  font-size: 0.75rem;
  font-weight: 700;
}

/* Hero Section */
.hero {
  text-align: center;
  padding: 4rem 1rem 3rem;
  position: relative;
}

.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--gold-light);
  border: 1px solid var(--gold-border);
  color: #785404;
  font-size: 0.82rem;
  font-weight: 700;
  padding: 0.35rem 1rem;
  border-radius: var(--radius-full);
  margin-bottom: 1.5rem;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.hero-pill span.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #16a34a;
  box-shadow: 0 0 0 3px rgba(22, 163, 74, 0.2);
}

.hero-brand-name {
  font-family: var(--font-brand);
  font-size: clamp(3.2rem, 8vw, 5.5rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1;
  margin-bottom: 1rem;
  color: var(--ink);
}

.hero-brand-name span {
  color: var(--gold);
  font-size: 0.62em;
  font-weight: 700;
}

.hero h1 {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 5vw, 3.4rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
  max-width: 38rem;
  margin: 0 auto;
  color: var(--ink);
}

.hero h1 em {
  font-style: italic;
  color: var(--gold);
}

.hero p.lead {
  margin: 1.2rem auto 0;
  max-width: 36rem;
  color: var(--ink-secondary);
  font-size: 1.05rem;
}

/* Search Bar (Zoo.my styling elevated) */
.search-wrapper {
  max-width: 38rem;
  margin: 2.2rem auto 0;
  position: relative;
}

.searchbar {
  display: flex;
  align-items: stretch;
  background: var(--surface);
  border: 2px solid var(--ink);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.2s ease, border-color 0.2s ease;
}

.searchbar:focus-within {
  border-color: var(--gold);
  box-shadow: 0 0 0 4px rgba(184, 134, 11, 0.15);
}

.searchbar .search-icon {
  display: flex;
  align-items: center;
  padding-left: 1.2rem;
  color: #9ca3af;
}

.searchbar input {
  flex: 1;
  border: 0;
  padding: 1rem 1rem;
  font-size: 1rem;
  outline: none;
  background: transparent;
  color: var(--ink);
}

.searchbar input::placeholder {
  color: #9ca3af;
}

.searchbar button.search-clear {
  border: 0;
  background: transparent;
  color: #9ca3af;
  padding: 0 0.8rem;
  cursor: pointer;
  display: none;
  font-size: 1.1rem;
}

.searchbar button.search-clear.active {
  display: block;
}

.searchbar button.search-submit {
  border: 0;
  background: var(--ink);
  color: #fff;
  padding: 0 1.8rem;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.searchbar button.search-submit:hover {
  background: #27272a;
}

/* Category Filter Chips */
.chips-container {
  margin-top: 1.25rem;
}

.chips {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
}

.chip {
  border: 1px solid var(--line);
  background: var(--surface);
  border-radius: var(--radius-full);
  padding: 0.35rem 0.95rem;
  font-size: 0.84rem;
  color: var(--ink-secondary);
  cursor: pointer;
  transition: all 0.15s ease;
  user-select: none;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.chip:hover {
  border-color: var(--gold);
  color: var(--gold);
}

.chip.active {
  background: var(--ink);
  border-color: var(--ink);
  color: #ffffff;
  font-weight: 600;
}

/* Quick Attribute Filters & Sorting Controls */
.filter-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 0.9rem 1.25rem;
  margin: 2rem 0 1.5rem;
}

.toolbar-left {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.toolbar-label {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--ink-muted);
}

.tag-filter-btn {
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 0.3rem 0.7rem;
  font-size: 0.8rem;
  font-weight: 500;
  cursor: pointer;
  color: var(--ink-secondary);
  transition: all 0.15s ease;
}

.tag-filter-btn:hover {
  border-color: var(--gold);
  color: var(--gold);
}

.tag-filter-btn.active {
  background: var(--gold-light);
  border-color: var(--gold);
  color: var(--gold-hover);
  font-weight: 700;
}

.toolbar-right {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.sort-select {
  padding: 0.4rem 0.8rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--surface);
  color: var(--ink);
  font-size: 0.84rem;
  font-weight: 500;
  outline: none;
  cursor: pointer;
}

.results-count-text {
  font-size: 0.85rem;
  color: var(--ink-muted);
  font-weight: 600;
}

/* Featured Carousel (Marquee style like zoo.my) */
.section-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin: 3rem 0 1.25rem;
}

.section-head h2 {
  font-family: var(--font-serif);
  font-size: 1.7rem;
  font-weight: 700;
  color: var(--ink);
}

.section-head a, .section-head button.view-link {
  color: var(--gold);
  font-size: 0.9rem;
  font-weight: 600;
  background: none;
  border: none;
  cursor: pointer;
}

.section-head a:hover, .section-head button.view-link:hover {
  text-decoration: underline;
}

.carousel {
  overflow: hidden;
  position: relative;
  margin-bottom: 2.5rem;
  padding: 0.5rem 0;
  mask-image: linear-gradient(to right, transparent, black 5%, black 95%, transparent);
}

.carousel-track {
  display: flex;
  gap: 1.25rem;
  width: max-content;
  animation: zoo-marquee 45s linear infinite;
}

.carousel:hover .carousel-track {
  animation-play-state: paused;
}

@keyframes zoo-marquee {
  from { transform: translateX(0); }
  to { transform: translateX(calc(-50% - 0.625rem)); }
}

@media (prefers-reduced-motion: reduce) {
  .carousel-track { animation: none; }
}

/* Domain Cards Grid */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(265px, 1fr));
  gap: 1.4rem;
}

/* Domain Card (.dcard - zoo.my inspired elevated) */
.dcard {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.2s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.2s ease;
  cursor: pointer;
}

.dcard:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--gold);
}

/* Distinctive Monogram Tile */
.dcard .tile-card {
  width: 100%;
  aspect-ratio: 16 / 9;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  background: #f8fafc;
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}

.dcard .tile-bg-pattern {
  position: absolute;
  inset: 0;
  opacity: 0.05;
  background-image: radial-gradient(circle at 1px 1px, currentColor 1px, transparent 0);
  background-size: 16px 16px;
}

.dcard .tile-icon {
  font-size: 2rem;
  margin-bottom: 0.25rem;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.08));
}

.dcard .tile-domain-name {
  font-family: var(--font-brand);
  font-size: 1.45rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--ink);
  line-height: 1.1;
  text-align: center;
  padding: 0 1rem;
}

.dcard .tile-domain-name span.tld {
  color: var(--gold);
}

.ai-highlight {
  display: inline-block;
  font-size: 1.14em;
  font-weight: 800;
  color: #4f46e5;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.dcard .tile-badge-overlay {
  position: absolute;
  top: 10px;
  left: 10px;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(4px);
  border: 1px solid var(--line);
  font-size: 0.68rem;
  font-weight: 700;
  padding: 0.15rem 0.55rem;
  border-radius: var(--radius-full);
  color: var(--ink-secondary);
}

.dcard .bookmark-btn {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 0.95rem;
  color: #9ca3af;
  transition: all 0.15s ease;
  z-index: 5;
}

.dcard .bookmark-btn:hover, .dcard .bookmark-btn.active {
  color: #ef4444;
  background: #fff;
  border-color: #fca5a5;
  transform: scale(1.1);
}

/* Card Body */
.dcard .body {
  padding: 1rem 1.1rem 1.1rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.dcard .dmeta-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.35rem;
}

.dcard .dcat {
  font-size: 0.78rem;
  color: var(--ink-muted);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.dcard .dlength {
  font-size: 0.72rem;
  background: var(--cream);
  border: 1px solid var(--line);
  padding: 0.1rem 0.45rem;
  border-radius: 4px;
  color: var(--ink-muted);
  font-weight: 600;
}

.dcard .dtitle {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.01em;
  margin-bottom: 0.35rem;
  display: flex;
  align-items: baseline;
  gap: 0.15rem;
}

.dcard .dheadline {
  font-size: 0.85rem;
  color: var(--ink-secondary);
  line-height: 1.4;
  margin-bottom: 0.85rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 2.4rem;
}

.dcard .dmeta-bottom {
  margin-top: auto;
  padding-top: 0.75rem;
  border-top: 1px solid var(--line-subtle);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.price-wrap {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
}

.price-row-strike {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.dprice-old {
  font-size: 0.78rem;
  font-weight: 500;
  color: #9ca3af;
  text-decoration: line-through;
  font-variant-numeric: tabular-nums;
}

.discount-pill {
  font-size: 0.68rem;
  font-weight: 700;
  color: #dc2626;
  background: #fee2e2;
  border: 1px solid #fecaca;
  padding: 0.05rem 0.3rem;
  border-radius: 3px;
  line-height: 1.1;
  letter-spacing: 0.02em;
}

.dcard .dprice {
  font-size: 1.12rem;
  font-weight: 700;
  color: var(--gold);
  font-variant-numeric: tabular-nums;
  line-height: 1.2;
}

.dcard .dcard-action {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--ink);
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.3rem 0.65rem;
  border-radius: var(--radius-sm);
  background: var(--cream);
  border: 1px solid var(--line);
  transition: all 0.15s ease;
}

.dcard:hover .dcard-action {
  background: var(--ink);
  color: #fff;
  border-color: var(--ink);
}

/* Empty State */
.empty-state {
  grid-column: 1 / -1;
  text-align: center;
  padding: 4rem 1rem;
  background: var(--surface);
  border: 1px dashed var(--line);
  border-radius: var(--radius-md);
}

.empty-state .icon {
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
}

.empty-state h3 {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  margin-bottom: 0.4rem;
}

.empty-state p {
  color: var(--ink-muted);
  font-size: 0.95rem;
  margin-bottom: 1.2rem;
}

/* Stats Strip (like zoo.my) */
.stat-strip {
  display: flex;
  justify-content: center;
  margin: 4.5rem 0 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--surface);
  border-radius: var(--radius-md);
}

.stat-strip .stat-item {
  flex: 1;
  max-width: 280px;
  text-align: center;
  padding: 1.8rem 1.2rem;
}

.stat-strip .stat-item + .stat-item {
  border-left: 1px solid var(--line);
}

.stat-strip .n {
  font-family: var(--font-serif);
  font-size: 2.3rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  color: var(--ink);
}

.stat-strip .n span {
  color: var(--gold);
}

.stat-strip .l {
  font-size: 0.85rem;
  color: var(--ink-secondary);
  font-weight: 500;
  margin-top: 0.2rem;
}

/* Why Premium .MY Section (like zoo.my) */
.why-section {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: 3.5rem;
  align-items: start;
  margin: 5rem 0 0;
}

.why-section h2 {
  font-family: var(--font-serif);
  font-size: clamp(1.8rem, 3.5vw, 2.4rem);
  line-height: 1.2;
  position: sticky;
  top: 6rem;
  color: var(--ink);
}

.why-section h2 em {
  font-style: italic;
  color: var(--gold);
}

.why-section p.sub {
  color: var(--ink-muted);
  margin-top: 0.8rem;
  font-size: 0.98rem;
}

.why-list {
  display: flex;
  flex-direction: column;
}

.why-row {
  padding: 1.6rem 0;
}

.why-row + .why-row {
  border-top: 1px solid var(--line);
}

.why-row .icon-lead {
  font-size: 1.4rem;
  margin-bottom: 0.4rem;
}

.why-row h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 0.35rem;
  color: var(--ink);
}

.why-row p {
  color: var(--ink-secondary);
  font-size: 0.95rem;
  line-height: 1.55;
}

/* How Buying Works (3 Steps) */
.steps-section {
  margin-top: 5rem;
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 2rem;
}

.step-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 1.8rem 1.5rem;
  border-top: 4px solid var(--gold);
  position: relative;
}

.step-num {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--gold-light);
  color: var(--gold);
  font-weight: 700;
  font-size: 0.88rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}

.step-card h3 {
  font-size: 1.12rem;
  font-weight: 700;
  margin-bottom: 0.4rem;
  color: var(--ink);
}

.step-card p {
  color: var(--ink-secondary);
  font-size: 0.92rem;
  line-height: 1.55;
}

/* CTA Band Banner */
.cta-band {
  background: var(--ink);
  color: #fff;
  border-radius: var(--radius-lg);
  margin-top: 5rem;
  padding: 3.5rem 2rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-band::before {
  content: '';
  position: absolute;
  top: -50%;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 300px;
  background: radial-gradient(ellipse at center, rgba(184, 134, 11, 0.25), transparent 70%);
  pointer-events: none;
}

.cta-band h2 {
  font-family: var(--font-serif);
  font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  letter-spacing: -0.01em;
}

.cta-band p {
  color: #cbd5e1;
  margin: 0.8rem auto 1.8rem;
  max-width: 34rem;
  font-size: 1.02rem;
}

.cta-band .btn-group {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.cta-band .btn-gold {
  background: var(--gold);
  color: #fff;
  font-weight: 700;
  padding: 0.85rem 2rem;
  border-radius: var(--radius-sm);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: transform 0.15s ease, background-color 0.2s ease;
}

.cta-band .btn-gold:hover {
  background: var(--gold-hover);
  transform: translateY(-2px);
}

.cta-band .btn-whatsapp {
  background: #25D366;
  color: #082910;
  font-weight: 700;
  padding: 0.85rem 1.8rem;
  border-radius: var(--radius-sm);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: transform 0.15s ease, background-color 0.2s ease;
}

.cta-band .btn-whatsapp:hover {
  background: #1ebe5d;
  transform: translateY(-2px);
}

/* FAQ Section (Accordion like zoo.my) */
.faq-section {
  max-width: 50rem;
  margin: 5rem auto 0;
}

.faq-section h2 {
  font-family: var(--font-serif);
  font-size: 2rem;
  text-align: center;
  margin-bottom: 0.4rem;
}

.faq-section p.sub {
  text-align: center;
  color: var(--ink-muted);
  margin-bottom: 2.2rem;
}

.faq-list details {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  margin-bottom: 0.8rem;
  overflow: hidden;
  transition: border-color 0.2s ease;
}

.faq-list details[open] {
  border-color: var(--gold-border);
}

.faq-list summary {
  cursor: pointer;
  padding: 1.1rem 1.3rem;
  font-weight: 600;
  font-size: 1.02rem;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  color: var(--ink);
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary::after {
  content: '+';
  color: var(--gold);
  font-size: 1.4rem;
  font-weight: 400;
  flex-shrink: 0;
  transition: transform 0.2s ease;
}

.faq-list details[open] summary::after {
  transform: rotate(45deg);
}

.faq-list details[open] summary {
  border-bottom: 1px solid var(--line-subtle);
  background: var(--cream);
}

.faq-list .a {
  padding: 1.1rem 1.3rem 1.3rem;
  color: var(--ink-secondary);
  font-size: 0.95rem;
  line-height: 1.6;
}

.faq-list .a a {
  color: var(--gold);
  text-decoration: underline;
}

/* Footer (like zoo.my) */
footer.site-footer {
  border-top: 1px solid var(--line);
  margin-top: 5rem;
  background: var(--surface);
}

.foot-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 3rem 1.5rem 2.5rem;
  display: flex;
  gap: 3rem;
  flex-wrap: wrap;
  justify-content: space-between;
  color: var(--ink-muted);
  font-size: 0.88rem;
}

.foot-brand-col {
  max-width: 24rem;
}

.foot-brand {
  font-family: var(--font-brand);
  font-size: 1.8rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--ink);
  margin-bottom: 0.5rem;
}

.foot-brand span {
  color: var(--gold);
}

.foot-col {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  min-width: 140px;
}

.foot-col h4 {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--ink);
  margin-bottom: 0.4rem;
}

.foot-col a:hover {
  color: var(--gold);
}

.foot-legal {
  max-width: 1180px;
  margin: 0 auto;
  padding: 1.25rem 1.5rem 2rem;
  border-top: 1px solid var(--line-subtle);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  color: #9ca3af;
  font-size: 0.82rem;
}

/* ==========================================================================
   Domain Detail Modal (zoomed-in domain page like gas.my)
   ========================================================================== */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.7);
  backdrop-filter: blur(6px);
  z-index: 1000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  overflow-y: auto;
}

.modal-overlay.active {
  display: flex;
}

.modal-dialog {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  max-width: 860px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: var(--shadow-lg);
  position: relative;
  animation: modalPop 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes modalPop {
  from {
    opacity: 0;
    transform: scale(0.96) translateY(10px);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

.modal-close-btn {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: var(--ink-secondary);
  z-index: 10;
  transition: all 0.15s ease;
}

.modal-close-btn:hover {
  background: var(--ink);
  color: #fff;
  border-color: var(--ink);
}

.modal-header-hero {
  padding: 2.5rem 2rem 1.8rem;
  background: linear-gradient(to bottom, var(--cream), #fff);
  border-bottom: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 2rem;
}

.modal-hero-tile {
  width: 220px;
  aspect-ratio: 16 / 10;
  border-radius: var(--radius-md);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: #f8fafc;
  border: 2px solid var(--line);
  box-shadow: var(--shadow-sm);
  position: relative;
  flex-shrink: 0;
}

.modal-hero-tile .icon {
  font-size: 2.8rem;
  margin-bottom: 0.2rem;
}

.modal-hero-tile .dname {
  font-family: var(--font-brand);
  font-size: 1.4rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.modal-hero-tile .dname span {
  color: var(--gold);
}

.modal-header-info {
  flex: 1;
  min-width: 280px;
}

.modal-cat-tag {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--ink-muted);
  margin-bottom: 0.4rem;
}

.modal-domain-title {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.1;
  color: var(--ink);
  margin-bottom: 0.5rem;
}

.modal-price-row {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  margin: 0.6rem 0 1.2rem;
}

.modal-price-strike-wrap {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.modal-price-old {
  font-size: 1.15rem;
  color: #9ca3af;
  text-decoration: line-through;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}

.modal-discount-badge {
  font-size: 0.72rem;
  font-weight: 700;
  color: #b91c1c;
  background: #fee2e2;
  border: 1px solid #fecaca;
  padding: 0.15rem 0.5rem;
  border-radius: 4px;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.modal-price-main-wrap {
  display: flex;
  align-items: baseline;
  gap: 0.6rem;
  flex-wrap: wrap;
}

.modal-price-val {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--gold);
  font-variant-numeric: tabular-nums;
  line-height: 1.1;
}

.modal-price-lbl {
  font-size: 0.85rem;
  color: var(--ink-muted);
  font-weight: 500;
}

.modal-action-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.btn-whatsapp-offer {
  background: #25D366;
  color: #0b2912;
  font-weight: 700;
  font-size: 0.95rem;
  padding: 0.7rem 1.4rem;
  border-radius: var(--radius-sm);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border: none;
  cursor: pointer;
  transition: all 0.15s ease;
}

.btn-whatsapp-offer:hover {
  background: #1ebe5d;
  transform: translateY(-1px);
}

.btn-make-offer {
  background: var(--ink);
  color: #fff;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.7rem 1.3rem;
  border-radius: var(--radius-sm);
  border: none;
  cursor: pointer;
  transition: all 0.15s ease;
}

.btn-make-offer:hover {
  background: #333;
}

.btn-copy-domain {
  background: var(--surface);
  color: var(--ink);
  border: 1px solid var(--line);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.7rem 1.1rem;
  border-radius: var(--radius-sm);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  transition: all 0.15s ease;
}

.btn-copy-domain:hover {
  background: var(--cream);
  border-color: var(--gold);
}

/* 4 Strength Badges in Modal */
.modal-body {
  padding: 1.8rem 2rem 2.5rem;
}

.modal-strengths-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 0.85rem;
  margin-bottom: 1.8rem;
}

.modal-strength-card {
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 0.9rem 0.8rem;
  text-align: center;
}

.modal-strength-card .emoji {
  font-size: 1.4rem;
  margin-bottom: 0.25rem;
}

.modal-strength-card .title {
  font-weight: 700;
  font-size: 0.86rem;
  color: var(--ink);
  margin-bottom: 0.15rem;
}

.modal-strength-card .desc {
  font-size: 0.76rem;
  color: var(--ink-muted);
  line-height: 1.35;
}

/* Why Box in Modal */
.modal-why-box {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  margin-bottom: 1.8rem;
}

.modal-why-box h3 {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  font-weight: 700;
  margin-bottom: 0.6rem;
  color: var(--ink);
}

.modal-why-box p {
  font-size: 0.95rem;
  color: var(--ink-secondary);
  line-height: 1.6;
  margin-bottom: 0.8rem;
}

.modal-why-box p.en-translation {
  border-top: 1px dashed var(--line);
  padding-top: 0.8rem;
  color: #64748b;
  font-style: italic;
  font-size: 0.9rem;
}

.modal-target-buyers {
  margin-top: 1.2rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line-subtle);
}

.modal-target-buyers h4 {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--ink-muted);
  margin-bottom: 0.5rem;
}

.buyer-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.buyer-chip {
  background: var(--cream);
  border: 1px solid var(--line);
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--ink-secondary);
}

/* Modal Enquiry Form */
.modal-enquiry-box {
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 1.6rem;
  margin-bottom: 1.5rem;
}

.modal-enquiry-box h3 {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  margin-bottom: 0.2rem;
}

.modal-enquiry-box p.sub {
  font-size: 0.86rem;
  color: var(--ink-muted);
  margin-bottom: 1.2rem;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.9rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.form-group.full {
  grid-column: 1 / -1;
}

.form-group label {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--ink-secondary);
}

.form-group input, .form-group textarea {
  padding: 0.65rem 0.8rem;
  border: 1px solid #d5cec0;
  border-radius: var(--radius-sm);
  background: #fff;
  font-size: 0.92rem;
  color: var(--ink);
  outline: none;
}

.form-group input:focus, .form-group textarea:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(184, 134, 11, 0.12);
}

.form-submit-row {
  margin-top: 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.btn-submit-enquiry {
  background: var(--ink);
  color: #fff;
  border: 0;
  border-radius: var(--radius-sm);
  padding: 0.75rem 1.6rem;
  font-weight: 700;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.btn-submit-enquiry:hover {
  background: #333;
}

.modal-mynic-notice {
  background: var(--gold-light);
  border: 1px solid var(--gold-border);
  border-radius: var(--radius-sm);
  padding: 0.9rem 1.1rem;
  font-size: 0.86rem;
  color: #785404;
  line-height: 1.5;
}

/* Shortlist Drawer Modal */
.drawer-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.6);
  backdrop-filter: blur(4px);
  z-index: 1100;
  display: none;
  justify-content: flex-end;
}

.drawer-overlay.active {
  display: flex;
}

.drawer-panel {
  width: 100%;
  max-width: 440px;
  background: var(--surface);
  height: 100%;
  box-shadow: var(--shadow-lg);
  display: flex;
  flex-direction: column;
  animation: slideInRight 0.25s ease-out;
}

@keyframes slideInRight {
  from { transform: translateX(100%); }
  to { transform: translateX(0); }
}

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

.drawer-header h3 {
  font-family: var(--font-serif);
  font-size: 1.3rem;
}

.drawer-content {
  flex: 1;
  overflow-y: auto;
  padding: 1.25rem 1.5rem;
}

.drawer-empty {
  text-align: center;
  padding: 3rem 1rem;
  color: var(--ink-muted);
}

.drawer-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.8rem 0;
  border-bottom: 1px solid var(--line-subtle);
}

.drawer-item .name {
  font-weight: 700;
  font-size: 1rem;
}

.drawer-item .price {
  color: var(--gold);
  font-weight: 700;
  font-size: 0.95rem;
}

.drawer-item .remove-btn {
  background: none;
  border: none;
  color: #ef4444;
  cursor: pointer;
  font-size: 0.85rem;
}

.drawer-footer {
  padding: 1.25rem 1.5rem;
  border-top: 1px solid var(--line);
  background: var(--cream);
}

.btn-drawer-whatsapp {
  width: 100%;
  background: #25D366;
  color: #0b2912;
  font-weight: 700;
  border: 0;
  padding: 0.85rem;
  border-radius: var(--radius-sm);
  cursor: pointer;
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

/* Toast Notification */
.toast-notice {
  position: fixed;
  bottom: 24px;
  right: 24px;
  background: var(--ink);
  color: #fff;
  padding: 0.8rem 1.3rem;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-lg);
  font-size: 0.9rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  z-index: 2000;
  opacity: 0;
  transform: translateY(12px);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: none;
}

.toast-notice.show {
  opacity: 1;
  transform: translateY(0);
}

/* Mobile App-Style Bottom Navigation Bar (Hidden on Desktop) */
.mobile-bottom-bar {
  display: none;
}

/* ==========================================================================
   Responsive Mobile Overhaul (State-of-the-Art Mobile Experience)
   ========================================================================== */

@media (max-width: 840px) {
  /* Body & Container Spacing */
  body {
    padding-bottom: calc(75px + env(safe-area-inset-bottom, 0px));
  }

  .container {
    padding: 0 1rem;
  }

  /* 1. Sleek Compact Header */
  .site-header {
    position: sticky;
    top: 0;
    z-index: 990;
    background: rgba(15, 23, 42, 0.96);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }

  .header-inner {
    height: 56px;
    padding: 0;
    flex-wrap: nowrap;
    justify-content: space-between;
    align-items: center;
  }

  .site-brand {
    font-size: 1.65rem;
  }

  .site-brand span {
    font-size: 0.65em;
  }

  .site-nav {
    display: none; /* Replaced by bottom dock bar */
  }

  /* Hide redundant header buttons on mobile since they exist in the bottom dock */
  .header-actions .shortlist-badge-btn,
  .header-actions .nav-cta-btn {
    display: none !important;
  }

  .lang-toggle-btn {
    padding: 0.28rem 0.65rem;
    font-size: 0.78rem;
  }

  /* Top Notice Bar */
  .top-notice-bar {
    font-size: 0.72rem;
    padding: 0.4rem 0.75rem;
    line-height: 1.35;
  }

  /* 2. Hero Section */
  .hero {
    padding: 2rem 0 1.5rem;
  }

  .hero-pill {
    font-size: 0.72rem;
    padding: 0.25rem 0.75rem;
    max-width: 100%;
    margin-bottom: 0.75rem;
    line-height: 1.3;
  }

  .hero-brand-name {
    font-size: 2.2rem;
    margin-bottom: 0.5rem;
  }

  .hero h1 {
    font-size: clamp(1.75rem, 7.5vw, 2.35rem);
    line-height: 1.2;
    padding: 0 0.25rem;
  }

  .hero p.lead {
    font-size: 0.92rem;
    line-height: 1.5;
    margin-top: 0.85rem;
    padding: 0 0.25rem;
  }

  /* Search Bar */
  .search-wrapper {
    margin: 1.5rem auto 0;
    max-width: 100%;
  }

  .searchbar {
    border-radius: var(--radius-full);
    padding: 0.25rem 0.4rem 0.25rem 0.85rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
  }

  .searchbar input {
    font-size: 0.92rem;
    padding: 0.65rem 0.4rem;
  }

  .searchbar button.search-submit {
    padding: 0.65rem 1.25rem;
    font-size: 0.88rem;
    border-radius: var(--radius-full);
  }

  /* 3. Category Filter Chips (Smooth Native Swipe Rail) */
  .chips-container {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    margin: 1rem -1rem 0;
    padding: 0.25rem 1rem 0.6rem;
  }

  .chips-container::-webkit-scrollbar {
    display: none;
  }

  .chips {
    display: flex;
    flex-wrap: nowrap;
    justify-content: flex-start;
    width: max-content;
    gap: 0.45rem;
  }

  .chip {
    white-space: nowrap;
    flex-shrink: 0;
    font-size: 0.78rem;
    padding: 0.4rem 0.8rem;
    border-radius: var(--radius-full);
  }

  /* 4. Featured Section & Carousel */
  #featured {
    margin-top: 2rem;
  }

  .carousel {
    margin: 0 -1rem 2rem;
    padding: 0.5rem 1rem;
    mask-image: none;
  }

  .carousel-track .dcard {
    width: 235px !important;
  }

  /* 5. Catalog Section & Header */
  #catalog {
    margin-top: 1rem;
  }

  .section-head {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.45rem;
    margin-bottom: 1.25rem;
  }

  .section-head h2 {
    font-size: 1.45rem;
  }

  .results-count-text {
    font-size: 0.8rem;
    background: var(--cream);
    border: 1px solid var(--line);
    padding: 0.2rem 0.65rem;
    border-radius: var(--radius-full);
    display: inline-block;
  }

  /* Filter Toolbar */
  .filter-toolbar {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    padding: 0.75rem;
    margin: 0 0 1.25rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
  }

  .toolbar-left {
    display: flex;
    align-items: center;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    flex-wrap: nowrap;
    gap: 0.4rem;
    margin: 0 -0.25rem;
    padding: 0.2rem 0.25rem;
  }

  .toolbar-left::-webkit-scrollbar {
    display: none;
  }

  .toolbar-label {
    white-space: nowrap;
    flex-shrink: 0;
    font-size: 0.72rem;
    margin-right: 0.2rem;
  }

  .tag-filter-btn {
    white-space: nowrap;
    flex-shrink: 0;
    font-size: 0.76rem;
    padding: 0.35rem 0.65rem;
  }

  .toolbar-right {
    width: 100%;
  }

  .sort-select {
    width: 100%;
    padding: 0.55rem 0.75rem;
    font-size: 0.85rem;
    border-radius: var(--radius-sm);
  }

  /* 6. Domain Cards Grid */
  .grid {
    grid-template-columns: 1fr;
    gap: 1.15rem;
  }

  .dcard {
    border-radius: var(--radius-md);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  }

  .dcard .tile-card {
    padding: 1.4rem 1rem 1.15rem;
  }

  .dcard .tile-icon {
    font-size: 2.2rem;
    margin-bottom: 0.2rem;
  }

  .dcard .tile-domain-name {
    font-size: 1.35rem;
    padding: 0 0.5rem;
  }

  .dcard .body {
    padding: 1rem 1.1rem;
  }

  .dcard .dtitle {
    font-size: 1.15rem;
  }

  .dcard .dheadline {
    font-size: 0.85rem;
    line-height: 1.45;
  }

  /* 7. Stats Strip (Modern 2x2 Grid) */
  .stat-strip {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
    margin: 3rem 0 0;
    background: transparent;
    border: none;
    padding: 0;
  }

  .stat-strip .stat-item {
    max-width: 100%;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    padding: 1.1rem 0.75rem;
    text-align: center;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.03);
  }

  .stat-strip .stat-item + .stat-item {
    border-left: 1px solid var(--line);
    border-top: 1px solid var(--line);
  }

  .stat-strip .n {
    font-size: 1.75rem;
  }

  .stat-strip .l {
    font-size: 0.72rem;
    margin-top: 0.25rem;
    line-height: 1.35;
  }

  /* 8. "Kenapa .MY?" Section */
  .why-section {
    grid-template-columns: 1fr;
    gap: 1.75rem;
    margin: 3rem 0 0;
  }

  .why-section h2 {
    font-size: 1.6rem;
    position: static;
  }

  .why-list {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
  }

  .why-row {
    padding: 1.15rem;
    border-radius: var(--radius-md);
  }

  .why-row h3 {
    font-size: 1.02rem;
  }

  .why-row p {
    font-size: 0.85rem;
    line-height: 1.5;
  }

  /* 9. "3 Langkah Mudah" (Steps) Section */
  .steps-section {
    margin: 3rem 0 0;
  }

  .steps-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
    margin-top: 1.25rem;
  }

  .step-card {
    padding: 1.25rem 1.1rem;
    border-radius: var(--radius-md);
  }

  .step-card .step-num {
    width: 36px;
    height: 36px;
    font-size: 1.1rem;
    margin-bottom: 0.75rem;
  }

  .step-card h3 {
    font-size: 1.05rem;
  }

  .step-card p {
    font-size: 0.85rem;
    line-height: 1.5;
  }

  /* 10. FAQ Section */
  .faq-section {
    margin: 3rem 0 0;
  }

  .faq-section h2 {
    font-size: 1.6rem;
  }

  .faq-item summary {
    padding: 0.95rem 1rem;
    font-size: 0.92rem;
  }

  .faq-answer {
    padding: 0 1rem 1rem;
    font-size: 0.86rem;
    line-height: 1.55;
  }

  /* 11. Footer Section */
  footer.site-footer {
    margin-top: 4rem;
    padding: 3rem 0 calc(95px + env(safe-area-inset-bottom, 0px));
  }

  .foot-inner {
    flex-direction: column;
    gap: 2rem;
  }

  .foot-brand p {
    max-width: 100%;
    font-size: 0.85rem;
  }

  .foot-col h4 {
    font-size: 0.82rem;
    margin-bottom: 0.75rem;
  }

  .foot-col a {
    font-size: 0.88rem;
    padding: 0.25rem 0;
    display: inline-block;
  }

  .foot-legal {
    flex-direction: column;
    gap: 0.6rem;
    text-align: center;
    font-size: 0.75rem;
    padding-top: 1.5rem;
  }

  /* 12. Modal Overlay & Mobile Bottom Sheet */
  .modal-overlay {
    z-index: 1200; /* Strictly above the bottom bar */
    padding: 0;
    align-items: flex-end;
  }

  .modal-content {
    max-height: 92vh;
    border-radius: 24px 24px 0 0;
    padding: 1.5rem 1.25rem calc(2.5rem + env(safe-area-inset-bottom, 0px));
    width: 100%;
    max-width: 100%;
    margin: 0;
  }

  .modal-close-btn {
    top: 1rem;
    right: 1rem;
    width: 36px;
    height: 36px;
    font-size: 1.1rem;
    z-index: 10;
  }

  .modal-header-hero {
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 1.5rem;
  }

  .modal-hero-tile {
    width: 100%;
    min-height: 140px;
    border-radius: var(--radius-md);
  }

  .modal-hero-name {
    font-size: 1.75rem;
  }

  .modal-info-right h2.domain-title {
    font-size: 1.5rem;
  }

  .modal-action-row {
    flex-direction: column;
    gap: 0.65rem;
  }

  .modal-btn-wa, .modal-btn-copy, .btn-enquiry-toggle {
    width: 100%;
    justify-content: center;
    padding: 0.85rem 1rem;
    font-size: 0.92rem;
  }

  .modal-strengths-grid {
    grid-template-columns: 1fr;
    gap: 0.6rem;
  }

  .modal-research-table {
    font-size: 0.82rem;
  }

  .modal-research-table td {
    padding: 0.6rem 0.5rem;
  }

  .modal-mynic-notice {
    font-size: 0.8rem;
    line-height: 1.45;
    padding: 0.85rem 1rem;
  }

  .form-grid {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }

  /* 13. Shortlist Drawer */
  .drawer-overlay {
    z-index: 1200; /* Strictly above the bottom bar */
  }

  .drawer-panel {
    width: 100%;
    max-width: 100%;
    padding-bottom: calc(2rem + env(safe-area-inset-bottom, 0px));
  }

  /* 14. Mobile App-Style Bottom Dock Bar */
  .mobile-bottom-bar {
    display: flex;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: 62px;
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-top: 1px solid rgba(0, 0, 0, 0.08);
    z-index: 1000;
    align-items: center;
    justify-content: space-around;
    padding: 0 0.5rem env(safe-area-inset-bottom, 0px);
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.08);
  }

  .mobile-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: none;
    text-decoration: none;
    color: var(--ink-secondary);
    font-size: 0.64rem;
    font-weight: 600;
    gap: 0.15rem;
    padding: 0.35rem 0.2rem;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.15s ease;
    flex: 1;
    max-width: 68px;
    -webkit-tap-highlight-color: transparent;
  }

  .mobile-nav-item .nav-icon {
    font-size: 1.25rem;
    line-height: 1;
    position: relative;
    display: inline-block;
  }

  .mobile-nav-item .mobile-badge {
    position: absolute;
    top: -4px;
    right: -8px;
    background: #dc2626;
    color: #fff;
    font-size: 0.58rem;
    font-weight: 700;
    padding: 1px 4px;
    border-radius: 999px;
    min-width: 14px;
    text-align: center;
    line-height: 1.2;
    display: none;
  }

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

  .mobile-nav-item.mobile-nav-wa {
    color: #15803d;
  }

  .mobile-nav-item.mobile-nav-wa .nav-icon {
    color: #25D366;
  }
}

