/* ══════════════════════════════════════════════
   AgentBazaar Landing Page Styles
   ══════════════════════════════════════════════ */

/* ── Reveal Animations ── */
.land-reveal {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 0.6s ease,
    transform 0.6s ease;
}
.land-reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

.land-stagger-child {
  opacity: 0;
  transform: translateY(20px);
  transition:
    opacity 0.5s ease,
    transform 0.5s ease;
}
.land-stagger-child.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* ── Section Spacing ── */
.land-section {
  padding: 80px 24px;
  max-width: 1120px;
  margin: 0 auto;
}

.land-section-dark {
  background: var(--bg-card);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 80px 24px;
}

.land-section-dark > .land-section-inner {
  max-width: 1120px;
  margin: 0 auto;
}

.land-section-title {
  font-family: "IBM Plex Mono", monospace;
  font-size: 32px;
  font-weight: 400;
  color: var(--text);
  margin-bottom: 12px;
  letter-spacing: -0.3px;
}

.land-section-sub {
  color: var(--text-secondary);
  font-size: 14px;
  line-height: 1.6;
  max-width: 600px;
  margin: 0 auto 48px;
}

.land-section-center {
  text-align: center;
}

/* ══════════════════════════════════════════════
   1. Hero
   ══════════════════════════════════════════════ */
.land-hero {
  text-align: center;
  padding: 80px 24px 48px;
  max-width: 800px;
  margin: 0 auto;
}

.land-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 600;
  color: var(--accent);
  background: var(--accent-glow);
  border: 1px solid rgba(37, 73, 232, 0.15);
  padding: 6px 16px;
  border-radius: 20px;
  margin-bottom: 28px;
  letter-spacing: 0.3px;
}

.land-hero-badge .pulse-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  animation: pulse 2s ease-in-out infinite;
}

.land-hero h1 {
  font-family: "IBM Plex Mono", monospace;
  font-size: 56px;
  font-weight: 400;
  line-height: 1.1;
  color: var(--text);
  margin-bottom: 20px;
  letter-spacing: -1px;
}

.land-hero h1 .gradient-text {
  background: linear-gradient(135deg, var(--accent), #8b5cf6);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.land-hero-sub {
  font-size: 16px;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 36px;
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
}

/* Hero search */
.land-hero-search {
  display: flex;
  align-items: center;
  background: var(--bg-input);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 6px 6px 6px 16px;
  max-width: 560px;
  margin: 0 auto 32px;
  transition: border-color 0.2s;
}
.land-hero-search:focus-within {
  border-color: var(--accent);
}
.land-hero-search svg {
  color: var(--text-dim);
  flex-shrink: 0;
}
.land-hero-search input {
  flex: 1;
  background: none;
  border: none;
  outline: none;
  font-family: inherit;
  font-size: 14px;
  color: var(--text);
  padding: 10px 12px;
}
.land-hero-search input::placeholder {
  color: var(--text-dim);
}
.land-hero-search .btn {
  border-radius: 8px;
  padding: 10px 20px;
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
}

/* Hero stats */
.land-stats {
  display: flex;
  justify-content: center;
  gap: 48px;
  padding: 32px 24px;
  border-top: 1px solid var(--border);
  max-width: 600px;
  margin: 0 auto;
}
.land-stat {
  text-align: center;
}
.land-stat-value {
  display: block;
  font-size: 28px;
  font-weight: 700;
  color: var(--text);
  font-family: "JetBrains Mono", monospace;
  letter-spacing: -0.5px;
}
.land-stat-label {
  display: block;
  font-size: 11px;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-top: 4px;
}

/* ══════════════════════════════════════════════
   2. How It Works
   ══════════════════════════════════════════════ */
.land-steps {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 0;
  margin-top: 48px;
}

.land-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  max-width: 260px;
  padding: 0 24px;
}

.land-step-num {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--accent-glow);
  border: 2px solid rgba(37, 73, 232, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 20px;
  transition: all 0.3s;
}

.land-step:hover .land-step-num {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}

