/* === RESET & BASE === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg: #0b0b10;
  --bg-2: #13131a;
  --bg-card: #1a1a23;
  --fg: #f0ede6;
  --fg-muted: #8a8897;
  --accent: #e8733a;
  --accent-soft: rgba(232, 115, 58, 0.12);
  --border: rgba(240, 237, 230, 0.08);
  --font-display: 'Playfair Display', Georgia, serif;
  --font-body: 'DM Sans', system-ui, sans-serif;
}

html { font-size: 16px; scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* === NAV === */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(11, 11, 16, 0.85);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--fg);
  letter-spacing: -0.02em;
}
.nav-links {
  display: flex;
  gap: 32px;
}
.nav-links a {
  color: var(--fg-muted);
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 500;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--fg); }

/* === HERO === */
.hero {
  position: relative;
  padding: 160px 32px 80px;
  overflow: hidden;
  min-height: 90vh;
  display: flex;
  align-items: center;
}
.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.hero-glow {
  position: absolute;
  top: -200px;
  right: -100px;
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, rgba(232, 115, 58, 0.08) 0%, transparent 70%);
  border-radius: 50%;
}
.hero-content {
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.hero-eyebrow {
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--accent);
  margin-bottom: 20px;
}
.hero-headline {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: var(--fg);
  margin-bottom: 24px;
}
.hero-sub {
  font-size: 1.1rem;
  color: var(--fg-muted);
  line-height: 1.7;
  max-width: 440px;
  margin-bottom: 40px;
}
.hero-stats {
  display: flex;
  align-items: center;
  gap: 32px;
  padding: 28px 32px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  width: fit-content;
}
.stat { display: flex; flex-direction: column; gap: 4px; }
.stat-number {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: -0.02em;
}
.stat-label { font-size: 0.75rem; color: var(--fg-muted); line-height: 1.4; }
.stat-divider {
  width: 1px;
  height: 40px;
  background: var(--border);
}
/* === MOCKUP === */
.hero-image-wrap { position: relative; }
.hero-mockup {
  background: #1e1e27;
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 32px 80px rgba(0,0,0,0.5), 0 0 0 1px rgba(255,255,255,0.04);
}
.mockup-window-bar {
  background: #141420;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 8px;
  border-bottom: 1px solid var(--border);
}
.dot { width: 10px; height: 10px; border-radius: 50%; }
.dot-red { background: #ff5f57; }
.dot-yellow { background: #febc2e; }
.dot-green { background: #28c840; }
.mockup-url {
  margin-left: 12px;
  font-size: 0.7rem;
  color: var(--fg-muted);
  background: rgba(255,255,255,0.06);
  padding: 3px 12px;
  border-radius: 20px;
}
.mockup-body { display: flex; height: 380px; }
.mockup-sidebar {
  width: 160px;
  border-right: 1px solid var(--border);
  padding: 16px 0;
  flex-shrink: 0;
}
.sidebar-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  font-size: 0.78rem;
  color: var(--fg-muted);
  cursor: pointer;
}
.sidebar-item.active { color: var(--fg); background: rgba(232,115,58,0.08); }
.sidebar-dot { width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.mockup-main { flex: 1; padding: 20px; overflow: hidden; }
.job-post-card { display: flex; flex-direction: column; gap: 12px; }
.job-header {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.job-badge {
  background: rgba(40, 200, 64, 0.15);
  color: #28c840;
  font-size: 0.65rem;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 4px;
  letter-spacing: 0.08em;
}
.job-title { font-size: 0.85rem; font-weight: 600; color: var(--fg); flex: 1; }
.job-budget { font-size: 0.85rem; font-weight: 700; color: var(--accent); }
.job-meta { font-size: 0.72rem; color: var(--fg-muted); }
.bids-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--border);
}
.bids-count { font-size: 0.75rem; font-weight: 600; color: var(--fg); }
.sort-label { font-size: 0.7rem; color: var(--fg-muted); }
.bid-cards { display: flex; flex-direction: column; gap: 6px; }
.bid-card {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: 8px;
}
.bid-card.top { border-color: rgba(232,115,58,0.3); background: rgba(232,115,58,0.05); }
.bid-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #2a2a38;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.65rem;
  font-weight: 700;
  color: var(--fg-muted);
  flex-shrink: 0;
}
.bid-info { flex: 1; display: flex; flex-direction: column; gap: 2px; }
.bid-name { font-size: 0.8rem; font-weight: 600; color: var(--fg); }
.bid-role { font-size: 0.68rem; color: var(--fg-muted); }
.bid-right { display: flex; flex-direction: column; align-items: flex-end; gap: 2px; }
.bid-price { font-size: 0.85rem; font-weight: 700; color: var(--fg); }
.bid-time { font-size: 0.65rem; color: var(--fg-muted); }
.bid-badge {
  font-size: 0.6rem;
  font-weight: 700;
  color: var(--accent);
  background: var(--accent-soft);
  padding: 2px 6px;
  border-radius: 4px;
  letter-spacing: 0.06em;
  margin-top: 2px;
}

/* === SECTIONS === */
.section-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px;
}
.section-eyebrow {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--accent);
  margin-bottom: 16px;
}
.section-headline {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.025em;
  max-width: 680px;
  margin-bottom: 60px;
}

