:root {
  --bg: #0b0d12;
  --panel: #121620;
  --panel-2: #171c28;
  --text: #f5f7fb;
  --muted: #a6afc3;
  --line: rgba(255,255,255,.09);
  --accent: #7c9cff;
  --accent-2: #a8baff;
  --success: #4ade80;
  --shadow: 0 24px 80px rgba(0,0,0,.35);
  --radius: 24px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background:
    radial-gradient(circle at 80% 8%, rgba(124,156,255,.14), transparent 26rem),
    var(--bg);
  color: var(--text);
  min-height: 100vh;
}
body.no-scroll { overflow: hidden; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  min-height: 72px;
  padding: 0 5vw;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  background: rgba(11,13,18,.78);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--line);
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  letter-spacing: -.02em;
}
.brand-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 7px rgba(124,156,255,.12);
}
.nav {
  display: flex;
  align-items: center;
  gap: 22px;
  font-size: .95rem;
  color: var(--muted);
}
.nav a:hover { color: var(--text); }
.cart-button {
  border: 1px solid var(--line);
  background: var(--panel);
  color: var(--text);
  padding: 10px 14px;
  border-radius: 999px;
  cursor: pointer;
}
.cart-count {
  display: inline-grid;
  place-items: center;
  min-width: 23px;
  height: 23px;
  margin-left: 6px;
  padding: 0 6px;
  background: var(--accent);
  color: #071022;
  font-size: .78rem;
  font-weight: 900;
  border-radius: 999px;
}

.hero, .section, footer {
  width: min(1180px, 90vw);
  margin-inline: auto;
}
.hero {
  min-height: calc(100vh - 72px);
  display: grid;
  grid-template-columns: 1.08fr .92fr;
  align-items: center;
  gap: 72px;
  padding: 80px 0;
}
.eyebrow {
  display: inline-block;
  color: var(--accent-2);
  font-size: .75rem;
  font-weight: 900;
  letter-spacing: .18em;
}
h1, h2, h3, p { margin-top: 0; }
h1 {
  margin: 16px 0 22px;
  font-size: clamp(3.4rem, 8vw, 7.4rem);
  line-height: .91;
  letter-spacing: -.075em;
}
h1 span {
  color: transparent;
  -webkit-text-stroke: 1px rgba(245,247,251,.45);
}
.hero-copy > p {
  max-width: 640px;
  color: var(--muted);
  font-size: clamp(1rem, 2vw, 1.2rem);
  line-height: 1.75;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 30px 0 20px;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border-radius: 14px;
  border: 1px solid transparent;
  cursor: pointer;
  font-weight: 800;
  transition: transform .18s ease, border-color .18s ease, background .18s ease;
}
.button:hover { transform: translateY(-2px); }
.button.primary {
  background: var(--text);
  color: #0b0d12;
}
.button.ghost {
  color: var(--text);
  border-color: var(--line);
  background: rgba(255,255,255,.03);
}
.button.wide { width: 100%; }
.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  color: var(--muted);
  font-size: .88rem;
}