.land-step h4 {
  font-size: 16px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 8px;
}

.land-step p {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.6;
}

.land-step-connector {
  display: flex;
  align-items: center;
  color: var(--text-dim);
  margin-top: 20px;
  flex-shrink: 0;
}

/* ══════════════════════════════════════════════
   3. Agent Stacks — Clean Flow Diagram
   ══════════════════════════════════════════════ */
.stacks-flow {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  margin: 48px auto 0;
  max-width: 860px;
}

.stacks-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  min-width: 80px;
}

.stacks-circle {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1.5px solid;
}

.stacks-circle--you {
  border-color: rgba(99, 102, 241, 0.4);
  background: rgba(99, 102, 241, 0.08);
  color: #818cf8;
}

.stacks-circle--agent {
  border-color: rgba(139, 92, 246, 0.4);
  background: rgba(139, 92, 246, 0.08);
  color: #a78bfa;
}

.stacks-circle--result {
  border-color: rgba(34, 197, 94, 0.4);
  background: rgba(34, 197, 94, 0.08);
  color: #4ade80;
}

.stacks-label {
  font-size: 12px;
  font-weight: 600;
  color: var(--text);
}

.stacks-sublabel {
  font-size: 10px;
  color: var(--text-dim);
}

.stacks-arrow {
  display: flex;
  align-items: center;
  padding: 0 6px;
  margin-bottom: 30px;
}

.stacks-hired-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.stacks-hired {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(139, 92, 246, 0.04);
  border: 1px solid rgba(139, 92, 246, 0.12);
  border-radius: 8px;
  padding: 7px 14px;
}

.stacks-hired-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  flex-shrink: 0;
}

.stacks-hired span {
  font-size: 11px;
  font-weight: 500;
  color: var(--text);
}

.stacks-price {
  margin-left: auto;
  font-size: 10px;
  color: rgba(139, 92, 246, 0.6);
  font-family: "JetBrains Mono", monospace;
}

@media (max-width: 640px) {
  .stacks-flow {
    flex-direction: column;
    gap: 4px;
  }
  .stacks-arrow {
    transform: rotate(90deg);
    margin-bottom: 0;
    padding: 4px 0;
  }
  .stacks-hired-group {
    flex-direction: row;
    gap: 6px;
  }
  .stacks-hired {
    padding: 6px 10px;
  }
}

/* ══════════════════════════════════════════════
   4. Six Ways to Hire
   ══════════════════════════════════════════════ */
.land-hire-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 48px;
}

.land-hire-card {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 28px 24px;
  transition:
    border-color 0.2s,
    transform 0.2s;
}
.land-hire-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-2px);
}

.land-hire-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--accent-glow);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  margin-bottom: 16px;
}

.land-hire-card h4 {
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 6px;
}

.land-hire-card p {
  font-size: 12px;
  color: var(--text-secondary);
  line-height: 1.5;
}

/* ══════════════════════════════════════════════
   5. Trust Engine
   ══════════════════════════════════════════════ */
.land-trust-tiers {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 48px;
  flex-wrap: wrap;
}

.land-trust-tier {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 24px 20px;
  text-align: center;
  min-width: 120px;
  flex: 1;
  max-width: 180px;
  transition:
    border-color 0.2s,
    transform 0.2s,
    box-shadow 0.2s;
  cursor: default;
}
.land-trust-tier:hover,
.land-trust-tier.active {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
}

.land-trust-badge {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 12px;
  font-size: 22px;
}

.land-trust-tier[data-tier="unrated"] .land-trust-badge {
  background: rgba(156, 163, 175, 0.1);
  border: 2px solid rgba(156, 163, 175, 0.3);
}
.land-trust-tier[data-tier="bronze"] .land-trust-badge {
  background: rgba(180, 130, 70, 0.1);
  border: 2px solid rgba(180, 130, 70, 0.3);
}
.land-trust-tier[data-tier="silver"] .land-trust-badge {
  background: rgba(148, 163, 184, 0.1);
  border: 2px solid rgba(148, 163, 184, 0.3);
}
.land-trust-tier[data-tier="gold"] .land-trust-badge {
  background: rgba(234, 179, 8, 0.08);
  border: 2px solid rgba(234, 179, 8, 0.3);
}
.land-trust-tier[data-tier="platinum"] .land-trust-badge {
  background: rgba(99, 102, 241, 0.08);
  border: 2px solid rgba(99, 102, 241, 0.3);
}

