@import url("https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700&family=Syne:wght@700;800&display=swap");

:root {
  --bg: #07090d;
  --bg-2: #10141c;
  --ink: #f4f6f8;
  --muted: #9aa6b8;
  --line: rgba(255, 255, 255, 0.1);
  --mint: #6ef0d0;
  --mint-dim: rgba(110, 240, 208, 0.14);
  --blue: #8eb6ff;
  --danger: #ff8b73;
  --shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
  --radius: 22px;
  --nav: 76px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  font-family: Manrope, "Segoe UI", sans-serif;
  background:
    radial-gradient(900px 480px at 80% -10%, rgba(110, 240, 208, 0.12), transparent 60%),
    radial-gradient(700px 420px at -10% 20%, rgba(142, 182, 255, 0.12), transparent 55%),
    var(--bg);
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  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: 80px 80px;
  mask-image: radial-gradient(ellipse at 50% 0%, #000 20%, transparent 75%);
  z-index: 0;
}
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
img { max-width: 100%; }

.wrap {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}
header, main, footer { position: relative; z-index: 1; }

.nav {
  position: sticky;
  top: 0;
  z-index: 30;
  height: var(--nav);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 0 28px;
  background: rgba(7, 9, 13, 0.78);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--line);
}
.logo {
  font-family: Syne, sans-serif;
  font-weight: 800;
  font-size: 22px;
  letter-spacing: -0.05em;
}
.logo i {
  color: var(--mint);
  font-style: normal;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 26px;
}
.nav-links a {
  color: var(--muted);
  font-size: 14px;
  font-weight: 600;
}
.nav-links a.active,
.nav-links a:hover { color: var(--ink); }
.nav-actions { display: flex; align-items: center; gap: 10px; }

.btn {
  border: 0;
  cursor: pointer;
  border-radius: 999px;
  padding: 12px 18px;
  background: var(--ink);
  color: #08110f;
  font-weight: 700;
  transition: transform 0.2s ease, background 0.2s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-ghost {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--line);
}
.btn-mint { background: var(--mint); }
.btn-sm { padding: 9px 14px; font-size: 13px; }
.icon-btn {
  position: relative;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
  cursor: pointer;
}
.icon-btn span,
.cart-count {
  position: absolute;
  top: -4px;
  right: -4px;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  border-radius: 99px;
  background: var(--mint);
  color: #06231c;
  font-size: 11px;
  font-weight: 800;
  display: grid;
  place-items: center;
}
.burger {
  display: none;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: transparent;
  cursor: pointer;
}
.burger span {
  display: block;
  width: 16px;
  height: 1.5px;
  margin: 5px auto;
  background: var(--ink);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  grid-template-areas:
    "title title"
    "copy panel";
  gap: 28px 40px;
  align-items: center;
  padding: 56px 0 40px;
}
.hero-title { grid-area: title; container-type: inline-size; }
.hero > div:nth-child(2) { grid-area: copy; }
.hero-panel { grid-area: panel; }
.eyebrow {
  margin: 0 0 18px;
  color: var(--mint);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-size: 12px;
  font-weight: 700;
}
.hero h1 {
  margin: 0;
  font-family: Syne, sans-serif;
  font-weight: 800;
  font-size: 10.2cqi;
  line-height: 0.88;
  letter-spacing: -0.065em;
  white-space: nowrap;
}
.caret {
  display: inline-block;
  width: 0.08em;
  height: 0.78em;
  margin-left: 0.06em;
  background: var(--mint);
  transform: translateY(0.06em);
  animation: blink 1.1s steps(1) infinite;
}
@keyframes blink { 50% { opacity: 0; } }
.lead {
  max-width: 520px;
  margin: 22px 0 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.6;
}
.hero-actions { display: flex; gap: 12px; margin-top: 28px; flex-wrap: wrap; }
.stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 36px;
}
.stat {
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.02);
}
.stat b {
  display: block;
  font-family: Syne, sans-serif;
  font-size: 26px;
  letter-spacing: -0.04em;
}
.stat span { color: var(--muted); font-size: 13px; }

