/* TradeLoop Landing Page */

/* Palette */
:root {
  --bg: #faf9f7;
  --bg-alt: #f3f0e8;
  --fg: #1a1a18;
  --fg-muted: #6b6b63;
  --accent: #059669;
  --accent-warm: #d97706;
  --accent-warm-light: #fef3c7;
  --border: #e5e2d8;
}

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  background: var(--bg);
  color: var(--fg);
  font-family: 'DM Sans', system-ui, sans-serif;
  line-height: 1.6;
}

/* Typography */
h1, h2, h3 {
  font-family: 'Syne', system-ui, sans-serif;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

/* Navigation */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(250, 249, 247, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  max-width: 1080px;
  margin: 0 auto;
  padding: 18px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: 1.2rem;
  color: var(--fg);
  text-decoration: none;
  letter-spacing: -0.03em;
}

.nav-badge {
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  background: rgba(5, 150, 105, 0.08);
  padding: 4px 10px;
  border-radius: 100px;
  border: 1px solid rgba(5, 150, 105, 0.2);
}

/* Hero */
.hero {
  padding: 80px 32px 64px;
  max-width: 1080px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.hero-eyebrow {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--fg-muted);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 24px;
}

.eyebrow-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  display: inline-block;
}

.hero-headline {
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.04em;
  color: var(--fg);
  margin-bottom: 24px;
}

.hero-headline em {
  font-style: normal;
  color: var(--accent);
}

.hero-sub {
  font-size: 1.05rem;
  color: var(--fg-muted);
  line-height: 1.7;
  max-width: 420px;
  margin-bottom: 32px;
  font-weight: 300;
}

.hero-tagline {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--fg-muted);
}

.hero-tagline .sep {
  color: var(--accent-warm);
  font-size: 1.2em;
}

/* Trade Diagram */
.hero-visual {
  display: flex;
  align-items: center;
  justify-content: center;
}

.trade-diagram {
  display: flex;
  align-items: center;
  gap: 0;
}

.trade-node {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 20px 24px;
  border-radius: 12px;
  border: 1.5px solid var(--border);
  background: white;
}

.trade-node.you {
  background: var(--fg);
  border-color: var(--fg);
  color: white;
}

.trade-node.suppliers {
  border-color: var(--accent-warm);
  color: var(--fg);
}

.node-label {
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: 1rem;
}

.node-sub {
  font-size: 0.7rem;
  opacity: 0.6;
  text-align: center;
  max-width: 110px;
}

.trade-arrow {
  padding: 0 12px;
}

/* Manifesto */
.manifesto {
  background: var(--fg);
  color: white;
  padding: 80px 32px;
}

.manifesto-inner {
  max-width: 800px;
  margin: 0 auto;
}

.manifesto-mark {
  font-size: 5rem;
  line-height: 0.5;
  color: var(--accent-warm);
  margin-bottom: 24px;
  font-family: Georgia, serif;
}

.manifesto-text {
  font-size: clamp(1.3rem, 2.5vw, 1.7rem);
  font-weight: 300;
  line-height: 1.5;
  color: rgba(255,255,255,0.9);
  font-style: italic;
  margin-bottom: 28px;
}

.manifesto-attr {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.45);
  line-height: 1.6;
}

/* Features */
.features {
  padding: 80px 32px;
  max-width: 1080px;
  margin: 0 auto;
}

.features-header {
  margin-bottom: 56px;
}

.features-title {
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  font-weight: 800;
  color: var(--fg);
  margin-bottom: 10px;
}

.features-sub {
  font-size: 1rem;
  color: var(--fg-muted);
  font-weight: 300;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.feature-card {
  padding: 32px;
  border: 1.5px solid var(--border);
  border-radius: 16px;
  background: white;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.feature-card:hover {
  box-shadow: 0 8px 32px rgba(0,0,0,0.06);
  transform: translateY(-2px);
}

.feature-icon {
  margin-bottom: 20px;
}

.feature-title {
  font-family: 'Syne', sans-serif;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--fg);
  margin-bottom: 10px;
}

.feature-desc {
  font-size: 0.9rem;
  color: var(--fg-muted);
  line-height: 1.65;
  font-weight: 300;
}

/* Closing */
.closing {
  padding: 80px 32px 100px;
  max-width: 1080px;
  margin: 0 auto;
  text-align: center;
}

.closing-headline {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  color: var(--fg);
  margin-bottom: 24px;
  letter-spacing: -0.03em;
}

.closing-sub {
  font-size: 1.05rem;
  color: var(--fg-muted);
  max-width: 520px;
  margin: 0 auto;
  line-height: 1.7;
  font-weight: 300;
}

/* Footer */
.footer {
  border-top: 1px solid var(--border);
  padding: 32px;
}

.footer-inner {
  max-width: 1080px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.footer-name {
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: 0.95rem;
  color: var(--fg);
}

.footer-tagline {
  font-size: 0.75rem;
  color: var(--fg-muted);
}

.footer-meta {
  font-size: 0.75rem;
  color: var(--fg-muted);
  display: flex;
  align-items: center;
  gap: 8px;
}

.footer-meta .dot {
  color: var(--accent-warm);
}

/* Responsive */
@media (max-width: 768px) {
  .hero {
    grid-template-columns: 1fr;
    padding: 48px 24px 48px;
    gap: 40px;
  }

  .hero-visual {
    order: -1;
  }

  .features-grid {
    grid-template-columns: 1fr;
  }

  .footer-inner {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }

  .manifesto, .features, .closing {
    padding-left: 24px;
    padding-right: 24px;
  }
}

@media (max-width: 480px) {
  .trade-diagram {
    flex-direction: column;
    gap: 16px;
  }

  .trade-arrow {
    transform: rotate(90deg);
    padding: 8px 0;
  }
}