/* =============================================
   DomainValue.xyz — Stylesheet
   ============================================= */

:root {
  --red:      #E8303A;
  --red-d:    #C8252E;
  --red-glow: rgba(232,48,58,.15);
  --green:    #22C55E;
  --amber:    #F59E0B;
  --blue:     #3B82F6;
  --bg:       #0D0D12;
  --bg2:      #141419;
  --bg3:      #1C1C24;
  --bg4:      #22222C;
  --border:   #282834;
  --text:     #EDEDF4;
  --muted:    #7B7B9A;
  --r:        12px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 14px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { text-decoration: none; color: inherit; }
button { font-family: inherit; cursor: pointer; }

/* ── NAV ── */
.nav {
  position: sticky; top: 0; z-index: 200;
  background: rgba(13,13,18,.9);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  max-width: 1060px; margin: 0 auto; padding: 0 20px;
  height: 56px; display: flex; align-items: center; justify-content: space-between;
}
.logo {
  display: flex; align-items: center; gap: 9px;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700; font-size: 17px; color: var(--text);
}
.nav-links { display: flex; align-items: center; gap: 2px; }
.nav-links a {
  color: var(--muted); padding: 6px 12px; border-radius: 8px;
  font-size: 13px; font-weight: 500; transition: color .15s, background .15s;
}
.nav-links a:hover { color: var(--text); background: var(--bg3); }
.nav-api {
  border: 1px solid var(--border) !important;
  color: var(--text) !important;
  margin-left: 4px;
}
.nav-api:hover { border-color: var(--red) !important; color: var(--red) !important; background: transparent !important; }

/* ── HERO ── */
.hero {
  position: relative; overflow: hidden;
  padding: 76px 20px 64px; text-align: center;
}
.hero-bg-grid {
  position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(232,48,58,.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(232,48,58,.04) 1px, transparent 1px);
  background-size: 40px 40px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, black 30%, transparent 100%);
}
.hero::after {
  content: ''; position: absolute; top: -60px; left: 50%; transform: translateX(-50%);
  width: 500px; height: 500px;
  background: radial-gradient(ellipse, var(--red-glow) 0%, transparent 70%);
  pointer-events: none;
}
.hero-inner { position: relative; z-index: 1; max-width: 660px; margin: 0 auto; }

.hero-pill {
  display: inline-flex; align-items: center; gap: 7px;
  background: rgba(232,48,58,.08); border: 1px solid rgba(232,48,58,.2);
  color: #FF6B73; font-size: 12px; font-weight: 600;
  padding: 5px 14px; border-radius: 20px; margin-bottom: 24px;
  text-transform: uppercase; letter-spacing: .06em;
}
.hero-pill-dot {
  width: 7px; height: 7px; border-radius: 50%; background: var(--red);
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse { 0%,100%{opacity:1;transform:scale(1)} 50%{opacity:.4;transform:scale(.75)} }

.hero h1 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(36px, 7vw, 60px);
  font-weight: 700; line-height: 1.06;
  letter-spacing: -.03em; margin-bottom: 18px;
}
.hero h1 em { color: var(--red); font-style: normal; }
.hero p { font-size: 16px; color: var(--muted); max-width: 480px; margin: 0 auto 36px; }

/* ── SEARCH BOX ── */
.search-box {
  display: flex; max-width: 580px; margin: 0 auto 14px;
  background: var(--bg2); border: 1.5px solid var(--border);
  border-radius: 14px; overflow: hidden;
  transition: border-color .2s, box-shadow .2s;
}
.search-box:focus-within {
  border-color: var(--red);
  box-shadow: 0 0 0 4px var(--red-glow);
}
.search-input-wrap { flex: 1; display: flex; align-items: center; gap: 0; }
.search-globe { margin-left: 16px; color: var(--muted); flex-shrink: 0; }
#domainInput, #domainInput2 {
  flex: 1; background: transparent; border: none; outline: none;
  font-size: 16px; color: var(--text);
  font-family: 'Space Grotesk', sans-serif; font-weight: 500;
  padding: 14px 10px;
}
#domainInput::placeholder, #domainInput2::placeholder { color: var(--muted); }
.search-clear {
  background: none; border: none; color: var(--muted);
  padding: 0 12px; font-size: 14px; transition: color .15s;
}
.search-clear:hover { color: var(--text); }
.appraise-btn {
  background: var(--red); color: #fff; border: none;
  padding: 0 26px; font-size: 14px; font-weight: 700;
  display: flex; align-items: center; gap: 8px;
  transition: background .2s; font-family: 'Space Grotesk', sans-serif;
  white-space: nowrap;
}
.appraise-btn:hover { background: var(--red-d); }
.appraise-btn:disabled { opacity: .5; pointer-events: none; }

