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

:root {
  --bg: #0B1628;
  --bg-card: #111f38;
  --bg-section: #0a1422;
  --fg: #ffffff;
  --fg-muted: rgba(255,255,255,0.55);
  --accent: #D4A843;
  --accent-light: #F0C96A;
  --glass-bg: rgba(17, 31, 56, 0.6);
  --glass-border: rgba(212, 168, 67, 0.15);
  --border: rgba(255,255,255,0.08);
  --radius: 16px;
  --font-display: 'Instrument Serif', Georgia, serif;
  --font-body: 'DM Sans', system-ui, sans-serif;
}

html { scroll-behavior: smooth; font-size: 16px; }
body { background: var(--bg); color: var(--fg); font-family: var(--font-body); line-height: 1.6; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
a { color: inherit; text-decoration: none; }

/* ===== Typography ===== */
.section-label { font-size: 0.7rem; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; color: var(--accent); margin-bottom: 0.75rem; font-family: var(--font-body); }
.section-headline { font-family: var(--font-display); font-size: clamp(2rem, 4vw, 3rem); font-weight: 400; line-height: 1.1; margin-bottom: 1rem; }
.section-body { font-size: 1rem; color: var(--fg-muted); max-width: 480px; line-height: 1.7; }

/* ===== Navigation ===== */
.nav { position: fixed; top: 0; left: 0; right: 0; z-index: 100; background: rgba(11,22,40,0.85); backdrop-filter: blur(16px); border-bottom: 1px solid var(--border); }
.nav-inner { max-width: 1200px; margin: 0 auto; padding: 0 2rem; height: 60px; display: flex; align-items: center; justify-content: space-between; }
.nav-logo { display: flex; align-items: center; gap: 0.5rem; font-weight: 600; font-size: 1.05rem; }
.nav-links { display: flex; gap: 2rem; }
.nav-links a { font-size: 0.875rem; color: var(--fg-muted); transition: color 0.2s; }
.nav-links a:hover { color: var(--accent); }

/* ===== Hero ===== */
.hero { min-height: 100vh; display: flex; align-items: center; padding: 6rem 2rem 4rem; position: relative; overflow: hidden; }
.hero::before { content: ''; position: absolute; top: -20%; right: -10%; width: 60%; height: 80%; background: radial-gradient(ellipse, rgba(212,168,67,0.06) 0%, transparent 65%); pointer-events: none; }
.hero-grid { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; width: 100%; }
.hero-badge { display: inline-flex; align-items: center; gap: 0.5rem; background: rgba(212,168,67,0.1); border: 1px solid rgba(212,168,67,0.2); border-radius: 100px; padding: 0.35rem 1rem; font-size: 0.75rem; color: var(--accent); margin-bottom: 1.5rem; font-weight: 500; }
.badge-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); animation: pulse 2s infinite; }
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.4; } }
.hero-headline { font-family: var(--font-display); font-size: clamp(3rem, 5.5vw, 4.5rem); font-weight: 400; line-height: 1.05; margin-bottom: 1.25rem; }
.hero-headline em { color: var(--accent); font-style: italic; }
.hero-sub { font-size: 1.05rem; color: var(--fg-muted); line-height: 1.7; max-width: 440px; margin-bottom: 2.5rem; }
.hero-stats { display: flex; flex-direction: column; gap: 0.75rem; }
.stat { display: flex; align-items: baseline; gap: 0.75rem; }
.stat-num { font-size: 1.5rem; font-weight: 700; color: var(--accent); font-variant-numeric: tabular-nums; min-width: 3.5rem; }
.stat-desc { font-size: 0.85rem; color: var(--fg-muted); }

/* ===== Glass Cards ===== */
.glass-card { background: var(--glass-bg); backdrop-filter: blur(20px); border: 1px solid var(--glass-border); border-radius: var(--radius); }

