:root {
  color-scheme: dark;
  --bg: #080a12;
  --bg-2: #0c0f1c;
  --panel: #11141f;
  --panel-hover: #141826;
  --text: #f4f7fc;
  --muted: #9aa6bd;
  --line: rgba(150, 170, 205, 0.14);
  --line-strong: rgba(150, 170, 205, 0.28);
  --cyan: #2fe3e6;
  --blue: #3a9bff;
  --accent: #38d9e0;
  --radius: 16px;
  --maxw: 1080px;
}

* { box-sizing: border-box; }
html { min-height: 100%; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  min-height: 100vh;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background:
    radial-gradient(1100px 620px at 50% -10%, rgba(58, 155, 255, 0.10), transparent 60%),
    radial-gradient(900px 600px at 90% 0%, rgba(47, 227, 230, 0.08), transparent 55%),
    linear-gradient(180deg, var(--bg-2), var(--bg) 40%);
  background-attachment: fixed;
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  display: flex;
  flex-direction: column;
}

a { color: var(--cyan); text-decoration-thickness: 1px; text-underline-offset: 3px; }

/* Header ------------------------------------------------------------------ */
.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px clamp(20px, 5vw, 48px);
  border-bottom: 1px solid var(--line);
  background: rgba(8, 10, 18, 0.72);
  backdrop-filter: blur(14px);
  position: sticky;
  top: 0;
  z-index: 10;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: var(--text);
  font-weight: 700;
  font-size: 19px;
  letter-spacing: -0.01em;
  text-decoration: none;
}
.brand-mark {
  position: relative;
  display: inline-block;
  width: 30px;
  height: 30px;
  border-radius: 9px;
  background: linear-gradient(140deg, var(--cyan), var(--blue));
  box-shadow: 0 4px 18px rgba(47, 227, 230, 0.28);
}
.brand-mark::after {
  content: "";
  position: absolute;
  left: 11px;
  top: 8px;
  width: 0;
  height: 0;
  border-top: 7px solid transparent;
  border-bottom: 7px solid transparent;
  border-left: 10px solid #06121b;
}
nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 22px;
}
nav a {
  color: var(--muted);
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  transition: color 0.15s ease;
}
nav a:hover { color: var(--text); }

/* Layout ------------------------------------------------------------------ */
.content {
  width: min(var(--maxw), calc(100% - 40px));
  margin: 0 auto;
  flex: 1 0 auto;
}

.hero {
  max-width: 720px;
  margin: clamp(56px, 11vw, 120px) 0 clamp(48px, 9vw, 96px);
}
.eyebrow {
  display: inline-block;
  margin: 0 0 20px;
  padding: 5px 12px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 12px;
  font-weight: 600;
  color: var(--accent);
}
.hero h1 {
  margin: 0 0 22px;
  font-size: clamp(36px, 6.4vw, 60px);
  line-height: 1.04;
  letter-spacing: -0.03em;
  font-weight: 700;
}
.lede {
  margin: 0 0 32px;
  font-size: clamp(17px, 2.2vw, 20px);
  color: var(--muted);
  max-width: 60ch;
}
.hero-actions,
.product-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* Buttons ----------------------------------------------------------------- */
.button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 20px;
  border-radius: 10px;
  border: 1px solid var(--line-strong);
  background: rgba(255, 255, 255, 0.02);
  color: var(--text);
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  transition: border-color 0.15s ease, background 0.15s ease, transform 0.15s ease;
}
.button:hover {
  border-color: var(--line-strong);
  background: rgba(255, 255, 255, 0.06);
  transform: translateY(-1px);
}
.button.primary {
  background: linear-gradient(135deg, var(--cyan), var(--blue));
  border-color: transparent;
  color: #04121b;
  box-shadow: 0 8px 24px rgba(47, 227, 230, 0.18);
}
.button.primary:hover {
  filter: brightness(1.05);
  box-shadow: 0 10px 30px rgba(47, 227, 230, 0.26);
}

/* Products ---------------------------------------------------------------- */
.products {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  align-items: start;
  gap: 20px;
  margin-bottom: clamp(56px, 9vw, 96px);
}
.product-card {
  position: relative;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(24px, 3vw, 34px);
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: border-color 0.18s ease, background 0.18s ease, transform 0.18s ease;
}
.product-card:hover {
  border-color: var(--line-strong);
  background: var(--panel-hover);
  transform: translateY(-2px);
}
.product-tag {
  align-self: flex-start;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
}
.product-card h2 {
  margin: 0;
  font-size: clamp(23px, 3vw, 28px);
  letter-spacing: -0.02em;
  font-weight: 700;
}
.product-card p {
  margin: 0;
  color: var(--muted);
  font-size: 15.5px;
}
.product-card strong { color: var(--text); font-weight: 600; }
.product-actions { margin-top: 6px; }

/* Footer ------------------------------------------------------------------ */
.site-footer {
  flex-shrink: 0;
  padding: 28px clamp(20px, 5vw, 48px);
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 13px;
  text-align: center;
  line-height: 1.7;
}

@media (max-width: 560px) {
  nav { gap: 16px; }
  nav a { font-size: 13px; }
  .hero { margin-top: 48px; }
}

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; }
}