.hero-panel {
  position: relative;
  padding: 22px;
  border-radius: 32px;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255,255,255,0.04), rgba(255,255,255,0.015));
  box-shadow: var(--shadow);
}
.hero-panel .stage { height: 420px; border-radius: 24px; }
.panel-meta {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 12px;
  margin-top: 16px;
}
.panel-meta p { margin: 4px 0 0; color: var(--muted); }
.panel-meta strong { font-size: 20px; }

.ticker {
  border-block: 1px solid var(--line);
  overflow: hidden;
  padding: 14px 0;
  color: var(--muted);
  font-size: 13px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.ticker-track {
  display: flex;
  gap: 36px;
  width: max-content;
  animation: slide 28s linear infinite;
}
@keyframes slide { to { transform: translateX(-50%); } }

.section { padding: 78px 0; }
.section-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 20px;
  margin-bottom: 28px;
}
.section h2, .page-title {
  margin: 0;
  font-family: Syne, sans-serif;
  font-size: clamp(32px, 4vw, 48px);
  letter-spacing: -0.05em;
}
.section-head p, .page-lead { margin: 8px 0 0; color: var(--muted); }

.grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(16, 20, 28, 0.86);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.card-visual {
  position: relative;
  padding: 12px;
  border: 0;
  background: transparent;
  cursor: pointer;
  text-align: left;
}
.badge {
  position: absolute;
  top: 22px;
  left: 22px;
  padding: 6px 10px;
  border-radius: 999px;
  background: var(--mint);
  color: #06231c;
  font-style: normal;
  font-size: 12px;
  font-weight: 800;
}
.card-body { padding: 4px 18px 18px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.kicker { margin: 0; color: var(--blue); font-size: 12px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; }
.card h3 { margin: 0; font-size: 22px; letter-spacing: -0.03em; }
.muted { margin: 0; color: var(--muted); line-height: 1.5; }
.card-row { margin-top: auto; display: flex; justify-content: space-between; align-items: center; gap: 10px; padding-top: 8px; }
.card-row strong { font-size: 18px; }

.stage {
  position: relative;
  height: 230px;
  border-radius: 16px;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 42%, var(--glow, rgba(110, 240, 208, 0.18)), transparent 58%),
    linear-gradient(180deg, #171d28, #0b0e14);
}
.stage i { position: absolute; left: 50%; top: 50%; display: block; transform: translate(-50%, -50%); }
.stage[data-kind="phone"] { --glow: rgba(110, 240, 208, 0.22); }
.stage[data-kind="phone"] i:nth-child(1) { width: 92px; height: 176px; border-radius: 24px; background: #1c2330; border: 1px solid rgba(255,255,255,.2); box-shadow: 0 18px 40px rgba(0,0,0,.4); }
.stage[data-kind="phone"] i:nth-child(2) { width: 78px; height: 150px; border-radius: 14px; background: linear-gradient(165deg, #1f4a43, #122033 55%, #243864); }
.stage[data-kind="phone"] i:nth-child(3) { width: 30px; height: 8px; margin-top: -64px; border-radius: 8px; background: #07090d; }
.stage[data-kind="buds"] { --glow: rgba(142, 182, 255, 0.28); }
.stage[data-kind="buds"] i:nth-child(1),
.stage[data-kind="buds"] i:nth-child(2) { width: 54px; height: 78px; border-radius: 26px 26px 18px 18px; background: linear-gradient(180deg, #f2f5f8, #b7c0cc); }
.stage[data-kind="buds"] i:nth-child(1) { margin-left: -38px; }
.stage[data-kind="buds"] i:nth-child(2) { margin-left: 38px; }
.stage[data-kind="buds"] i:nth-child(3) { width: 120px; height: 46px; margin-top: 78px; border-radius: 16px; background: #d7dee7; box-shadow: inset 0 0 0 8px #edf1f5; }
.stage[data-kind="watch"] { --glow: rgba(255, 180, 120, 0.2); }
.stage[data-kind="watch"] i:nth-child(1) { width: 46px; height: 150px; border-radius: 18px; background: #2a303b; }
.stage[data-kind="watch"] i:nth-child(2) { width: 92px; height: 108px; border-radius: 28px; background: #11151c; border: 6px solid #d5dbe3; }
.stage[data-kind="watch"] i:nth-child(3) { width: 64px; height: 76px; border-radius: 16px; background: linear-gradient(180deg, #16362f, #101820); }
.stage[data-kind="laptop"] { --glow: rgba(110, 240, 208, 0.16); }
.stage[data-kind="laptop"] i:nth-child(1) { width: 190px; height: 118px; margin-top: -18px; border-radius: 10px 10px 0 0; background: #151b26; border: 1px solid rgba(255,255,255,.18); }
.stage[data-kind="laptop"] i:nth-child(2) { width: 168px; height: 92px; margin-top: -24px; border-radius: 4px; background: linear-gradient(180deg, #123832, #18243a); }
.stage[data-kind="laptop"] i:nth-child(3) { width: 230px; height: 12px; margin-top: 92px; border-radius: 0 0 12px 12px; background: #c9d0da; }
.stage[data-kind="speaker"] { --glow: rgba(142, 182, 255, 0.2); }
.stage[data-kind="speaker"] i:nth-child(1) { width: 110px; height: 150px; border-radius: 28px; background: linear-gradient(180deg, #2c3442, #151922); }
.stage[data-kind="speaker"] i:nth-child(2) { width: 72px; height: 72px; margin-top: -16px; border-radius: 50%; background: radial-gradient(circle at 40% 40%, #31404a, #0d1116 62%); box-shadow: 0 0 0 8px #1c232e; }
.stage[data-kind="speaker"] i:nth-child(3) { width: 28px; height: 6px; margin-top: 52px; border-radius: 6px; background: var(--mint); }
.stage[data-kind="camera"] { --glow: rgba(255, 139, 115, 0.18); }
.stage[data-kind="camera"] i:nth-child(1) { width: 168px; height: 108px; border-radius: 18px; background: #1a1f29; }
.stage[data-kind="camera"] i:nth-child(2) { width: 72px; height: 72px; border-radius: 50%; background: radial-gradient(circle at 35% 35%, #6d7c90, #12161d 60%); box-shadow: 0 0 0 8px #0e1218; }
.stage[data-kind="camera"] i:nth-child(3) { width: 34px; height: 18px; margin: -78px 0 0 90px; border-radius: 4px; background: #2a313d; }
.stage[data-kind="keys"] { --glow: rgba(110, 240, 208, 0.14); }
.stage[data-kind="keys"] i:nth-child(1) { width: 220px; height: 92px; border-radius: 12px; background: #1a202b; }
.stage[data-kind="keys"] i:nth-child(2) {
  width: 196px; height: 64px;
  background-image:
    linear-gradient(#2c3544 70%, transparent 70%),
    linear-gradient(90deg, transparent 18%, #0c1016 18% 22%, transparent 22% 40%, #0c1016 40% 44%, transparent 44% 62%, #0c1016 62% 66%, transparent 66%);
  background-size: 100% 16px, 100% 16px;
}
.stage[data-kind="keys"] i:nth-child(3) { width: 70px; height: 10px; margin-top: 48px; border-radius: 6px; background: #6ef0d0; }
.stage[data-kind="power"] { --glow: rgba(142, 182, 255, 0.18); }
.stage[data-kind="power"] i:nth-child(1) { width: 78px; height: 150px; border-radius: 18px; background: linear-gradient(180deg, #e8edf2, #b8c2ce); }
.stage[data-kind="power"] i:nth-child(2) { width: 36px; height: 8px; margin-top: -118px; border-radius: 4px; background: #1b212b; }
.stage[data-kind="power"] i:nth-child(3) { width: 10px; height: 10px; margin-top: 90px; border-radius: 50%; background: var(--mint); box-shadow: 0 0 12px var(--mint); }

.tiles { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 16px; }
.tile {
  min-height: 180px;
  padding: 22px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: linear-gradient(160deg, rgba(110,240,208,0.12), rgba(255,255,255,0.02) 42%);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.tile:nth-child(2) { background: linear-gradient(160deg, rgba(142,182,255,0.16), rgba(255,255,255,0.02) 46%); }
.tile:nth-child(3) { background: linear-gradient(160deg, rgba(255,139,115,0.14), rgba(255,255,255,0.02) 46%); }
.tile span { color: var(--muted); }
.tile strong { font-family: Syne, sans-serif; font-size: 30px; letter-spacing: -0.04em; }

.pillars { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.pillar {
  padding: 20px;
  border-top: 1px solid var(--line);
}
.pillar b { display: block; margin-bottom: 8px; }
.pillar p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.5; }

.visit {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 28px;
  padding: 28px;
  border-radius: 28px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.02);
}
form { display: grid; gap: 12px; }
label { display: grid; gap: 6px; font-size: 13px; color: var(--muted); }
input, select, textarea {
  width: 100%;
  padding: 14px 14px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: #0c1016;
  outline: none;
}
input:focus, select:focus, textarea:focus { border-color: rgba(110, 240, 208, 0.7); }
textarea { min-height: 110px; resize: vertical; }

.toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  margin: 22px 0 18px;
}
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  border: 1px solid var(--line);
  background: transparent;
  color: var(--muted);
  border-radius: 999px;
  padding: 8px 12px;
  cursor: pointer;
}
.chip.on, .chip:hover { color: #06231c; background: var(--mint); border-color: transparent; }
.search { min-width: min(260px, 100%); }
.page-hero { padding: 42px 0 8px; }

.drawer, .modal {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: none;
}
.drawer.open, .modal.open { display: block; }
.backdrop { position: absolute; inset: 0; background: rgba(0,0,0,0.55); }
.sheet {
  position: absolute;
  top: 0;
  right: 0;
  width: min(420px, 100%);
  height: 100%;
  background: #0d1118;
  border-left: 1px solid var(--line);
  padding: 22px;
  display: flex;
  flex-direction: column;
}
.dialog {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: min(760px, calc(100% - 24px));
  max-height: calc(100% - 24px);
  overflow: auto;
  background: #0e131b;
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 18px;
}
.dialog-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.specs { display: grid; gap: 8px; margin: 16px 0; }
.spec { display: flex; justify-content: space-between; gap: 12px; padding-bottom: 8px; border-bottom: 1px solid var(--line); color: var(--muted); }
.spec b { color: var(--ink); font-weight: 600; }
.cart-list { overflow: auto; display: grid; gap: 12px; margin: 16px 0; }
.cart-item { display: grid; grid-template-columns: 72px 1fr auto; gap: 10px; align-items: center; }
.cart-item .stage { width: 72px; height: 72px; }
.cart-item .stage i { transform: translate(-50%, -50%) scale(0.36); }
.qty { display: flex; align-items: center; gap: 8px; }
.qty button {
  width: 28px; height: 28px; border-radius: 8px;
  border: 1px solid var(--line); background: transparent; cursor: pointer;
}
.sheet-foot, .row-between { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.empty { color: var(--muted); padding: 24px 0; }
.toast {
  position: fixed;
  left: 50%;
  bottom: 22px;
  transform: translateX(-50%) translateY(20px);
  background: var(--ink);
  color: #08110f;
  padding: 12px 16px;
  border-radius: 999px;
  font-weight: 700;
  opacity: 0;
  pointer-events: none;
  transition: 0.25s ease;
  z-index: 70;
}
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

footer {
  border-top: 1px solid var(--line);
  padding: 28px 0 40px;
  color: var(--muted);
}
.foot {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.foot strong { color: var(--ink); }

@media (max-width: 980px) {
  .hero, .visit, .dialog-grid, .tiles { grid-template-columns: 1fr; }
  .hero {
    grid-template-areas:
      "title"
      "panel"
      "copy";
  }
  .grid, .pillars { grid-template-columns: 1fr 1fr; }
  .hero-panel .stage { height: 300px; }
}
@media (max-width: 760px) {
  .burger { display: block; }
  .nav-links {
    display: none;
    position: absolute;
    top: var(--nav);
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: flex-start;
    padding: 16px 22px 20px;
    background: #0c1016;
    border-bottom: 1px solid var(--line);
  }
  .nav-links.open { display: flex; }
  .grid, .pillars, .stats { grid-template-columns: 1fr; }
  .wrap { width: min(1180px, calc(100% - 28px)); }
  .nav { padding: 0 14px; }
}

@media (prefers-reduced-motion: reduce) {
  .caret, .ticker-track { animation: none; }
  html { scroll-behavior: auto; }
}
