/* ── Design tokens ──────────────────────────────────────── */
:root {
  --bg:               #080808;
  --surface:          #111111;
  --border:           rgba(255, 255, 255, 0.08);
  --border-hover:     rgba(249, 115, 22, 0.45);
  --text-primary:     #f1f5f9;
  --text-secondary:   #94a3b8;
  --text-muted:       #475569;
  --accent:           #f97316;
  --accent-light:     #fbbf24;
  --glow: radial-gradient(ellipse at 50% -5%, rgba(249, 115, 22, 0.35), transparent 65%);
  --font: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --max-width:        1100px;
  --nav-height:       60px;
}

/* ── Reset ──────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}
body {
  background: var(--bg);
  color: var(--text-primary);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img, svg { display: block; }

/* ── Focus & selection ──────────────────────────────────── */
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}
::selection {
  background: rgba(249, 115, 22, 0.25);
  color: var(--text-primary);
}

/* ── Hero ───────────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: calc(var(--nav-height) + 40px) 24px 80px;
  overflow: hidden;
}
.hero-glow {
  position: absolute;
  inset: 0;
  background: var(--glow);
  pointer-events: none;
}
.hero-content {
  position: relative;
  max-width: 720px;
}
.hero-eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--accent);
  border: 1px solid rgba(249, 115, 22, 0.35);
  padding: 5px 14px;
  border-radius: 999px;
  margin-bottom: 28px;
}
.hero-headline {
  font-size: clamp(48px, 6vw, 72px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -1.5px;
  color: var(--text-primary);
  margin-bottom: 20px;
}
.hero-subtext {
  font-size: 18px;
  font-weight: 400;
  color: var(--text-secondary);
  line-height: 1.65;
  margin-bottom: 36px;
}
.hero-cta {
  display: inline-block;
  font-size: 15px;
  font-weight: 600;
  color: var(--accent);
  border: 1px solid var(--border-hover);
  padding: 12px 28px;
  border-radius: 8px;
  transition: background 200ms ease, color 200ms ease;
}
.hero-cta:hover {
  background: rgba(249, 115, 22, 0.1);
  color: var(--accent-light);
}
.hero-cta:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
  border-radius: 8px;
}

/* ── Nav ────────────────────────────────────────────────── */
nav {
  position: sticky;
  top: 0;
  z-index: 100;
  width: 100%;
  height: var(--nav-height);
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: background 250ms ease, border-color 250ms ease;
}
nav.scrolled {
  background: rgba(8, 8, 8, 0.85);
  border-bottom-color: var(--border);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.nav-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo {
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 2px;
  color: var(--text-primary);
}
.nav-logo:hover { opacity: 0.8; }
.nav-logo:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
}
.nav-link {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-secondary);
  transition: color 150ms ease;
}
.nav-link:hover { color: var(--text-primary); }
.nav-link:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
}

/* ── Products section ───────────────────────────────────── */
.products {
  padding: 96px 24px;
}
.products-inner {
  max-width: var(--max-width);
  margin: 0 auto;
}
.products-header {
  text-align: center;
  margin-bottom: 56px;
}
.section-label {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
}
.section-heading {
  font-size: 28px;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 10px;
  letter-spacing: -0.5px;
}
.section-subtext {
  font-size: 15px;
  color: var(--text-secondary);
}

/* ── Product grid ───────────────────────────────────────── */
.products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

/* ── Product card ───────────────────────────────────────── */
.product-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: border-color 200ms ease, transform 200ms ease;
  cursor: default;
}
.product-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-2px);
}

/* ── Product icon ───────────────────────────────────────── */
.product-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--icon-tint);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.product-icon i,
.product-icon svg {
  width: 22px;
  height: 22px;
  stroke: var(--icon-color);
  stroke-width: 1.8;
}

/* ── Product text ───────────────────────────────────────── */
.product-name {
  font-size: 14px;
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: -0.2px;
}
.product-desc {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.6;
  flex: 1;
}

/* ── Product tag ────────────────────────────────────────── */
.product-tag {
  display: inline-block;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.5px;
  padding: 3px 10px;
  border-radius: 999px;
  color: var(--tag-color, var(--accent));
  background: var(--tag-tint, rgba(249, 115, 22, 0.12));
  width: fit-content;
}

/* ── Footer ─────────────────────────────────────────────── */
footer {
  border-top: 1px solid var(--border);
  padding: 40px 24px;
  text-align: center;
}
footer p {
  font-size: 13px;
  color: var(--text-muted);
}

/* ── Responsive ─────────────────────────────────────────── */

/* Tablet: 768px–1024px → 2-column product grid */
@media (max-width: 1024px) {
  .products-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .hero-headline {
    font-size: clamp(36px, 5vw, 52px);
    letter-spacing: -1px;
  }
}

/* Mobile: < 768px → 1-column product grid */
@media (max-width: 768px) {
  .products-grid {
    grid-template-columns: 1fr;
  }
  .hero-headline {
    font-size: clamp(32px, 8vw, 42px);
    letter-spacing: -1px;
  }
  .hero-subtext {
    font-size: 16px;
  }
  .hero-subtext br {
    display: none;
  }
  .products {
    padding: 64px 16px;
  }
  footer {
    padding: 32px 16px;
  }
}
