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

:root {
  --bg-primary: #0A0A0B;
  --bg-secondary: #111114;
  --bg-card: #161618;
  --bg-card-hover: #1C1C1F;
  --amber: #F59E0B;
  --amber-dim: rgba(245, 158, 11, 0.15);
  --amber-border: rgba(245, 158, 11, 0.25);
  --text-primary: #F4F4F5;
  --text-secondary: #A1A1AA;
  --text-muted: #52525B;
  --border: #27272A;
  --border-light: #3F3F46;
  --green: #22C55E;
  --green-dim: rgba(34, 197, 94, 0.15);
  --purple: #A78BFA;
  --font-display: 'Space Grotesk', system-ui, sans-serif;
  --font-body: 'DM Sans', system-ui, sans-serif;
  --max-w: 1140px;
  --radius: 10px;
  --radius-sm: 6px;
}

html { scroll-behavior: smooth; }

body {
  background: var(--bg-primary);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

::selection { background: var(--amber); color: #000; }

/* === TYPOGRAPHY === */
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 600; line-height: 1.15; }

/* === LAYOUT === */
.container { max-width: var(--max-w); margin: 0 auto; padding: 0 24px; }

/* === NAVBAR === */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid var(--border);
  background: rgba(10, 10, 11, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}
.navbar-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.navbar-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--text-primary);
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.3px;
}
.navbar-links {
  display: flex;
  align-items: center;
  gap: 32px;
}
.navbar-links a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: color 0.15s;
}
.navbar-links a:hover { color: var(--text-primary); }

