:root {
  --bg: #07070c;
  --bg-elevated: #0d0d14;
  --surface: #11111a;
  --surface-hover: #15151f;
  --border: #1e1e2a;
  --border-strong: #2a2a38;
  --text: #f0f0f7;
  --text-muted: #8a8a9a;
  --text-dim: #55556a;
  --accent: #ff7a3d;
  --accent-hover: #ff9552;
  --accent-glow: rgba(255, 122, 61, 0.35);
  --accent-2: #a855f7;
  --accent-2-glow: rgba(168, 85, 247, 0.25);
  --radius: 14px;
  --radius-sm: 8px;
}

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

html {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  scroll-behavior: smooth;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI",
    "Helvetica Neue", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow-x: hidden;
}

/* ---------- Backdrop (grid + ambient glows) ---------- */
.backdrop {
  position: fixed;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
}

.grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse at 50% 0%, black 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at 50% 0%, black 30%, transparent 75%);
}

.glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.55;
}

.glow-1 {
  width: 560px;
  height: 560px;
  top: -180px;
  left: -120px;
  background: radial-gradient(circle, var(--accent-glow) 0%, transparent 70%);
  animation: float 18s ease-in-out infinite;
}

.glow-2 {
  width: 480px;
  height: 480px;
  top: 120px;
  right: -140px;
  background: radial-gradient(circle, var(--accent-2-glow) 0%, transparent 70%);
  animation: float 22s ease-in-out infinite reverse;
}

@keyframes float {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(30px, 40px); }
}

/* ---------- Header ---------- */
.site-header {
  max-width: 860px;
  width: 100%;
  margin: 0 auto;
  padding: 1.75rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  text-decoration: none;
  color: var(--text);
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: -0.01em;
}

.brand-mark {
  color: var(--accent);
  font-size: 1.1rem;
  text-shadow: 0 0 20px var(--accent-glow);
}

.site-header nav {
  display: flex;
  gap: 1.75rem;
}

.site-header nav a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  transition: color 150ms ease;
}

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

/* ---------- Main ---------- */
main {
  flex: 1;
  max-width: 860px;
  margin: 0 auto;
  padding: 4rem 1.5rem 5rem;
  width: 100%;
}

section {
  margin-bottom: 6rem;
}

/* ---------- Hero ---------- */
.hero {
  padding-top: 2rem;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 0.4rem 0.85rem;
  font-size: 0.8rem;
  color: var(--text-muted);
  font-weight: 500;
  margin-bottom: 2rem;
  backdrop-filter: blur(10px);
}

.badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 10px var(--accent);
  animation: pulse 2.5s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

.hero h1 {
  font-size: clamp(2.75rem, 7vw, 5rem);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.05;
  margin-bottom: 1.5rem;
}

.gradient-text {
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-2) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.hero .tagline {
  font-size: clamp(1.05rem, 1.8vw, 1.2rem);
  color: var(--text-muted);
  max-width: 56ch;
  margin-bottom: 2.5rem;
}

.hero-actions {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.35rem;
  border-radius: var(--radius-sm);
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 600;
  transition: all 180ms ease;
  border: 1px solid transparent;
}

.btn-primary {
  background: var(--accent);
  color: #1a0a00;
  box-shadow: 0 10px 30px -10px var(--accent-glow);
}

.btn-primary:hover {
  background: var(--accent-hover);
  transform: translateY(-1px);
  box-shadow: 0 14px 36px -10px var(--accent-glow);
}

.btn-ghost {
  background: transparent;
  color: var(--text);
  border-color: var(--border-strong);
}

.btn-ghost:hover {
  background: var(--surface);
  border-color: var(--text-muted);
}

/* ---------- Section headings ---------- */
h2 {
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.section-num {
  font-family: "JetBrains Mono", monospace;
  color: var(--text-dim);
  font-weight: 500;
}

/* ---------- Products ---------- */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1rem;
}

.product-card {
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem;
  text-decoration: none;
  color: var(--text);
  transition: all 220ms ease;
  position: relative;
  overflow: hidden;
}

.product-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 0% 0%, var(--accent-glow) 0%, transparent 50%);
  opacity: 0;
  transition: opacity 300ms ease;
  pointer-events: none;
}

.product-card:hover {
  border-color: var(--border-strong);
  background: var(--surface-hover);
  transform: translateY(-2px);
}

.product-card:hover::before {
  opacity: 0.6;
}

.card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.25rem;
  position: relative;
}

.card-icon {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(255, 122, 61, 0.12), rgba(168, 85, 247, 0.12));
  border: 1px solid var(--border);
  border-radius: 10px;
  color: var(--accent);
  font-size: 1.15rem;
}

.card-tag {
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 0.25rem 0.6rem;
  border-radius: 999px;
  background: rgba(255, 122, 61, 0.1);
  color: var(--accent);
  border: 1px solid rgba(255, 122, 61, 0.25);
}

.card-tag-muted {
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-muted);
  border-color: var(--border);
}

.product-card h3 {
  font-size: 1.3rem;
  font-weight: 700;
  letter-spacing: -0.015em;
  margin-bottom: 0.5rem;
  position: relative;
}

.product-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 1.25rem;
  flex: 1;
  position: relative;
}

.product-card .link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--accent);
  font-size: 0.88rem;
  font-weight: 600;
  position: relative;
}

.product-card .link svg {
  transition: transform 200ms ease;
}

.product-card:hover .link svg {
  transform: translateX(4px);
}

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

.product-card-soon {
  cursor: default;
  border-style: dashed;
}

.product-card-soon:hover {
  transform: none;
  background: var(--surface);
}

.product-card-soon:hover::before {
  opacity: 0;
}

.link-muted {
  color: var(--text-dim) !important;
}

/* ---------- Contact ---------- */
.contact-lead {
  color: var(--text-muted);
  margin-bottom: 1.25rem;
  font-size: 1.05rem;
}

.email-link {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  color: var(--text);
  text-decoration: none;
  font-size: 1.2rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  padding-bottom: 0.25rem;
  border-bottom: 1px solid var(--border-strong);
  transition: all 180ms ease;
}

.email-link:hover {
  color: var(--accent);
  border-color: var(--accent);
}

.email-link svg {
  transition: transform 200ms ease;
}

.email-link:hover svg {
  transform: translate(3px, -3px) rotate(-45deg);
}

/* ---------- Footer ---------- */
footer {
  border-top: 1px solid var(--border);
  padding: 2rem 1.5rem;
  margin-top: auto;
}

.footer-inner {
  max-width: 860px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  color: var(--text-muted);
  font-size: 0.85rem;
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 600;
  color: var(--text);
}

.footer-meta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.footer-meta .dot {
  opacity: 0.5;
}

/* ---------- Responsive ---------- */
@media (max-width: 640px) {
  .site-header {
    padding: 1.25rem 1.25rem;
  }

  .site-header nav {
    gap: 1.25rem;
  }

  main {
    padding: 2.5rem 1.25rem 3rem;
  }

  section {
    margin-bottom: 4.5rem;
  }

  .hero {
    padding-top: 1rem;
  }

  .hero h1 {
    line-height: 1.1;
  }

  .product-card {
    padding: 1.5rem;
  }
}