/* === HOW IT WORKS === */
.how-it-works { padding: 100px 0; }
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  position: relative;
}
.step {
  display: flex;
  flex-direction: column;
  gap: 20px;
  position: relative;
}
.step-number {
  font-family: var(--font-display);
  font-size: 3.5rem;
  font-weight: 700;
  color: rgba(232, 115, 58, 0.15);
  line-height: 1;
}
.step-content h3 {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--fg);
  margin-bottom: 10px;
}
.step-content p { font-size: 0.9rem; color: var(--fg-muted); line-height: 1.7; }
.step-arrow {
  position: absolute;
  top: 32px;
  right: -20px;
  width: 40px;
  height: 1px;
  background: linear-gradient(to right, var(--border), transparent);
}

/* === FEATURES === */
.features { padding: 80px 0; background: var(--bg-2); }
.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
}
.feature-card {
  padding: 40px 32px;
  background: var(--bg-2);
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: background 0.2s;
}
.feature-card:hover { background: #1e1e28; }
.feature-icon-wrap {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--accent-soft);
  display: flex;
  align-items: center;
  justify-content: center;
}
.feature-card h3 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--fg);
}
.feature-card p { font-size: 0.85rem; color: var(--fg-muted); line-height: 1.65; }

/* === COMMISSION === */
.commission-section { padding: 100px 0; }
.commission-visual {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.commission-bar-wrap { display: flex; flex-direction: column; gap: 20px; }
.commission-label { font-size: 0.85rem; color: var(--fg-muted); }
.commission-bar {
  height: 40px;
  background: #2a2a38;
  border-radius: 8px;
  overflow: hidden;
}
.commission-fill {
  height: 100%;
  width: 10%;
  background: var(--accent);
  border-radius: 8px;
}
.commission-legend {
  display: flex;
  gap: 24px;
}
.legend-item { display: flex; align-items: center; gap: 8px; font-size: 0.85rem; color: var(--fg-muted); }
.legend-dot { width: 12px; height: 12px; border-radius: 3px; }
.commission-text h2 {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}
.commission-text > p { font-size: 0.95rem; color: var(--fg-muted); line-height: 1.7; margin-bottom: 28px; }
.commission-points { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.commission-points li {
  font-size: 0.9rem;
  color: var(--fg);
  display: flex;
  align-items: center;
  gap: 10px;
}
.commission-points li::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
}

/* === CLOSING === */
.closing {
  padding: 100px 0 80px;
  text-align: center;
}
.closing-content { max-width: 640px; margin: 0 auto; }
.closing h2 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 700;
  letter-spacing: -0.025em;
  margin-bottom: 20px;
}
.closing p {
  font-size: 1rem;
  color: var(--fg-muted);
  line-height: 1.7;
}

/* === FOOTER === */
.footer {
  border-top: 1px solid var(--border);
  padding: 48px 0;
}
.footer-inner { max-width: 1200px; margin: 0 auto; padding: 0 32px; }
.footer-brand {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--fg);
  display: block;
  margin-bottom: 8px;
}
.footer-tagline { font-size: 0.85rem; color: var(--fg-muted); margin-bottom: 8px; }
.footer-copy { font-size: 0.75rem; color: rgba(138,136,151,0.5); }

/* === RESPONSIVE === */
@media (max-width: 900px) {
  .hero-content { grid-template-columns: 1fr; gap: 48px; }
  .hero-image-wrap { display: none; }
  .steps { grid-template-columns: 1fr; gap: 32px; }
  .step-arrow { display: none; }
  .features-grid { grid-template-columns: 1fr 1fr; }
  .commission-visual { grid-template-columns: 1fr; gap: 48px; }
  .nav-links { display: none; }
}
@media (max-width: 600px) {
  .features-grid { grid-template-columns: 1fr; }
  .hero-stats { flex-direction: column; align-items: flex-start; gap: 20px; }
  .stat-divider { display: none; }
}