:root {
  --bg: #050607;
  --panel: #0b0e11;
  --panel-2: #11151a;
  --text: #f5f7fa;
  --muted: #a9b0ba;
  --red: #ff2c2c;
  --red-dark: #980d18;
  --cyan: #00e5ff;
  --line: rgba(255,255,255,.12);
  --shadow: 0 28px 80px rgba(0,0,0,.5);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--text);
  background: var(--bg);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
}
body.cart-open { overflow: hidden; }
button, a { -webkit-tap-highlight-color: transparent; }
button { font: inherit; }
a { color: inherit; }
img { display: block; max-width: 100%; }

.page-noise {
  position: fixed; inset: 0; pointer-events: none; z-index: 99; opacity: .035;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.85'/%3E%3C/svg%3E");
}

.eyebrow { margin: 0 0 .9rem; color: var(--cyan); font: 800 .76rem/1.3 ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: .16em; }
.section h2, .final-cta h2 { margin: 0; font-size: clamp(2.7rem, 6vw, 6.2rem); line-height: .92; letter-spacing: -.055em; font-weight: 950; text-transform: uppercase; }
.button {
  display: inline-flex; justify-content: center; align-items: center; min-height: 50px; padding: .8rem 1.25rem;
  border: 1px solid transparent; border-radius: 7px; text-decoration: none; text-transform: uppercase;
  font-weight: 900; font-size: .84rem; letter-spacing: .07em; cursor: pointer; transition: .2s ease;
}
.button-primary { color: white; background: linear-gradient(135deg, #ff3b32, #c51020); box-shadow: 0 10px 35px rgba(255,44,44,.25); }
.button-primary:hover, .button-primary:focus-visible { transform: translateY(-2px); box-shadow: 0 14px 40px rgba(255,44,44,.38); }
.button-ghost { color: white; border-color: var(--line); background: rgba(255,255,255,.04); }
.button-ghost:hover, .button-ghost:focus-visible { border-color: var(--cyan); color: var(--cyan); }
.button-full { width: 100%; }

.trust-strip { display: grid; grid-template-columns: repeat(3,1fr); gap: 1px; background: var(--line); border-block: 1px solid var(--line); }
.trust-strip article { display: flex; gap: 1rem; padding: 1.45rem clamp(1rem, 4vw, 3.5rem); background: #080a0c; }
.trust-strip article > span { color: var(--red); font: 900 1.2rem monospace; }
.trust-strip strong, .trust-strip small { display: block; }
.trust-strip strong { font-size: .94rem; text-transform: uppercase; }
.trust-strip small { color: var(--muted); font-size: .82rem; }

.section { padding: clamp(5rem, 9vw, 9rem) clamp(1.2rem, 6vw, 7rem); }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 2rem; margin-bottom: 2.5rem; }
.section-heading h2, .compat h2 { font-size: clamp(2.1rem, 4vw, 4.8rem); }
.section-heading > p { max-width: 590px; margin: 0; color: var(--muted); }
.section-heading.compact { margin-bottom: 2rem; }
.filter-row { display: flex; flex-wrap: wrap; gap: .6rem; margin-bottom: 1.5rem; }
.filter-chip { padding: .65rem .9rem; border: 1px solid var(--line); border-radius: 999px; color: #c9cfd6; background: transparent; cursor: pointer; font-weight: 800; }
.filter-chip:hover, .filter-chip.active { color: white; border-color: var(--red); background: rgba(255,44,44,.12); }

.product-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 1.2rem; }
.product-card { grid-column: span 4; position: relative; overflow: hidden; border: 1px solid var(--line); background: linear-gradient(180deg, #101318, #090b0d); transition: transform .2s ease, border-color .2s ease; }
.product-card:nth-child(1), .product-card:nth-child(2) { grid-column: span 6; }
.product-card:hover { transform: translateY(-5px); border-color: rgba(255,44,44,.62); }
.product-media { position: relative; overflow: hidden; aspect-ratio: 1.12; background: #090a0c; }
.product-card:nth-child(n+3) .product-media { aspect-ratio: 1; }
.product-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s ease; }
.product-card:hover .product-media img { transform: scale(1.035); }
.product-badge { position: absolute; top: .8rem; left: .8rem; padding: .35rem .55rem; color: white; background: rgba(5,6,7,.86); border: 1px solid var(--red); font: 800 .65rem monospace; letter-spacing: .08em; }
.product-body { padding: 1.2rem; }
.product-meta { display: flex; align-items: start; justify-content: space-between; gap: 1rem; }
.product-meta h3 { margin: 0; font-size: clamp(1.15rem, 2vw, 1.55rem); line-height: 1.1; text-transform: uppercase; }
.product-price { color: var(--cyan); font-size: 1.25rem; font-weight: 950; white-space: nowrap; }
.product-subtitle { min-height: 2.8em; margin: .65rem 0 1rem; color: var(--muted); font-size: .9rem; }
.feature-pills { display: flex; flex-wrap: wrap; gap: .4rem; min-height: 2rem; margin-bottom: 1rem; }
.feature-pills span { padding: .25rem .45rem; border: 1px solid rgba(255,255,255,.12); color: #cbd0d6; background: rgba(255,255,255,.03); font-size: .72rem; }
.product-actions { display: grid; grid-template-columns: 1fr auto; gap: .55rem; }
.product-actions .button { min-height: 44px; padding: .65rem .8rem; }
.details-button { border: 1px solid var(--line); border-radius: 7px; padding: .55rem .8rem; color: white; background: transparent; cursor: pointer; font-weight: 800; }
.details-button:hover { border-color: var(--cyan); color: var(--cyan); }

.compat { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(2rem, 6vw, 7rem); align-items: center; background: linear-gradient(135deg, #090b0e, #10070a); border-block: 1px solid var(--line); }
.compat-visual { padding: clamp(1.2rem, 3vw, 2.4rem); border: 1px solid rgba(0,229,255,.25); background: #050709; box-shadow: inset 0 0 60px rgba(0,229,255,.04); }
.ascii-title { margin: 0 0 1.2rem; color: var(--cyan); font: 800 .84rem monospace; }
.matrix { display: grid; grid-template-columns: repeat(4,1fr); gap: 1px; background: var(--line); }
.matrix > * { min-height: 72px; display: grid; place-items: center; padding: .8rem; background: #0b0e11; text-align: center; }
.matrix-label { grid-column: 1 / -1; min-height: 46px !important; justify-content: start !important; color: var(--cyan); font: 800 .76rem monospace; letter-spacing: .14em; }
.matrix-label.accent { color: var(--red); }
.compat-copy p:not(.eyebrow) { color: var(--muted); font-size: 1.06rem; }
.text-link { display: inline-block; margin-top: .7rem; color: var(--cyan); font-weight: 900; text-decoration: none; border-bottom: 1px solid currentColor; }

.steps { display: grid; grid-template-columns: repeat(3,1fr); gap: 1rem; }
.steps article { min-height: 240px; padding: 1.6rem; border: 1px solid var(--line); background: linear-gradient(145deg, #0d1013, #080a0c); }
.steps span { color: var(--red); font: 900 2.2rem monospace; }
.steps h3 { margin: 2rem 0 .45rem; font-size: 1.5rem; text-transform: uppercase; }
.steps p { margin: 0; color: var(--muted); }

.faq { padding-top: 1rem; }
.faq-list { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { position: relative; padding: 1.35rem 3rem 1.35rem 0; cursor: pointer; list-style: none; font-weight: 850; font-size: 1.06rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: .4rem; top: 1.12rem; color: var(--red); font-size: 1.5rem; }
.faq details[open] summary::after { content: "−"; }
.faq details p { max-width: 800px; margin: 0 0 1.35rem; color: var(--muted); }

.final-cta { margin: clamp(2rem, 5vw, 5rem); padding: clamp(3rem, 8vw, 7rem) clamp(1.3rem, 7vw, 6rem); text-align: center; border: 1px solid rgba(255,44,44,.5); background: radial-gradient(circle at 50% 120%, rgba(255,44,44,.32), transparent 50%), #0a0c0e; clip-path: polygon(0 24px, 24px 0, calc(100% - 24px) 0, 100% 24px, 100% calc(100% - 24px), calc(100% - 24px) 100%, 24px 100%, 0 calc(100% - 24px)); }
.final-cta h2 { font-size: clamp(2.3rem, 5vw, 5rem); }
.final-cta p:not(.eyebrow) { color: var(--muted); }

footer { display: flex; align-items: center; justify-content: space-between; gap: 2rem; padding: 2rem clamp(1.2rem, 6vw, 7rem); border-top: 1px solid var(--line); color: var(--muted); }
.footer-brand { display: flex; align-items: center; gap: .8rem; }
.footer-brand img { border-radius: 9px; }
.footer-brand strong, .footer-brand small { display: block; }
.footer-brand strong { color: white; font-size: 1.15rem; letter-spacing: .08em; }
.footer-brand small { font-size: .58rem; letter-spacing: .14em; }
footer > p { font-size: .88rem; }
footer > a { color: var(--cyan); font-weight: 800; text-decoration: none; }

.drawer-overlay { position: fixed; inset: 0; z-index: 70; background: rgba(0,0,0,.72); backdrop-filter: blur(4px); }
.cart-drawer { position: fixed; inset: 0 0 0 auto; z-index: 80; display: flex; flex-direction: column; width: min(460px, 100%); padding: 1.3rem; background: #090b0e; border-left: 1px solid rgba(255,44,44,.45); box-shadow: -30px 0 80px rgba(0,0,0,.55); transform: translateX(105%); transition: transform .28s ease; }
.cart-drawer.open { transform: translateX(0); }
.cart-header { display: flex; justify-content: space-between; align-items: start; padding-bottom: 1rem; border-bottom: 1px solid var(--line); }
.cart-header h2 { margin: 0; font-size: 2rem; text-transform: uppercase; }
.icon-button, .dialog-close { width: 42px; height: 42px; border: 1px solid var(--line); border-radius: 50%; color: white; background: transparent; cursor: pointer; font-size: 1.65rem; line-height: 1; }
.cart-items { flex: 1; overflow: auto; padding: 1rem 0; }
.empty-cart { color: var(--muted); text-align: center; padding: 4rem 1rem; }
.cart-item { display: grid; grid-template-columns: 76px 1fr auto; gap: .8rem; align-items: center; padding: .8rem 0; border-bottom: 1px solid var(--line); }
.cart-item img { width: 76px; height: 76px; object-fit: cover; }
.cart-item h3 { margin: 0 0 .25rem; font-size: .9rem; line-height: 1.15; text-transform: uppercase; }
.cart-item p { margin: 0; color: var(--cyan); font-weight: 850; }
.quantity { display: flex; align-items: center; gap: .45rem; margin-top: .45rem; }
.quantity button { width: 28px; height: 28px; border: 1px solid var(--line); color: white; background: transparent; cursor: pointer; }
.remove-item { border: 0; color: #ff7e86; background: transparent; cursor: pointer; font-size: .75rem; }
.shipping-note { color: var(--muted); font-size: .8rem; }
.cart-total { display: flex; justify-content: space-between; margin: .85rem 0; font-size: 1rem; }
.cart-total strong { color: var(--cyan); font-size: 1.35rem; }
.clear-cart { display: block; margin: .8rem auto 0; border: 0; color: var(--muted); background: transparent; cursor: pointer; text-decoration: underline; }

.product-dialog { width: min(920px, calc(100% - 1.5rem)); padding: 0; color: white; background: #0a0d10; border: 1px solid rgba(255,44,44,.65); box-shadow: var(--shadow); }
.product-dialog::backdrop { background: rgba(0,0,0,.82); backdrop-filter: blur(5px); }
.dialog-close { position: absolute; right: .8rem; top: .8rem; z-index: 2; background: rgba(5,6,7,.8); }
.dialog-grid { display: grid; grid-template-columns: 1fr 1fr; }
.dialog-grid img { width: 100%; height: 100%; min-height: 520px; object-fit: cover; }
.dialog-copy { padding: clamp(1.5rem, 4vw, 3rem); }
.dialog-copy h2 { margin: 0; font-size: clamp(1.8rem, 4vw, 3rem); line-height: 1; text-transform: uppercase; }
.dialog-price { color: var(--cyan); font-size: 2rem; font-weight: 950; }
.dialog-copy ul { padding-left: 1.2rem; color: #c7cdd5; }
.dialog-note { color: var(--muted); font-size: .84rem; }

.floating-whatsapp { position: fixed; right: 1.2rem; bottom: 1.2rem; z-index: 55; display: grid; place-items: center; width: 58px; height: 58px; border-radius: 50%; color: #06120a; background: #25d366; box-shadow: 0 15px 38px rgba(37,211,102,.3); text-decoration: none; font-weight: 950; font-size: .8rem; }
.toast { position: fixed; left: 50%; bottom: 1.4rem; z-index: 100; padding: .75rem 1rem; border: 1px solid var(--cyan); color: white; background: #0a0d10; box-shadow: var(--shadow); transform: translate(-50%, 160%); transition: transform .25s ease; font-weight: 800; }
.toast.show { transform: translate(-50%, 0); }

:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; }

@media (max-width: 980px) {
  .product-card, .product-card:nth-child(1), .product-card:nth-child(2) { grid-column: span 6; }
  .compat { grid-template-columns: 1fr; }
  .section-heading { align-items: start; flex-direction: column; }
  footer { flex-wrap: wrap; }
}

@media (max-width: 680px) {
  .trust-strip { grid-template-columns: 1fr; }
  .trust-strip article { padding: 1rem; }
  .section { padding: 4.5rem 1rem; }
  .section-heading h2, .compat h2 { font-size: 2.55rem; }
  .product-grid { gap: .9rem; }
  .product-card, .product-card:nth-child(1), .product-card:nth-child(2) { grid-column: 1 / -1; }
  .product-media, .product-card:nth-child(n+3) .product-media { aspect-ratio: 1; }
  .steps { grid-template-columns: 1fr; }
  .steps article { min-height: auto; }
  .steps h3 { margin-top: 1rem; }
  .matrix { grid-template-columns: repeat(2,1fr); }
  .matrix-label { grid-column: 1 / -1; }
  .final-cta { margin: 1rem; padding: 4rem 1.2rem; }
  footer { align-items: start; flex-direction: column; padding: 2rem 1rem 5rem; }
  .dialog-grid { grid-template-columns: 1fr; }
  .dialog-grid img { min-height: 0; aspect-ratio: 1; }
  .floating-whatsapp { width: 52px; height: 52px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
