* { box-sizing: border-box; margin: 0; padding: 0; }
:root {
  --bg: #090d14;
  --bg-soft: #101726;
  --card: rgba(255,255,255,.065);
  --card-strong: rgba(255,255,255,.1);
  --line: rgba(255,255,255,.12);
  --text: #f4f7fb;
  --muted: #a6b0c2;
  --accent: #91abff;
  --accent-2: #8ff0d2;
  --radius: 24px;
  --shadow: 0 24px 80px rgba(0,0,0,.35);
  --font: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
}
html { scroll-behavior: smooth; }
body {
  min-height: 100vh;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  line-height: 1.6;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
.container { width: min(1180px, calc(100% - 32px)); margin: 0 auto; }
.section-pad { padding: 108px 0; }

.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  transition: background .25s ease, border-color .25s ease;
  border-bottom: 1px solid transparent;
}
.site-header.scrolled {
  background: rgba(9,13,20,.78);
  border-color: var(--line);
  backdrop-filter: blur(18px);
}
.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 76px;
  gap: 22px;
}
.logo {
  font-weight: 850;
  letter-spacing: -.04em;
  font-size: 1.15rem;
}
.nav { display: flex; gap: 28px; align-items: center; }
.nav a { color: var(--muted); font-size: .94rem; transition: color .2s ease; }
.nav a:hover { color: var(--text); }
.menu-btn {
  display: none;
  width: 44px; height: 44px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--card);
  color: var(--text);
  cursor: pointer;
}
.menu-btn span { display: block; width: 18px; height: 2px; background: currentColor; margin: 4px auto; border-radius: 99px; }

