:root {
  --ink: #0a1628;
  --muted: #5f6b7a;
  --line: #dce3ec;
  --paper: #f5f8fc;
  --white: #ffffff;
  --blue: #0878ff;
  --blue-deep: #0357c5;
  --navy: #071426;
  --cyan: #28d7ff;
  --lime: #a8ed57;
  --shadow: 0 18px 55px rgba(7, 20, 38, .12);
  --radius: 22px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}
body.cart-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
button { cursor: pointer; }
img { display: block; max-width: 100%; }
.container { width: min(1180px, calc(100% - 36px)); margin-inline: auto; }
.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; }

.announcement {
  background: var(--navy);
  color: #dce9fb;
  font-size: 12px;
  letter-spacing: .08em;
  text-align: center;
  text-transform: uppercase;
  padding: 9px 16px;
}
.site-header {
  background: #030303;
  color: white;
  border-bottom: 1px solid #191919;
  position: sticky;
  top: 0;
  z-index: 40;
}
.header-inner { position: relative; height: 91px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.logo { display: inline-flex; align-items: center; gap: 11px; font-weight: 900; letter-spacing: -.04em; font-size: 25px; }
.site-header .logo img { display: block; width: 288px; height: auto; }
.logo-mark { width: 36px; height: 36px; border-radius: 11px; display: grid; place-items: center; background: linear-gradient(135deg, var(--blue), var(--cyan)); color: white; box-shadow: 0 8px 22px rgba(8,120,255,.3); font-size: 18px; }
.logo small { display: block; font-size: 9px; line-height: 1; color: var(--blue); letter-spacing: .16em; text-transform: uppercase; margin-top: 2px; }
.main-nav { display: flex; gap: 28px; color: #fff; font: 700 12px Verdana, Arial, sans-serif; }
.main-nav a:hover { color: #ff9b53; }
.header-actions { display: flex; align-items: center; gap: 12px; }
.cart-button { border: 1px solid #3c3c3c; background: transparent; color: white; border-radius: 12px; padding: 11px 14px; display: inline-flex; align-items: center; gap: 9px; font-weight: 800; }
.cart-button:hover { border-color: #f5621d; background: #1b130e; }
.cart-button svg { color: #ff863b; }
.cart-count { min-width: 21px; height: 21px; padding: 0 6px; display: grid; place-items: center; border-radius: 99px; color: #fff; background: #f5621d; font-size: 11px; }

.hero { position: relative; overflow: hidden; background: var(--navy); color: white; }
.hero::before { content: ""; position: absolute; inset: -40% -10% auto 40%; height: 620px; background: radial-gradient(circle, rgba(8,120,255,.52), transparent 63%); }
.hero::after { content: ""; position: absolute; right: -140px; bottom: -180px; width: 500px; height: 500px; border: 90px solid rgba(40,215,255,.07); border-radius: 50%; }
.hero-grid { min-height: 555px; position: relative; z-index: 1; display: grid; grid-template-columns: 1.05fr .95fr; align-items: center; gap: 54px; padding-block: 70px; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; text-transform: uppercase; letter-spacing: .14em; color: var(--cyan); font-weight: 850; font-size: 12px; }
.eyebrow::before { content: ""; width: 28px; height: 2px; background: currentColor; }
.hero h1 { margin: 16px 0 20px; font-size: clamp(44px, 6vw, 76px); line-height: .96; letter-spacing: -.065em; max-width: 750px; }
.hero h1 span { color: var(--cyan); font-style: italic; }
.hero-copy { margin: 0 0 30px; max-width: 620px; color: #c6d2e4; font-size: 18px; line-height: 1.65; }
.hero-actions { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.btn { border: 0; border-radius: 14px; padding: 15px 20px; display: inline-flex; justify-content: center; align-items: center; gap: 10px; font-weight: 850; transition: .2s ease; }
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--blue); color: white; box-shadow: 0 12px 30px rgba(8,120,255,.32); }
.btn-primary:hover { background: var(--blue-deep); }
.btn-light { background: white; color: var(--navy); }
.btn-outline { background: transparent; color: var(--ink); border: 1px solid var(--line); }
.trust-row { display: flex; gap: 20px; color: #91a3bb; font-size: 12px; font-weight: 700; margin-top: 30px; flex-wrap: wrap; }
.trust-row span::before { content: "✓"; color: var(--lime); margin-right: 7px; }
.hero-visual { position: relative; }
.hero-card { padding: 18px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.14); border-radius: 28px; box-shadow: 0 30px 80px rgba(0,0,0,.35); transform: rotate(-1.5deg); }
.hero-card-inner { min-height: 330px; border-radius: 20px; background: linear-gradient(145deg,#18324e,#0c1b2e); display: flex; flex-direction: column; justify-content: flex-end; overflow: hidden; position: relative; }
.hero-card-inner::before { content: ""; position: absolute; width: 420px; height: 165px; top: 58px; right: -35px; border-radius: 60% 40% 15% 18%; background: linear-gradient(155deg, #1598ff 0 38%, #28d7ff 39% 43%, #101c2b 44% 100%); transform: skewX(-12deg); box-shadow: 0 26px 60px rgba(0,0,0,.5); }
.hero-card-inner::after { content: ""; position: absolute; top: 169px; right: 60px; width: 255px; height: 60px; border-bottom: 24px solid #07111f; border-radius: 50%; box-shadow: 70px 5px 0 -15px #07111f, -85px 5px 0 -15px #07111f; }
.visual-label { position: relative; z-index: 2; padding: 20px; background: linear-gradient(transparent,rgba(7,20,38,.9)); display: flex; justify-content: space-between; align-items: end; gap: 10px; }
.visual-label strong { font-size: 18px; }
.visual-label small { color: #9fb3cb; }

.section { padding: 84px 0; }
.section-white { background: white; }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 24px; margin-bottom: 34px; }
.section-head h2 { margin: 8px 0 0; font-size: clamp(32px, 4vw, 48px); line-height: 1.05; letter-spacing: -.045em; }
.section-head p { max-width: 500px; color: var(--muted); line-height: 1.6; margin: 0; }
.demo-note { padding: 14px 18px; border: 1px dashed #8fbaff; background: #eef6ff; color: #23466f; border-radius: 14px; font-size: 13px; line-height: 1.55; margin-bottom: 28px; }
.demo-note strong { color: var(--blue-deep); }

.brand-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; }
.brand-card { min-height: 245px; background: white; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; transition: .22s ease; display: flex; flex-direction: column; justify-content: space-between; box-shadow: 0 10px 28px rgba(7,20,38,.04); }
.brand-card:hover { transform: translateY(-5px); border-color: #95c2ff; box-shadow: var(--shadow); }
.brand-mark { width: 82px; height: 82px; display: grid; place-items: center; background: var(--navy); color: white; border-radius: 24px; font-size: 25px; font-weight: 950; letter-spacing: -.06em; position: relative; overflow: hidden; }
.brand-mark::after { content: ""; position: absolute; inset: auto -20px -30px 18px; height: 56px; background: var(--blue); transform: rotate(-24deg); opacity: .7; }
.brand-mark span { position: relative; z-index: 1; }
.brand-card h3 { font-size: 23px; margin: 24px 0 6px; }
.brand-card p { color: var(--muted); margin: 0; font-size: 14px; }
.card-link { margin-top: 22px; display: inline-flex; gap: 8px; color: var(--blue); font-weight: 850; font-size: 14px; }

.steps { background: var(--navy); color: white; }
.step-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 16px; margin-top: 34px; }
.step { padding: 24px; border: 1px solid rgba(255,255,255,.12); border-radius: 18px; background: rgba(255,255,255,.05); }
.step-num { color: var(--cyan); font-weight: 950; font-size: 12px; letter-spacing: .12em; }
.step h3 { margin: 18px 0 8px; }
.step p { margin: 0; color: #9fb0c7; font-size: 14px; line-height: 1.55; }

.page-hero { padding: 58px 0 50px; background: linear-gradient(135deg,var(--navy),#0d2b4d); color: white; }
.breadcrumbs { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; color: #91a6bf; font-size: 12px; margin-bottom: 22px; }
.breadcrumbs a:hover { color: var(--cyan); }
.page-hero h1 { font-size: clamp(38px,5vw,58px); margin: 8px 0 14px; letter-spacing: -.05em; }
.page-hero p { max-width: 700px; color: #bfccdc; line-height: 1.65; margin: 0; }
.badge { display: inline-flex; padding: 7px 10px; border-radius: 99px; background: rgba(40,215,255,.12); border: 1px solid rgba(40,215,255,.3); color: var(--cyan); text-transform: uppercase; font-weight: 900; font-size: 10px; letter-spacing: .12em; }

.model-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 24px; }
.model-card { background: white; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: 0 12px 32px rgba(7,20,38,.07); }
.model-image { background: linear-gradient(145deg,#e9f2fc,#d8e6f5); aspect-ratio: 16/9; padding: 16px; }
.model-image img { width: 100%; height: 100%; object-fit: contain; }
.model-body { padding: 24px; }
.model-body h2 { font-size: 26px; margin: 8px 0; }
.model-body p { color: var(--muted); line-height: 1.55; margin: 0 0 20px; }

.product-layout { display: grid; grid-template-columns: 1.03fr .97fr; gap: 42px; align-items: start; }
.product-gallery { position: sticky; top: 104px; }
.product-main-image { border-radius: 24px; background: linear-gradient(145deg,#edf4fb,#d6e4f2); padding: 26px; box-shadow: inset 0 0 0 1px rgba(118,145,175,.18); }
.product-main-image img { width: 100%; min-height: 350px; object-fit: contain; }
.image-caption { color: var(--muted); text-align: center; font-size: 12px; margin: 12px 0 0; }
.product-copy h1 { font-size: clamp(34px,4vw,52px); line-height: 1; letter-spacing: -.05em; margin: 12px 0 12px; }
.product-intro { color: var(--muted); line-height: 1.65; }
.rating-demo { display: flex; gap: 10px; align-items: center; color: #f7a900; font-size: 14px; margin: 15px 0; }
.rating-demo small { color: var(--muted); }
.price-line { display: flex; gap: 8px; align-items: baseline; margin: 20px 0; }
.price { font-size: 35px; font-weight: 950; letter-spacing: -.04em; }
.price-note { color: var(--muted); font-size: 12px; }
.config-panel { background: white; border: 1px solid var(--line); border-radius: 20px; padding: 22px; margin-top: 20px; }
.config-block + .config-block { border-top: 1px solid var(--line); margin-top: 22px; padding-top: 22px; }
.config-label { font-weight: 900; display: block; margin-bottom: 12px; }
.choice-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 10px; }
.choice { position: relative; }
.choice input { position: absolute; opacity: 0; pointer-events: none; }
.choice span { min-height: 58px; padding: 12px; border: 1px solid var(--line); border-radius: 13px; display: flex; flex-direction: column; justify-content: center; gap: 2px; transition: .15s ease; }
.choice span strong { font-size: 14px; }
.choice span small { color: var(--muted); font-size: 11px; }
.choice input:checked + span { border-color: var(--blue); box-shadow: 0 0 0 2px rgba(8,120,255,.13); background: #f3f8ff; }
.swatches { display: grid; grid-template-columns: repeat(4,1fr); gap: 10px; }
.swatch { position: relative; text-align: center; }
.swatch input { position: absolute; opacity: 0; }
.swatch-dot { display: block; width: 44px; height: 44px; margin: 0 auto 8px; border-radius: 50%; border: 3px solid white; box-shadow: 0 0 0 1px #cbd5e1; }
.swatch input:checked + .swatch-wrap .swatch-dot { box-shadow: 0 0 0 3px var(--blue); }
.swatch-name { display: block; font-size: 10px; color: var(--muted); line-height: 1.25; }
.option-list { display: grid; gap: 10px; }
.option { display: flex; align-items: center; gap: 11px; padding: 12px; border: 1px solid var(--line); border-radius: 12px; }
.option input { width: 18px; height: 18px; accent-color: var(--blue); }
.option span { flex: 1; font-size: 13px; font-weight: 750; }
.option small { color: var(--muted); }
.add-row { display: grid; grid-template-columns: 1fr auto; gap: 10px; margin-top: 20px; }
.add-row .btn { width: 100%; }
.quantity { display: flex; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }
.quantity button { width: 37px; border: 0; background: #f5f7fa; font-weight: 900; }
.quantity output { min-width: 34px; display: grid; place-items: center; font-weight: 850; }
.microcopy { font-size: 11px; color: var(--muted); text-align: center; margin: 10px 0 0; }
.product-details { display: grid; grid-template-columns: repeat(3,1fr); gap: 14px; margin-top: 36px; }
.detail { border-radius: 16px; background: white; border: 1px solid var(--line); padding: 18px; }
.detail strong { display: block; margin-bottom: 6px; }
.detail small { color: var(--muted); line-height: 1.45; }

.cart-drawer { position: fixed; inset: 0; z-index: 80; display: none; }
.cart-drawer.open { display: block; }
.cart-backdrop { position: absolute; inset: 0; border: 0; background: rgba(3,11,21,.62); width: 100%; }
.cart-panel { position: absolute; inset: 0 0 0 auto; width: min(440px,100%); background: white; padding: 24px; box-shadow: -18px 0 55px rgba(0,0,0,.25); display: flex; flex-direction: column; }
.cart-head { display: flex; justify-content: space-between; align-items: center; padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.cart-head h2 { margin: 0; }
.icon-button { width: 38px; height: 38px; border: 1px solid var(--line); background: white; border-radius: 11px; font-size: 20px; }
.cart-items { flex: 1; overflow: auto; padding: 10px 0; }
.cart-empty { text-align: center; color: var(--muted); padding: 70px 25px; }
.cart-item { display: grid; grid-template-columns: 58px 1fr auto; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.cart-thumb { width: 58px; height: 58px; border-radius: 10px; background: #e9f1f9; padding: 5px; object-fit: contain; }
.cart-item h3 { font-size: 13px; margin: 0 0 5px; }
.cart-item p { margin: 0; color: var(--muted); font-size: 10px; line-height: 1.45; }
.cart-item-price { font-weight: 900; font-size: 13px; text-align: right; }
.remove-item { border: 0; background: none; color: #8c98a8; font-size: 10px; padding: 4px 0; }
.cart-foot { border-top: 1px solid var(--line); padding-top: 18px; }
.cart-total { display: flex; justify-content: space-between; font-weight: 950; font-size: 19px; margin-bottom: 14px; }
.toast { position: fixed; left: 50%; bottom: 28px; transform: translate(-50%,20px); background: var(--navy); color: white; border: 1px solid rgba(255,255,255,.15); border-radius: 14px; padding: 13px 18px; z-index: 100; box-shadow: var(--shadow); opacity: 0; pointer-events: none; transition: .2s ease; font-weight: 750; font-size: 13px; }
.toast.show { opacity: 1; transform: translate(-50%,0); }

.cart-page { min-height: 55vh; }
.cart-table { background: white; border: 1px solid var(--line); border-radius: 20px; padding: 24px; }
.cart-page-item { display: grid; grid-template-columns: 90px 1fr auto; gap: 18px; align-items: center; padding: 18px 0; border-bottom: 1px solid var(--line); }
.cart-page-item img { width: 90px; height: 70px; object-fit: contain; background: #eaf2fa; border-radius: 12px; }
.cart-page-item h2 { font-size: 17px; margin: 0 0 6px; }
.cart-page-item p { color: var(--muted); font-size: 12px; margin: 0; }
.cart-summary { margin-top: 22px; display: flex; justify-content: flex-end; }
.summary-box { width: min(360px,100%); background: var(--navy); color: white; border-radius: 18px; padding: 22px; }
.summary-line { display: flex; justify-content: space-between; margin-bottom: 16px; font-size: 20px; font-weight: 950; }
.disabled-action { opacity: .55; cursor: not-allowed; }

.site-footer { background: #101112; color: #b9bbbf; padding: 46px 0 30px; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 40px; }
.site-footer .logo { color: white; }
.site-footer .logo img { width: 225px; height: auto; }
.site-footer p { line-height: 1.6; font-size: 13px; max-width: 430px; }
.site-footer h3 { color: white; font-size: 13px; text-transform: uppercase; letter-spacing: .1em; }
.site-footer a { display: block; font-size: 13px; margin: 9px 0; }
.site-footer a:hover { color: #ff9b53; }
.copyright { border-top: 1px solid rgba(255,255,255,.1); margin-top: 32px; padding-top: 20px; font-size: 11px; }

@media (max-width: 900px) {
  .site-header { height: 106px; }
  .header-inner { height: 76px; }
  .main-nav { position: absolute; top: 76px; left: 0; right: 0; display: flex; justify-content: center; gap: 14px; font-size: 11px; }
  .hero-grid, .product-layout { grid-template-columns: 1fr; }
  .hero-grid { padding-block: 55px; }
  .hero-visual { max-width: 640px; }
  .brand-grid { grid-template-columns: 1fr 1fr; }
  .step-grid { grid-template-columns: 1fr 1fr; }
  .product-gallery { position: static; }
}
@media (max-width: 620px) {
  .container { width: min(100% - 24px,1180px); }
  .announcement { font-size: 10px; }
  .header-inner { height: 76px; }
  .site-header .logo img { width: min(220px, 48vw); }
  .header-actions .cart-button { padding: 10px; }
  .logo { font-size: 21px; }
  .logo-mark { width: 32px; height: 32px; }
  .header-actions .cart-label { display: none; }
  .hero-grid { min-height: 0; padding-block: 48px; }
  .hero h1 { font-size: 43px; }
  .hero-copy { font-size: 16px; }
  .hero-card-inner { min-height: 250px; }
  .hero-card-inner::before { transform: scale(.78) skewX(-12deg); transform-origin: right top; }
  .section { padding: 58px 0; }
  .section-head { display: block; }
  .section-head p { margin-top: 14px; }
  .brand-grid, .model-grid, .step-grid, .product-details, .footer-grid { grid-template-columns: 1fr; }
  .model-grid { gap: 16px; }
  .product-main-image img { min-height: 230px; }
  .choice-grid { grid-template-columns: 1fr; }
  .swatches { grid-template-columns: repeat(2,1fr); row-gap: 20px; }
  .add-row { grid-template-columns: 1fr; }
  .quantity { width: 120px; height: 44px; }
  .cart-page-item { grid-template-columns: 70px 1fr; }
  .cart-page-item > div:last-child { grid-column: 2; text-align: left; }
}

.cart-cost-line { display:flex; justify-content:space-between; align-items:baseline; gap:16px; margin-bottom:14px; font-size:14px; line-height:1.5; }
.cart-cost-line > span:last-child { white-space:nowrap; font-weight:700; }
