/* ===========================
   COLLECTORLINK — THEME CSS
   =========================== */

:root {
  --bg: #F8F7F4;
  --fg: #1A1A18;
  --fg-muted: #6B6B63;
  --accent: #0B5246;
  --accent-light: #0D6B5C;
  --accent-bg: #EAF4F2;
  --amber: #E08A00;
  --amber-bg: #FFF4E0;
  --border: #E2E1DC;
  --phone-bg: #1A1A18;
  --phone-screen-bg: #0D1117;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

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

/* ---- NAV ---- */
.navbar {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(248, 247, 244, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 16px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo {
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--accent);
}
.nav-tagline {
  font-size: 13px;
  color: var(--fg-muted);
  font-weight: 400;
}

/* ---- HERO ---- */
.hero {
  position: relative;
  overflow: hidden;
  padding: 80px 32px 100px;
}
.hero-bg-shape {
  position: absolute;
  bottom: -120px;
  right: -80px;
  width: 600px;
  height: 600px;
  background: radial-gradient(ellipse, rgba(11,82,70,0.07) 0%, transparent 70%);
  pointer-events: none;
}
.hero-inner {
  max-width: 1120px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.hero-eyebrow {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 20px;
}
.hero-headline {
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: clamp(36px, 5vw, 56px);
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--fg);
  margin-bottom: 24px;
}
.hero-sub {
  font-size: 18px;
  line-height: 1.65;
  color: var(--fg-muted);
  max-width: 480px;
}

/* ---- PHONE MOCKUP ---- */
.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}
.phone-frame {
  width: 240px;
  background: var(--phone-bg);
  border-radius: 36px;
  padding: 12px;
  box-shadow: 0 40px 80px rgba(0,0,0,0.18), 0 8px 24px rgba(0,0,0,0.12);
  position: relative;
}
.phone-notch {
  width: 80px;
  height: 24px;
  background: var(--phone-bg);
  border-radius: 0 0 16px 16px;
  position: absolute;
  top: 12px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
}
.phone-screen {
  background: var(--phone-screen-bg);
  border-radius: 28px;
  padding: 40px 16px 24px;
  min-height: 380px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.app-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}
.app-logo {
  width: 32px;
  height: 32px;
  background: var(--accent);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 700;
  color: white;
}
.app-status {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  color: #4ADE80;
}
.status-dot {
  width: 6px;
  height: 6px;
  background: #4ADE80;
  border-radius: 50%;
}
.app-section-label {
  font-size: 10px;
  color: rgba(255,255,255,0.4);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 500;
  margin-bottom: 4px;
}
.app-request-card {
  background: rgba(255,255,255,0.06);
  border-radius: 10px;
  padding: 12px;
  border: 1px solid rgba(255,255,255,0.08);
}
.app-request-card.active {
  border-color: rgba(11,82,70,0.6);
  background: rgba(11,82,70,0.12);
}
.req-location { font-size: 12px; color: white; font-weight: 500; margin-bottom: 2px; }
.req-detail { font-size: 10px; color: rgba(255,255,255,0.5); margin-bottom: 4px; }
.req-pay { font-size: 12px; color: #F59E0B; font-weight: 600; margin-bottom: 8px; }
.req-btn {
  background: var(--accent);
  color: white;
  font-size: 11px;
  font-weight: 600;
  text-align: center;
  padding: 7px;
  border-radius: 6px;
}
.app-map-placeholder {
  margin-top: 12px;
  height: 100px;
  background: rgba(255,255,255,0.04);
  border-radius: 8px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}
.map-pin {
  width: 16px;
  height: 20px;
  background: var(--accent);
  border-radius: 50% 50% 50% 0;
  transform: rotate(-45deg);
  position: relative;
}
.map-pulse {
  position: absolute;
  width: 32px;
  height: 32px;
  border: 2px solid rgba(11,82,70,0.4);
  border-radius: 50%;
  animation: pulse 2s ease-out infinite;
}
@keyframes pulse {
  0% { transform: scale(0.5); opacity: 0.8; }
  100% { transform: scale(1.5); opacity: 0; }
}

/* ---- HOW IT WORKS ---- */
.how-it-works {
  padding: 100px 32px;
  background: white;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.section-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
}
.section-heading {
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: clamp(28px, 4vw, 40px);
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--fg);
  margin-bottom: 56px;
  max-width: 600px;
}
.steps-grid {
  max-width: 1120px;
  margin: 0 auto;
  display: flex;
  align-items: flex-start;
  gap: 32px;
}
.step-connector {
  padding-top: 32px;
  flex-shrink: 0;
}
.step { max-width: 280px; }
.step-number {
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: 48px;
  color: var(--accent);
  opacity: 0.15;
  line-height: 1;
  margin-bottom: 12px;
}
.step-title {
  font-size: 17px;
  font-weight: 600;
  color: var(--fg);
  margin-bottom: 8px;
  line-height: 1.3;
}
.step-body {
  font-size: 15px;
  color: var(--fg-muted);
  line-height: 1.65;
}

/* ---- NICHE / QUOTE ---- */
.niche {
  padding: 80px 32px;
  background: var(--accent-bg);
}
.niche-inner {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
}
.niche-quote-mark {
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: 80px;
  color: var(--accent);
  opacity: 0.2;
  line-height: 0.5;
  margin-bottom: 24px;
}
.niche-text {
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: clamp(22px, 3vw, 30px);
  line-height: 1.4;
  color: var(--fg);
  font-style: italic;
  margin-bottom: 20px;
}
.niche-attribution {
  font-size: 13px;
  color: var(--fg-muted);
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

/* ---- FEATURES ---- */
.features {
  padding: 100px 32px;
}
.features-grid {
  max-width: 1120px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.feature-card {
  padding: 32px;
  background: white;
  border: 1px solid var(--border);
  border-radius: 16px;
  transition: box-shadow 0.2s ease;
}
.feature-card:hover {
  box-shadow: 0 8px 32px rgba(0,0,0,0.06);
}
.feature-icon {
  width: 48px;
  height: 48px;
  background: var(--accent-bg);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}
.feature-title {
  font-size: 17px;
  font-weight: 600;
  color: var(--fg);
  margin-bottom: 10px;
}
.feature-body {
  font-size: 15px;
  color: var(--fg-muted);
  line-height: 1.65;
}

/* ---- CLOSING ---- */
.closing {
  padding: 100px 32px 120px;
  background: var(--fg);
  text-align: center;
}
.closing-inner {
  max-width: 720px;
  margin: 0 auto;
}
.closing-headline {
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: clamp(28px, 4.5vw, 48px);
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: white;
  margin-bottom: 24px;
}
.closing-body {
  font-size: 18px;
  color: rgba(255,255,255,0.6);
  line-height: 1.65;
  max-width: 560px;
  margin: 0 auto;
}

/* ---- FOOTER ---- */
.footer {
  padding: 48px 32px;
  background: var(--fg);
  border-top: 1px solid rgba(255,255,255,0.08);
}
.footer-inner {
  max-width: 1120px;
  margin: 0 auto;
  text-align: center;
}
.footer-brand {
  font-size: 16px;
  font-weight: 600;
  color: white;
  margin-bottom: 6px;
}
.footer-tagline {
  font-size: 14px;
  color: rgba(255,255,255,0.4);
  margin-bottom: 16px;
}
.footer-copy {
  font-size: 12px;
  color: rgba(255,255,255,0.25);
}

/* ---- RESPONSIVE ---- */
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; gap: 48px; }
  .hero-visual { order: -1; }
  .hero-headline { font-size: 36px; }
  .steps-grid { flex-direction: column; gap: 40px; }
  .step-connector { display: none; }
  .features-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .hero { padding: 60px 20px 80px; }
  .features-grid { grid-template-columns: 1fr; }
  .how-it-works, .features, .closing { padding: 60px 20px; }
  .niche { padding: 60px 20px; }
  .phone-frame { width: 200px; }
}