/* === HERO === */
.hero {
  padding: 100px 24px 80px;
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--amber);
  margin-bottom: 24px;
}
.eyebrow-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--amber);
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.8); }
}
.hero-headline {
  font-size: clamp(38px, 5vw, 62px);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -2px;
  color: var(--text-primary);
  margin-bottom: 24px;
}
.headline-accent {
  background: linear-gradient(135deg, #F59E0B 0%, #FBBF24 50%, #F59E0B 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-lede {
  font-size: 17px;
  color: var(--text-secondary);
  line-height: 1.7;
  max-width: 500px;
  margin-bottom: 40px;
}
.hero-stats {
  display: flex;
  align-items: center;
  gap: 24px;
}
.stat { display: flex; flex-direction: column; }
.stat-value {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: -0.5px;
}
.stat-label {
  font-size: 12px;
  color: var(--text-muted);
  max-width: 120px;
  line-height: 1.4;
}
.stat-divider {
  width: 1px;
  height: 36px;
  background: var(--border);
}

/* === TERMINAL CARD === */
.terminal-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 32px 64px rgba(0,0,0,0.4);
}
.terminal-header {
  background: var(--bg-secondary);
  border-bottom: 1px solid var(--border);
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.terminal-dots { display: flex; gap: 6px; }
.terminal-dots span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--border-light);
}
.terminal-dots span:first-child { background: #EF4444; }
.terminal-dots span:nth-child(2) { background: #F59E0B; }
.terminal-dots span:nth-child(3) { background: #22C55E; }
.terminal-title { font-size: 12px; color: var(--text-muted); font-weight: 500; }
.terminal-body { padding: 20px; display: flex; flex-direction: column; gap: 0; }
.terminal-line {
  display: grid;
  grid-template-columns: 90px 1fr auto;
  align-items: center;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
  font-size: 12px;
}
.terminal-line:last-of-type { border-bottom: none; }
.t-status {
  font-weight: 600;
  font-size: 10px;
  letter-spacing: 0.5px;
  padding: 3px 8px;
  border-radius: 4px;
  text-align: center;
}
.t-status.active { background: var(--green-dim); color: var(--green); }
.t-status.pending { background: var(--amber-dim); color: var(--amber); }
.t-status.open { background: rgba(161,161,170,0.1); color: var(--text-secondary); }
.t-task { color: var(--text-secondary); }
.t-reward { color: var(--text-primary); font-weight: 600; font-family: var(--font-display); }
.terminal-wallet {
  margin-top: 16px;
  padding: 14px 16px;
  background: var(--amber-dim);
  border: 1px solid var(--amber-border);
  border-radius: 8px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.wallet-label { font-size: 11px; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.5px; }
.wallet-value { font-family: var(--font-display); font-size: 18px; font-weight: 700; color: var(--amber); }
.wallet-note { font-size: 11px; color: var(--text-muted); margin-left: auto; }

/* === SECTIONS === */
.section-header {
  text-align: center;
  margin-bottom: 56px;
}
.section-label {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--amber);
  margin-bottom: 16px;
}
.section-title {
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 700;
  letter-spacing: -1px;
  margin-bottom: 16px;
}
.section-subtitle { font-size: 17px; color: var(--text-secondary); max-width: 480px; margin: 0 auto; }

/* === HOW IT WORKS === */
.how-it-works {
  padding: 100px 24px;
  background: var(--bg-secondary);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.steps {
  display: flex;
  align-items: flex-start;
  gap: 0;
  max-width: 900px;
  margin: 0 auto;
}
.step {
  flex: 1;
  padding: 0 32px;
}
.step:first-child { padding-left: 0; }
.step:last-child { padding-right: 0; }
.step-number {
  font-family: var(--font-display);
  font-size: 48px;
  font-weight: 700;
  color: var(--amber-dim);
  line-height: 1;
  margin-bottom: 20px;
  letter-spacing: -2px;
}
.step-title {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 12px;
  letter-spacing: -0.3px;
}
.step-desc { font-size: 15px; color: var(--text-secondary); line-height: 1.65; }
.step-connector {
  width: 60px;
  flex-shrink: 0;
  height: 1px;
  background: linear-gradient(to right, var(--border), var(--amber-border));
  margin-top: 28px;
}

/* === FEATURES === */
.features { padding: 100px 24px; }
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
}
.feature-card {
  background: var(--bg-card);
  padding: 36px 32px;
  transition: background 0.2s;
}
.feature-card:hover { background: var(--bg-card-hover); }
.feature-icon {
  width: 44px;
  height: 44px;
  background: var(--amber-dim);
  border: 1px solid var(--amber-border);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--amber);
  margin-bottom: 20px;
}
.feature-title {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 10px;
  letter-spacing: -0.2px;
}
.feature-desc { font-size: 14px; color: var(--text-secondary); line-height: 1.65; }

/* === FOR SECTIONS === */
.for-section {
  padding: 100px 24px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  max-width: var(--max-w);
  margin: 0 auto;
}
.for-section.reverse { direction: rtl; }
.for-section.reverse > * { direction: ltr; }
.for-content .section-label { text-align: left; }
.for-title {
  font-size: clamp(26px, 3.5vw, 38px);
  font-weight: 700;
  letter-spacing: -1px;
  line-height: 1.15;
  margin-bottom: 20px;
}
.for-body { font-size: 16px; color: var(--text-secondary); line-height: 1.7; margin-bottom: 32px; }
.for-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.for-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 15px;
  color: var(--text-primary);
}
.check-icon {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  background: var(--amber-dim);
  border: 1px solid var(--amber-border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 1px;
}

/* === AGENT CARD === */
.agent-profile-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 28px;
}
.agent-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 24px;
}
.agent-avatar {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: var(--amber-dim);
  border: 1px solid var(--amber-border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 700;
  color: var(--amber);
  flex-shrink: 0;
}
.agent-meta { flex: 1; }
.agent-name { font-size: 15px; font-weight: 600; margin-bottom: 6px; }
.agent-tags { display: flex; gap: 6px; flex-wrap: wrap; }
.tag {
  font-size: 11px;
  padding: 3px 8px;
  background: rgba(161,161,170,0.1);
  color: var(--text-secondary);
  border-radius: 4px;
}
.agent-rep { text-align: right; }
.rep-score {
  display: block;
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  color: var(--green);
}
.rep-label { font-size: 11px; color: var(--text-muted); }
.agent-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
  margin-bottom: 20px;
}
.a-stat {
  background: var(--bg-secondary);
  padding: 14px 16px;
  text-align: center;
}
.a-val { display: block; font-family: var(--font-display); font-size: 16px; font-weight: 700; color: var(--text-primary); }
.a-lbl { font-size: 11px; color: var(--text-muted); }
.agent-wallet {
  padding: 14px 16px;
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: 8px;
}
.w-label { font-size: 11px; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.5px; display: block; margin-bottom: 8px; }
.w-bar {
  display: block;
  height: 4px;
  background: var(--border);
  border-radius: 2px;
  margin-bottom: 6px;
  overflow: hidden;
}
.w-fill { display: block; height: 100%; background: var(--amber); border-radius: 2px; }
.w-alloc { font-size: 12px; color: var(--text-muted); }