.hero-examples { font-size: 13px; color: var(--muted); }
.hero-examples button {
  background: none; border: none; color: var(--red);
  font-size: 13px; padding: 0 5px; font-family: 'Space Grotesk', sans-serif;
  transition: opacity .15s;
}
.hero-examples button:hover { opacity: .75; }

/* ── TRUST BAR ── */
.trust-bar {
  background: var(--bg2); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
}
.trust-inner {
  max-width: 1060px; margin: 0 auto; padding: 0 20px;
  display: flex; align-items: center; justify-content: center; gap: 0;
}
.trust-stat {
  flex: 1; max-width: 200px;
  display: flex; flex-direction: column; align-items: center;
  padding: 18px 16px;
}
.ts-num {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 24px; font-weight: 700; color: var(--text);
}
.ts-lbl { font-size: 11px; color: var(--muted); text-transform: uppercase; letter-spacing: .07em; margin-top: 2px; }
.trust-divider { width: 1px; height: 40px; background: var(--border); }

/* ── LOADING ── */
.loading-wrap {
  display: none; padding: 40px 20px; max-width: 500px; margin: 0 auto;
}
.loading-wrap.visible { display: block; }
.loading-card {
  background: var(--bg2); border: 1px solid var(--border);
  border-radius: 16px; padding: 28px;
}
.lc-domain {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 22px; font-weight: 700; text-align: center;
  color: var(--red); margin-bottom: 20px;
}
.lc-bar-wrap {
  height: 4px; background: var(--bg3); border-radius: 2px;
  overflow: hidden; margin-bottom: 20px;
}
.lc-bar-fill {
  height: 100%; width: 0; border-radius: 2px;
  background: linear-gradient(90deg, var(--red), #FF6B73);
  transition: width .4s ease;
}
.lc-steps { display: flex; flex-direction: column; gap: 8px; }
.lc-step { font-size: 13px; color: var(--muted); transition: color .25s; }
.lc-step.active { color: var(--text); font-weight: 600; }
.lc-step.done { color: var(--green); }
.lc-step.done::before { content: '✓ '; }

/* ── RESULT WRAP ── */
.result-wrap { display: none; padding: 32px 0 60px; }
.result-wrap.visible { display: block; }
.result-container { max-width: 1060px; margin: 0 auto; padding: 0 20px; }

.result-header {
  display: flex; align-items: flex-start; justify-content: space-between;
  flex-wrap: wrap; gap: 12px; margin-bottom: 20px;
}
.rh-eyebrow { font-size: 11px; text-transform: uppercase; letter-spacing: .09em; color: var(--muted); margin-bottom: 4px; }
.rh-domain {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 26px; font-weight: 700; color: var(--text); margin-bottom: 8px;
}
.rh-tags { display: flex; gap: 7px; flex-wrap: wrap; }
.tag {
  font-size: 11px; font-weight: 700; padding: 3px 10px;
  border-radius: 20px; text-transform: uppercase; letter-spacing: .05em;
}
.tag-green { background: rgba(34,197,94,.1); color: var(--green); border: 1px solid rgba(34,197,94,.22); }
.tag-red   { background: rgba(232,48,58,.1); color: #FF6B73; border: 1px solid rgba(232,48,58,.22); }
.tag-blue  { background: rgba(59,130,246,.1); color: var(--blue); border: 1px solid rgba(59,130,246,.22); }
.tag-amber { background: rgba(245,158,11,.1); color: var(--amber); border: 1px solid rgba(245,158,11,.22); }
.rh-right { display: flex; gap: 8px; }
.ghost-btn {
  background: var(--bg3); border: 1px solid var(--border); color: var(--text);
  padding: 7px 14px; border-radius: 8px; font-size: 13px; font-weight: 500;
  transition: border-color .15s, color .15s;
}
.ghost-btn:hover { border-color: var(--red); color: var(--red); }

/* ── TOP ROW ── */
.top-row { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 14px; margin-bottom: 14px; }

/* BIN CARD */
.bin-card {
  background: var(--bg2); border: 1px solid var(--border);
  border-radius: var(--r); padding: 24px;
}
.bin-label { font-size: 11px; text-transform: uppercase; letter-spacing: .09em; color: var(--muted); margin-bottom: 8px; font-weight: 700; }
.bin-price {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 42px; font-weight: 700; color: var(--red); line-height: 1;
  margin-bottom: 4px;
}
.bin-range { font-size: 12px; color: var(--muted); margin-bottom: 16px; }
.bin-divider { height: 1px; background: var(--border); margin-bottom: 14px; }
.bin-meta { display: flex; flex-direction: column; gap: 8px; margin-bottom: 16px; }
.bm-row { display: flex; justify-content: space-between; font-size: 12px; }
.bm-row span { color: var(--muted); }
.bm-row strong { color: var(--text); font-weight: 600; }
.comp-sales-btn {
  display: flex; align-items: center; gap: 7px;
  background: var(--bg3); border: 1px solid var(--border);
  color: var(--text); padding: 9px 14px; border-radius: 8px;
  font-size: 13px; font-weight: 600; width: 100%; justify-content: center;
  transition: border-color .15s, color .15s; cursor: pointer;
}
.comp-sales-btn:hover { border-color: var(--red); color: var(--red); }

/* LIQUIDITY CARD */
.liq-card {
  background: var(--bg2); border: 1px solid var(--border);
  border-radius: var(--r); padding: 24px;
  display: flex; flex-direction: column; align-items: center;
}
.liq-label { font-size: 11px; text-transform: uppercase; letter-spacing: .09em; color: var(--muted); font-weight: 700; align-self: flex-start; margin-bottom: 12px; }
.liq-gauge { position: relative; width: 160px; height: 110px; }
.gauge-svg { width: 160px; height: 100px; }
.gauge-number {
  position: absolute; bottom: 0; left: 50%; transform: translateX(-50%);
  font-family: 'Space Grotesk', sans-serif;
  font-size: 36px; font-weight: 700; color: var(--text);
}
.gauge-label-text { display: none; }
.liq-ticks {
  display: flex; justify-content: space-between; width: 160px;
  font-size: 10px; color: var(--muted); margin-top: 4px; margin-bottom: 12px;
}
.liq-verdict {
  font-size: 12px; color: var(--muted); text-align: center;
  line-height: 1.5;
}

/* FACTORS CARD */
.factors-card {
  background: var(--bg2); border: 1px solid var(--border);
  border-radius: var(--r); padding: 24px;
}
.fc-label { font-size: 11px; text-transform: uppercase; letter-spacing: .09em; color: var(--muted); font-weight: 700; margin-bottom: 14px; }
.factors-list { display: flex; flex-direction: column; gap: 8px; }
.factor-row {
  display: flex; align-items: center; gap: 10px;
  padding: 9px 12px; background: var(--bg3); border-radius: 8px;
  font-size: 13px;
}
.factor-icon { font-size: 15px; flex-shrink: 0; }
.factor-name { flex: 1; color: var(--muted); }
.factor-val { font-weight: 600; font-size: 12px; }
.fv-good { color: var(--green); }
.fv-bad  { color: var(--red); }
.fv-mid  { color: var(--amber); }

/* ── COMPS PANEL ── */
.comps-panel, .multi-panel {
  background: var(--bg2); border: 1px solid var(--border);
  border-radius: var(--r); overflow: hidden; margin-bottom: 14px;
}
.panel-head { padding: 18px 22px; border-bottom: 1px solid var(--border); }
.ph-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 14px; font-weight: 700; display: flex; align-items: center; gap: 8px;
  margin-bottom: 3px;
}
.ph-sub { font-size: 12px; color: var(--muted); }
.comps-table-wrap { overflow-x: auto; }
.comps-table {
  width: 100%; border-collapse: collapse; font-size: 13px;
}
.comps-table th {
  text-align: left; padding: 10px 18px; color: var(--muted);
  font-weight: 700; font-size: 11px; text-transform: uppercase;
  letter-spacing: .07em; border-bottom: 1px solid var(--border);
  background: var(--bg3);
}
.comps-table td {
  padding: 13px 18px; border-bottom: 1px solid var(--border);
}
.comps-table tr:last-child td { border-bottom: none; }
.comps-table tr:hover td { background: var(--bg3); }
.td-domain { font-family: 'Space Grotesk', sans-serif; font-weight: 600; }
.td-price  { font-family: 'Space Grotesk', sans-serif; font-weight: 700; color: var(--green); }
.td-venue  { color: var(--muted); }
.td-date   { color: var(--muted); }
.match-badge {
  display: inline-block; padding: 2px 8px; border-radius: 10px;
  font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em;
}
.match-high { background: rgba(34,197,94,.1); color: var(--green); }
.match-mid  { background: rgba(245,158,11,.1); color: var(--amber); }
.match-low  { background: rgba(100,100,130,.1); color: var(--muted); }

/* ── APPRAISER GRID ── */
.appraiser-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 1px; background: var(--border); }
.appraiser-cell {
  background: var(--bg2); padding: 20px 18px;
  display: flex; flex-direction: column; gap: 4px;
}
.ac-name { font-size: 12px; color: var(--muted); font-weight: 600; }
.ac-price {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 22px; font-weight: 700; color: var(--text);
}
.ac-note { font-size: 11px; color: var(--muted); }
.ac-source { font-size: 11px; color: var(--muted); margin-top: 4px; }

