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

:root {
  --bg:        #0b0b0f;
  --surface:   #111118;
  --border:    rgba(255,255,255,0.07);
  --text:      #e8e8f0;
  --muted:     #6b6b80;
  --accent:    #c43508;
  --accent-hi: #e04a18;
  --mono:      'JetBrains Mono', monospace;
  --sans:      'Inter', system-ui, sans-serif;
}

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  -webkit-font-smoothing: antialiased;
}

/* ── Nav ──────────────────────────────────────────────────────────── */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  padding: 1.25rem 2.5rem;
  border-bottom: 1px solid var(--border);
  background: rgba(11,11,15,0.85);
  backdrop-filter: blur(12px);
}

.logo {
  font-family: var(--mono);
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  color: var(--text);
}

/* ── Hero ─────────────────────────────────────────────────────────── */
.hero {
  position: relative;
  flex: 1;
  display: flex;
  align-items: center;
  min-height: 100dvh;
  overflow: hidden;
  padding: 7rem 2.5rem 4rem;
}

.hero-inner {
  position: relative;
  z-index: 2;
  max-width: 780px;
}

/* subtle dot grid */
.hero-grid {
  position: absolute;
  inset: 0;
  z-index: 1;
  background-image: radial-gradient(circle, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 32px 32px;
  mask-image: radial-gradient(ellipse 80% 60% at 60% 50%, black 0%, transparent 80%);
}

/* radial glow behind text */
.hero-inner::before {
  content: '';
  position: absolute;
  top: -120px; left: -80px;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(196,53,8,0.14) 0%, transparent 70%);
  pointer-events: none;
  z-index: -1;
}

h1 {
  font-size: clamp(2.6rem, 6vw, 5rem);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: #fff;
  margin-bottom: 1.75rem;
}

h1 em {
  font-style: normal;
  color: var(--accent-hi);
  position: relative;
}

/* subtle underline on the em */
h1 em::after {
  content: '';
  position: absolute;
  bottom: 2px; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--accent), transparent);
  border-radius: 1px;
}

.tagline {
  font-size: clamp(1rem, 2vw, 1.15rem);
  color: var(--muted);
  max-width: 520px;
  line-height: 1.75;
}

/* ── Pillars ──────────────────────────────────────────────────────── */
.pillars {
  border-top: 1px solid var(--border);
  background: var(--surface);
  padding: 5rem 2.5rem;
}

.pillars-inner {
  max-width: 1000px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 3rem;
}

.pillar {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.pillar-num {
  font-family: var(--mono);
  font-size: 0.72rem;
  color: var(--accent);
  letter-spacing: 0.1em;
}

.pillar h3 {
  font-size: 1.1rem;
  font-weight: 600;
  color: #fff;
  letter-spacing: -0.01em;
}

.pillar p {
  font-size: 0.92rem;
  color: var(--muted);
  line-height: 1.7;
}

/* ── Products ─────────────────────────────────────────────────────── */
.products {
  border-top: 1px solid var(--border);
  padding: 5rem 2.5rem;
}

.products-inner {
  max-width: 1000px;
  margin: 0 auto;
}

.section-label {
  font-family: var(--mono);
  font-size: 0.75rem;
  color: var(--accent);
  letter-spacing: 0.08em;
  margin-bottom: 1rem;
}

.products-inner h2 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  color: #fff;
  margin-bottom: 3rem;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 1.5rem;
}

.product-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  transition: border-color 0.2s;
}
.product-card:hover {
  border-color: rgba(196,53,8,0.35);
}

.product-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.product-tag {
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  color: var(--muted);
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 0.2rem 0.55rem;
}

.product-tag--live {
  color: var(--accent-hi);
  background: rgba(196,53,8,0.1);
  border-color: rgba(196,53,8,0.3);
}

.product-card h3 {
  font-size: 1.15rem;
  font-weight: 600;
  color: #fff;
  letter-spacing: -0.01em;
  line-height: 1.3;
}

.product-desc {
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.75;
}

.product-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-top: 0.25rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
}

.product-features li {
  font-size: 0.85rem;
  color: #9090a8;
  padding-left: 1rem;
  position: relative;
  line-height: 1.5;
}

.product-features li::before {
  content: '—';
  position: absolute;
  left: 0;
  color: var(--accent);
  font-size: 0.7rem;
  top: 0.15em;
}

/* ── Footer ───────────────────────────────────────────────────────── */
footer {
  border-top: 1px solid var(--border);
  padding: 1.75rem 2.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.footer-logo {
  font-family: var(--mono);
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  color: var(--muted);
}

.footer-copy {
  font-size: 0.78rem;
  color: var(--muted);
}

/* ── Responsive ───────────────────────────────────────────────────── */
@media (max-width: 600px) {
  nav { padding: 1rem 1.25rem; }
  .hero { padding: 6rem 1.25rem 3rem; }
  .pillars { padding: 3.5rem 1.25rem; }
  .products { padding: 3.5rem 1.25rem; }
  .product-grid { grid-template-columns: 1fr; }
  footer { padding: 1.5rem 1.25rem; flex-direction: column; align-items: flex-start; }
}