/* ===== Approval Card ===== */
.approval-card { padding: 1.75rem; }
.approval-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 1.25rem; }
.approval-label { font-size: 0.75rem; color: var(--fg-muted); font-weight: 500; }
.approval-badge { font-size: 0.65rem; background: rgba(212,168,67,0.15); color: var(--accent); border: 1px solid rgba(212,168,67,0.25); border-radius: 100px; padding: 0.2rem 0.6rem; font-weight: 600; }
.approval-score { display: flex; align-items: center; gap: 1.25rem; margin-bottom: 1.5rem; }
.score-ring { position: relative; width: 90px; height: 90px; flex-shrink: 0; }
.score-ring svg { width: 100%; height: 100%; }
.score-value { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; flex-direction: column; }
.score-num { font-size: 1.75rem; font-weight: 700; line-height: 1; color: var(--fg); }
.score-denom { font-size: 0.6rem; color: var(--fg-muted); }
.score-meta { display: flex; flex-direction: column; gap: 0.25rem; }
.score-label { font-size: 0.8rem; color: var(--fg-muted); }
.score-target { font-size: 0.85rem; color: var(--accent); font-weight: 600; }
.approval-progress { display: flex; flex-direction: column; gap: 0.75rem; }
.progress-row { display: grid; grid-template-columns: 80px 1fr 90px; align-items: center; gap: 0.75rem; font-size: 0.78rem; }
.progress-row span:first-child { color: var(--fg-muted); }
.progress-bar { background: rgba(255,255,255,0.08); border-radius: 100px; height: 6px; overflow: hidden; }
.progress-fill { height: 100%; background: linear-gradient(90deg, var(--accent), var(--accent-light)); border-radius: 100px; }
.progress-val { color: var(--fg-muted); font-size: 0.72rem; text-align: right; }
.approval-timeline { display: flex; align-items: center; gap: 0.5rem; font-size: 0.8rem; color: var(--fg-muted); margin-top: 1.25rem; padding-top: 1rem; border-top: 1px solid var(--border); }
.approval-timeline svg { flex-shrink: 0; }
.approval-timeline strong { color: var(--accent); }

/* ===== Section Base ===== */
.section-inner { max-width: 1200px; margin: 0 auto; padding: 5rem 2rem; }

