:root {
  --bg: #0a0a0a;
  --bg-card: #141414;
  --bg-card-hover: #1a1a1a;
  --accent: #e8503a;
  --accent-light: #ff6b54;
  --text: #ffffff;
  --text-muted: #8a8a8a;
  --border: #222222;
  --green: #22c55e;
  --blue: #3b82f6;
  --purple: #a855f7;
  --yellow: #eab308;
}

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

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

h1, h2, h3, h4, h5 {
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  line-height: 1.2;
}

a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--accent-light); }

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- NAV ---------- */
nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(10, 10, 10, 0.9);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
}

nav .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 72px;
}

.logo {
  font-family: 'Syne', sans-serif;
  font-size: 24px;
  font-weight: 800;
  color: var(--text);
}

.logo span { color: var(--accent); }

.nav-links {
  display: flex;
  gap: 32px;
  align-items: center;
}

.nav-links a {
  color: var(--text-muted);
  font-size: 14px;
  transition: color 0.2s;
}

.nav-links a:hover { color: var(--text); }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  border: none;
}

.btn-primary {
  background: var(--accent);
  color: white;
}

.btn-primary:hover {
  background: var(--accent-light);
  transform: translateY(-1px);
}

.btn-outline {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text);
}

.btn-outline:hover {
  border-color: var(--text-muted);
}

/* ---------- HERO ---------- */
.hero {
  padding: 160px 0 80px;
  text-align: center;
  background: radial-gradient(ellipse at center, rgba(232, 80, 58, 0.08) 0%, transparent 60%);
}

.hero h1 {
  font-size: 64px;
  margin-bottom: 24px;
  letter-spacing: -2px;
}

.hero h1 span { color: var(--accent); }

.hero p {
  font-size: 20px;
  color: var(--text-muted);
  max-width: 640px;
  margin: 0 auto 40px;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
}

/* ---------- SECTION ---------- */
section {
  padding: 100px 0;
}

.section-header {
  text-align: center;
  margin-bottom: 64px;
}

.section-header h2 {
  font-size: 40px;
  margin-bottom: 16px;
}

.section-header p {
  font-size: 18px;
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto;
}

/* ---------- CORE VALUES ---------- */
.values-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.value-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 32px;
  transition: all 0.3s;
}

.value-card:hover {
  border-color: var(--accent);
  transform: translateY(-4px);
}

.value-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  margin-bottom: 20px;
}

.value-card h3 {
  font-size: 18px;
  margin-bottom: 12px;
}

.value-card p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
}

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

.product-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 32px;
  transition: all 0.3s;
}

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

.product-card .badge {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 600;
  margin-bottom: 16px;
}

.badge-saas { background: rgba(59, 130, 246, 0.15); color: var(--blue); }
.badge-hw { background: rgba(168, 85, 247, 0.15); color: var(--purple); }
.badge-new { background: rgba(232, 80, 58, 0.15); color: var(--accent); }

.product-card h3 {
  font-size: 22px;
  margin-bottom: 12px;
}

.product-card p {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 20px;
}

.product-price {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 8px;
}

.product-price span {
  font-size: 14px;
  color: var(--text-muted);
  font-weight: 400;
}

/* ---------- USE CASES ---------- */
.usecases-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}

.usecase-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 24px;
  text-align: center;
  transition: all 0.3s;
}

.usecase-card:hover {
  border-color: var(--accent);
  transform: translateY(-2px);
}

.usecase-icon {
  font-size: 32px;
  margin-bottom: 12px;
}

.usecase-card h4 {
  font-size: 14px;
  margin-bottom: 4px;
}

.usecase-card p {
  font-size: 12px;
  color: var(--text-muted);
}

/* ---------- HARDWARE ---------- */
.hardware-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.hw-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 32px;
  text-align: center;
}

.hw-icon {
  font-size: 48px;
  margin-bottom: 16px;
}

.hw-card h3 {
  font-size: 20px;
  margin-bottom: 8px;
}

.hw-card .price {
  font-size: 24px;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 16px;
}

.hw-features {
  list-style: none;
  text-align: left;
}

.hw-features li {
  padding: 8px 0;
  font-size: 14px;
  color: var(--text-muted);
  border-bottom: 1px solid var(--border);
}

.hw-features li:last-child { border: none; }

.hw-features li::before {
  content: "✓ ";
  color: var(--green);
}

/* ---------- HOW IT WORKS ---------- */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  counter-reset: step;
}

.step {
  text-align: center;
  counter-increment: step;
  position: relative;
}

.step::before {
  content: counter(step);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--accent);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  font-weight: 700;
  margin: 0 auto 20px;
}

.step h3 {
  font-size: 16px;
  margin-bottom: 8px;
}

.step p {
  font-size: 14px;
  color: var(--text-muted);
}

/* ---------- STACK ---------- */
.stack-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.stack-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 20px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.stack-icon {
  font-size: 24px;
}

.stack-item h4 {
  font-size: 14px;
  margin-bottom: 2px;
}

.stack-item p {
  font-size: 12px;
  color: var(--text-muted);
}

/* ---------- CTA ---------- */
.cta {
  text-align: center;
  padding: 100px 0;
  background: radial-gradient(ellipse at center, rgba(232, 80, 58, 0.1) 0%, transparent 60%);
}

.cta h2 {
  font-size: 48px;
  margin-bottom: 16px;
}

.cta p {
  font-size: 18px;
  color: var(--text-muted);
  margin-bottom: 32px;
}

/* ---------- FOOTER ---------- */
footer {
  border-top: 1px solid var(--border);
  padding: 48px 0;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-links {
  display: flex;
  gap: 24px;
}

.footer-links a {
  color: var(--text-muted);
  font-size: 14px;
}

.footer-links a:hover { color: var(--text); }

.footer-copy {
  font-size: 13px;
  color: var(--text-muted);
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 768px) {
  .hero h1 { font-size: 36px; }
  .values-grid { grid-template-columns: repeat(2, 1fr); }
  .products-grid { grid-template-columns: 1fr; }
  .usecases-grid { grid-template-columns: repeat(3, 1fr); }
  .hardware-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .stack-grid { grid-template-columns: repeat(2, 1fr); }
  .nav-links { display: none; }
}
