/* =========================================
   ASSORT — Theme CSS
   ========================================= */

:root {
  --bg: #0F1117;
  --bg-2: #161B27;
  --surface: #1A2033;
  --border: #252D42;
  --mint: #00E5A0;
  --mint-dim: rgba(0, 229, 160, 0.15);
  --amber: #F59E0B;
  --text: #F0F2F8;
  --text-2: #8892A4;
  --text-3: #535E77;
}

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

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

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

.section-label {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--mint);
  display: block;
  margin-bottom: 1rem;
}

/* ---- NAV ---- */
nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 1.5rem 3rem;
  background: rgba(15, 17, 23, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

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

.nav-tagline {
  font-size: 0.75rem;
  color: var(--text-3);
  font-weight: 400;
}

/* ---- HERO ---- */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 8rem 3rem 5rem;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -200px;
  right: -200px;
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, rgba(0, 229, 160, 0.07) 0%, transparent 70%);
  pointer-events: none;
}

.hero-grid {
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}

.hero-eyebrow {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--mint);
  margin-bottom: 1.25rem;
  display: block;
}

.hero-headline {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 800;
  line-height: 1.05;
  margin-bottom: 1.5rem;
  color: var(--text);
}

.hero-sub {
  font-size: 1.1rem;
  color: var(--text-2);
  line-height: 1.7;
  max-width: 440px;
}

.hero-right {
  position: relative;
}

.hero-orb {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(0, 229, 160, 0.12) 0%, transparent 65%);
  border-radius: 50%;
  pointer-events: none;
}

.hero-dash {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 1.5rem;
  position: relative;
  z-index: 1;
  box-shadow: 0 40px 80px rgba(0,0,0,0.4), 0 0 60px rgba(0, 229, 160, 0.05);
}

.dash-header {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 1.25rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border);
}

.dash-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}

.dash-dot.green { background: var(--mint); box-shadow: 0 0 8px var(--mint); }

.dash-label {
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--text-2);
  letter-spacing: 0.05em;
}

.dash-rows { display: flex; flex-direction: column; gap: 0.5rem; }

.dash-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.65rem 0.85rem;
  background: var(--bg-2);
  border-radius: 8px;
  border: 1px solid var(--border);
}

.row-name {
  font-size: 0.8rem;
  color: var(--text-2);
  font-weight: 400;
}

.row-status {
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  padding: 0.25rem 0.6rem;
  border-radius: 100px;
}

.row-status.green { background: rgba(0,229,160,0.15); color: var(--mint); }
.row-status.amber { background: rgba(245,158,11,0.15); color: var(--amber); }
.row-status.mint { background: rgba(0,229,160,0.08); color: rgba(0,229,160,0.7); }
.row-status.muted { background: rgba(83,94,119,0.2); color: var(--text-3); }

/* ---- PROBLEM ---- */
.problem {
  padding: 6rem 3rem;
  border-top: 1px solid var(--border);
}

.problem-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.problem-header {
  margin-bottom: 4rem;
}

.problem-header h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  max-width: 500px;
}

.problem-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
}

.problem-card {
  background: var(--bg);
  padding: 2.5rem;
}

.problem-num {
  font-family: 'Syne', sans-serif;
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--mint-dim);
  margin-bottom: 1.5rem;
  letter-spacing: -0.03em;
}

.problem-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.85rem;
  color: var(--text);
}

.problem-card p {
  font-size: 0.9rem;
  color: var(--text-2);
  line-height: 1.65;
}

/* ---- PRODUCT ---- */
.product {
  padding: 6rem 3rem;
  background: var(--bg-2);
}

.product-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.product-header {
  margin-bottom: 4rem;
}

.product-header h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  margin-bottom: 1rem;
}

.product-sub {
  font-size: 1.05rem;
  color: var(--text-2);
  max-width: 480px;
  line-height: 1.65;
}

.product-pillars {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.pillar {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 2rem 1.75rem;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.pillar:hover {
  border-color: rgba(0, 229, 160, 0.3);
  box-shadow: 0 0 30px rgba(0, 229, 160, 0.05);
}

.pillar-icon {
  width: 44px;
  height: 44px;
  background: var(--mint-dim);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--mint);
  margin-bottom: 1.25rem;
}

.pillar h4 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  color: var(--text);
}

