:root {
  --bg: #050505; --panel: #0a0a0a; --panel2: #101010; --text: #f5f5f5;
  --muted: #a0a0a0; --line: #252525; --line2: #3a3a3a; --white: #fff;
  --dark: #050505; --accent: #fff; --accent2: #d8d8d8; --success: #fff;
  --warning: #d0d0d0; --danger: #ff9696; --radius: 10px;
}
html { background: #050505; }
body {
  background: radial-gradient(circle at 82% 0, rgba(255,255,255,.075), transparent 25rem),
    radial-gradient(circle at 8% 38%, rgba(255,255,255,.035), transparent 30rem), #050505;
  color: var(--text); font-family: "Segoe UI", Tahoma, Arial, sans-serif;
  font-size: 16px; line-height: 1.7; overflow-x: hidden;
}
body::before {
  content: ""; position: fixed; z-index: -1; inset: 0; opacity: .34; pointer-events: none;
  background-image: linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px);
  background-size: 48px 48px; animation: gridDrift 22s linear infinite;
}
::selection { background: #fff; color: #000; }
.ambient-code {
  position: fixed; z-index: -1; inset: 0; display: flex; justify-content: space-around;
  padding: 12vh 2vw; color: rgba(255,255,255,.055);
  font: 700 .72rem/1.4 Consolas, "Courier New", monospace; direction: ltr; pointer-events: none;
}
.ambient-code span { writing-mode: vertical-rl; animation: codeFall 14s linear infinite; }
.ambient-code span:nth-child(2) { animation-duration: 20s; animation-delay: -6s; }
.ambient-code span:nth-child(3) { animation-duration: 17s; animation-delay: -11s; }
.ambient-code span:nth-child(4) { animation-duration: 23s; animation-delay: -3s; }

.announcement { background: #fff; color: #050505; font-weight: 800; letter-spacing: .01em; }
.pulse { background: #050505; box-shadow: 0 0 0 5px rgba(0,0,0,.12); animation: cursorBlink 1.2s steps(1) infinite; }
.site-header { border-color: rgba(255,255,255,.12); background: rgba(5,5,5,.86); backdrop-filter: blur(18px); }
.brand { gap: 11px; }
.brand-logo { width: 48px; height: 48px; object-fit: cover; border: 1px solid #343434; border-radius: 8px; background: #000; filter: grayscale(1) contrast(1.12); }
.brand-name strong { letter-spacing: .09em; }
.brand-name span { color: #8d8d8d; font-family: Consolas, monospace; letter-spacing: .14em; }
.nav-links { color: #a0a0a0; }
.nav-links a { position: relative; }
.nav-links a::before { content: "./"; color: #555; font-family: Consolas, monospace; }
.nav-links a::after { content: ""; position: absolute; right: 0; bottom: -9px; width: 0; height: 1px; background: #fff; transition: width .25s ease; }
.nav-links a:hover { color: #fff; }
.nav-links a:hover::after { width: 100%; }
.icon-button, .menu-button, .close-button { border-color: #303030; border-radius: 8px; background: #0b0b0b; color: #fff; }
.icon-button:hover, .menu-button:hover, .close-button:hover { border-color: #fff; transform: translateY(-2px); }
.cart-count { border-color: #050505; background: #fff; color: #000; }

.hero { min-height: 740px; overflow: clip; }
.hero::before {
  background-image: linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: 58px 58px; mask-image: linear-gradient(to bottom, #000, transparent 92%);
  animation: gridDrift 18s linear infinite;
}
.hero::after { width: 700px; height: 700px; left: -260px; background: rgba(255,255,255,.045); filter: blur(100px); animation: glowTravel 10s ease-in-out infinite alternate; }
.kicker { width: max-content; padding: 7px 10px; border: 1px solid #2c2c2c; border-radius: 5px; background: #090909; color: #cfcfcf; font: 700 .74rem Consolas, monospace; direction: ltr; }
.kicker i { background: #fff; animation: cursorBlink 1s steps(1) infinite; }
.hero h1 { max-width: 800px; color: #fff; letter-spacing: -.065em; text-wrap: balance; }
.hero h1 em, .band-copy h2 em { color: transparent; -webkit-text-stroke: 1px #fff; filter: drop-shadow(0 0 18px rgba(255,255,255,.12)); }
.hero-copy > p { max-width: 640px; color: #adadad; font-size: 1.08rem; line-height: 1.9; }
.button { border-color: #444; border-radius: 7px; min-height: 49px; position: relative; overflow: hidden; }
.button::before { content: ""; position: absolute; inset: 0; background: linear-gradient(110deg, transparent 25%, rgba(255,255,255,.18), transparent 75%); transform: translateX(-130%); transition: transform .55s ease; }
.button:hover::before { transform: translateX(130%); }
.button.light { border-color: #fff; background: #fff; color: #050505; box-shadow: 0 12px 40px rgba(255,255,255,.09); }
.button.light:hover { background: #e5e5e5; transform: translateY(-3px); }
.button.ghost { border-color: #3a3a3a; background: rgba(10,10,10,.72); color: #eee; }
.button.ghost:hover { border-color: #fff; background: #111; }
.hero-proof { border-color: #292929; }
.hero-proof > div { transition: background .25s ease; }
.hero-proof > div:hover { background: rgba(255,255,255,.035); }
.hero-proof strong { color: #fff; font-family: Consolas, monospace; }
.hero-proof span { color: #999; }

.hero-showcase { min-height: 540px; perspective: 1100px; }
.hero-showcase::before { content: ""; position: absolute; width: 480px; height: 480px; border: 1px solid rgba(255,255,255,.15); border-radius: 50%; box-shadow: 0 0 0 55px rgba(255,255,255,.022), 0 0 0 110px rgba(255,255,255,.012); animation: orbitPulse 5s ease-in-out infinite; }
.hero-showcase::after { content: "01001101 01010100 01010010 01011000"; position: absolute; top: 9%; right: 0; color: #555; font: 600 .62rem Consolas, monospace; direction: ltr; letter-spacing: .14em; animation: dataBlink 3s steps(1) infinite; }
.brand-stage { position: relative; z-index: 2; width: min(440px, 90%); min-height: 470px; padding: 34px; border: 1px solid #393939; border-radius: 14px; background: linear-gradient(145deg, rgba(18,18,18,.98), rgba(4,4,4,.99)); box-shadow: 0 45px 110px rgba(0,0,0,.72), inset 0 1px rgba(255,255,255,.07); transform: rotateY(-8deg) rotateX(3deg); animation: stageFloat 6s ease-in-out infinite; }
.brand-stage::before { content: ""; position: absolute; inset: -1px; z-index: -1; border-radius: inherit; background: linear-gradient(120deg, #555, #111 35%, #fff 50%, #111 65%, #555); background-size: 250% 100%; animation: borderRun 5s linear infinite; }
.brand-stage::after { content: ""; position: absolute; inset: 11px; border: 1px dashed rgba(255,255,255,.09); border-radius: 9px; pointer-events: none; }
.brand-stage > img { width: 152px; height: 152px; display: block; margin: 62px auto 55px; border: 1px solid #3c3c3c; border-radius: 10px; box-shadow: 0 0 65px rgba(255,255,255,.09); filter: grayscale(1); animation: logoBreath 4s ease-in-out infinite; }
.stage-label { color: #8f8f8f; font: 700 .68rem Consolas, monospace; letter-spacing: .11em; direction: ltr; }
.stage-status { display: flex; justify-content: space-between; color: #777; font: 600 .69rem Consolas, monospace; direction: ltr; }
.stage-status b { color: #fff; }
.stage-meter { height: 2px; margin: 12px 0 25px; background: #242424; overflow: hidden; }
.stage-meter i { display: block; width: 72%; height: 100%; background: #fff; box-shadow: 0 0 12px #fff; animation: meterMove 3.5s ease-in-out infinite; }
.stage-specs { display: grid; grid-template-columns: 1fr auto; gap: 9px 16px; color: #747474; font: 600 .68rem Consolas, monospace; direction: ltr; }
.stage-specs strong { color: #eee; }
.stage-chip { position: absolute; z-index: 4; left: -5px; bottom: 48px; padding: 18px 22px; border: 1px solid #555; border-radius: 8px; background: #090909; box-shadow: 0 22px 55px #000; color: #aaa; font: 700 .7rem/1.45 Consolas, monospace; letter-spacing: .14em; direction: ltr; animation: chipFloat 4s ease-in-out infinite; }
.stage-chip b { color: #fff; font-size: 1.18rem; }

.section-index { color: #898989; font-family: Consolas, monospace; }
.section-index::before { content: "// "; color: #505050; }
.section-head > p, .product-body > p { color: #a0a0a0; }
.category-tabs button { border-color: #303030; border-radius: 6px; background: #090909; color: #aaa; transition: .25s ease; }
.category-tabs button:hover { border-color: #777; transform: translateY(-2px); }
.category-tabs button.active { border-color: #fff; background: #fff; color: #050505; }
.search-box { border-color: #303030; border-radius: 7px; background: #090909; }
.search-box:focus-within { border-color: #fff; box-shadow: 0 0 0 3px rgba(255,255,255,.06); }
.search-box input { color: #fff; font-size: .95rem; }
.product-grid { gap: 18px; }
.product-card { border-color: #262626; border-radius: 12px; background: linear-gradient(145deg, #0d0d0d, #080808); animation: cardIn .55s both; }
.product-card:nth-child(2n) { animation-delay: .08s; }
.product-card:nth-child(3n) { animation-delay: .16s; }
.product-card:hover { border-color: #777; box-shadow: 0 28px 70px rgba(0,0,0,.58); transform: translateY(-8px); }
.product-art { border-radius: 8px; background: radial-gradient(circle at 18% 18%, #292929, transparent 42%), linear-gradient(145deg, #151515, #070707); }
.product-art::after { border-color: #383838; animation: ringRotate 13s linear infinite; }
.product-badge { border-color: #3b3b3b; border-radius: 4px; background: rgba(4,4,4,.84); font-family: Consolas, monospace; }
.product-code { color: #888; }
.add-button { border-color: #fff; border-radius: 6px; background: #fff; color: #050505; }
.add-button:hover { transform: rotate(5deg) scale(1.06); box-shadow: 0 0 28px rgba(255,255,255,.2); }

.service-band { background: #0a0a0a; color: #fff; border-block: 1px solid #292929; }
.band-copy p, .service-list p { color: #a6a6a6; }
.service-list { border-color: #3a3a3a; }
.service-list article { border-color: #282828; transition: padding .25s ease, background .25s ease; }
.service-list article:hover { padding-inline: 14px; background: #101010; }
.service-list article > span { color: #bbb; font-family: Consolas, monospace; }
.text-link { border-color: #fff; }
.value-card { border-color: #292929; border-radius: 10px; background: #0a0a0a; overflow: hidden; transition: .3s ease; }
.value-card::after { content: ""; position: absolute; inset: auto -40% 0; height: 1px; background: linear-gradient(90deg, transparent, #fff, transparent); animation: scanX 5s linear infinite; }
.value-card:hover { border-color: #666; transform: translateY(-5px); }
.value-signal { display: block; margin: 58px 0 42px; color: #fff; font: 800 1.05rem Consolas, monospace; letter-spacing: .12em; }
.value-card p { color: #a0a0a0; }
.faq { border-color: #282828; background: #070707; }
.faq-list { border-color: #3a3a3a; }
.faq-list details { border-color: #282828; }
.faq-list summary { font-size: 1rem; }
.faq-list details p { color: #aaa; font-size: 1rem; line-height: 1.85; }
.terms-strip { border-color: #2a2a2a; }
.final-cta { background: #060606; }
.final-card { border: 1px solid #fff; border-radius: 12px; background: #fff; color: #050505; }
.final-card .button.dark { background: #050505; color: #fff; border-color: #050505; }
.final-card > strong { color: rgba(0,0,0,.045); }
footer { border-color: #292929; }
.footer-grid, .footer-brand p { color: #898989; }
.overlay { background: rgba(0,0,0,.82); backdrop-filter: blur(12px); }
.drawer, .modal { border-color: #343434; border-radius: 12px; background: #090909; box-shadow: 0 34px 110px rgba(0,0,0,.85); }
.modal.open { animation: modalSignal .38s cubic-bezier(.2,.8,.2,1); }
.auth-tabs { border-color: #2d2d2d; border-radius: 7px; background: #050505; }
.auth-tabs button { border-radius: 4px; font-size: .9rem; }
.auth-tabs button.active { background: #fff; color: #050505; }
.auth-form label, .field { color: #c0c0c0; font-size: .9rem; }
.auth-form input, .field input, .field textarea, .field select { min-height: 51px; border-color: #343434; border-radius: 6px; background: #050505; color: #fff; font: inherit; font-size: .96rem; }
.auth-form input:focus, .field input:focus, .field textarea:focus, .field select:focus { border-color: #fff; box-shadow: 0 0 0 3px rgba(255,255,255,.07); }
.form-message.success { background: #151515; color: #fff; }
.toast { border-color: #3c3c3c; border-radius: 7px; background: #111; color: #fff; }
.toast.success { border-color: #fff; }

.checkout-modal { width: min(1120px, calc(100% - 30px)); padding: 0; overflow: hidden; }
.checkout-shell { min-height: 650px; }
.checkout-head { display: flex; align-items: end; justify-content: space-between; gap: 25px; margin: 0; padding: 30px 38px 24px; border-bottom: 1px solid #2b2b2b; background: linear-gradient(100deg, #0d0d0d, #070707); }
.checkout-head small { color: #858585; font: 700 .73rem Consolas, monospace; direction: ltr; letter-spacing: .1em; }
.checkout-head h2 { margin: 3px 0 0; font-size: clamp(1.75rem, 3vw, 2.4rem); }
.checkout-steps { display: flex; gap: 10px; direction: rtl; }
.checkout-steps span { padding: 6px 9px; border: 1px solid #292929; border-radius: 4px; color: #666; font: 700 .67rem Consolas, monospace; }
.checkout-steps span.active { border-color: #777; color: #fff; }
.checkout-layout { display: grid; grid-template-columns: 1.08fr .92fr; gap: 0; }
.checkout-payment, .checkout-details { min-width: 0; padding: 30px 38px 36px; }
.checkout-payment { border-left: 1px solid #2a2a2a; background: #080808; }
.checkout-details { background: #0b0b0b; }
.checkout-section-title { display: flex; align-items: start; gap: 12px; margin-bottom: 20px; }
.checkout-section-title > span { width: 31px; height: 31px; display: grid; place-items: center; flex: 0 0 auto; border: 1px solid #4a4a4a; border-radius: 4px; color: #d6d6d6; font: 700 .7rem Consolas, monospace; }
.checkout-section-title h3 { margin: 0; font-size: 1.12rem; }
.checkout-section-title p { margin: 1px 0 0; color: #8c8c8c; font-size: .9rem; }
.payment-methods { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.payment-option { position: relative; display: grid; grid-template-columns: 62px 1fr 18px; min-height: 88px; align-items: center; gap: 12px; padding: 12px; border: 1px solid #303030; border-radius: 7px; background: #0d0d0d; cursor: pointer; overflow: hidden; transition: .25s ease; }
.payment-option::before { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, transparent, rgba(255,255,255,.05), transparent); transform: translateX(-110%); transition: transform .5s ease; }
.payment-option:hover { border-color: #6a6a6a; transform: translateY(-2px); }
.payment-option:hover::before, .payment-option.active::before { transform: translateX(110%); }
.payment-option.active { border-color: #fff; background: #141414; box-shadow: inset 3px 0 #fff; }
.payment-option input { position: absolute; opacity: 0; }
.payment-logo { width: 62px; height: 48px; display: grid; place-items: center; border: 1px solid #363636; border-radius: 5px; background: #050505; color: #fff; font: 900 .68rem Arial; direction: ltr; }
.payment-copy { min-width: 0; }
.payment-option strong { display: block; color: #fff; font-size: .95rem; }
.payment-option small { display: block; color: #858585; font-size: .78rem; line-height: 1.5; }
.payment-radio { width: 17px; height: 17px; border: 1px solid #555; border-radius: 50%; }
.payment-option.active .payment-radio { border: 5px solid #fff; }
.bank-transfer-panel { margin-top: 14px; padding: 17px; border: 1px solid #454545; border-radius: 7px; background: #0d0d0d; animation: panelReveal .35s ease; }
.bank-panel-head { display: grid; gap: 3px; margin-bottom: 13px; }
.bank-panel-head strong { color: #fff; font-size: 1.05rem; }
.bank-panel-head span { color: #999; font-size: .86rem; line-height: 1.65; }
.terminal-tag { color: #777 !important; font: 700 .68rem Consolas, monospace !important; direction: ltr; text-align: right; }
.bank-details { display: grid; gap: 8px; margin-top: 12px; }
.bank-detail { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 11px 12px; border: 1px solid #2f2f2f; border-radius: 5px; background: #070707; }
.bank-detail span { color: #9b9b9b; font-size: .86rem; }
.bank-detail code { color: #fff; font-weight: 700; font-size: .9rem; direction: ltr; user-select: all; }
.bank-detail > div { display: flex; align-items: center; gap: 9px; }
.copy-value { padding: 5px 8px; border: 1px solid #555; border-radius: 4px; background: #121212; color: #fff; font: inherit; font-size: .75rem; cursor: pointer; }
.copy-value:hover { border-color: #fff; }
.payment-fee { display: grid; gap: 3px; margin-top: 12px; padding: 12px 14px; border: 1px solid #3b3b3b; border-radius: 6px; background: #111; color: #ddd; font-size: .87rem; line-height: 1.65; animation: panelReveal .35s ease; }
.payment-fee b { color: #fff; font: 700 .72rem Consolas, monospace; direction: ltr; text-align: right; }
.payment-fee span { color: #aaa; }
.checkout-summary { padding: 18px; border-color: #303030; border-radius: 7px; background: #070707; }
.summary-row { color: #aaa; font-size: .92rem; }
.summary-row.total { border-color: #333; color: #fff; font-size: 1.05rem; }
.checkout-form { gap: 13px; margin-top: 18px; }
.checkout-submit { justify-content: space-between; margin-top: 3px; padding-inline: 18px; }
.checkout-submit b { font-size: 1.2rem; }
.checkout-safe { display: block; color: #777; text-align: center; font-size: .78rem; }

.dash-side, .dash-main, .stat, .order-card { border-color: #292929; border-radius: 9px; background: #0a0a0a; }
.dash-nav button { border-radius: 5px; font-size: .9rem; }
.dash-nav button.active, .dash-nav button:hover { background: #fff; color: #050505; }
.mini-button { border-color: #3a3a3a; border-radius: 5px; background: #111; color: #eee; font-size: .83rem; }
.mini-button:hover { border-color: #fff; }
.mini-button.primary { border-color: #fff; background: #fff; color: #050505; }
.mini-button.danger { border-color: #522; color: #ffb0b0; }
.mini-button.danger:hover { border-color: #ff8d8d; background: #180808; }
.data-table-wrap, .data-table th, .data-table td { border-color: #292929; }
.data-table { font-size: .86rem; }
.data-table th { background: #0f0f0f; color: #999; }
.data-table td { color: #d0d0d0; }
.setup-notice { border-color: #555; border-radius: 7px; background: #111; color: #fff; }
.setup-notice p { color: #aaa; }
.status { border: 1px solid #303030; background: #131313; }
.status::before, .status.paid::before, .status.delivered::before, .status.active::before, .status.payment_review::before, .status.in_progress::before { background: #fff; }
.status.cancelled::before, .status.refunded::before, .status.disabled::before { background: #777; }

@keyframes gridDrift { to { background-position: 48px 48px; } }
@keyframes codeFall { 0%,100% { transform: translateY(-8vh); opacity: .45; } 50% { transform: translateY(12vh); opacity: 1; } }
@keyframes cursorBlink { 50% { opacity: .25; } }
@keyframes glowTravel { to { transform: translate(160px, 80px) scale(1.12); } }
@keyframes orbitPulse { 50% { transform: rotate(8deg) scale(1.045); opacity: .65; } }
@keyframes dataBlink { 50% { opacity: .28; } }
@keyframes stageFloat { 50% { transform: rotateY(-4deg) rotateX(1deg) translateY(-13px); } }
@keyframes chipFloat { 50% { transform: translateY(10px); } }
@keyframes meterMove { 50% { width: 96%; } }
@keyframes borderRun { to { background-position: -250% 0; } }
@keyframes logoBreath { 50% { transform: scale(1.035); filter: grayscale(1) brightness(1.2); } }
@keyframes ringRotate { to { transform: rotate(360deg); } }
@keyframes scanX { to { transform: translateX(160%); } }
@keyframes cardIn { from { opacity: 0; transform: translateY(22px) scale(.98); } }
@keyframes modalSignal { from { clip-path: inset(48% 0 48% 0); } to { clip-path: inset(0); } }
@keyframes panelReveal { from { opacity: 0; transform: translateY(-7px); } }

@media (max-width: 900px) {
  .checkout-layout { grid-template-columns: 1fr; }
  .checkout-payment { border-left: 0; border-bottom: 1px solid #2a2a2a; }
  .checkout-head { align-items: start; flex-direction: column; }
}
@media (max-width: 680px) {
  body { font-size: 16px; }
  .brand-logo { width: 42px; height: 42px; }
  .hero { padding-top: 56px; }
  .hero h1 { font-size: clamp(3rem, 15vw, 4.6rem); }
  .hero-showcase { min-height: 420px; }
  .hero-showcase::before { width: 340px; height: 340px; }
  .brand-stage { min-height: 380px; padding: 24px; transform: none; }
  .brand-stage > img { width: 126px; height: 126px; margin: 48px auto 42px; }
  .stage-chip { left: 0; bottom: 25px; }
  .checkout-modal { width: calc(100% - 14px); max-height: calc(100vh - 14px); }
  .checkout-head, .checkout-payment, .checkout-details { padding-inline: 18px; }
  .checkout-steps { width: 100%; overflow-x: auto; }
  .checkout-steps span { flex: 0 0 auto; }
  .payment-methods { grid-template-columns: 1fr; }
  .payment-option { grid-template-columns: 58px 1fr 18px; }
  .payment-logo { width: 58px; }
  .bank-detail { align-items: flex-start; flex-direction: column; gap: 4px; }
  .bank-detail > div { width: 100%; justify-content: space-between; }
  .bank-detail code { overflow-wrap: anywhere; }
  .ambient-code { opacity: .55; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}
