:root {
  --bg: #070b11;
  --surface: #111824;
  --surface-2: #171f2d;
  --line: #263244;
  --text: #f7f9fc;
  --muted: #9aa7ba;
  --green: #00d980;
  --green-2: #35f0a4;
  --cyan: #00b8e6;
  --red: #f43152;
  --yellow: #ffbd3e;
  --radius: 22px;
  --shadow: 0 24px 70px rgb(0 0 0 / 35%);
}

* { box-sizing: border-box; }
html { color-scheme: dark; scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--text); font-family: Manrope, system-ui, sans-serif; font-size: 16px; line-height: 1.55; }
a { color: inherit; text-decoration: none; }
button, input, select { font: inherit; }
button { cursor: pointer; }
img { display: block; max-width: 100%; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

.site-header { position: sticky; top: 0; z-index: 30; min-height: 86px; padding: 12px clamp(22px, 5vw, 84px); border-bottom: 1px solid rgb(255 255 255 / 8%); background: rgb(7 11 17 / 92%); backdrop-filter: blur(18px); display: grid; grid-template-columns: 260px 1fr auto; align-items: center; gap: 28px; }
.brand img { width: 220px; height: 62px; object-fit: contain; object-position: left center; }
.main-nav { display: flex; justify-content: center; gap: clamp(18px, 3vw, 42px); color: #cbd4e2; font-weight: 700; }
.main-nav a:hover, .account-link:hover { color: var(--green-2); }
.header-actions { display: flex; align-items: center; gap: 18px; font-weight: 700; white-space: nowrap; }
.cart-link { display: inline-flex; align-items: center; gap: 8px; padding: 12px 16px; border: 1px solid var(--line); border-radius: 999px; background: var(--surface); }
.cart-link strong { display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: var(--green); color: #041009; }
.nav-toggle { display: none; width: 48px; height: 48px; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); padding: 12px; }
.nav-toggle span { display: block; height: 2px; margin: 5px 0; background: white; }

.messages { position: fixed; z-index: 40; top: 100px; right: 24px; width: min(420px, calc(100vw - 48px)); }
.message { padding: 16px 20px; border: 1px solid var(--line); border-radius: 14px; background: #152031; box-shadow: var(--shadow); }
.message.success { border-color: rgb(0 217 128 / 50%); }
.message.error { border-color: rgb(244 49 82 / 60%); }

.hero { min-height: 690px; padding: clamp(64px, 8vw, 120px) clamp(24px, 8vw, 145px) 80px; overflow: hidden; display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(430px, .92fr); align-items: center; gap: 70px; background: radial-gradient(circle at 80% 15%, rgb(244 49 82 / 15%), transparent 28%), radial-gradient(circle at 55% 80%, rgb(0 217 128 / 13%), transparent 30%), linear-gradient(115deg, #070b11 58%, #0c121d); }
.eyebrow { margin: 0 0 12px; color: var(--green-2); font-size: .82rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
h1, h2, h3 { font-family: "Space Grotesk", Manrope, sans-serif; line-height: 1.06; }
h1 { max-width: 820px; margin: 0; font-size: clamp(3rem, 6vw, 6.4rem); letter-spacing: -.055em; }
h2 { margin: 0; font-size: clamp(2rem, 3.6vw, 3.8rem); letter-spacing: -.04em; }
.hero-text { max-width: 690px; margin: 28px 0; color: #aeb9ca; font-size: clamp(1.08rem, 1.6vw, 1.35rem); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.button { min-height: 52px; padding: 14px 23px; border: 1px solid transparent; border-radius: 14px; display: inline-flex; align-items: center; justify-content: center; gap: 18px; font-weight: 800; transition: transform .2s, border-color .2s, background .2s; }
.button:hover { transform: translateY(-2px); }
.button-primary { color: #04110a; background: linear-gradient(135deg, var(--green-2), #00bd6d); box-shadow: 0 12px 35px rgb(0 217 128 / 18%); }
.button-ghost { border-color: var(--line); background: rgb(17 24 36 / 80%); }
.button-light { color: #08110c; background: white; }
.button.full { width: 100%; }
.button:disabled { cursor: not-allowed; filter: grayscale(1); opacity: .5; transform: none; }
.trust-list { margin: 48px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 28px; list-style: none; }
.trust-list li { padding-right: 28px; border-right: 1px solid var(--line); display: flex; flex-direction: column; }
.trust-list li:last-child { border: 0; }
.trust-list strong { font: 700 1.4rem "Space Grotesk"; }
.trust-list span { color: var(--muted); font-size: .82rem; }

.hero-art { position: relative; min-height: 510px; isolation: isolate; display: grid; place-items: center; }
.hero-art::before { content: ""; position: absolute; inset: 12%; border-radius: 48%; background: linear-gradient(135deg, rgb(0 217 128 / 20%), rgb(0 184 230 / 12%) 45%, rgb(244 49 82 / 22%)); filter: blur(3px); transform: rotate(-10deg); }
.hero-mark { position: relative; z-index: 3; width: min(62%, 360px); filter: drop-shadow(0 28px 38px rgb(0 0 0 / 60%)); }
.orbit { position: absolute; inset: 4%; border: 1px solid rgb(255 255 255 / 14%); border-radius: 50%; transform: rotate(-18deg); }
.orbit-two { inset: 18%; border-color: rgb(53 240 164 / 24%); transform: rotate(24deg); }
.float-card { position: absolute; z-index: 4; min-width: 205px; padding: 15px 18px; border: 1px solid rgb(255 255 255 / 13%); border-radius: 16px; background: rgb(17 24 36 / 88%); box-shadow: var(--shadow); backdrop-filter: blur(10px); }
.float-card small { color: var(--muted); display: block; }
.float-card strong { font-size: .95rem; }
.float-one { top: 10%; right: 0; }
.float-two { left: 0; bottom: 10%; }

.category-strip { margin: -25px auto 0; width: min(1380px, calc(100% - 48px)); min-height: 94px; padding: 18px 24px; position: relative; z-index: 4; border: 1px solid var(--line); border-radius: 20px; background: #111824; box-shadow: var(--shadow); display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; }
.category-strip a { min-height: 56px; padding: 10px; border-radius: 14px; display: flex; align-items: center; justify-content: center; gap: 10px; font-weight: 700; }
.category-strip a:hover { background: var(--surface-2); color: var(--green-2); }
.category-strip span { color: var(--green-2); }

.section { width: min(1380px, calc(100% - 48px)); margin: 0 auto; padding: 100px 0; }
.section-heading { margin-bottom: 36px; display: flex; align-items: end; justify-content: space-between; gap: 28px; }
.section-heading > a { color: var(--green-2); font-weight: 700; }
.product-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.product-card { min-width: 0; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); transition: transform .25s, border-color .25s; }
.product-card:hover { transform: translateY(-5px); border-color: rgb(53 240 164 / 40%); }
.product-visual { position: relative; aspect-ratio: 1.3; overflow: hidden; background: radial-gradient(circle at 30% 25%, rgb(0 217 128 / 28%), transparent 35%), radial-gradient(circle at 80% 80%, rgb(244 49 82 / 25%), transparent 35%), #0b1018; display: grid; place-items: center; }
.product-visual img { width: 100%; height: 100%; object-fit: cover; }
.product-visual > span, .detail-visual > span { font: 800 clamp(3rem, 5vw, 5rem) "Space Grotesk"; color: white; letter-spacing: -.08em; text-transform: uppercase; }
.stock { padding: 7px 11px; border-radius: 999px; color: var(--green-2); background: rgb(0 217 128 / 13%); font-style: normal; font-size: .75rem; font-weight: 800; }
.product-visual .stock { position: absolute; top: 14px; right: 14px; }
.stock.out { color: #ff8296; background: rgb(244 49 82 / 14%); }
.product-body { padding: 22px; }
.product-category { margin: 0 0 7px !important; color: var(--green-2) !important; font-size: .75rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.product-body h3 { min-height: 2.3em; margin: 0 0 10px; font-size: 1.25rem; }
.product-body > p { min-height: 3em; margin: 0; color: var(--muted); font-size: .9rem; }
.product-footer { margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--line); display: flex; align-items: end; justify-content: space-between; }
.product-footer div { display: flex; flex-direction: column; }
.product-footer small { color: var(--muted); }
.product-footer strong { color: var(--green-2); font-size: 1.18rem; }
.product-footer > a { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: #202b3b; font-size: 1.25rem; }

.steps-section { padding: 100px max(24px, calc((100vw - 1380px) / 2)); background: linear-gradient(130deg, #0f1722, #090e15); display: grid; grid-template-columns: .9fr 1.4fr; gap: 80px; align-items: center; }
.steps { margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; list-style: none; }
.steps li { min-height: 220px; padding: 24px; border: 1px solid var(--line); border-radius: 18px; background: var(--surface); }
.steps span { color: var(--green-2); font: 700 1rem "Space Grotesk"; }
.steps strong { margin-top: 48px; display: block; font: 700 1.35rem "Space Grotesk"; }
.steps p { margin-bottom: 0; color: var(--muted); font-size: .9rem; }
.support-banner { width: min(1380px, calc(100% - 48px)); margin: 100px auto; padding: clamp(32px, 6vw, 70px); border-radius: 28px; background: linear-gradient(125deg, #003f2a, #00a765 56%, #00d980); display: flex; align-items: center; justify-content: space-between; gap: 30px; box-shadow: var(--shadow); }
.support-banner .eyebrow { color: white; opacity: .8; }
.support-banner p:last-child { margin-bottom: 0; color: rgb(255 255 255 / 78%); }

.catalog-hero { padding-bottom: 34px; }
.catalog-hero h1 { font-size: clamp(2.8rem, 5vw, 5.5rem); }
.catalog-filters { margin-top: 42px; padding: 14px; border: 1px solid var(--line); border-radius: 18px; background: var(--surface); display: grid; grid-template-columns: 1fr 260px auto; gap: 12px; }
.catalog-filters input, .catalog-filters select, .auth-card input { width: 100%; min-height: 54px; padding: 0 17px; border: 1px solid var(--line); border-radius: 12px; color: white; background: #0b1119; outline: none; }
.catalog-filters input:focus, .catalog-filters select:focus, .auth-card input:focus { border-color: var(--green); box-shadow: 0 0 0 3px rgb(0 217 128 / 12%); }
.catalog-results { padding-top: 24px; }
.result-line { margin-bottom: 24px; display: flex; justify-content: space-between; color: var(--muted); }
.result-line strong { color: white; }
.empty-state { grid-column: 1 / -1; padding: 60px 24px; border: 1px dashed var(--line); border-radius: 18px; color: var(--muted); text-align: center; }
.empty-state h2 { color: white; font-size: 2rem; }

.product-detail { display: grid; grid-template-columns: minmax(0, 1fr) minmax(380px, .8fr); gap: 70px; align-items: start; }
.detail-visual { position: sticky; top: 120px; min-height: 580px; border: 1px solid var(--line); border-radius: 28px; overflow: hidden; background: radial-gradient(circle at 30% 30%, rgb(0 217 128 / 30%), transparent 33%), radial-gradient(circle at 78% 75%, rgb(244 49 82 / 30%), transparent 34%), var(--surface); display: grid; place-items: center; }
.detail-visual img { width: 100%; height: 100%; object-fit: cover; }
.back-link { margin-bottom: 60px; display: inline-block; color: var(--muted); }
.detail-copy h1 { font-size: clamp(2.8rem, 4.5vw, 5rem); }
.detail-summary { color: #b7c1cf; font-size: 1.22rem; }
.detail-description { color: var(--muted); }
.purchase-panel { margin: 38px 0 24px; padding: 24px; border: 1px solid var(--line); border-radius: 20px; background: var(--surface); display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 22px; }
.purchase-panel > div { display: flex; flex-direction: column; }
.purchase-panel small { color: var(--muted); }
.purchase-panel strong { color: var(--green-2); font-size: 2rem; }
.purchase-panel strong span { font-size: .85rem; }
.purchase-panel form { grid-column: 1 / -1; }
.purchase-benefits { padding: 0; color: var(--muted); list-style: none; }
.purchase-benefits li { margin: 8px 0; }
.purchase-benefits li::before { content: "✓"; margin-right: 10px; color: var(--green-2); }

.narrow-page { width: min(1120px, calc(100% - 48px)); }
.narrow-page h1 { font-size: clamp(2.8rem, 5vw, 5rem); }
.cart-layout { margin-top: 40px; display: grid; grid-template-columns: 1fr 350px; gap: 24px; align-items: start; }
.cart-items, .cart-summary, .order-card, .auth-card { border: 1px solid var(--line); border-radius: 20px; background: var(--surface); }
.cart-item { padding: 22px; border-bottom: 1px solid var(--line); display: grid; grid-template-columns: 1fr auto auto; gap: 22px; align-items: center; }
.cart-item:last-child { border: 0; }
.cart-item span, .cart-item p { color: var(--muted); }
.cart-item h2 { margin: 4px 0; font-size: 1.35rem; }
.cart-item p { margin: 0; }
.cart-item button, .account-actions button { border: 0; color: #ff8296; background: none; }
.cart-summary { position: sticky; top: 115px; padding: 26px; display: flex; flex-direction: column; gap: 20px; }
.cart-summary > span, .cart-summary small { color: var(--muted); }
.cart-summary > strong { font: 700 2rem "Space Grotesk"; }
.account-actions { margin: 34px 0; padding: 16px 20px; border: 1px solid var(--line); border-radius: 14px; display: flex; justify-content: space-between; }
.order-row { margin: 12px 0; padding: 20px; border: 1px solid var(--line); border-radius: 15px; background: var(--surface); display: grid; grid-template-columns: 1fr auto auto auto; gap: 20px; align-items: center; }
.order-row span, .order-row small { color: var(--muted); }
.order-card { margin-top: 40px; overflow: hidden; }
.order-card > div, .order-card footer { padding: 20px 24px; display: flex; justify-content: space-between; }
.order-card > div { border-bottom: 1px solid var(--line); }
.order-card footer { color: var(--green-2); font-size: 1.2rem; }
.order-help { padding: 20px; border: 1px solid rgb(0 217 128 / 25%); border-radius: 14px; color: var(--muted); background: rgb(0 217 128 / 7%); }
.auth-page { min-height: 75vh; padding: 80px 24px; display: grid; place-items: center; }
.auth-card { width: min(480px, 100%); padding: 36px; }
.auth-card h1 { font-size: 2.7rem; }
.auth-card > p { color: var(--muted); }
.auth-card label { display: block; margin-bottom: 8px; font-weight: 700; }
.auth-card input { margin-bottom: 10px; }
.auth-card .helptext { display: none; }

.site-footer { padding: 58px clamp(24px, 6vw, 100px); border-top: 1px solid var(--line); background: #090e15; display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 50px; color: var(--muted); }
.site-footer img { width: 210px; }
.site-footer > div { display: flex; flex-direction: column; align-items: start; gap: 10px; }
.site-footer strong { color: white; margin-bottom: 8px; }
.site-footer a:hover { color: var(--green-2); }

@media (max-width: 1100px) {
  .site-header { grid-template-columns: 1fr auto; }
  .nav-toggle { display: block; grid-column: 2; grid-row: 1; }
  .main-nav { display: none; grid-column: 1 / -1; padding: 18px; border: 1px solid var(--line); border-radius: 16px; background: var(--surface); flex-direction: column; }
  .main-nav.is-open { display: flex; }
  .header-actions { grid-column: 1 / -1; justify-content: space-between; }
  .hero { grid-template-columns: 1fr; }
  .hero-art { min-height: 430px; }
  .product-grid { grid-template-columns: repeat(3, 1fr); }
  .steps-section { grid-template-columns: 1fr; }
  .product-detail { grid-template-columns: 1fr; }
  .detail-visual { position: static; min-height: 480px; }
}

@media (max-width: 760px) {
  .site-header { min-height: 76px; padding: 10px 18px; gap: 10px; }
  .brand img { width: 175px; height: 50px; }
  .header-actions { font-size: .88rem; }
  .cart-link { padding: 9px 12px; }
  .hero { min-height: auto; padding: 64px 24px 70px; gap: 30px; }
  h1 { font-size: clamp(2.8rem, 14vw, 4.2rem); }
  .hero-art { min-height: 340px; }
  .float-card { min-width: 170px; padding: 12px; }
  .float-one { top: 2%; }
  .float-two { bottom: 0; }
  .trust-list { gap: 16px; }
  .trust-list li { width: calc(50% - 8px); padding-right: 14px; }
  .category-strip { margin-top: 0; width: 100%; padding: 16px 20px; border-width: 1px 0; border-radius: 0; grid-template-columns: repeat(2, 1fr); }
  .category-strip a { justify-content: flex-start; }
  .section { width: min(100% - 32px, 1380px); padding: 70px 0; }
  .section-heading { align-items: start; flex-direction: column; }
  .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .product-body { padding: 16px; }
  .product-body h3 { font-size: 1.03rem; }
  .product-body > p { display: none; }
  .product-footer { align-items: center; }
  .product-footer strong { font-size: .92rem; }
  .product-footer > a { width: 36px; height: 36px; }
  .steps-section { padding: 70px 20px; gap: 34px; }
  .steps { grid-template-columns: 1fr; }
  .steps li { min-height: 160px; }
  .steps strong { margin-top: 25px; }
  .support-banner { width: calc(100% - 32px); margin: 70px auto; align-items: stretch; flex-direction: column; }
  .catalog-filters { grid-template-columns: 1fr; }
  .product-detail { gap: 34px; }
  .detail-visual { min-height: 360px; }
  .back-link { margin-bottom: 35px; }
  .cart-layout { grid-template-columns: 1fr; }
  .cart-summary { position: static; }
  .cart-item { grid-template-columns: 1fr auto; }
  .cart-item form { grid-column: 1 / -1; }
  .order-row { grid-template-columns: 1fr auto; }
  .site-footer { grid-template-columns: 1fr; }
}

@media (max-width: 390px) {
  .account-link { display: none; }
  .product-grid { grid-template-columns: 1fr; }
  .trust-list li { width: 100%; border: 0; }
  .purchase-panel { grid-template-columns: 1fr; }
  .purchase-panel form { grid-column: auto; }
}
