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

:root {
  --bg: #0a0a0a;
  --card-bg: #111111;
  --border: rgba(255, 255, 255, 0.08);
  --text: #f5f5f7;
  --text-sec: #86868b;
  --accent: #3b82f6;
  --radius: 20px;
  --nav-h: 52px;
}

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Helvetica Neue", "Noto Sans SC", sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { text-decoration: none; color: inherit; }

/* ── Navigation ── */
#nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  height: var(--nav-h);
  background: rgba(10, 10, 10, 0.82);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  height: 100%;
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-logo {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.5px;
  color: var(--text);
}

.nav-links {
  display: flex;
  gap: 24px;
  margin-left: auto;
}

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

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

/* ── Hub Hero ── */
.hub-hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: calc(var(--nav-h) + 80px) 24px 80px;
  position: relative;
  overflow: hidden;
}

.hub-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 50% at 50% 30%, rgba(59, 130, 246, 0.18) 0%, transparent 70%),
    radial-gradient(ellipse 60% 40% at 25% 70%, rgba(168, 85, 247, 0.10) 0%, transparent 60%),
    radial-gradient(ellipse 50% 40% at 75% 60%, rgba(6, 182, 212, 0.08) 0%, transparent 60%);
  pointer-events: none;
}

.hub-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 32px 32px;
  pointer-events: none;
}

.hub-hero-content {
  position: relative;
  z-index: 1;
  max-width: 760px;
}

.hub-hero .eyebrow {
  font-size: 13px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--text-sec);
  margin-bottom: 28px;
  display: block;
}

.hub-hero h1 {
  font-size: clamp(56px, 9vw, 100px);
  font-weight: 700;
  letter-spacing: -4px;
  line-height: 1.02;
  background: linear-gradient(145deg, #ffffff 30%, #a0a0a8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 28px;
}

.hub-hero .hero-desc {
  font-size: 17px;
  color: var(--text-sec);
  max-width: 500px;
  margin: 0 auto 52px;
  line-height: 1.7;
}

.btn-explore {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 36px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 100px;
  font-size: 15px;
  color: var(--text);
  background: rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(8px);
  transition: all 0.25s;
}

.btn-explore:hover {
  background: rgba(255, 255, 255, 0.10);
  border-color: rgba(255, 255, 255, 0.30);
  transform: translateY(-2px);
}

/* ── Products Section ── */
.products-section { padding: 80px 24px 120px; }

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

.section-title {
  font-size: 34px;
  font-weight: 700;
  letter-spacing: -1px;
  margin-bottom: 48px;
  text-align: center;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

/* ── Product Card ── */
.product-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s;
}

.product-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.6);
  border-color: rgba(255, 255, 255, 0.14);
}

.card-image {
  height: 280px;
  overflow: hidden;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.card-image img,
.card-image video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  transition: transform 0.5s ease;
}

.product-card:hover .card-image img,
.product-card:hover .card-image video { transform: scale(1.04); }

.gradient-cube { background: linear-gradient(145deg, #1a1050 0%, #2d1b69 50%, #4c1d95 100%); }
.gradient-solo { background: linear-gradient(145deg, #082f49 0%, #0c4a6e 50%, #0369a1 100%); }
.gradient-nano { background: linear-gradient(145deg, #052e16 0%, #064e3b 50%, #065f46 100%); }

.product-logo-placeholder {
  font-size: 52px;
  font-weight: 800;
  letter-spacing: -2px;
  color: rgba(255, 255, 255, 0.18);
  user-select: none;
}

.card-body {
  padding: 28px 32px 32px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.card-category {
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 10px;
  display: block;
  font-weight: 500;
}

.card-body h3 {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.5px;
  margin-bottom: 10px;
  line-height: 1.3;
}

.card-body p {
  font-size: 14px;
  color: var(--text-sec);
  line-height: 1.65;
  flex: 1;
}

.card-footer {
  margin-top: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.card-price { font-size: 17px; font-weight: 600; color: var(--text); }
.card-price.coming-soon { font-size: 13px; color: var(--text-sec); font-weight: 400; }

.card-btn {
  padding: 10px 22px;
  background: var(--accent);
  border-radius: 100px;
  font-size: 13px;
  font-weight: 500;
  color: #fff;
  transition: background 0.2s, transform 0.2s;
  white-space: nowrap;
}

.card-btn:hover { background: #2563eb; transform: translateY(-1px); }

.card-btn.outline {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: var(--text-sec);
}

.card-btn.outline:hover {
  border-color: rgba(255, 255, 255, 0.40);
  color: var(--text);
  background: rgba(255, 255, 255, 0.06);
}

/* ── Footer ── */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 36px 24px;
}

.site-footer .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-brand { font-size: 16px; font-weight: 700; }
.footer-copy { font-size: 12px; color: var(--text-sec); margin-top: 4px; }

.footer-links { display: flex; gap: 20px; }
.footer-links a { font-size: 12px; color: var(--text-sec); transition: color 0.2s; }
.footer-links a:hover { color: var(--text); }

/* ── Placeholder Page ── */
.placeholder-hero {
  min-height: calc(100vh - var(--nav-h));
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 80px 24px;
  position: relative;
  overflow: hidden;
}

.placeholder-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 32px 32px;
  pointer-events: none;
}

.ph-eyebrow {
  font-size: 12px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.35);
  margin-bottom: 20px;
  position: relative;
  z-index: 1;
}

.placeholder-hero h1 {
  font-size: clamp(32px, 5vw, 64px);
  font-weight: 700;
  letter-spacing: -2px;
  line-height: 1.1;
  color: rgba(255, 255, 255, 0.88);
  margin-bottom: 16px;
  position: relative;
  z-index: 1;
  max-width: 640px;
}

.ph-sub {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.38);
  margin-bottom: 10px;
  position: relative;
  z-index: 1;
}

.ph-status {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.25);
  margin-bottom: 52px;
  position: relative;
  z-index: 1;
}

.btn-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 100px;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.6);
  background: rgba(255, 255, 255, 0.04);
  transition: all 0.25s;
  position: relative;
  z-index: 1;
}

.btn-back:hover {
  background: rgba(255, 255, 255, 0.10);
  color: #fff;
  transform: translateY(-2px);
}

/* ── Responsive ── */
@media (max-width: 768px) {
  .products-grid { grid-template-columns: 1fr; }
  .hub-hero h1 { font-size: 52px; letter-spacing: -2px; }
  .card-image { height: 220px; }
  .card-body { padding: 22px 24px 24px; }
  .site-footer .container { flex-direction: column; text-align: center; }
  .footer-links { justify-content: center; }
}

@media (max-width: 480px) {
  .hub-hero h1 { font-size: 40px; letter-spacing: -1.5px; }
  .section-title { font-size: 26px; }
  .card-body h3 { font-size: 18px; }
}