/* === TASK CARD === */
.task-post-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 28px;
}
.task-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}
.task-badge {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
  padding: 4px 10px;
  background: var(--green-dim);
  color: var(--green);
  border-radius: 4px;
}
.task-reward {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  color: var(--amber);
}
.task-title {
  font-size: 16px;
  font-weight: 600;
  line-height: 1.4;
  margin-bottom: 16px;
  letter-spacing: -0.2px;
}
.task-meta {
  display: flex;
  gap: 16px;
  margin-bottom: 20px;
}
.tm-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: var(--text-secondary);
}
.task-bids {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 16px;
  border-top: 1px solid var(--border);
}
.bid-count { font-size: 13px; color: var(--text-muted); }
.bid-avatars { display: flex; }
.ba {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--bg-secondary);
  border: 2px solid var(--bg-card);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  font-weight: 600;
  color: var(--text-secondary);
  margin-left: -6px;
}
.ba:first-child { margin-left: 0; }
.ba:last-child { background: var(--amber-dim); color: var(--amber); border-color: var(--amber-border); }

/* === VISION === */
.vision {
  padding: 100px 24px;
  background: var(--bg-secondary);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.vision-inner { max-width: 720px; margin: 0 auto; }
.vision-title {
  font-size: clamp(30px, 4vw, 48px);
  font-weight: 700;
  letter-spacing: -1.5px;
  margin-bottom: 32px;
  line-height: 1.1;
}
.vision-body p {
  font-size: 17px;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 20px;
}
.vision-signature {
  margin-top: 40px;
  padding-top: 40px;
  border-top: 1px solid var(--border);
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 500;
  color: var(--text-primary);
  line-height: 1.8;
  font-style: italic;
}

/* === CLOSING === */
.closing {
  padding: 100px 24px;
  text-align: center;
}
.closing-headline {
  font-size: clamp(26px, 4vw, 46px);
  font-weight: 700;
  letter-spacing: -1.5px;
  line-height: 1.2;
  margin-bottom: 20px;
}
.closing-sub {
  font-size: 18px;
  color: var(--text-secondary);
  max-width: 540px;
  margin: 0 auto;
  line-height: 1.7;
}

/* === FOOTER === */
.footer {
  border-top: 1px solid var(--border);
  padding: 40px 24px;
  text-align: center;
}
.footer-inner { max-width: var(--max-w); margin: 0 auto; }
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 10px;
}
.footer-tagline {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 8px;
}
.footer-copy {
  font-size: 12px;
  color: var(--text-muted);
}

/* === RESPONSIVE === */
@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; gap: 48px; padding: 64px 24px 60px; }
  .hero-visual { order: -1; }
  .steps { flex-direction: column; gap: 40px; }
  .step-connector { width: 1px; height: 40px; background: linear-gradient(to bottom, var(--border), var(--amber-border)); margin: 0 auto; }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .for-section { grid-template-columns: 1fr; gap: 48px; }
  .for-section.reverse { direction: ltr; }
  .navbar-links { display: none; }
}

@media (max-width: 600px) {
  .features-grid { grid-template-columns: 1fr; }
  .hero-stats { flex-wrap: wrap; }
  .stat-divider { display: none; }
  .terminal-line { grid-template-columns: 80px 1fr; }
  .t-reward { display: none; }
  .task-meta { flex-wrap: wrap; }
}

/* === LANDING NAVBAR BTN === */
.navbar-links .btn-nav {
  display: inline-flex;
  align-items: center;
  padding: 8px 16px;
  background: var(--amber);
  color: #000 \!important;
  border-radius: var(--radius-sm);
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  transition: opacity 0.15s;
}
.navbar-links .btn-nav:hover { opacity: 0.88; }
