:root {
  --bg-dark: #020617;
  --card-bg: rgba(255,255,255,0.07);
  --accent1: #38bdf8;
  --accent2: #6366f1;
  --text-main: #e5e7eb;
  --text-muted: #94a3b8;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: Inter, system-ui, sans-serif;
  background: radial-gradient(circle at 30% 10%, #0f172a, #020617 65%);
  color: var(--text-main);
  overflow-x: hidden;
}

/* BACKGROUND BLOBS */
.bg-blobs {
  position: fixed;
  inset: 0;
  z-index: -1;
  overflow: hidden;
}
.blob {
  position: absolute;
  width: 480px;
  height: 480px;
  background: radial-gradient(circle, rgba(99,102,241,.35), transparent 70%);
  filter: blur(80px);
  animation: float 18s infinite alternate ease-in-out;
}
.b1 { top: -120px; left: -120px; }
.b2 { bottom: -120px; right: -120px; animation-delay: 6s; }

@keyframes float {
  from { transform: translateY(0); }
  to { transform: translateY(-60px); }
}

/* NAV */
.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 22px 70px;
  background: rgba(2,6,23,.55);
  backdrop-filter: blur(16px);
  position: sticky;
  top: 0;
  z-index: 10;
}
.logo {
  font-weight: 700;
  letter-spacing: .3px;
}
.nav nav a {
  margin-left: 26px;
  color: var(--text-muted);
  font-weight: 500;
}
.nav nav a:hover { color: white; }

/* HERO */
.hero {
  padding: 140px 70px 120px;
  max-width: 1200px;
}
.hero h1 {
  font-size: 64px;
  line-height: 1.05;
  background: linear-gradient(90deg, #fff, #c7d2fe);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero p {
  font-size: 20px;
  max-width: 620px;
  color: var(--text-muted);
}

/* BUTTONS */
.btn {
  display: inline-block;
  margin-top: 36px;
  padding: 16px 40px;
  border-radius: 999px;
  font-weight: 600;
}
.primary {
  background: linear-gradient(90deg, var(--accent1), var(--accent2));
  color: #020617;
  box-shadow: 0 0 40px rgba(56,189,248,.4);
}
.ghost {
  margin-left: 14px;
  border: 1px solid rgba(255,255,255,.25);
}

/* SECTIONS */
.section {
  padding: 120px 70px;
}
.section h2 {
  font-size: 42px;
  margin-bottom: 20px;
}
.subtitle {
  max-width: 640px;
  color: var(--text-muted);
}

/* GRID */
.grid-4 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 28px;
  margin-top: 40px;
}
.grid-4 div {
  background: var(--card-bg);
  padding: 30px;
  border-radius: 18px;
  backdrop-filter: blur(10px);
  transition: .3s;
}
.grid-4 div:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0,0,0,.4);
}

/* PRODUCT FOCUS */
.product-focus {
  background: linear-gradient(180deg, transparent, rgba(99,102,241,.08));
}
.product-card {
  margin-top: 40px;
  padding: 40px;
  border-radius: 22px;
  background: rgba(255,255,255,.08);
  max-width: 520px;
}

/* FOOTER */
footer {
  padding: 60px;
  text-align: center;
  color: var(--text-muted);
  border-top: 1px solid rgba(255,255,255,.08);
}

/* MOBILE */
@media (max-width: 768px) {
  .hero h1 { font-size: 44px; }
  .nav, .hero, .section { padding: 70px 30px; }
  .ghost { display: block; margin-left: 0; margin-top: 14px; }
}