.pillar p {
  font-size: 0.85rem;
  color: var(--text-2);
  line-height: 1.6;
}

/* ---- HOW ---- */
.how {
  padding: 6rem 3rem;
  border-top: 1px solid var(--border);
}

.how-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.how-inner h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  margin-bottom: 3.5rem;
  max-width: 500px;
}

.how-steps {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.step {
  display: grid;
  grid-template-columns: 60px 1fr;
  gap: 2rem;
  padding: 2.5rem 0;
  border-bottom: 1px solid var(--border);
  align-items: start;
}

.step:last-child { border-bottom: none; }

.step-num {
  font-family: 'Syne', sans-serif;
  font-size: 2rem;
  font-weight: 800;
  color: var(--mint-dim);
  line-height: 1;
  padding-top: 0.2rem;
}

.step h4 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  color: var(--text);
}

.step p {
  font-size: 0.9rem;
  color: var(--text-2);
  line-height: 1.65;
  max-width: 560px;
}

/* ---- OUTCOMES ---- */
.outcomes {
  padding: 6rem 3rem;
  background: var(--bg-2);
  border-top: 1px solid var(--border);
}

.outcomes-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.outcomes-inner h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  margin-bottom: 3.5rem;
}

.outcomes-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
}

.outcome {
  background: var(--surface);
  padding: 2.5rem;
  text-align: center;
}

.outcome-metric {
  font-family: 'Syne', sans-serif;
  font-size: 3.5rem;
  font-weight: 800;
  color: var(--mint);
  letter-spacing: -0.04em;
  margin-bottom: 0.25rem;
}

.outcome-label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 1rem;
}

.outcome-desc {
  font-size: 0.85rem;
  color: var(--text-2);
  line-height: 1.6;
}

/* ---- CLOSING ---- */
.closing {
  padding: 8rem 3rem;
  position: relative;
  overflow: hidden;
  text-align: center;
  border-top: 1px solid var(--border);
}

.closing::before {
  content: '';
  position: absolute;
  bottom: -300px;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 400px;
  background: radial-gradient(ellipse, rgba(0, 229, 160, 0.08) 0%, transparent 70%);
  pointer-events: none;
}

.closing-inner {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.closing h2 {
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 1.5rem;
  color: var(--text);
}

.closing p {
  font-size: 1.1rem;
  color: var(--text-2);
  line-height: 1.65;
  max-width: 560px;
  margin: 0 auto;
}

/* ---- FOOTER ---- */
footer {
  padding: 3rem;
  border-top: 1px solid var(--border);
  text-align: center;
}

.footer-inner { max-width: 600px; margin: 0 auto; }

.footer-logo {
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: 1.2rem;
  letter-spacing: -0.03em;
  color: var(--text);
  display: block;
  margin-bottom: 0.5rem;
}

.footer-tagline {
  font-size: 0.85rem;
  color: var(--text-2);
  margin-bottom: 1.5rem;
}

.footer-legal {
  font-size: 0.75rem;
  color: var(--text-3);
  line-height: 1.5;
}

/* ---- RESPONSIVE ---- */
@media (max-width: 900px) {
  nav { padding: 1rem 1.5rem; }
  .hero { padding: 7rem 1.5rem 4rem; }
  .hero-grid { grid-template-columns: 1fr; gap: 3rem; }
  .hero-orb { display: none; }
  .hero-sub { max-width: 100%; }
  .problem, .product, .how, .outcomes, .closing { padding: 4rem 1.5rem; }
  .problem-grid, .outcomes-grid { grid-template-columns: 1fr; }
  .product-pillars { grid-template-columns: 1fr 1fr; }
  .step { grid-template-columns: 40px 1fr; gap: 1rem; }
  .outcome-metric { font-size: 2.8rem; }
}

@media (max-width: 600px) {
  .product-pillars { grid-template-columns: 1fr; }
  .closing h2 { font-size: 1.8rem; }
}

/* ---- CUSTOM SCROLLBAR ---- */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--border); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--text-3); }