.land-trust-tier[data-tier="unrated"]:hover {
  border-color: rgba(156, 163, 175, 0.4);
}
.land-trust-tier[data-tier="bronze"]:hover {
  border-color: rgba(180, 130, 70, 0.4);
}
.land-trust-tier[data-tier="silver"]:hover {
  border-color: rgba(148, 163, 184, 0.4);
}
.land-trust-tier[data-tier="gold"]:hover {
  border-color: rgba(234, 179, 8, 0.4);
}
.land-trust-tier[data-tier="platinum"]:hover {
  border-color: rgba(99, 102, 241, 0.4);
}

.land-trust-name {
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 4px;
}

.land-trust-req {
  font-size: 11px;
  color: var(--text-dim);
  line-height: 1.4;
}

/* ══════════════════════════════════════════════
   6. Session Parity
   ══════════════════════════════════════════════ */
.land-parity-grid {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-top: 48px;
  flex-wrap: wrap;
}

.land-parity-item {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 16px 20px;
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 180px;
  transition: border-color 0.2s;
}
.land-parity-item:hover {
  border-color: var(--border-hover);
}

.land-parity-check {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: rgba(34, 197, 94, 0.1);
  color: var(--green);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.land-parity-label {
  font-size: 13px;
  font-weight: 500;
  color: var(--text);
}

.land-parity-sub {
  font-size: 11px;
  color: var(--text-dim);
}

/* ══════════════════════════════════════════════
   7. Builder CTA + Quick Start
   ══════════════════════════════════════════════ */
.land-cta {
  text-align: center;
}

.land-cta-headline {
  font-family: "IBM Plex Mono", monospace;
  font-size: 28px;
  color: var(--text);
  margin-bottom: 8px;
}

.land-cta-sub {
  font-size: 14px;
  color: var(--text-secondary);
  margin-bottom: 32px;
}

.land-code-wrap {
  max-width: 620px;
  margin: 0 auto 32px;
  text-align: left;
}

.land-code-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 16px;
  background: #1a1a2e;
  border-radius: 10px 10px 0 0;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-bottom: none;
}

.land-code-dots {
  display: flex;
  gap: 6px;
}
.land-code-dots span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
}
.land-code-dots span:nth-child(1) {
  background: #ff5f57;
}
.land-code-dots span:nth-child(2) {
  background: #ffbd2e;
}
.land-code-dots span:nth-child(3) {
  background: #27c93f;
}

.land-code-label {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.4);
}

#land-copy-btn {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.6);
  padding: 4px 14px;
  border-radius: 6px;
  font-family: inherit;
  font-size: 12px;
  cursor: pointer;
  transition: all 0.2s;
}
#land-copy-btn:hover {
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
}

.land-code-block {
  background: #0f0f1a;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-top: none;
  border-radius: 0 0 10px 10px;
  padding: 20px 24px;
  overflow-x: auto;
  font-family: "JetBrains Mono", monospace;
  font-size: 13px;
  line-height: 1.7;
  color: #e2e8f0;
}
.land-code-block .dim {
  color: rgba(255, 255, 255, 0.3);
}
.land-code-block .str {
  color: #a5d6ff;
}
.land-code-block .num {
  color: #79c0ff;
}
.land-code-block .kw {
  color: #ff7b72;
}

.land-cta-actions {
  display: flex;
  justify-content: center;
  gap: 12px;
}

/* ══════════════════════════════════════════════
   8. Pricing
   ══════════════════════════════════════════════ */
.land-pricing {
  text-align: center;
}

.land-pricing-card {
  max-width: 480px;
  margin: 48px auto 0;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 40px;
}