/* ── SHARE CARD ── */
.share-card {
  background: var(--bg2); border: 1px solid var(--border);
  border-radius: var(--r); padding: 20px 24px;
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 14px; margin-bottom: 0;
}
.sc-title { font-weight: 700; font-size: 15px; }
.sc-sub { font-size: 13px; color: var(--muted); }
.sc-btns { display: flex; gap: 10px; }
.share-tw {
  background: #000; color: #fff; border: 1px solid #333;
  padding: 8px 18px; border-radius: 8px; font-size: 13px; font-weight: 700;
  transition: background .15s;
}
.share-tw:hover { background: #111; }
.share-copy {
  background: var(--red); color: #fff; border: none;
  padding: 8px 18px; border-radius: 8px; font-size: 13px; font-weight: 700;
  transition: background .15s;
}
.share-copy:hover { background: var(--red-d); }

/* ── FEED SECTION ── */
.feed-section { padding: 60px 0; }
.feed-container { max-width: 1060px; margin: 0 auto; padding: 0 20px; }
.feed-head {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 14px;
}
.fh-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 16px; font-weight: 700;
  display: flex; align-items: center; gap: 10px;
}
.live-dot {
  width: 8px; height: 8px; border-radius: 50%; background: var(--green);
  animation: pulse 2s infinite;
}
.fh-more { font-size: 13px; color: var(--muted); }
.fh-more:hover { color: var(--text); }
.feed-table-wrap {
  background: var(--bg2); border: 1px solid var(--border);
  border-radius: var(--r); overflow: hidden;
}
.feed-table { width: 100%; border-collapse: collapse; font-size: 13px; }
.feed-table th {
  text-align: left; padding: 10px 18px;
  color: var(--muted); font-size: 11px; font-weight: 700;
  text-transform: uppercase; letter-spacing: .07em;
  border-bottom: 1px solid var(--border); background: var(--bg3);
}
.feed-table td { padding: 13px 18px; border-bottom: 1px solid var(--border); }
.feed-table tr:last-child td { border-bottom: none; }
.feed-table tr:hover td { background: var(--bg3); cursor: pointer; }
.ft-domain { font-family: 'Space Grotesk', sans-serif; font-weight: 600; }
.ft-tld { color: var(--red); }
.ft-price { font-family: 'Space Grotesk', sans-serif; font-weight: 700; color: var(--green); }
.ft-date, .ft-venue { color: var(--muted); }
.appraise-link {
  color: var(--red); font-size: 12px; font-weight: 600;
  background: none; border: none; padding: 0; cursor: pointer;
}
.appraise-link:hover { text-decoration: underline; }

