/*
Theme Name: Circular Asset Recycling
Theme URI: https://example.com/
Author: OpenAI
Description: A custom WordPress theme for Circular Asset Recycling with vendor intake, stock lots, and compliance-focused pages.
Version: 1.0.0
License: GNU General Public License v2 or later
Text Domain: circular-asset-recycling
*/

:root {
  --bg: #f5f6f4;
  --card: #ffffff;
  --text: #111827;
  --muted: #6b7280;
  --line: #e5e7eb;
  --green: #1f5e3b;
  --green-2: #6bcb77;
  --dark: #0f172a;
  --radius-xl: 28px;
  --radius-lg: 20px;
  --shadow: 0 18px 50px rgba(15, 23, 42, 0.08);
  --max: 1200px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }
button, input, select, textarea { font: inherit; }
.container { max-width: var(--max); margin: 0 auto; padding: 0 20px; }
.section { padding: 72px 0; }
.section-tight { padding: 48px 0; }
.badge {
  display: inline-flex; align-items: center; gap: 8px;
  border-radius: 999px; padding: 8px 14px; font-size: 14px; font-weight: 600;
  border: 1px solid #bbf7d0; background: #ecfdf5; color: #065f46;
}
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 22px; border-radius: 999px; border: 1px solid transparent;
  cursor: pointer; transition: 0.2s ease; font-weight: 600;
}
.btn-primary { background: var(--green); color: #fff; }
.btn-primary:hover { background: #174a2f; }
.btn-outline { background: #fff; color: var(--text); border-color: #d1d5db; }
.btn-outline:hover { border-color: #9ca3af; }
.grid { display: grid; gap: 18px; }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.card-pad { padding: 24px; }
.card-soft { box-shadow: 0 6px 20px rgba(15, 23, 42, 0.05); }
.h1 { font-size: clamp(40px, 6vw, 72px); line-height: 1.02; letter-spacing: -1px; margin: 0; }
.h2 { font-size: clamp(28px, 3.5vw, 42px); line-height: 1.12; letter-spacing: -0.5px; margin: 0; }
.h3 { font-size: 24px; line-height: 1.2; margin: 0; }
.muted { color: var(--muted); }
.small { font-size: 14px; }
.spaced { letter-spacing: 0.16em; text-transform: uppercase; font-size: 12px; font-weight: 700; color: var(--green); }
.hr { height: 1px; background: var(--line); border: 0; margin: 0; }
.header {
  position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,0.92); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  min-height: 76px;
}
.brand { display: flex; align-items: center; gap: 12px; }
.brand-mark {
  width: 44px; height: 44px; border-radius: 16px; background: var(--green); color: #fff;
  display: grid; place-items: center; font-weight: 800; font-size: 18px;
}
.brand-name { font-weight: 800; line-height: 1.2; }
.brand-sub { font-size: 12px; color: var(--muted); }
.nav { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.nav a { padding: 10px 12px; border-radius: 999px; color: #374151; }
.nav a:hover { background: #f3f4f6; }
.hero {
  padding: 36px 0 14px;
}
.hero-wrap {
  display: grid; gap: 28px; grid-template-columns: 1.15fr 0.85fr; align-items: center;
}
.hero-copy p { font-size: 18px; color: var(--muted); max-width: 760px; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 22px; }
.panel {
  background: #fff; border: 1px solid var(--line); border-radius: 32px; overflow: hidden; box-shadow: var(--shadow);
}
.panel-head {
  padding: 22px 24px; color: #fff; background: linear-gradient(90deg, var(--green), var(--green-2));
}
.panel-body { padding: 24px; }
.stats { margin-top: 26px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.stat { background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: 16px; }
.stat strong { display: block; font-size: 24px; margin-bottom: 4px; }
.card-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.feature-icon {
  width: 48px; height: 48px; border-radius: 18px; display: grid; place-items: center;
  background: #ecfdf5; color: var(--green); margin-bottom: 14px;
}
.split {
  display: grid; grid-template-columns: 1fr 1fr; gap: 18px;
}
.dark-card { background: var(--dark); color: #fff; }
.dark-card .muted { color: #cbd5e1; }
.list-clean { padding-left: 18px; margin: 16px 0 0; }
.list-clean li { margin: 8px 0; }
.page-title { padding: 42px 0 8px; }
.page-title p { max-width: 820px; color: var(--muted); font-size: 18px; }
.stock-card .meta { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.pill {
  display: inline-flex; align-items: center; padding: 6px 10px; border-radius: 999px;
  background: #ecfdf5; color: #065f46; font-size: 12px; font-weight: 700;
}
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field label { font-size: 14px; font-weight: 600; color: #374151; }
.field input, .field textarea, .field select {
  width: 100%; border: 1px solid #d1d5db; background: #fff; border-radius: 14px; padding: 12px 14px;
}
.field textarea { min-height: 120px; resize: vertical; }
.form-note { font-size: 13px; color: var(--muted); }
.notice { background: #eff6ff; border: 1px solid #bfdbfe; color: #1e40af; padding: 14px 16px; border-radius: 16px; }
.footer { padding: 36px 0 48px; border-top: 1px solid var(--line); background: #fff; }
.footer-grid { display: grid; grid-template-columns: 1.2fr 0.8fr 0.8fr; gap: 24px; }
.footer h4 { margin: 0 0 12px; }
.footer ul { list-style: none; padding: 0; margin: 0; }
.footer li { margin: 8px 0; color: var(--muted); }
.page-content { padding-bottom: 72px; }
.align-center { text-align: center; }
.stack { display: grid; gap: 18px; }
.kicker { font-size: 13px; font-weight: 800; letter-spacing: 0.16em; text-transform: uppercase; color: var(--green); }
@media (max-width: 960px) {
  .hero-wrap, .split, .footer-grid { grid-template-columns: 1fr; }
  .stats, .card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .form-grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .nav { display: none; }
  .stats, .card-grid { grid-template-columns: 1fr; }
  .h1 { font-size: 38px; }
}