.land-pricing-amount {
  font-size: 48px;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -2px;
  font-family: "JetBrains Mono", monospace;
}

.land-pricing-label {
  font-size: 14px;
  color: var(--text-secondary);
  margin-bottom: 24px;
}

.land-pricing-list {
  list-style: none;
  text-align: left;
  margin-bottom: 0;
}

.land-pricing-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 0;
  font-size: 14px;
  color: var(--text);
  border-bottom: 1px solid var(--border);
}
.land-pricing-list li:last-child {
  border-bottom: none;
}

.land-pricing-check {
  color: var(--green);
  flex-shrink: 0;
}

/* ══════════════════════════════════════════════
   9. Featured Agents (keep existing carousel)
   ══════════════════════════════════════════════ */
/* Uses existing .featured-section styles from styles.css */

/* ══════════════════════════════════════════════
   10. Ecosystem
   ══════════════════════════════════════════════ */
/* Uses existing .ecosystem-section styles from styles.css */

/* ══════════════════════════════════════════════
   11. Footer
   ══════════════════════════════════════════════ */
.land-footer {
  border-top: 1px solid var(--border);
  padding: 48px 24px;
  max-width: 1120px;
  margin: 0 auto;
}

.land-footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 48px;
  flex-wrap: wrap;
}

.land-footer-brand {
  max-width: 260px;
}

.land-footer-brand h4 {
  font-family: "IBM Plex Mono", monospace;
  font-size: 18px;
  color: var(--text);
  margin-bottom: 8px;
}

.land-footer-brand p {
  font-size: 12px;
  color: var(--text-dim);
  line-height: 1.5;
}

.land-footer-links {
  display: flex;
  gap: 48px;
}

.land-footer-col h5 {
  font-size: 12px;
  font-weight: 600;
  color: var(--text);
  text-transform: uppercase;
  letter-spacing: 0.8px;
  margin-bottom: 12px;
}

.land-footer-col a {
  display: block;
  font-size: 13px;
  color: var(--text-secondary);
  padding: 4px 0;
  transition: color 0.2s;
}
.land-footer-col a:hover {
  color: var(--accent);
}

.land-footer-bottom {
  border-top: 1px solid var(--border);
  margin-top: 32px;
  padding-top: 20px;
  font-size: 12px;
  color: var(--text-dim);
  text-align: center;
}

/* ══════════════════════════════════════════════
   Responsive
   ══════════════════════════════════════════════ */
@media (max-width: 768px) {
  .land-hero h1 {
    font-size: 36px;
  }

  .land-hero-sub {
    font-size: 14px;
  }

  .land-stats {
    flex-direction: column;
    gap: 20px;
    align-items: center;
  }

  .land-steps {
    flex-direction: column;
    align-items: center;
  }

  .land-step-connector {
    transform: rotate(90deg);
    margin: 8px 0;
  }

  .land-hire-grid {
    grid-template-columns: 1fr 1fr;
  }

  .land-trust-tiers {
    flex-wrap: wrap;
    gap: 8px;
  }

  .land-trust-tier {
    min-width: 100px;
    flex-basis: calc(50% - 4px);
  }

  .land-parity-grid {
    flex-direction: column;
    align-items: center;
  }

  .land-stacks-row {
    flex-direction: column;
    align-items: center;
    gap: 12px;
  }

  .land-footer-inner {
    flex-direction: column;
  }

  .land-footer-links {
    flex-wrap: wrap;
    gap: 32px;
  }

  .land-cta-actions {
    flex-direction: column;
    align-items: center;
  }
}

@media (max-width: 480px) {
  .land-hero h1 {
    font-size: 28px;
  }

  .land-section {
    padding: 48px 16px;
  }

  .land-section-dark {
    padding: 48px 16px;
  }

  .land-hire-grid {
    grid-template-columns: 1fr;
  }

  .land-hero-search {
    flex-direction: column;
    gap: 8px;
    padding: 12px;
  }

  .land-hero-search .btn {
    width: 100%;
  }

  .land-section-title {
    font-size: 26px;
  }
}
