/* === RESET & BASE === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg: #0A0A0A;
  --surface: #111111;
  --surface-2: #1A1A1A;
  --amber: #F5A623;
  --amber-dim: rgba(245,166,35,0.15);
  --amber-mid: rgba(245,166,35,0.4);
  --green: #4ADE80;
  --white: #F5F5F0;
  --muted: rgba(245,245,240,0.45);
  --border: rgba(245,166,35,0.18);
  --font-head: 'Syne', sans-serif;
  --font-body: 'DM Sans', sans-serif;
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--bg);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* === TYPOGRAPHY === */
h1, h2, h3, h4 {
  font-family: var(--font-head);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

p { max-width: 55ch; }

.section-eyebrow {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 1rem;
}

/* === NAV === */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(10,10,10,0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  padding: 0 2rem;
}

.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 60px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.logo-mark {
  font-size: 1.4rem;
  color: var(--amber);
}

.logo-name {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.1rem;
  letter-spacing: -0.01em;
}

.nav-tagline {
  font-size: 0.8rem;
  color: var(--muted);
  font-style: italic;
}

/* === HERO === */
.hero {
  padding: 5rem 2rem 4rem;
  overflow: hidden;
}

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

.hero-eyebrow {
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--amber);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
}

.hero-headline {
  font-size: clamp(2.4rem, 4.5vw, 3.8rem);
  font-weight: 800;
  color: var(--white);
  margin-bottom: 1.5rem;
  line-height: 1.08;
}

.hero-sub {
  font-size: 1.05rem;
  color: var(--muted);
  line-height: 1.7;
  margin-bottom: 2.5rem;
  max-width: 46ch;
}

.hero-stat-row {
  display: flex;
  gap: 2.5rem;
}

.hero-stat {
  display: flex;
  flex-direction: column;
}

.stat-num {
  font-family: var(--font-head);
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--amber);
  line-height: 1;
}

.stat-label {
  font-size: 0.72rem;
  color: var(--muted);
  margin-top: 0.3rem;
  max-width: 8ch;
  line-height: 1.3;
}

/* === DASHBOARD MOCK === */
.hero-visual {
  position: relative;
}

.dashboard-mock {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 0 60px rgba(245,166,35,0.06), 0 40px 80px rgba(0,0,0,0.5);
}

.mock-bar {
  background: var(--surface-2);
  padding: 0.75rem 1rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  border-bottom: 1px solid var(--border);
}

.mock-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
}
.mock-dot.red { background: #FF5F57; }
.mock-dot.yellow { background: #FFBD2E; }
.mock-dot.green { background: #28CA41; }

.mock-title {
  font-size: 0.72rem;
  color: var(--muted);
  margin-left: 0.5rem;
  font-family: var(--font-body);
}

.mock-body {
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.mock-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
}

.mock-card {
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 0.85rem;
}

.card-amber { border-color: rgba(245,166,35,0.3); background: rgba(245,166,35,0.06); }
.card-green { border-color: rgba(74,222,128,0.3); background: rgba(74,222,128,0.04); }
.card-white { border-color: rgba(245,245,240,0.1); }

.card-label {
  font-size: 0.65rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.25rem;
}

.card-val {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.3rem;
  color: var(--white);
}

/* === FUNNEL === */
.mock-funnel {
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 0.85rem;
}

.funnel-label {
  font-size: 0.65rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.75rem;
}

.funnel-stage {
  margin-bottom: 0.4rem;
}

.funnel-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.35rem 0.7rem;
  border-radius: 6px;
  font-size: 0.72rem;
}

.funnel-bar span {
  color: rgba(245,166,35,0.7);
}

.funnel-bar strong {
  color: var(--amber);
  font-family: var(--font-head);
  font-size: 0.85rem;
}

/* === MAP === */
.mock-map {
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 0.85rem;
}

.map-label {
  font-size: 0.65rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.75rem;
}

.map-grid {
  position: relative;
  height: 80px;
  background: rgba(245,166,35,0.04);
  border-radius: 8px;
  border: 1px solid var(--border);
}

.map-dot {
  position: absolute;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--amber);
  opacity: 0.5;
}

.dot-houston { top: 50%; left: 50%; transform: translate(-50%,-50%); }
.dot-pasadena { top: 40%; left: 70%; }
.dot-pearland { top: 72%; left: 55%; }
.dot-channelview { top: 55%; left: 35%; }
.dot-missouri { top: 62%; left: 60%; }
.dot-deerpark { top: 45%; left: 25%; }

.pulse {
  animation: pulse 2s infinite;
  box-shadow: 0 0 0 0 rgba(245,166,35,0.5);
}

@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(245,166,35,0.5); opacity: 1; }
  70% { box-shadow: 0 0 0 8px rgba(245,166,35,0); opacity: 0.6; }
  100% { box-shadow: 0 0 0 0 rgba(245,166,35,0); opacity: 1; }
}

/* === SECTION SHARED === */
.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-header h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  color: var(--white);
}

/* === PIPELINE === */
.pipeline {
  padding: 5rem 2rem;
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

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

.pipeline-grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr;
  align-items: start;
  gap: 0;
}

