/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: #fff;
  color: #111827;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }

/* ===== VARIABLES ===== */
:root {
  --orange: #f97316;
  --orange-hover: #ea6c0a;
  --orange-light: #fff7ed;
  --orange-mid: #fed7aa;
  --border: #e5e7eb;
  --border-dark: #d1d5db;
  --muted: #6b7280;
  --surface: #f9fafb;
  --text: #111827;
}

/* ===== LAYOUT ===== */
.container { max-width: 1120px; margin: 0 auto; padding: 0 1.5rem; }

/* ===== NAVBAR ===== */
.navbar {
  position: sticky; top: 0; z-index: 200;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 64px; max-width: 1120px; margin: 0 auto; padding: 0 1.5rem;
}
.nav-logo {
  font-size: 18px; font-weight: 800; letter-spacing: -0.5px; color: var(--text);
}
.nav-logo::after { content: '.'; color: var(--orange); }
.nav-right { display: flex; gap: 1.5rem; align-items: center; }
.nav-link { font-size: 14px; font-weight: 500; color: var(--muted); transition: color 0.15s; }
.nav-link:hover { color: var(--orange); }

/* ===== HERO ===== */
.hero {
  padding: 80px 0 64px;
  background: linear-gradient(180deg, #fff7ed 0%, #ffffff 70%);
  text-align: center;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 5px 16px; border-radius: 99px;
  border: 1px solid var(--orange-mid); background: var(--orange-light);
  color: var(--orange); font-size: 13px; font-weight: 600;
  margin-bottom: 1.5rem; letter-spacing: 0.3px;
}
.hero-title {
  font-size: clamp(30px, 5vw, 52px); font-weight: 800;
  letter-spacing: -2px; line-height: 1.1; margin-bottom: 1rem;
}
.hero-title .accent { color: var(--orange); }
.hero-sub {
  font-size: 17px; color: var(--muted); max-width: 560px;
  margin: 0 auto 2.5rem; line-height: 1.65;
}
.hero-stats {
  display: inline-flex; align-items: center; gap: 0;
  border: 1px solid var(--border); border-radius: 14px;
  background: #fff; overflow: hidden;
}
.stat { padding: 18px 36px; text-align: center; }
.stat-divider { width: 1px; height: 40px; background: var(--border); }
.stat-num { font-size: 26px; font-weight: 800; color: var(--text); letter-spacing: -1px; }
.stat-label { font-size: 12px; color: var(--muted); margin-top: 2px; font-weight: 500; }

/* ===== FILTER ===== */
.filter-section { padding: 1.75rem 0 0; border-bottom: 1px solid var(--border); }
.filter-form { display: flex; gap: 10px; margin-bottom: 1rem; }
.search-wrap {
  position: relative; flex: 1; max-width: 420px;
}
.search-icon {
  position: absolute; left: 13px; top: 50%; transform: translateY(-50%);
  color: var(--muted); pointer-events: none;
}
.search-input {
  width: 100%; padding: 10px 40px 10px 38px;
  border: 1px solid var(--border); border-radius: 9px;
  font-size: 14px; font-family: inherit; color: var(--text);
  background: var(--surface); outline: none; transition: border-color 0.15s, box-shadow 0.15s;
}
.search-input:focus {
  border-color: var(--orange);
  box-shadow: 0 0 0 3px rgba(249,115,22,0.12);
  background: #fff;
}
.search-clear {
  position: absolute; right: 12px; top: 50%; transform: translateY(-50%);
  color: var(--muted); font-size: 14px; cursor: pointer;
}
.search-clear:hover { color: var(--text); }
.tag-pills { display: flex; flex-wrap: nowrap; gap: 8px; padding-bottom: 1rem; overflow-x: auto; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
.tag-pills::-webkit-scrollbar { display: none; }
.pill {
  padding: 5px 14px; border-radius: 99px;
  border: 1px solid var(--border); background: #fff;
  font-size: 13px; font-weight: 500; color: var(--muted);
  cursor: pointer; transition: all 0.13s;
}
.pill:hover { border-color: var(--orange); color: var(--orange); }
.pill.active { background: var(--orange); color: #fff; border-color: var(--orange); }

/* ===== DOMAIN GRID ===== */
.domains-section { padding: 2.5rem 0 3rem; }
.domain-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin-bottom: 1.5rem;
}
@media (max-width: 900px) { .domain-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 580px) { .domain-grid { grid-template-columns: 1fr; } }

.result-count { font-size: 13px; color: var(--muted); text-align: right; }

/* ===== DOMAIN CARD ===== */
.dcard {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 1.4rem;
  display: flex; flex-direction: column; gap: 0.65rem;
  transition: box-shadow 0.18s, border-color 0.18s, transform 0.15s;
}
.dcard:hover {
  box-shadow: 0 6px 24px rgba(249,115,22,0.1);
  border-color: var(--orange-mid);
  transform: translateY(-2px);
}
.dcard-top { display: flex; align-items: flex-start; justify-content: space-between; }
.dcard-icon {
  width: 44px; height: 44px; border-radius: 10px;
  background: var(--orange-light); border: 1px solid var(--orange-mid);
  display: flex; align-items: center; justify-content: center;
  font-size: 22px; flex-shrink: 0;
}
.badge {
  font-size: 11px; font-weight: 600; padding: 3px 10px;
  border-radius: 99px; letter-spacing: 0.3px;
}
.badge-sale    { background: #dcfce7; color: #15803d; }
.badge-dev     { background: #fef9c3; color: #a16207; }
.badge-parked  { background: #f3f4f6; color: #6b7280; }
.badge-sold    { background: #fee2e2; color: #dc2626; }

.dcard-name {
  font-size: 18px; font-weight: 700; color: var(--text);
  letter-spacing: -0.4px; line-height: 1.2;
}
.dcard-name a { color: inherit; transition: color 0.13s; }
.dcard-name a:hover { color: var(--orange); }

.dcard-desc {
  font-size: 14px; color: var(--muted); line-height: 1.6;
  flex: 1;
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}

.dcard-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.dtag {
  padding: 3px 10px; border-radius: 6px;
  background: var(--orange-light); color: var(--orange);
  font-size: 12px; font-weight: 500;
  transition: background 0.12s;
}
.dtag:hover { background: var(--orange-mid); }

.dcard-footer {
  display: flex; align-items: center; justify-content: space-between;
  padding-top: 0.85rem; border-top: 1px solid var(--border);
  margin-top: auto;
}
.dcard-price { font-size: 16px; font-weight: 700; color: var(--text); }
.dcard-price span { font-size: 12px; font-weight: 400; color: var(--muted); margin-left: 2px; }
.make-offer { font-size: 13px; font-weight: 500; color: var(--muted); }

.btn-inquire {
  font-size: 13px; font-weight: 600; color: var(--orange);
  padding: 6px 14px; border: 1px solid var(--orange-mid);
  border-radius: 8px; background: var(--orange-light);
  transition: all 0.13s;
}
.btn-inquire:hover { background: var(--orange); color: #fff; border-color: var(--orange); }

/* ===== EMPTY STATE ===== */
.empty-state { text-align: center; padding: 5rem 2rem; color: var(--muted); }
.empty-icon { font-size: 52px; margin-bottom: 1rem; opacity: 0.4; }
.empty-state p { font-size: 16px; }

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 10px 20px; border-radius: 9px;
  font-size: 14px; font-weight: 600; cursor: pointer;
  border: 1px solid var(--border); background: #fff;
  color: var(--text); font-family: inherit; transition: all 0.14s;
}
.btn:hover { background: var(--surface); }
.btn-orange { background: var(--orange); color: #fff; border-color: var(--orange); }
.btn-orange:hover { background: var(--orange-hover); border-color: var(--orange-hover); }
.btn-outline { border-color: var(--border-dark); color: var(--text); }
.btn-outline:hover { border-color: var(--orange); color: var(--orange); }

/* ===== ABOUT SECTION ===== */
.about-section {
  background: var(--surface);
  border-top: 1px solid var(--border);
  padding: 5rem 0;
}
.section-label {
  font-size: 12px; font-weight: 700; letter-spacing: 1.5px;
  text-transform: uppercase; color: var(--orange);
  margin-bottom: 0.75rem;
}
.about-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: start;
}
@media (max-width: 768px) { .about-grid { grid-template-columns: 1fr; gap: 2.5rem; } }
.about-title { font-size: 32px; font-weight: 800; letter-spacing: -1px; margin-bottom: 1rem; line-height: 1.2; }
.about-text { font-size: 15px; color: var(--muted); line-height: 1.75; margin-bottom: 1.5rem; }
.about-links { display: flex; flex-direction: column; gap: 10px; }
.about-link {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 14px; font-weight: 500; color: var(--muted);
  transition: color 0.13s;
}
.about-link:hover { color: var(--orange); }
.about-link svg { flex-shrink: 0; }
.about-right { display: flex; flex-direction: column; gap: 1rem; }
.about-card {
  background: #fff; border: 1px solid var(--border);
  border-radius: 14px; padding: 1.5rem;
}
.about-card-icon { font-size: 28px; margin-bottom: 0.75rem; }
.about-card h3 { font-size: 16px; font-weight: 700; margin-bottom: 0.5rem; }
.about-card p { font-size: 14px; color: var(--muted); line-height: 1.6; margin-bottom: 1rem; }

/* ===== FOOTER ===== */
.footer { background: var(--text); color: rgba(255,255,255,0.7); padding: 2.5rem 0 1.5rem; }
.footer-inner {
  display: flex; justify-content: space-between; align-items: flex-start;
  padding-bottom: 2rem; border-bottom: 1px solid rgba(255,255,255,0.1);
  gap: 2rem; flex-wrap: wrap;
}
.footer-brand .nav-logo { color: #fff; margin-bottom: 0.5rem; }
.footer-brand p { font-size: 14px; color: rgba(255,255,255,0.5); max-width: 260px; }
.footer-links { display: flex; gap: 1.5rem; align-items: center; flex-wrap: wrap; }
.footer-links a { font-size: 14px; color: rgba(255,255,255,0.6); transition: color 0.13s; }
.footer-links a:hover { color: var(--orange); }
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 1.25rem; font-size: 13px; color: rgba(255,255,255,0.35);
  flex-wrap: wrap; gap: 0.5rem;
}