.hero-visual {
  position: relative;
  min-height: 510px;
  display: grid;
  place-items: center;
}
.glow {
  position: absolute;
  width: 340px;
  height: 340px;
  border-radius: 50%;
  background: rgba(124,156,255,.28);
  filter: blur(70px);
}
.case {
  position: relative;
  width: min(360px, 80vw);
  height: 260px;
  background: linear-gradient(145deg, #fafafa, #dfe3eb);
  border-radius: 56px 56px 78px 78px;
  box-shadow: 0 45px 110px rgba(0,0,0,.42), inset 0 -18px 35px rgba(0,0,0,.08);
  transform: rotate(-7deg);
}
.case-lid {
  position: absolute;
  left: 4%;
  top: -24%;
  width: 92%;
  height: 49%;
  background: linear-gradient(145deg, #fff, #e7eaf0);
  border-radius: 80px 80px 26px 26px;
  box-shadow: inset 0 -10px 22px rgba(0,0,0,.07);
}
.bud {
  position: absolute;
  top: 48px;
  width: 58px;
  height: 126px;
  background: linear-gradient(145deg, #fff, #e7eaf0);
  border-radius: 30px;
  box-shadow: 0 16px 22px rgba(0,0,0,.13);
}
.bud::before {
  content: "";
  position: absolute;
  top: -32px;
  width: 82px;
  height: 66px;
  background: inherit;
  border-radius: 50%;
}
.bud span {
  position: absolute;
  top: -7px;
  width: 20px;
  height: 30px;
  border-radius: 50%;
  background: #20232b;
}
.bud-left { left: 86px; transform: rotate(8deg); }
.bud-left::before { left: -35px; }
.bud-left span { left: -11px; }
.bud-right { right: 86px; transform: rotate(-8deg); }
.bud-right::before { right: -35px; }
.bud-right span { right: -11px; }

.section { padding: 90px 0; }
.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 30px;
  margin-bottom: 34px;
}
.section-heading h2, .contact h2 {
  margin: 8px 0 0;
  font-size: clamp(2.2rem, 5vw, 4rem);
  letter-spacing: -.055em;
}
.section-heading > p {
  max-width: 430px;
  color: var(--muted);
  line-height: 1.6;
}
code {
  padding: 2px 7px;
  border-radius: 8px;
  background: rgba(255,255,255,.06);
  border: 1px solid var(--line);
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.product-card {
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, rgba(255,255,255,.045), rgba(255,255,255,.02));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: transform .2s ease, border-color .2s ease;
}
.product-card:hover {
  transform: translateY(-5px);
  border-color: rgba(124,156,255,.32);
}
.product-visual {
  height: 235px;
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at 50% 55%, rgba(124,156,255,.22), transparent 42%),
    linear-gradient(145deg, rgba(255,255,255,.035), transparent);
}
.mini-case {
  width: 145px;
  height: 105px;
  border-radius: 30px 30px 40px 40px;
  background: linear-gradient(145deg,#fff,#e0e4ec);
  box-shadow: 0 24px 45px rgba(0,0,0,.25);
  position: relative;
}
.mini-case::before,
.mini-case::after {
  content:"";
  position:absolute;
  top: 18px;
  width: 26px;
  height: 58px;
  border-radius: 16px;
  background: linear-gradient(145deg,#fff,#e0e4ec);
}
.mini-case::before { left: 34px; transform: rotate(7deg); }
.mini-case::after { right: 34px; transform: rotate(-7deg); }
.product-info { padding: 22px; }
.product-topline {
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:10px;
}
.badge {
  padding: 6px 9px;
  border-radius: 999px;
  border: 1px solid var(--line);
  color: var(--muted);
  font-size: .72rem;
  font-weight: 800;
}
.product-info h3 {
  margin: 14px 0 8px;
  font-size: 1.28rem;
}
.product-info p {
  min-height: 46px;
  color: var(--muted);
  line-height: 1.55;
  font-size: .92rem;
}
.price-row {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  margin-top: 20px;
}
.price {
  font-size: 1.5rem;
  font-weight: 900;
  letter-spacing: -.03em;
}
.small-button {
  border: 0;
  background: var(--text);
  color:#0b0d12;
  padding: 10px 13px;
  border-radius: 12px;
  font-weight: 900;
  cursor: pointer;
}

.how {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.steps {
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.steps article {
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: rgba(255,255,255,.025);
}
.steps article > span {
  display:grid;
  place-items:center;
  width: 36px;
  height: 36px;
  margin-bottom: 25px;
  border-radius: 50%;
  background: var(--accent);
  color: #071022;
  font-weight: 900;
}
.steps h3 { margin-bottom: 10px; }
.steps p { color: var(--muted); line-height: 1.6; margin-bottom:0; }

.contact {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:40px;
}
.contact p { color:var(--muted); margin-bottom:0; }

footer {
  display:flex;
  justify-content:space-between;
  gap:30px;
  padding: 34px 0 50px;
  border-top: 1px solid var(--line);
  color: var(--muted);
}
footer .small { max-width: 620px; text-align:right; font-size:.82rem; line-height:1.55; }

.cart-drawer {
  position: fixed;
  inset: 0;
  z-index: 100;
  pointer-events: none;
  visibility: hidden;
}
.cart-drawer.open {
  pointer-events: auto;
  visibility: visible;
}
.drawer-backdrop {
  position:absolute;
  inset:0;
  background: rgba(0,0,0,.58);
  opacity:0;
  transition:opacity .22s ease;
}
.cart-drawer.open .drawer-backdrop { opacity:1; }
.drawer-panel {
  position:absolute;
  right:0;
  top:0;
  width:min(520px, 100vw);
  height:100%;
  overflow:auto;
  padding: 26px;
  background:#0e1118;
  border-left:1px solid var(--line);
  transform:translateX(100%);
  transition:transform .24s ease;
  box-shadow: var(--shadow);
}
.cart-drawer.open .drawer-panel { transform:translateX(0); }
.drawer-header {
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:20px;
  margin-bottom:24px;
}
.drawer-header h2 { margin:6px 0 0; font-size:2rem; }
.icon-button {
  width:42px;
  height:42px;
  border-radius:50%;
  border:1px solid var(--line);
  background:var(--panel);
  color:var(--text);
  font-size:1.5rem;
  cursor:pointer;
}
.cart-items { display:grid; gap:12px; }
.empty-cart {
  padding: 34px 18px;
  text-align:center;
  border:1px dashed var(--line);
  border-radius:16px;
  color:var(--muted);
}
.cart-item {
  display:grid;
  grid-template-columns: 1fr auto;
  gap:12px;
  padding:16px;
  border:1px solid var(--line);
  border-radius:16px;
  background:rgba(255,255,255,.025);
}
.cart-item h4 { margin:0 0 7px; }
.cart-item-meta { color:var(--muted); font-size:.88rem; }
.qty-controls {
  display:flex;
  align-items:center;
  gap:8px;
  margin-top:10px;
}
.qty-controls button {
  width:28px;
  height:28px;
  border:1px solid var(--line);
  background:var(--panel);
  color:var(--text);
  border-radius:8px;
  cursor:pointer;
}
.remove-btn {
  border:0;
  background:transparent;
  color:#ff9a9a;
  cursor:pointer;
}
.cart-summary {
  margin-top:22px;
  padding-top:18px;
  border-top:1px solid var(--line);
}
.summary-line {
  display:flex;
  justify-content:space-between;
  align-items:center;
  margin-bottom:20px;
  font-size:1.1rem;
}
.summary-line strong { font-size:1.55rem; }
form { display:grid; gap:14px; }
label {
  display:grid;
  gap:7px;
  color:var(--muted);
  font-size:.9rem;
}
input, select, textarea {
  width:100%;
  padding:13px 14px;
  border-radius:12px;
  border:1px solid var(--line);
  background:#151a24;
  color:var(--text);
  outline:none;
}
input:focus, select:focus, textarea:focus { border-color:rgba(124,156,255,.65); }
textarea { resize:vertical; }
.hidden { display:none !important; }
.form-note {
  margin:0;
  color:var(--muted);
  font-size:.78rem;
  line-height:1.5;
}

.toast {
  position:fixed;
  left:50%;
  bottom:26px;
  z-index:200;
  transform:translate(-50%, 20px);
  opacity:0;
  pointer-events:none;
  padding:12px 16px;
  border-radius:12px;
  background:#f3f6fb;
  color:#0b0d12;
  box-shadow: var(--shadow);
  font-weight:800;
  transition:.2s ease;
}
.toast.show { opacity:1; transform:translate(-50%,0); }

@media (max-width: 900px) {
  .nav a { display:none; }
  .hero {
    grid-template-columns:1fr;
    gap:20px;
    padding-top:60px;
  }
  .hero-visual { min-height:380px; }
  .product-grid, .steps { grid-template-columns:1fr 1fr; }
  .section-heading, .contact, footer { align-items:flex-start; flex-direction:column; }
  footer .small { text-align:left; }
}

@media (max-width: 620px) {
  .site-header { padding-inline: 4vw; }
  .hero, .section, footer { width:min(92vw, 1180px); }
  .hero { min-height:auto; padding:54px 0 65px; }
  h1 { font-size: clamp(3rem, 17vw, 4.8rem); }
  .hero-visual { min-height:320px; }
  .case { width:270px; height:200px; border-radius:44px 44px 58px 58px; }
  .bud { top:40px; transform:scale(.8); }
  .bud-left { left:52px; }
  .bud-right { right:52px; }
  .product-grid, .steps { grid-template-columns:1fr; }
  .section { padding:65px 0; }
  .product-visual { height:210px; }
  .drawer-panel { padding:20px; }
  .contact .button { width:100%; }
}