/* ── HOW IT WORKS ── */
.how-section { padding: 60px 0; background: var(--bg2); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.how-container { max-width: 1060px; margin: 0 auto; padding: 0 20px; }
.how-head {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(22px, 4vw, 30px); font-weight: 700;
  text-align: center; margin-bottom: 36px;
}
.how-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 16px; }
.how-card {
  background: var(--bg3); border: 1px solid var(--border);
  border-radius: var(--r); padding: 22px;
  transition: border-color .2s;
}
.how-card:hover { border-color: var(--red); }
.how-icon { font-size: 28px; margin-bottom: 12px; }
.how-title { font-weight: 700; font-size: 14px; margin-bottom: 7px; }
.how-desc { font-size: 13px; color: var(--muted); line-height: 1.65; }

/* ── FAQ ── */
.faq-section { padding: 60px 0; }
.faq-container { max-width: 680px; margin: 0 auto; padding: 0 20px; }
.faq-head {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(20px, 4vw, 28px); font-weight: 700;
  margin-bottom: 28px; text-align: center;
}
.faq-list { display: flex; flex-direction: column; gap: 8px; }
.faq-item {
  background: var(--bg2); border: 1px solid var(--border);
  border-radius: var(--r); padding: 16px 20px;
  transition: border-color .2s;
}
.faq-item[open] { border-color: var(--red); }
.faq-item summary {
  font-weight: 600; font-size: 14px;
  list-style: none; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center; gap: 12px;
}
.faq-item summary::after { content: '+'; font-size: 20px; color: var(--red); flex-shrink: 0; }
.faq-item[open] summary::after { content: '−'; }
.faq-item p { margin-top: 12px; font-size: 13px; color: var(--muted); line-height: 1.7; }