.hero {
  position: relative;
  min-height: 100vh;
  display: grid;
  place-items: center;
  overflow: hidden;
  padding-top: 130px;
}
.hero-bg { position: absolute; inset: 0; pointer-events: none; }
.orb { position: absolute; border-radius: 999px; filter: blur(70px); opacity: .45; }
.orb-a { width: 480px; height: 480px; background: #456dff; top: -100px; left: -120px; }
.orb-b { width: 360px; height: 360px; background: #00e0a8; right: -80px; bottom: 10%; opacity: .24; }
.grid-glow {
  position: absolute; inset: 0;
  background:
    linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(circle at 50% 35%, black, transparent 68%);
}
.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  align-items: center;
  gap: 60px;
}
.kicker {
  color: var(--accent-2);
  font-size: .76rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .16em;
  margin-bottom: 14px;
}
h1, h2, h3 { line-height: 1.12; letter-spacing: -.045em; }
h1 { font-size: clamp(3.1rem, 8vw, 6.8rem); max-width: 860px; }
h2 { font-size: clamp(2rem, 5vw, 4rem); }
h3 { font-size: 1.18rem; }
.lead, .section-head p { color: var(--muted); font-size: 1.06rem; max-width: 690px; margin-top: 20px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 999px;
  border: 1px solid var(--line);
  font-weight: 750;
  cursor: pointer;
  transition: transform .2s ease, border-color .2s ease, background .2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn.primary { background: linear-gradient(135deg, var(--accent), #bdcaff); color: #06101f; border-color: transparent; }
.btn.secondary { background: var(--card); color: var(--text); }
.btn.full { width: 100%; margin-top: 4px; }

.hero-card {
  background: linear-gradient(180deg, rgba(255,255,255,.11), rgba(255,255,255,.045));
  border: 1px solid var(--line);
  border-radius: 34px;
  box-shadow: var(--shadow);
  padding: 18px;
  min-height: 440px;
  transform: rotate(2deg);
}
.preview-top { display: flex; gap: 8px; padding: 8px 6px 16px; }
.preview-top span { width: 10px; height: 10px; border-radius: 50%; background: rgba(255,255,255,.28); }
.preview-image {
  min-height: 260px;
  border-radius: 24px;
  border: 1px solid var(--line);
  background:
    radial-gradient(circle at 30% 20%, rgba(143,240,210,.55), transparent 36%),
    radial-gradient(circle at 70% 65%, rgba(136,168,255,.5), transparent 38%),
    linear-gradient(135deg, rgba(255,255,255,.16), rgba(255,255,255,.04));
  display: grid;
  place-items: center;
}
.preview-label {
  color: rgba(255,255,255,.68);
  letter-spacing: .18em;
  text-transform: uppercase;
  font-size: .78rem;
  font-weight: 800;
}
.preview-lines { padding: 22px 8px 4px; display: grid; gap: 12px; }
.preview-lines span { height: 13px; border-radius: 999px; background: rgba(255,255,255,.12); }
.preview-lines span:nth-child(2) { width: 80%; }
.preview-lines span:nth-child(3) { width: 55%; }

.showcase, .account { background: var(--bg-soft); }
.section-head { text-align: center; display: grid; justify-items: center; margin-bottom: 46px; }
.tile-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.tile, .product-card, .account-panel {
  border: 1px solid var(--line);
  background: var(--card);
  border-radius: var(--radius);
  box-shadow: 0 20px 70px rgba(0,0,0,.16);
}
.tile { padding: 28px; }
.number { display: inline-flex; color: var(--accent-2); font-weight: 850; margin-bottom: 34px; }
.tile p, .product-body p { color: var(--muted); margin-top: 12px; }

.filterbar { display: flex; justify-content: center; flex-wrap: wrap; gap: 10px; margin-bottom: 32px; }
.filter {
  border: 1px solid var(--line);
  background: rgba(255,255,255,.04);
  color: var(--muted);
  border-radius: 999px;
  padding: 10px 16px;
  cursor: pointer;
  font-weight: 720;
  transition: color .2s ease, background .2s ease, border-color .2s ease;
}
.filter.active, .filter:hover { color: var(--text); border-color: rgba(143,240,210,.45); background: rgba(143,240,210,.1); }
.product-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.product-card { overflow: hidden; transition: transform .22s ease, border-color .22s ease; }
.product-card:hover { transform: translateY(-6px); border-color: rgba(136,168,255,.4); }
.product-card.hidden { display: none; }
.product-visual {
  aspect-ratio: 1.25 / 1;
  display: grid;
  place-items: center;
  color: rgba(255,255,255,.54);
  font-size: .82rem;
  letter-spacing: .09em;
  text-transform: uppercase;
  border-bottom: 1px solid var(--line);
  position: relative;
  overflow: hidden;
}
.product-visual::before { content: ""; position: absolute; inset: 22px; border: 1px dashed rgba(255,255,255,.22); border-radius: 22px; }
.visual-1 { background: linear-gradient(135deg, #182039, #223b5e); }
.visual-2 { background: linear-gradient(135deg, #1c1735, #48316c); }
.visual-3 { background: linear-gradient(135deg, #102b2c, #245a55); }
.visual-4 { background: linear-gradient(135deg, #2b1e16, #62442a); }
.visual-5 { background: linear-gradient(135deg, #14202f, #2d3b56); }
.visual-6 { background: linear-gradient(135deg, #291b30, #584464); }
.product-body { padding: 22px; }
.product-type { color: var(--accent-2) !important; font-size: .74rem; font-weight: 850; text-transform: uppercase; letter-spacing: .13em; margin: 0 0 10px !important; }
.product-meta { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--line); }
.product-meta span { color: var(--text); font-weight: 800; }
.mini-btn {
  border: 1px solid var(--line);
  background: rgba(255,255,255,.06);
  color: var(--text);
  border-radius: 999px;
  padding: 8px 12px;
  cursor: pointer;
  font-weight: 750;
  font-size: .84rem;
}

.account-grid {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 34px;
  align-items: start;
}
.account-head { text-align: left; justify-items: start; margin-bottom: 0; padding-top: 24px; }
.account-panel { padding: clamp(22px, 4vw, 34px); }
.tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  padding: 6px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,.035);
  border-radius: 18px;
  margin-bottom: 22px;
}
.tab {
  border: 0;
  border-radius: 14px;
  background: transparent;
  color: var(--muted);
  padding: 12px 14px;
  cursor: pointer;
  font-weight: 800;
}
.tab.active { background: rgba(143,240,210,.12); color: var(--text); }
.account-form { display: none; gap: 14px; }
.account-form.active { display: grid; }
.account-form label { display: grid; gap: 8px; color: var(--muted); font-size: .9rem; font-weight: 750; }
.account-form input {
  width: 100%;
  border: 1px solid var(--line);
  background: rgba(255,255,255,.055);
  color: var(--text);
  border-radius: 16px;
  padding: 14px 15px;
  outline: none;
}
.account-form input:focus { border-color: rgba(143,240,210,.55); }
.account-form input::placeholder { color: rgba(255,255,255,.38); }

.footer { border-top: 1px solid var(--line); background: #070b12; }
.footer-inner { min-height: 86px; display: flex; align-items: center; justify-content: space-between; gap: 18px; color: var(--muted); font-size: .92rem; }
.footer a { color: var(--text); }
.toast {
  position: fixed;
  left: 50%; bottom: 24px;
  transform: translate(-50%, 18px);
  opacity: 0;
  pointer-events: none;
  z-index: 100;
  border: 1px solid var(--line);
  background: rgba(16,23,38,.92);
  backdrop-filter: blur(16px);
  color: var(--text);
  border-radius: 999px;
  padding: 12px 18px;
  box-shadow: var(--shadow);
  transition: opacity .2s ease, transform .2s ease;
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }

.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

@media (max-width: 900px) {
  .hero-grid, .account-grid { grid-template-columns: 1fr; }
  .hero-card { transform: none; min-height: 360px; }
  .tile-grid, .product-grid { grid-template-columns: repeat(2, 1fr); }
  .account-head { text-align: center; justify-items: center; }
}
@media (max-width: 680px) {
  .section-pad { padding: 82px 0; }
  .nav {
    position: fixed;
    inset: 76px 16px auto 16px;
    background: rgba(16,23,38,.96);
    border: 1px solid var(--line);
    border-radius: 22px;
    padding: 18px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    backdrop-filter: blur(18px);
  }
  .nav.open { display: flex; }
  .menu-btn { display: block; }
  h1 { font-size: clamp(2.7rem, 14vw, 4.4rem); }
  .tile-grid, .product-grid { grid-template-columns: 1fr; }
  .footer-inner { flex-direction: column; justify-content: center; padding: 18px 0; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}
