:root {
  --bg: #070b10;
  --bg-soft: #0a1016;
  --bg-card: #0b1219;
  --line: rgba(255, 255, 255, 0.08);
  --line-strong: rgba(255, 255, 255, 0.16);
  --text: #e6f1f7;
  --text-dim: #9db1bb;
  --text-faint: #5f7480;
  --blue: #176fd1;
  --cyan: #21b8cc;
  --teal: #55e6dc;
  --lime: #b8f34a;
  --amber: #e79a3d;
  --grad: linear-gradient(120deg, #176fd1 0%, #21b8cc 55%, #55e6dc 100%);
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, "Cascadia Code", "SF Mono", Consolas, "Liberation Mono", monospace;
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--bg-soft);
  border: 1px solid var(--line-strong);
  padding: 8px 16px;
  border-radius: 8px;
  z-index: 100;
}
.skip-link:focus { left: 16px; top: 16px; }

/* ---------- header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  padding: 0 clamp(20px, 5vw, 56px);
  background: rgba(7, 11, 16, 0.82);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}

.brand { display: flex; align-items: center; gap: 10px; }

.brand-mark { width: 30px; height: 30px; display: block; }

.brand-text {
  font-size: 17px;
  font-weight: 600;
  letter-spacing: 0.2px;
}
.brand-dot { color: var(--teal); margin: 0 1px; }

.site-nav { display: flex; gap: 28px; }

.site-nav a {
  font-size: 14px;
  color: var(--text-dim);
  transition: color 0.2s ease;
}
.site-nav a:hover { color: var(--text); }

/* ---------- hero ---------- */
.hero {
  position: relative;
  min-height: calc(100vh - 64px);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 96px 24px 120px;
  overflow: hidden;
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 90% 70% at 50% 30%, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 90% 70% at 50% 30%, #000 30%, transparent 75%);
}

.hero-glow {
  position: absolute;
  top: -220px;
  left: 50%;
  transform: translateX(-50%);
  width: 900px;
  height: 520px;
  background: radial-gradient(ellipse at center, rgba(33, 184, 204, 0.16) 0%, rgba(23, 111, 209, 0.07) 45%, transparent 70%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  max-width: 760px;
  padding: 0 24px;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--mono);
  font-size: 13px;
  letter-spacing: 3px;
  color: var(--teal);
  margin-bottom: 26px;
}

.hero-eyebrow-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 10px rgba(184, 243, 74, 0.8);
}

.hero-title {
  font-size: clamp(34px, 6vw, 56px);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.5px;
  margin-bottom: 22px;
}
.hero-title span {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-sub {
  font-size: clamp(15px, 2vw, 18px);
  color: var(--text-dim);
  margin-bottom: 38px;
}

.hero-actions {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}

.button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 46px;
  padding: 0 26px;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 500;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}
.button svg { width: 15px; height: 15px; }

.button-primary {
  background: var(--grad);
  color: #04121a;
  box-shadow: 0 4px 24px rgba(33, 184, 204, 0.28);
}
.button-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(33, 184, 204, 0.42);
}

/* ---------- products ---------- */
.products {
  position: relative;
  padding: 110px 24px 130px;
  border-top: 1px solid var(--line);
  background:
    radial-gradient(ellipse 60% 40% at 50% 0%, rgba(23, 111, 209, 0.06), transparent 70%),
    var(--bg);
}

.products-inner { max-width: 1080px; margin: 0 auto; }

.section-head { text-align: center; margin-bottom: 56px; }

.section-kicker {
  font-family: var(--mono);
  font-size: 13px;
  letter-spacing: 3px;
  color: var(--cyan);
  margin-bottom: 14px;
}

.section-head h2 {
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 700;
  letter-spacing: -0.3px;
  margin-bottom: 14px;
}

.section-desc { color: var(--text-dim); font-size: 16px; }

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 28px;
  max-width: 900px;
  margin: 0 auto;
}

.product-card {
  position: relative;
  overflow: hidden;
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 30px 30px 28px;
  transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
}

.card-glow {
  position: absolute;
  top: -60px;
  right: -60px;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.product-card[data-accent="shell"] { --accent: var(--blue); --accent-bright: var(--cyan); }
.product-card[data-accent="mirrors"] { --accent: #3f535c; --accent-bright: var(--teal); }

.product-card[data-accent="shell"] .card-glow { background: radial-gradient(circle, rgba(33, 184, 204, 0.14), transparent 70%); }
.product-card[data-accent="mirrors"] .card-glow { background: radial-gradient(circle, rgba(85, 230, 220, 0.12), transparent 70%); }

.product-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 28px;
  right: 28px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent-bright), transparent);
  opacity: 0.5;
}

.product-card:hover {
  transform: translateY(-5px);
  border-color: rgba(85, 230, 220, 0.45);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.55), 0 0 0 1px rgba(85, 230, 220, 0.08);
}
.product-card:hover .card-glow { opacity: 1; }

.card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}

.card-logo {
  width: 44px;
  height: 44px;
  border-radius: 8px;
  object-fit: contain;
}

.card-name {
  font-size: 23px;
  font-weight: 700;
  letter-spacing: -0.2px;
  margin-bottom: 6px;
}

.card-tagline {
  font-size: 15px;
  color: var(--accent-bright);
  margin-bottom: 12px;
}

.card-desc {
  font-size: 14px;
  color: var(--text-dim);
  margin-bottom: 18px;
}

.card-tags {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 24px;
}

.card-tags li {
  font-size: 12.5px;
  color: var(--text-dim);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 4px 12px;
}

.card-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  font-weight: 600;
  color: var(--accent-bright);
  transition: gap 0.18s ease, color 0.18s ease;
}
.card-link svg { width: 15px; height: 15px; }
.card-link:hover { gap: 12px; color: var(--text); }

/* ---------- footer ---------- */
.site-footer {
  border-top: 1px solid var(--line);
  padding: 40px 24px 48px;
}

.footer-inner {
  max-width: 1080px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
}

.footer-brand { display: flex; align-items: center; gap: 9px; font-size: 15px; font-weight: 600; }

.footer-logo {
  width: 20px;
  height: 20px;
  border-radius: 5px;
  background: var(--bg-soft);
  border: 1px solid var(--line-strong);
  position: relative;
}
.footer-logo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--grad);
  clip-path: polygon(38% 25%, 60% 25%, 60% 40%, 42% 50%, 60% 60%, 60% 75%, 38% 75%, 25% 50%);
}

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

.footer-links a {
  font-size: 13.5px;
  color: var(--text-dim);
  transition: color 0.18s ease;
}
.footer-links a:hover { color: var(--teal); }

/* ---------- responsive ---------- */
@media (max-width: 720px) {
  .site-header { padding: 0 20px; }
  .site-nav { gap: 16px; }
  .site-nav a { font-size: 13px; }
  .hero {
    padding: 56px 16px 72px;
    min-height: auto;
    align-items: flex-start;
  }
  .hero-actions { flex-direction: column; align-items: center; }
  .button { width: 100%; max-width: 320px; justify-content: center; }
  .products { padding: 84px 16px 96px; }
  .card-grid { grid-template-columns: 1fr; }
  .footer-inner { flex-direction: column; text-align: center; }
}

/* ---------- reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    transition: none !important;
    animation: none !important;
  }
}