.pipeline-connector {
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: 1.5rem;
  color: var(--amber);
  font-size: 1.5rem;
  opacity: 0.5;
}

.pipeline-stage {
  padding: 1.5rem;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--bg);
  margin: 0 0.5rem;
}

.stage-num {
  font-family: var(--font-head);
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--amber);
  letter-spacing: 0.1em;
  margin-bottom: 0.75rem;
}

.pipeline-stage h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 0.6rem;
}

.pipeline-stage p {
  font-size: 0.85rem;
  color: var(--muted);
  line-height: 1.5;
  max-width: 22ch;
}

/* === FEATURES === */
.features {
  padding: 5rem 2rem;
}

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

.features-head {
  text-align: center;
  margin-bottom: 4rem;
}

.features-head h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  color: var(--white);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.feature-card {
  padding: 2rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.feature-card:hover {
  border-color: rgba(245,166,35,0.4);
  box-shadow: 0 0 30px rgba(245,166,35,0.05);
}

.feature-icon {
  font-size: 1.8rem;
  margin-bottom: 1.25rem;
  color: var(--amber);
}

.feature-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 0.75rem;
}

.feature-card p {
  font-size: 0.88rem;
  color: var(--muted);
  line-height: 1.6;
  max-width: 32ch;
}

/* === PROCESS === */
.process {
  padding: 5rem 2rem;
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.process-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: start;
}

.process-left h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  color: var(--white);
  margin-bottom: 1.25rem;
}

.process-desc {
  font-size: 1rem;
  color: var(--muted);
  line-height: 1.7;
  margin-bottom: 1.5rem;
  max-width: 44ch;
}

.process-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1.5rem;
}

.pill {
  background: var(--amber-dim);
  border: 1px solid rgba(245,166,35,0.25);
  color: var(--amber);
  padding: 0.35rem 0.85rem;
  border-radius: 100px;
  font-size: 0.78rem;
  font-weight: 500;
}

/* === COMPARISON === */
.comparison {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.compare-col {
  padding: 1.5rem;
  border-radius: 12px;
}

.compare-col.old {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);
}

.compare-col.new {
  background: rgba(245,166,35,0.05);
  border: 1px solid rgba(245,166,35,0.2);
}

.compare-label {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted);
  margin-bottom: 1rem;
  font-weight: 600;
}

.compare-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.compare-list li {
  font-size: 0.85rem;
  color: var(--muted);
  padding-left: 1.25rem;
  position: relative;
}

.compare-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--amber);
  opacity: 0.5;
}

.compare-col.new .compare-list li::before { opacity: 1; }

/* === CLOSING === */
.closing {
  padding: 6rem 2rem;
  text-align: center;
  background: radial-gradient(ellipse at center top, rgba(245,166,35,0.08) 0%, transparent 60%);
}

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

.closing-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: var(--amber-dim);
  border: 1px solid rgba(245,166,35,0.3);
  color: var(--amber);
  padding: 0.45rem 1.1rem;
  border-radius: 100px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  margin-bottom: 2rem;
}

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

.closing-sub {
  font-size: 1.05rem;
  color: var(--muted);
  line-height: 1.7;
  margin: 0 auto 3rem;
  max-width: 50ch;
}

.closing-proof {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3rem;
  padding-top: 2.5rem;
  border-top: 1px solid var(--border);
}

.proof-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
}

.proof-num {
  font-family: var(--font-head);
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--amber);
  line-height: 1;
}

.proof-label {
  font-size: 0.75rem;
  color: var(--muted);
  max-width: 14ch;
  text-align: center;
  line-height: 1.3;
}

.proof-divider {
  width: 1px;
  height: 50px;
  background: var(--border);
}

/* === FOOTER === */
.footer {
  padding: 3rem 2rem;
  border-top: 1px solid var(--border);
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.1rem;
}

.footer-tagline {
  font-size: 0.9rem;
  color: var(--muted);
  font-style: italic;
  max-width: none;
}

.footer-links {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  color: var(--muted);
}

.dot { opacity: 0.4; }

.footer-copy {
  font-size: 0.72rem;
  color: rgba(245,245,240,0.25);
  margin-top: 0.5rem;
  max-width: none;
}

/* === RESPONSIVE === */
@media (max-width: 900px) {
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .hero-visual {
    order: -1;
  }

  .hero-stat-row {
    gap: 1.5rem;
  }

  .pipeline-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .pipeline-connector {
    display: none;
  }

  .pipeline-stage {
    margin: 0;
  }

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

  .process-inner {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .closing-proof {
    gap: 1.5rem;
    flex-wrap: wrap;
  }
}

@media (max-width: 600px) {
  .hero {
    padding: 3rem 1.25rem 3rem;
  }

  .pipeline, .features, .process, .closing {
    padding: 3.5rem 1.25rem;
  }

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

  .mock-row {
    grid-template-columns: 1fr 1fr;
  }

  .mock-card:last-child {
    display: none;
  }

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

  .closing-proof {
    flex-direction: column;
  }

  .proof-divider {
    width: 40px;
    height: 1px;
  }

  .footer-links {
    flex-direction: column;
    gap: 0.25rem;
  }
}