/* ===== Roadmap Section ===== */
.roadmap { background: var(--bg-section); }
.roadmap .section-headline { text-align: center; }
.roadmap .section-body { text-align: center; max-width: 520px; margin: 0 auto 3rem; }
.roadmap-flow { display: flex; align-items: flex-start; justify-content: center; gap: 1.5rem; margin-bottom: 4rem; flex-wrap: wrap; }
.flow-step { flex: 1; min-width: 200px; max-width: 260px; text-align: center; }
.flow-icon { width: 52px; height: 52px; background: rgba(212,168,67,0.1); border: 1px solid rgba(212,168,67,0.2); border-radius: 14px; display: flex; align-items: center; justify-content: center; margin: 0 auto 1rem; }
.flow-step h3 { font-size: 0.95rem; font-weight: 600; margin-bottom: 0.5rem; }
.flow-step p { font-size: 0.8rem; color: var(--fg-muted); line-height: 1.6; }
.flow-arrow { display: flex; align-items: center; padding-top: 1.5rem; }
.roadmap-features { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.rf-card { padding: 1.25rem; }
.rf-icon { width: 36px; height: 36px; background: rgba(212,168,67,0.08); border-radius: 10px; display: flex; align-items: center; justify-content: center; margin-bottom: 0.75rem; }
.rf-card h4 { font-size: 0.875rem; font-weight: 600; margin-bottom: 0.4rem; }
.rf-card p { font-size: 0.78rem; color: var(--fg-muted); line-height: 1.6; }

/* ===== Homebotty Section ===== */
.homebotty { background: var(--bg); }
.hb-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: center; }
.hb-chat-window { padding: 1.5rem; }
.chat-header { display: flex; align-items: center; gap: 0.75rem; margin-bottom: 1.25rem; }
.chat-avatar { width: 44px; height: 44px; border-radius: 50%; background: rgba(212,168,67,0.1); display: flex; align-items: center; justify-content: center; }
.chat-meta { display: flex; flex-direction: column; gap: 0.1rem; }
.chat-name { font-weight: 600; font-size: 0.9rem; }
.chat-status { display: flex; align-items: center; gap: 0.4rem; font-size: 0.72rem; color: #4ade80; }
.status-dot { width: 6px; height: 6px; border-radius: 50%; background: #4ade80; }
.chat-body { display: flex; flex-direction: column; gap: 0.75rem; margin-bottom: 1rem; }
.chat-msg { border-radius: 12px; padding: 0.75rem 1rem; font-size: 0.82rem; line-height: 1.55; max-width: 85%; }
.chat-msg.bot { background: rgba(255,255,255,0.05); border: 1px solid var(--border); color: var(--fg-muted); align-self: flex-start; }
.chat-msg.bot p { margin-bottom: 0.5rem; }
.bot-tip { font-size: 0.75rem; color: var(--accent) !important; border-left: 2px solid var(--accent); padding-left: 0.5rem; }
.chat-msg.user { background: rgba(212,168,67,0.15); border: 1px solid rgba(212,168,67,0.2); color: var(--fg); align-self: flex-end; }
.chat-input { display: flex; gap: 0.5rem; align-items: center; }
.chat-input input { flex: 1; background: rgba(255,255,255,0.05); border: 1px solid var(--border); border-radius: 100px; padding: 0.6rem 1rem; color: var(--fg-muted); font-size: 0.82rem; font-family: var(--font-body); cursor: not-allowed; }
.chat-input input::placeholder { color: var(--fg-muted); opacity: 0.5; }
.chat-input button { width: 36px; height: 36px; border-radius: 50%; background: var(--accent); border: none; display: flex; align-items: center; justify-content: center; cursor: pointer; flex-shrink: 0; }
.hb-features { list-style: none; display: flex; flex-direction: column; gap: 0.75rem; }
.hb-features li { display: flex; align-items: center; gap: 0.75rem; font-size: 0.9rem; color: var(--fg-muted); }
.hb-features svg { flex-shrink: 0; }
.hb-right .section-headline { margin-bottom: 1.25rem; }
.hb-right .section-body { margin-bottom: 1.5rem; }

/* ===== Marketplace Section ===== */
.marketplace { background: var(--bg-section); }
.mp-header { display: flex; align-items: flex-end; justify-content: space-between; gap: 2rem; margin-bottom: 3rem; flex-wrap: wrap; }
.mp-intro { max-width: 400px; font-size: 0.95rem; color: var(--fg-muted); line-height: 1.7; }
.listing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.listing-card { overflow: hidden; }
.listing-img { height: 160px; display: flex; align-items: center; justify-content: center; border-radius: 12px 12px 0 0; margin: -1px -1px 0; }
.listing-img-content { opacity: 0.8; }
.listing-featured .listing-img { height: 200px; }
.listing-info { padding: 1.25rem; }
.listing-badges { display: flex; gap: 0.5rem; margin-bottom: 0.5rem; }
.badge-verified { display: inline-flex; align-items: center; gap: 0.3rem; background: rgba(212,168,67,0.12); color: var(--accent); border: 1px solid rgba(212,168,67,0.2); border-radius: 100px; padding: 0.2rem 0.5rem; font-size: 0.65rem; font-weight: 600; }
.badge-new { display: inline-flex; background: rgba(74,222,128,0.15); color: #4ade80; border: 1px solid rgba(74,222,128,0.2); border-radius: 100px; padding: 0.2rem 0.5rem; font-size: 0.65rem; font-weight: 600; }
.listing-price { font-size: 1.35rem; font-weight: 700; margin-bottom: 0.2rem; }
.listing-address { font-size: 0.82rem; color: var(--fg); margin-bottom: 0.2rem; font-weight: 500; }
.listing-details { font-size: 0.75rem; color: var(--fg-muted); margin-bottom: 0.75rem; }
.listing-payment { display: flex; justify-content: space-between; align-items: center; padding: 0.65rem 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); margin-bottom: 0.75rem; }
.payment-est { font-size: 0.75rem; color: var(--fg-muted); }
.payment-val { font-size: 0.9rem; font-weight: 600; color: var(--accent); }
.qual-bar { display: grid; grid-template-columns: 90px 1fr 36px; align-items: center; gap: 0.5rem; font-size: 0.72rem; }
.qual-bar > span:first-child { color: var(--fg-muted); }
.qual-fill { background: rgba(255,255,255,0.06); border-radius: 100px; height: 5px; overflow: hidden; }
.qual-progress { height: 100%; background: linear-gradient(90deg, var(--accent), var(--accent-light)); border-radius: 100px; }
.qual-pct { font-weight: 600; color: var(--fg); font-size: 0.78rem; text-align: right; }
.qual-note { font-size: 0.72rem; color: var(--fg-muted); margin-top: 0.4rem; line-height: 1.5; }

/* ===== Verified Section ===== */
.verified { background: var(--bg); }
.v-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: start; }
.v-features { display: flex; flex-direction: column; gap: 1.25rem; }
.vf-item { display: flex; gap: 1rem; }
.vf-icon { width: 40px; height: 40px; background: rgba(212,168,67,0.08); border-radius: 12px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.vf-item h4 { font-size: 0.9rem; font-weight: 600; margin-bottom: 0.25rem; }
.vf-item p { font-size: 0.8rem; color: var(--fg-muted); line-height: 1.6; }
.pro-network { padding: 1.5rem; }
.pn-title { font-size: 0.9rem; font-weight: 600; margin-bottom: 0.35rem; }
.pn-sub { font-size: 0.78rem; color: var(--fg-muted); margin-bottom: 1.25rem; }
.pro-grid { display: flex; flex-direction: column; gap: 0.75rem; }
.pro-card { display: flex; align-items: center; gap: 0.75rem; padding: 0.75rem; background: rgba(255,255,255,0.03); border: 1px solid var(--border); border-radius: 12px; }
.pro-avatar { width: 36px; height: 36px; border-radius: 50%; background: rgba(212,168,67,0.15); display: flex; align-items: center; justify-content: center; font-size: 0.75rem; font-weight: 700; color: var(--accent); flex-shrink: 0; }
.pro-info { flex: 1; display: flex; flex-direction: column; gap: 0.1rem; }
.pro-name { font-size: 0.82rem; font-weight: 600; }
.pro-role { font-size: 0.72rem; color: var(--fg-muted); }
.pro-rating { display: flex; align-items: center; gap: 0.3rem; font-size: 0.72rem; color: var(--accent); }
.pro-badge { font-size: 0.6rem; background: rgba(212,168,67,0.12); color: var(--accent); border: 1px solid rgba(212,168,67,0.2); border-radius: 100px; padding: 0.15rem 0.5rem; font-weight: 600; white-space: nowrap; }

/* ===== Closing Section ===== */
.closing { background: var(--bg-section); padding: 6rem 2rem; text-align: center; }
.closing-inner { max-width: 700px; margin: 0 auto; }
.closing-decor { margin-bottom: 2.5rem; display: flex; justify-content: center; }
.closing-headline { font-family: var(--font-display); font-size: clamp(2.25rem, 4.5vw, 3.5rem); font-weight: 400; line-height: 1.15; margin-bottom: 1.25rem; }
.closing-body { font-size: 1.05rem; color: var(--fg-muted); line-height: 1.75; max-width: 520px; margin: 0 auto 2rem; }
.closing-tagline { font-family: var(--font-display); font-size: 1.5rem; color: var(--accent); font-style: italic; }

/* ===== Footer ===== */
.footer { border-top: 1px solid var(--border); padding: 2rem; }
.footer-inner { max-width: 1200px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; }
.footer-brand { display: flex; align-items: center; gap: 0.5rem; font-weight: 600; font-size: 0.95rem; }
.footer-note { font-size: 0.8rem; color: var(--fg-muted); }

/* ===== Responsive ===== */
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .hb-inner, .v-inner { grid-template-columns: 1fr; gap: 2.5rem; }
  .listing-grid { grid-template-columns: 1fr; }
  .roadmap-features { grid-template-columns: 1fr 1fr; }
  .mp-header { flex-direction: column; align-items: flex-start; }
  .flow-arrow { display: none; }
  .roadmap-flow { flex-direction: column; align-items: center; }
  .flow-step { max-width: 100%; }
}

@media (max-width: 600px) {
  .nav-links { display: none; }
  .roadmap-features { grid-template-columns: 1fr; }
  .footer-inner { flex-direction: column; gap: 0.5rem; text-align: center; }
  .hero-headline { font-size: 2.5rem; }
}