/* ── CTA SECTION ── */
.cta-section {
  padding: 80px 20px; text-align: center;
  background: radial-gradient(ellipse at center, var(--red-glow) 0%, transparent 65%);
}
.cta-inner { max-width: 580px; margin: 0 auto; }
.cta-inner h2 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(26px, 5vw, 40px); font-weight: 700;
  letter-spacing: -.02em; margin-bottom: 10px;
}
.cta-inner p { font-size: 15px; color: var(--muted); margin-bottom: 28px; }

/* ── FOOTER ── */
.footer { background: var(--bg2); border-top: 1px solid var(--border); padding: 50px 0 0; }
.footer-inner {
  max-width: 1060px; margin: 0 auto; padding: 0 20px 40px;
  display: flex; gap: 48px; flex-wrap: wrap;
}
.footer-brand { flex: 0 0 220px; }
.footer-brand p { font-size: 13px; color: var(--muted); margin-top: 12px; line-height: 1.6; }
.footer-cols { flex: 1; display: flex; gap: 40px; flex-wrap: wrap; }
.fc { display: flex; flex-direction: column; gap: 10px; min-width: 130px; }
.fc-head { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .09em; color: var(--muted); margin-bottom: 4px; }
.fc a { font-size: 13px; color: var(--muted); transition: color .15s; }
.fc a:hover { color: var(--red); }
.footer-bottom {
  border-top: 1px solid var(--border); padding: 18px 20px;
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px;
  font-size: 12px; color: var(--muted);
  max-width: 1060px; margin: 0 auto;
}

/* ── RESPONSIVE ── */
@media(max-width: 800px) {
  .top-row { grid-template-columns: 1fr; }
  .how-grid { grid-template-columns: 1fr 1fr; }
  .appraiser-grid { grid-template-columns: 1fr 1fr; }
  .trust-inner { flex-wrap: wrap; }
  .trust-divider { display: none; }
  .trust-stat { flex: 0 0 50%; }
}
@media(max-width: 540px) {
  .how-grid { grid-template-columns: 1fr; }
  .rh-right { flex-wrap: wrap; }
  .nav-links { display: none; }
  .appraiser-grid { grid-template-columns: 1fr 1fr; }
}
@media(prefers-reduced-motion: reduce) {
  *, .hero-pill-dot, .live-dot { animation: none !important; transition: none !important; }
}
