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

:root {
  --bg: #0d0d0d;
  --bg-card: #141414;
  --bg-card-accent: #1e1a0e;
  --fg: #f0ece4;
  --fg-muted: #8a857a;
  --accent: #e8a832;
  --accent-dim: rgba(232, 168, 50, 0.12);
  --border: rgba(240, 236, 228, 0.08);
  --border-accent: rgba(232, 168, 50, 0.25);
}

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

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

/* === Noise Texture === */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.04'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 0;
}

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

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

.nav-brand {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.5rem;
  letter-spacing: 0.05em;
  color: var(--fg);
}

.nav-tag {
  font-size: 0.75rem;
  color: var(--fg-muted);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 0.2rem 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* === Section Base === */
.section-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 5rem 2rem;
}

.section-label {
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1rem;
  font-weight: 500;
}

.section-headline {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  line-height: 1.05;
  letter-spacing: 0.02em;
  color: var(--fg);
  margin-bottom: 3rem;
}

/* === Hero === */
.hero {
  position: relative;
  padding: 6rem 2rem 5rem;
  overflow: hidden;
}

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

.hero-eyebrow {
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1.25rem;
}

.hero-headline {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(4rem, 8vw, 6.5rem);
  line-height: 0.92;
  letter-spacing: 0.01em;
  color: var(--fg);
  margin-bottom: 1.5rem;
}

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

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

.meta-val {
  display: block;
  font-family: 'Bebas Neue', sans-serif;
  font-size: 2rem;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 0.25rem;
}

.meta-lab {
  font-size: 0.75rem;
  color: var(--fg-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* Dashboard Mock */
.hero-visual {
  position: relative;
}

.dashboard-mock {
  background: var(--bg-card);
  border: 1px solid var(--border-accent);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 0 60px rgba(232, 168, 50, 0.08);
}

.mock-bar {
  background: #1a1a1a;
  padding: 0.75rem 1rem;
  display: flex;
  gap: 0.4rem;
  border-bottom: 1px solid var(--border);
}

.mock-bar span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--border);
  display: block;
}

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

.mock-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}

.mock-card {
  background: #1c1c1c;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 0.875rem;
}

.wide-card { grid-column: 1 / -1; }

.mock-label {
  font-size: 0.6rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--fg-muted);
  margin-bottom: 0.35rem;
}

.mock-big {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.75rem;
  color: var(--fg);
  line-height: 1;
  margin-bottom: 0.5rem;
}

.mock-spark {
  height: 3px;
  background: var(--accent);
  border-radius: 999px;
  opacity: 0.6;
  width: 60%;
}

.mock-bar-sm {
  height: 3px;
  background: var(--accent);
  border-radius: 999px;
  opacity: 0.4;
  width: 45%;
}

.mock-prod {
  font-size: 0.8rem;
  color: var(--fg);
  margin-bottom: 0.5rem;
}

.mock-badge {
  font-size: 0.65rem;
  color: #4ade80;
  background: rgba(74, 222, 128, 0.1);
  border-radius: 999px;
  padding: 0.2rem 0.5rem;
  display: inline-block;
}

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

.hero-decoration {
  position: absolute;
  top: -100px;
  right: -100px;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(232,168,50,0.06) 0%, transparent 70%);
  pointer-events: none;
}

/* === What It Does === */
.what-it-does {
  border-top: 1px solid var(--border);
}

.body-text {
  color: var(--fg-muted);
  font-size: 1rem;
  line-height: 1.8;
  margin-bottom: 1rem;
  font-weight: 300;
}

.split-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}

.point-item {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.point-icon {
  width: 40px;
  height: 40px;
  border: 1px solid var(--border-accent);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  flex-shrink: 0;
}

.point-content h4 {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--fg);
  margin-bottom: 0.35rem;
}

.point-content p {
  font-size: 0.85rem;
  color: var(--fg-muted);
  line-height: 1.6;
}

/* === Capabilities === */
.capabilities {
  border-top: 1px solid var(--border);
  background: var(--bg-card);
}

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

.cap-card {
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 2rem;
  background: var(--bg);
  transition: border-color 0.2s;
}

.cap-card:hover { border-color: var(--border-accent); }

.accent-card {
  background: var(--bg-card-accent);
  border-color: var(--border-accent);
}

.cap-icon {
  color: var(--accent);
  margin-bottom: 1.25rem;
}

.cap-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.5rem;
  letter-spacing: 0.04em;
  color: var(--fg);
  margin-bottom: 0.75rem;
}

.cap-desc {
  font-size: 0.9rem;
  color: var(--fg-muted);
  line-height: 1.65;
  margin-bottom: 1.25rem;
}

.cap-stat-val {
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  border: 1px solid var(--border-accent);
  border-radius: 999px;
  padding: 0.25rem 0.75rem;
}

/* === Proof === */
.proof {
  border-top: 1px solid var(--border);
}

.proof-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.proof-left {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

.proof-stat {}

.proof-number {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 5rem;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 0.5rem;
}

.proof-label {
  font-size: 1rem;
  color: var(--fg-muted);
  line-height: 1.6;
  font-weight: 300;
}

.proof-quote {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.75rem;
  line-height: 1.3;
  letter-spacing: 0.02em;
  color: var(--fg);
  margin-bottom: 1.5rem;
}

.proof-attribution {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.proof-attribution span {
  font-size: 0.85rem;
  color: var(--fg-muted);
}

.proof-location {
  font-size: 0.75rem;
  color: var(--fg-muted);
  opacity: 0.6;
}

/* === Closing === */
.closing {
  border-top: 1px solid var(--border);
  background: var(--bg-card);
}

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

.closing-headline {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  line-height: 1;
  letter-spacing: 0.02em;
  color: var(--fg);
  margin-bottom: 1.5rem;
}

.closing-body {
  font-size: 1.05rem;
  color: var(--fg-muted);
  line-height: 1.75;
  max-width: 560px;
  margin: 0 auto 3rem;
  font-weight: 300;
}

.closing-stamp {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 4rem;
  color: var(--accent);
  letter-spacing: 0.1em;
  opacity: 0.3;
  margin-bottom: 0.75rem;
}

.closing-sub {
  font-size: 0.75rem;
  color: var(--fg-muted);
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

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

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

.footer-brand {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.25rem;
  letter-spacing: 0.05em;
  color: var(--fg);
}

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

.footer-copy {
  font-size: 0.7rem;
  color: var(--fg-muted);
  opacity: 0.5;
}

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

  .hero-visual {
    order: -1;
  }

  .hero-headline { font-size: clamp(3rem, 12vw, 5rem); }

  .hero-meta { gap: 1.5rem; }

  .split-layout,
  .cap-grid,
  .proof-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .footer-inner {
    flex-direction: column;
    gap: 0.75rem;
    text-align: center;
  }

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

  .wide-card { grid-column: 1; }
}

@media (max-width: 480px) {
  .hero-meta {
    flex-wrap: wrap;
    gap: 1.5rem 2rem;
  }

  .meta-val { font-size: 1.5rem; }

  .section-inner { padding: 3.5rem 1.25rem; }
  .hero { padding: 4rem 1.25rem 3rem; }
}