:root {
  --ink: #050a10;
  --panel: #0a111b;
  --panel-2: #101b28;
  --blue: #087cf0;
  --blue-bright: #23a4ff;
  --line: #dbe3eb;
  --muted: #627083;
  --paper: #f4f7fa;
  --white: #fff;
  --success: #1ca56b;
  --radius: 18px;
  --shadow: 0 20px 55px rgba(2, 10, 20, .13);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: Inter, "Segoe UI", Arial, sans-serif; line-height: 1.55; }
body.locked { overflow: hidden; }
button, input, select, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; }
.shell { width: min(1160px, calc(100% - 40px)); margin-inline: auto; }
.skip-link { position: fixed; z-index: 100; left: 16px; top: -80px; background: white; padding: 12px 16px; }
.skip-link:focus { top: 16px; }

.site-loader { position: fixed; z-index: 200; inset: 0; display: grid; place-items: center; color: white; background: radial-gradient(circle at 50% 45%, #10263a 0, #07111c 42%, #03070c 78%); transition: opacity .55s ease, visibility .55s ease; }
.site-loader::before { content: ""; position: absolute; inset: 0; opacity: .24; background-image: linear-gradient(rgba(35,164,255,.1) 1px, transparent 1px), linear-gradient(90deg, rgba(35,164,255,.1) 1px, transparent 1px); background-size: 44px 44px; mask-image: radial-gradient(circle, black, transparent 72%); animation: loader-grid 8s linear infinite; }
.site-loader.is-leaving { opacity: 0; visibility: hidden; pointer-events: none; }
.loader-inner { position: relative; width: min(310px,calc(100% - 48px)); text-align: center; }
.loader-inner img { display: block; width: min(230px,100%); height: auto; margin: 0 auto 22px; mix-blend-mode: screen; animation: loader-logo 1.6s ease-in-out infinite alternate; }
.loader-inner p { margin-bottom: 16px; color: #9eafbf; font: 800 .66rem/1.2 ui-monospace,Consolas,monospace; letter-spacing: .17em; text-transform: uppercase; }
.loader-track { display: block; height: 3px; overflow: hidden; border-radius: 999px; background: rgba(255,255,255,.1); }
.loader-track i { display: block; width: 44%; height: 100%; border-radius: inherit; background: linear-gradient(90deg,transparent,var(--blue-bright),white,var(--blue-bright),transparent); animation: loader-scan 1.15s ease-in-out infinite; }
@keyframes loader-scan { from { transform: translateX(-110%); } to { transform: translateX(250%); } }
@keyframes loader-logo { from { opacity: .72; transform: translateY(2px); } to { opacity: 1; transform: translateY(-2px); } }
@keyframes loader-grid { to { background-position: 44px 44px; } }

.site-header { position: sticky; top: 0; z-index: 30; border-bottom: 1px solid rgba(255,255,255,.1); background: rgba(5,10,16,.94); color: white; backdrop-filter: blur(14px); }
.nav { min-height: 76px; display: flex; align-items: center; gap: 34px; }
.brand { display: inline-flex; align-items: center; text-decoration: none; }
.products-logo { display: block; width: 170px; height: 60px; object-fit: contain; mix-blend-mode: screen; }
.nav nav { margin-left: auto; display: flex; gap: 28px; }
.nav nav a { text-decoration: none; color: #c9d2dc; font-size: .92rem; }
.nav nav a:hover { color: white; }
.cart-button { border: 1px solid #2c3e50; border-radius: 999px; background: #101b28; color: white; padding: 10px 14px 10px 18px; cursor: pointer; font-weight: 700; }
.cart-button span { display: inline-grid; place-items: center; min-width: 24px; height: 24px; margin-left: 8px; border-radius: 50%; background: var(--blue); }

.hero { color: white; overflow: hidden; background: radial-gradient(circle at 85% 20%, rgba(8,124,240,.22), transparent 25%), linear-gradient(135deg,#050a10,#0a111b 58%,#071626); }
.hero-grid { min-height: 610px; display: grid; grid-template-columns: 1.25fr .75fr; gap: 70px; align-items: center; padding-block: 90px; }
.hero-grid > div:first-child { animation: hero-enter .72s cubic-bezier(.2,.8,.2,1) both; }
.eyebrow { margin: 0 0 14px; color: var(--blue-bright); font-size: .76rem; font-weight: 900; letter-spacing: .18em; text-transform: uppercase; }
h1,h2,h3,p { margin-top: 0; }
h1 { max-width: 790px; margin-bottom: 24px; font-size: clamp(3.2rem,8vw,6.7rem); line-height: .89; letter-spacing: -.065em; text-transform: uppercase; }
h1 span { color: var(--blue-bright); }
.hero-copy { max-width: 660px; color: #b7c4d1; font-size: 1.13rem; }
.hero-actions { display: flex; align-items: center; gap: 24px; margin-top: 34px; }
.button { display: inline-flex; justify-content: center; align-items: center; min-height: 48px; border: 0; border-radius: 7px; background: var(--blue); color: white; padding: 12px 22px; text-decoration: none; font-weight: 850; cursor: pointer; box-shadow: 0 10px 25px rgba(8,124,240,.25); }
.button:hover { background: #1694ff; }
.button:disabled { cursor: not-allowed; opacity: .45; }
.button-wide { width: 100%; }
.text-link { color: white; text-decoration: none; font-weight: 750; }
.text-link span { color: var(--blue-bright); }
.hero-panel { position: relative; border: 1px solid #21364b; border-radius: var(--radius); padding: 34px; background: linear-gradient(145deg,rgba(22,42,61,.8),rgba(7,17,27,.8)); box-shadow: 0 32px 80px rgba(0,0,0,.3); animation: panel-enter .85s .12s cubic-bezier(.2,.8,.2,1) both; }
.hero-panel::before { content: ""; position: absolute; inset: -1px auto -1px -1px; width: 5px; background: var(--blue); border-radius: var(--radius) 0 0 var(--radius); }
.panel-label { color: #8292a3; font: 700 .72rem/1.2 ui-monospace,Consolas,monospace; letter-spacing: .12em; }
.hero-panel > strong { display: block; margin: 24px 0 8px; font-size: 2rem; line-height: 1.1; }
.hero-panel > p { color: #a9b8c7; }
.panel-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 1px; margin: 28px -34px -34px; background: #26384a; border-radius: 0 0 var(--radius) var(--radius); overflow: hidden; }
.panel-grid span { min-height: 88px; padding: 17px; background: #0d1722; color: #91a1b0; font-size: .72rem; text-transform: uppercase; }
.panel-grid b { display: block; color: white; font-size: 1.3rem; }
@keyframes hero-enter { from { opacity: 0; transform: translateY(24px); } }
@keyframes panel-enter { from { opacity: 0; transform: translate3d(28px,18px,0) rotate(1deg); } }

.products-section { padding-block: 100px; }
.section-heading { display: flex; justify-content: space-between; align-items: end; gap: 40px; margin-bottom: 42px; }
.section-heading h2 { margin-bottom: 0; font-size: clamp(2.2rem,5vw,4rem); line-height: .95; letter-spacing: -.045em; text-transform: uppercase; }
.section-heading > p { max-width: 500px; margin-bottom: 0; color: var(--muted); }
.section-heading > p a { color: var(--blue); font-weight: 750; }
.product-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 28px; }
.product-card { overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: white; box-shadow: var(--shadow); transition: transform .28s ease, box-shadow .28s ease, border-color .28s ease; }
.product-card:hover { border-color: #bed5e9; box-shadow: 0 28px 70px rgba(2,10,20,.18); transform: translateY(-6px); }
.product-image-wrap { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: #09111a; }
.product-image-wrap img { width: 100%; height: 100%; object-fit: cover; transition: transform .65s cubic-bezier(.2,.8,.2,1); }
.product-card:hover .product-image-wrap img { transform: scale(1.025); }
.stock-pill { position: absolute; top: 18px; right: 18px; display: inline-flex; align-items: center; gap: 7px; padding: 7px 12px; border-radius: 999px; background: rgba(5,10,16,.85); color: white; font-size: .78rem; font-weight: 750; backdrop-filter: blur(8px); }
.stock-pill i { width: 8px; height: 8px; border-radius: 50%; background: #37e099; box-shadow: 0 0 0 4px rgba(55,224,153,.15); }
.product-body { padding: 30px; }
.product-heading { display: flex; align-items: start; justify-content: space-between; gap: 20px; }
.product-kicker { margin-bottom: 6px; color: var(--blue); font-size: .72rem; font-weight: 850; letter-spacing: .12em; text-transform: uppercase; }
.product-heading h3 { margin-bottom: 12px; font-size: 1.55rem; line-height: 1.1; }
.price { white-space: nowrap; color: var(--blue); font-size: 1.5rem; }
.price small { display: block; margin-bottom: 3px; color: #738394; font-size: .58rem; font-weight: 850; letter-spacing: .12em; text-align: right; text-transform: uppercase; }
.product-body > p { min-height: 74px; color: var(--muted); }
.product-body > .trade-note { min-height: 0; margin: -10px 0 22px; padding: 11px 13px; border-left: 3px solid var(--blue); border-radius: 0 7px 7px 0; background: #f2f7fb; font-size: .78rem; }
.trade-note a { color: var(--blue); font-weight: 800; }
.specs { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); margin: 24px 0; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; }
.specs div { padding: 12px 14px; border-bottom: 1px solid var(--line); }
.specs div:nth-child(odd) { border-right: 1px solid var(--line); }
.specs div:nth-last-child(-n+2) { border-bottom: 0; }
.specs dt { color: var(--muted); font-size: .67rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.specs dd { margin: 2px 0 0; font: 700 .86rem/1.35 ui-monospace,Consolas,monospace; overflow-wrap: anywhere; }
.variant-picker { display: grid; grid-template-columns: auto minmax(150px,220px); align-items: center; justify-content: space-between; gap: 16px; margin: -4px 0 24px; padding: 14px 16px; border: 1px solid #bed8ef; border-radius: 10px; background: #f2f8fd; color: var(--ink); }
.variant-picker span { color: var(--blue); font-size: .73rem; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; }
.variant-picker select { margin: 0; border-color: #9fc8ea; font-weight: 800; cursor: pointer; }
.highlights { min-height: 118px; margin: 0 0 24px; padding: 0; list-style: none; color: #394758; }
.highlights li { position: relative; padding: 5px 0 5px 20px; }
.highlights li::before { content: ""; position: absolute; left: 0; top: 13px; width: 8px; height: 8px; border: 2px solid var(--blue); transform: rotate(45deg); }
.loading { grid-column: 1/-1; padding: 50px; text-align: center; }

.order-process { position: relative; overflow: hidden; padding-block: 96px; color: white; background: radial-gradient(circle at 8% 30%,rgba(8,124,240,.13),transparent 28%), var(--panel); }
.order-process::after { content: "04"; position: absolute; right: -20px; bottom: -110px; color: rgba(35,164,255,.035); font-size: min(32vw,390px); font-weight: 950; line-height: 1; pointer-events: none; }
.section-heading.light h2 { color: white; }
.steps { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(4,1fr); gap: 16px; margin: 0; padding: 0; list-style: none; }
.steps::before { content: ""; position: absolute; z-index: -1; top: 29px; left: 5%; right: 5%; height: 1px; background: linear-gradient(90deg,transparent,var(--blue),var(--blue-bright),transparent); opacity: .42; }
.steps li { position: relative; min-height: 220px; padding: 24px; border: 1px solid #25394c; border-radius: 16px; background: linear-gradient(145deg,rgba(17,31,45,.96),rgba(8,17,26,.94)); box-shadow: 0 20px 45px rgba(0,0,0,.16); transition: border-color .25s ease, transform .25s ease, background .25s ease; }
.steps li:hover { border-color: rgba(35,164,255,.7); background: linear-gradient(145deg,#13283b,#0a1621); transform: translateY(-5px); }
.steps span { display: inline-grid; place-items: center; width: 42px; height: 42px; border: 1px solid rgba(35,164,255,.55); border-radius: 50%; color: var(--blue-bright); background: #0a1723; box-shadow: 0 0 0 8px var(--panel); font: 800 .76rem/1 ui-monospace,Consolas,monospace; }
.steps h3 { margin: 48px 0 8px; font-size: 1.25rem; }
.steps p { margin-bottom: 0; color: #93a4b4; font-size: .92rem; }

.reveal-on-scroll { opacity: 0; transform: translateY(24px); transition: opacity .65s var(--reveal-delay,0ms) ease, transform .65s var(--reveal-delay,0ms) cubic-bezier(.2,.8,.2,1); }
.reveal-on-scroll.is-visible { opacity: 1; transform: translateY(0); }

footer { padding-block: 40px; color: #a9b6c3; background: #050a10; border-top: 1px solid #1c2b3a; }
.footer-grid { display: grid; grid-template-columns: 1fr auto auto; gap: 42px; align-items: center; }
.footer-product-brand p { max-width: 360px; margin: 12px 0 0; font-size: .86rem; }
.footer-links { display: flex; flex-wrap: wrap; gap: 20px; }
.footer-links a { color: white; text-decoration: none; font-size: .9rem; }
.powered-by { display: grid; grid-template-columns: auto 170px; gap: 12px; align-items: center; text-decoration: none; }
.powered-by span { color: #8292a3; font-size: .68rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.powered-by img { display: block; width: 170px; height: 82px; padding: 7px 9px; border-radius: 8px; background: white; object-fit: contain; }

.drawer-backdrop { position: fixed; z-index: 50; inset: 0; opacity: 0; background: rgba(1,6,11,.66); backdrop-filter: blur(4px); transition: opacity .18s; }
.drawer-backdrop.visible { opacity: 1; }
.cart-drawer { position: fixed; z-index: 51; top: 0; right: 0; width: min(500px,100%); height: 100dvh; display: flex; flex-direction: column; padding: 30px; background: white; box-shadow: -30px 0 80px rgba(0,0,0,.2); transform: translateX(105%); transition: transform .22s ease; }
.cart-drawer.open { transform: translateX(0); }
.drawer-header { display: flex; align-items: start; justify-content: space-between; gap: 20px; }
.drawer-header h2 { margin: 0; font-size: 2.2rem; line-height: 1; }
.icon-button { width: 42px; height: 42px; border: 1px solid var(--line); border-radius: 50%; background: white; color: var(--ink); font-size: 1.7rem; line-height: 1; cursor: pointer; }
.cart-lines { flex: 1; overflow: auto; margin: 28px -8px 20px 0; padding-right: 8px; }
.cart-line { display: grid; grid-template-columns: 74px 1fr auto; gap: 14px; align-items: center; padding: 16px 0; border-bottom: 1px solid var(--line); }
.cart-line img { width: 74px; height: 74px; border-radius: 9px; object-fit: cover; }
.cart-line strong,.cart-line small,.cart-line span { display: block; }
.cart-line strong { line-height: 1.2; }
.cart-line small { margin: 5px 0; color: var(--muted); font: .68rem ui-monospace,Consolas,monospace; }
.cart-line .cart-variant { display: block; margin-top: 5px; color: var(--ink); font-size: .78rem; font-style: normal; font-weight: 800; }
.cart-line > div > span { color: var(--blue); font-weight: 800; font-size: .84rem; }
.quantity { display: grid; grid-template-columns: 28px 28px 28px; align-items: center; text-align: center; }
.quantity button { width: 28px; height: 28px; border: 1px solid var(--line); background: white; cursor: pointer; }
.quantity span { color: var(--ink) !important; font-weight: 750 !important; }
.cart-summary { padding-top: 22px; border-top: 2px solid var(--ink); }
.cart-summary > div { display: flex; justify-content: space-between; font-size: 1.2rem; }
.cart-summary > p,.secure-note { color: var(--muted); font-size: .8rem; }
.empty-cart { margin-top: 60px; text-align: center; color: var(--muted); }

dialog { max-width: none; padding: 0; border: 0; color: var(--ink); }
dialog::backdrop { background: rgba(1,6,11,.74); backdrop-filter: blur(5px); }
.checkout-dialog { width: min(760px,calc(100% - 24px)); max-height: calc(100dvh - 24px); border-radius: var(--radius); }
.checkout-form { padding: 34px; }
.checkout-order { display: flex; justify-content: space-between; margin: 28px 0; padding: 16px 18px; border-radius: 9px; color: white; background: var(--panel); }
.checkout-order span { color: var(--blue-bright); font-weight: 900; }
.form-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 16px; }
label { color: #3d4a58; font-size: .8rem; font-weight: 750; }
label.full { grid-column: 1/-1; }
.payment-options { display: grid; grid-column: 1/-1; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px; margin: 2px 0; padding: 0; border: 0; }
.payment-options legend { grid-column: 1/-1; margin-bottom: 7px; color: #3d4a58; font-size: .8rem; font-weight: 800; }
.payment-option { display: flex; align-items: flex-start; gap: 10px; min-height: 86px; padding: 14px; border: 1px solid #cbd5df; border-radius: 10px; background: #f8fafc; cursor: pointer; transition: border-color .18s, box-shadow .18s, transform .18s; }
.payment-option:has(input:checked) { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(8,124,240,.12); transform: translateY(-1px); }
.payment-option input { width: auto; margin: 3px 0 0; accent-color: var(--blue); }
.payment-option span { display: grid; gap: 4px; }
.payment-option b { color: var(--ink); font-size: .92rem; }
.payment-option small { color: var(--muted); font-size: .72rem; font-weight: 500; line-height: 1.45; }
input,select,textarea { width: 100%; margin-top: 6px; border: 1px solid #cbd5df; border-radius: 7px; background: white; padding: 11px 12px; color: var(--ink); }
textarea { resize: vertical; }
input:focus,select:focus,textarea:focus { outline: 3px solid rgba(8,124,240,.17); border-color: var(--blue); }
.consent { display: flex; gap: 10px; align-items: start; margin: 18px 0; font-weight: 500; }
.consent input { width: auto; margin-top: 3px; }
.form-status { min-height: 24px; margin-bottom: 8px; font-size: .86rem; }
.form-status.error { color: #bb2e3d; }
.success-dialog { width: min(520px,calc(100% - 24px)); border-radius: var(--radius); }
.success-card { padding: 46px; text-align: center; }
.success-icon { display: grid; place-items: center; width: 64px; height: 64px; margin: 0 auto 24px; border-radius: 50%; background: #dff8ee; color: var(--success); font-size: 1.8rem; }
.success-card h2 { font-size: 2rem; }
.success-card > p:not(.eyebrow) { color: var(--muted); }
.text-button { margin-top: 16px; border: 0; background: transparent; color: var(--blue); cursor: pointer; font-weight: 750; }

@media (max-width: 860px) {
  .nav nav { display: none; }
  .cart-button { margin-left: auto; }
  .hero-grid { min-height: auto; grid-template-columns: 1fr; padding-block: 76px; }
  .hero-panel { max-width: 620px; }
  .product-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: repeat(2,1fr); }
  .steps::before { display: none; }
  .footer-grid { grid-template-columns: 1fr; }
}

@media (max-width: 580px) {
  .shell { width: min(100% - 24px,1160px); }
  .site-header .products-logo { width: 136px; height: 48px; }
  .cart-button { padding-left: 13px; }
  .hero-grid { gap: 42px; padding-block: 58px; }
  h1 { font-size: clamp(3rem,18vw,5rem); }
  .hero-actions { align-items: start; flex-direction: column; }
  .hero-panel { padding: 24px; }
  .panel-grid { margin: 24px -24px -24px; }
  .section-heading { align-items: start; flex-direction: column; }
  .products-section { padding-block: 70px; }
  .product-body { padding: 22px; }
  .product-heading { flex-direction: column; gap: 0; }
  .product-body > p,.highlights { min-height: 0; }
  .specs { grid-template-columns: 1fr; }
  .specs div,.specs div:nth-child(odd),.specs div:nth-last-child(-n+2) { border-right: 0; border-bottom: 1px solid var(--line); }
  .specs div:last-child { border-bottom: 0; }
  .variant-picker { grid-template-columns: 1fr; gap: 7px; }
  .steps { grid-template-columns: 1fr; }
  .steps { gap: 12px; }
  .steps li { min-height: 170px; }
  .steps h3 { margin-top: 28px; }
  .cart-drawer { padding: 22px 16px; }
  .cart-line { grid-template-columns: 58px 1fr; }
  .cart-line img { width: 58px; height: 58px; }
  .quantity { grid-column: 2; }
  .checkout-form { padding: 24px 18px; }
  .form-grid { grid-template-columns: 1fr; }
  label.full { grid-column: auto; }
  .payment-options { grid-column: auto; grid-template-columns: 1fr; }
  .success-card { padding: 36px 22px; }
  .powered-by { grid-template-columns: auto 150px; }
  .powered-by img { width: 150px; height: 73px; }
}

@media (prefers-reduced-motion: reduce) {
  *,*::before,*::after { scroll-behavior: auto !important; transition: none !important; }
  .site-loader::before,.loader-inner img,.loader-track i,.hero-grid > div:first-child,.hero-panel { animation: none !important; }
  .reveal-on-scroll { opacity: 1; transform: none; }
}
