/* All Stack Technologies — design tokens and components (no CSS framework, ~0 runtime cost) */
:root {
  --bg: #f3f6fb;
  --surface: #ffffff;
  --ink: #0f2a5c;
  --text: #24324a;
  --muted: #56667f;
  --line: #dce3ee;
  --blue: #2f6bff;
  --blue-dark: #1d4fd8;
  --blue-soft: #e7eeff;
  --green: #19c08a;
  --green-dark: #0b8a61;
  --green-soft: #e3f7ef;
  --navy-2: #163876;

  /* --f-* variables are set by next/font in app/layout.tsx */
  --font-display: var(--f-display), "Bricolage Grotesque", system-ui, sans-serif;
  --font-body: var(--f-body), "Instrument Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono: var(--f-mono), "JetBrains Mono", ui-monospace, Menlo, monospace;

  --wrap: 1180px;
  --radius-s: 8px;
  --radius-m: 14px;
  --radius-l: 22px;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
a { color: var(--blue-dark); text-underline-offset: 3px; }
a:hover { color: var(--ink); }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 4px; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--ink);
  line-height: 1.08;
  letter-spacing: -0.025em;
  margin: 0 0 0.5em;
  font-weight: 700;
}
h1 { font-size: clamp(2.4rem, 5.4vw, 4.25rem); font-weight: 800; letter-spacing: -0.035em; }
h2 { font-size: clamp(1.85rem, 3.4vw, 2.75rem); }
h3 { font-size: 1.3rem; letter-spacing: -0.015em; line-height: 1.2; }
p { margin: 0 0 1em; }
.lede { font-size: clamp(1.1rem, 1.6vw, 1.25rem); color: var(--muted); max-width: 38em; }
.muted { color: var(--muted); }

.wrap { width: min(100% - 2.5rem, var(--wrap)); margin-inline: auto; }
.section { padding-block: clamp(4rem, 8vw, 6.5rem); }
.section-tight { padding-block: clamp(2.5rem, 5vw, 4rem); }
.skip-link { position: absolute; left: -9999px; top: 0; background: var(--ink); color: #fff; padding: .6rem 1rem; z-index: 100; }
.skip-link:focus { left: 1rem; top: 1rem; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  min-height: 48px; padding: .75rem 1.35rem;
  border-radius: 999px; border: 1.5px solid transparent;
  font: 600 1rem/1 var(--font-body); text-decoration: none; cursor: pointer;
  transition: background-color .15s ease, color .15s ease, border-color .15s ease;
}
.btn svg { width: 1.15em; height: 1.15em; flex: none; }
.btn-primary { background: var(--blue); color: #fff; }
.btn-primary:hover { background: var(--blue-dark); color: #fff; }
.btn-whatsapp { background: var(--green); color: #fff; }
.btn-whatsapp:hover { background: var(--green-dark); color: #fff; }
.btn-ghost { background: transparent; color: var(--ink); border-color: #b9c6dc; }
.btn-ghost:hover { border-color: var(--ink); color: var(--ink); }
.btn-light { background: #fff; color: var(--ink); }
.btn-light:hover { background: var(--blue-soft); color: var(--ink); }
.btn-sm { min-height: 40px; padding: .55rem 1rem; font-size: .95rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: .75rem; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(243, 246, 251, .9); backdrop-filter: saturate(160%) blur(10px); border-bottom: 1px solid transparent; }
.site-header { border-bottom-color: var(--line); }
.header-row { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; height: 72px; }
.brand { display: inline-flex; align-items: center; gap: .65rem; text-decoration: none; }
.brand-mark { width: 40px; height: 40px; }
.brand-word { display: flex; flex-direction: column; line-height: 1; }
.brand-word b { font-family: var(--font-display); font-size: 1.45rem; font-weight: 800; color: var(--ink); letter-spacing: -0.04em; }
.brand-word span { font-size: .7rem; font-weight: 600; color: var(--muted); letter-spacing: .16em; margin-top: 3px; }
.nav-desktop { display: flex; align-items: center; gap: .25rem; }
.nav-desktop a { color: var(--text); text-decoration: none; font-weight: 500; padding: .5rem .8rem; border-radius: 999px; }
.nav-desktop a:hover { background: var(--blue-soft); color: var(--ink); }
.header-cta { display: flex; align-items: center; gap: .5rem; }
.header-phone { font-weight: 600; color: var(--ink); text-decoration: none; display: inline-flex; gap: .4rem; align-items: center; padding: .5rem .6rem; }
.header-phone svg { width: 1.05em; height: 1.05em; color: var(--blue); }
.nav-mobile { display: none; }
.nav-mobile summary { list-style: none; cursor: pointer; width: 44px; height: 44px; display: grid; place-items: center; border-radius: 12px; border: 1px solid var(--line); background: #fff; color: var(--ink); }
.nav-mobile summary::-webkit-details-marker { display: none; }
.nav-mobile summary svg { width: 22px; height: 22px; }
.nav-mobile[open] .icon-open, .nav-mobile:not([open]) .icon-close { display: none; }
.nav-mobile-panel { position: absolute; left: 0; right: 0; top: 72px; background: var(--surface); border-bottom: 1px solid var(--line); padding: 1rem 1.25rem 1.5rem; box-shadow: 0 20px 40px -24px rgba(15, 42, 92, .35); }
.nav-mobile-panel a:not(.btn) { display: block; padding: .85rem .25rem; border-bottom: 1px solid var(--line); color: var(--ink); font-weight: 600; text-decoration: none; font-size: 1.1rem; }
.nav-mobile-panel .btn-row { margin-top: 1rem; }
.nav-mobile-panel .btn { flex: 1; }
@media (max-width: 900px) {
  .nav-desktop, .header-cta { display: none; }
  .nav-mobile { display: block; }
}

/* Hero */
.hero { padding-block: clamp(3rem, 7vw, 5.5rem) clamp(3.5rem, 7vw, 6rem); overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.hero h1 { max-width: 15ch; font-size: clamp(2.3rem, 4.8vw, 3.9rem); }
.hero .lede { margin-bottom: 2rem; }
.hero-points { display: flex; flex-wrap: wrap; gap: .5rem 1.25rem; margin: 2rem 0 0; padding: 0; list-style: none; color: var(--muted); font-size: .95rem; }
.hero-points li { display: inline-flex; align-items: center; gap: .45rem; }
.hero-points svg { color: var(--green-dark); width: 1.1em; height: 1.1em; }
@media (max-width: 900px) { .hero-grid { grid-template-columns: 1fr; } .hero h1 { max-width: 16ch; } }

/* The printing receipt */
.printer { position: relative; width: min(100%, 420px); margin-inline: auto; padding-top: 22px; }
.printer-slot { position: relative; z-index: 2; height: 30px; border-radius: 16px; background: var(--ink); box-shadow: inset 0 -6px 0 var(--navy-2); }
.printer-slot::after { content: ""; position: absolute; left: 22px; right: 22px; bottom: 9px; height: 4px; border-radius: 4px; background: #061634; }
.printer-led { position: absolute; z-index: 3; right: 22px; top: 31px; width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 4px rgba(25, 192, 138, .2); }
.paper-clip { overflow: hidden; margin: -12px 18px 0; padding-bottom: 24px; }
.receipt {
  position: relative; background: #fff; color: #1d2b44; font-family: var(--font-mono); font-size: .86rem; line-height: 1.55;
  padding: 1.6rem 1.4rem 1.4rem;
  box-shadow: 0 30px 50px -30px rgba(15, 42, 92, .45);
  animation: print 2.4s cubic-bezier(.35, .1, .25, 1) .25s both;
  --tear: radial-gradient(circle at 8px 0, transparent 7px, #fff 7.5px) 0 0 / 16px 16px repeat-x;
}
.receipt::after { content: ""; position: absolute; left: 0; right: 0; bottom: -12px; height: 12px; background: var(--tear); transform: scaleY(-1); }
@keyframes print { from { transform: translateY(-100%); } to { transform: translateY(0); } }
.receipt-head { text-align: center; border-bottom: 1.5px dashed #b6c2d6; padding-bottom: .8rem; margin-bottom: .8rem; }
.receipt-head strong { display: block; font-size: 1rem; color: var(--ink); letter-spacing: .04em; }
.receipt-row { display: flex; justify-content: space-between; gap: 1rem; }
.receipt-row span:last-child { font-variant-numeric: tabular-nums; }
.receipt-total { display: flex; justify-content: space-between; border-top: 1.5px dashed #b6c2d6; margin-top: .8rem; padding-top: .8rem; font-weight: 700; font-size: 1.05rem; color: var(--ink); }
.receipt-foot { margin-top: 1rem; display: flex; align-items: center; justify-content: space-between; gap: .75rem; font-family: var(--font-body); font-size: .82rem; }
.receipt-paid { display: inline-flex; gap: .35rem; align-items: center; background: var(--green-soft); color: var(--green-dark); padding: .35rem .7rem; border-radius: 999px; font-weight: 700; }
.receipt-paid svg { width: 1em; height: 1em; }

/* Section heads */
.section-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 1rem 3rem; align-items: end; margin-bottom: 2.75rem; }
.section-head p { color: var(--muted); margin: 0; max-width: 34em; }
@media (max-width: 800px) { .section-head { grid-template-columns: 1fr; } }

/* Product index (list, not a card grid) */
.product-index { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.product-row { border-bottom: 1px solid var(--line); }
.product-row a { display: grid; grid-template-columns: 56px minmax(0, 1.1fr) minmax(0, 1fr) auto; gap: 1.25rem 1.75rem; align-items: center; padding: 1.5rem .5rem; text-decoration: none; color: inherit; border-radius: var(--radius-m); }
.product-row a:hover { background: var(--surface); }
.product-row a:hover .row-go { background: var(--blue); color: #fff; border-color: var(--blue); }
.p-icon { width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center; background: var(--blue-soft); color: var(--blue-dark); }
.p-icon svg { width: 26px; height: 26px; }
.product-row h3 { margin: 0 0 .2rem; }
.product-row p { margin: 0; color: var(--muted); font-size: .98rem; }
.row-meta { display: flex; flex-wrap: wrap; gap: .4rem; }
.tag { display: inline-flex; align-items: center; gap: .3rem; font-size: .8rem; font-weight: 600; padding: .28rem .65rem; border-radius: 999px; background: #eef2f8; color: #3c4c68; white-space: nowrap; }
.tag-wa { background: var(--green-soft); color: var(--green-dark); }
.tag-wa svg { width: 1em; height: 1em; }
.row-go { width: 44px; height: 44px; border-radius: 50%; border: 1.5px solid #c4d0e3; display: grid; place-items: center; color: var(--ink); transition: background-color .15s, color .15s, border-color .15s; }
.row-go svg { width: 18px; height: 18px; }
@media (max-width: 900px) {
  .product-row a { grid-template-columns: 48px minmax(0, 1fr) auto; }
  .p-icon { width: 48px; height: 48px; }
  .row-meta { grid-column: 2 / 3; grid-row: 2; }
}

/* Proof strip: industries */
.industries { display: flex; flex-wrap: wrap; gap: .6rem; margin: 0; padding: 0; list-style: none; }
.industries li { background: var(--surface); border: 1px solid var(--line); border-radius: 999px; padding: .55rem 1rem; font-weight: 500; color: var(--ink); display: inline-flex; gap: .5rem; align-items: center; }
.industries svg { width: 1.1em; height: 1.1em; color: var(--blue); }

/* Reasons: three columns separated by rules */
.reasons { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; border-top: 2px solid var(--ink); }
.reason { padding: 1.75rem 1.75rem 0 0; }
.reason + .reason { padding-left: 1.75rem; border-left: 1px solid var(--line); }
.reason svg { width: 28px; height: 28px; color: var(--blue); margin-bottom: 1rem; }
.reason p { color: var(--muted); margin: 0; }
@media (max-width: 800px) {
  .reasons { grid-template-columns: 1fr; }
  .reason, .reason + .reason { padding: 1.5rem 0; border-left: 0; border-bottom: 1px solid var(--line); }
}

/* Process: a real sequence, so numbered */
.steps { counter-reset: step; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.25rem; list-style: none; padding: 0; margin: 0; }
.steps li { counter-increment: step; position: relative; padding-top: 3.25rem; }
.steps li::before { content: counter(step); position: absolute; top: 0; left: 0; width: 2.4rem; height: 2.4rem; border-radius: 50%; display: grid; place-items: center; background: var(--ink); color: #fff; font: 700 1rem var(--font-display); }
.steps li::after { content: ""; position: absolute; top: 1.2rem; left: 3rem; right: -.6rem; height: 2px; background: repeating-linear-gradient(90deg, #b6c2d6 0 6px, transparent 6px 12px); }
.steps li:last-child::after { display: none; }
.steps h3 { font-size: 1.15rem; }
.steps p { color: var(--muted); font-size: .98rem; margin: 0; }
@media (max-width: 900px) { .steps { grid-template-columns: 1fr 1fr; gap: 2rem 1.25rem; } .steps li::after { display: none; } }
@media (max-width: 520px) { .steps { grid-template-columns: 1fr; } }

/* Dark band */
.band { background: var(--ink); color: #c9d6ee; border-radius: var(--radius-l); padding: clamp(2rem, 5vw, 4rem); display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: 2.5rem; align-items: center; position: relative; overflow: hidden; }
.band h2 { color: #fff; }
.band p { color: #c9d6ee; }
.band .check-list li { color: #e3ebf9; }
.band-stack { position: absolute; right: -40px; bottom: -40px; width: 260px; opacity: .14; pointer-events: none; }
@media (max-width: 900px) { .band { grid-template-columns: 1fr; } }

.check-list { list-style: none; padding: 0; margin: 0; display: grid; gap: .7rem; }
.check-list li { display: flex; gap: .65rem; align-items: flex-start; }
.check-list svg { flex: none; width: 1.2rem; height: 1.2rem; margin-top: .22rem; color: var(--green); }
.check-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .85rem 2rem; }
@media (max-width: 640px) { .check-cols { grid-template-columns: 1fr; } }

/* FAQ */
.faq { border-top: 1px solid var(--line); max-width: 860px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 1rem; padding: 1.25rem 0; font: 600 1.12rem/1.4 var(--font-body); color: var(--ink); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary svg { flex: none; width: 22px; height: 22px; color: var(--blue); transition: transform .2s ease; margin-top: .1rem; }
.faq details[open] summary svg { transform: rotate(180deg); }
.faq details p { color: var(--muted); padding-bottom: 1.25rem; margin: 0; max-width: 46em; }

/* Contact strip */
.contact-strip { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.contact-tile { display: flex; gap: 1rem; align-items: center; padding: 1.25rem 1.4rem; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-m); text-decoration: none; color: var(--text); }
.contact-tile:hover { border-color: var(--blue); color: var(--text); }
.contact-tile i { width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; background: var(--blue-soft); color: var(--blue-dark); flex: none; }
.contact-tile i.wa { background: var(--green-soft); color: var(--green-dark); }
.contact-tile svg { width: 22px; height: 22px; }
.contact-tile b { display: block; color: var(--ink); }
.contact-tile span { font-size: .92rem; color: var(--muted); word-break: break-word; }
@media (max-width: 860px) { .contact-strip { grid-template-columns: 1fr; } }

/* Page header (inner pages) */
.page-head { padding-block: clamp(2.5rem, 6vw, 4.5rem) clamp(1.5rem, 3vw, 2.5rem); }
.page-head h1 { font-size: clamp(2.2rem, 4.6vw, 3.5rem); max-width: 18ch; }
.crumbs { display: flex; flex-wrap: wrap; gap: .4rem; list-style: none; padding: 0; margin: 0 0 1.25rem; font-size: .9rem; color: var(--muted); }
.crumbs li + li::before { content: "/"; margin-right: .4rem; color: #a3b0c6; }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--ink); text-decoration: underline; }

/* Product detail */
.pd-grid { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.pd-aside { position: sticky; top: 96px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-l); padding: 1.75rem; }
.pd-aside h2 { font-size: 1.35rem; }
.pd-aside .btn { width: 100%; }
.pd-aside .btn + .btn { margin-top: .6rem; }
.pd-aside .price-note { font-size: .92rem; color: var(--muted); margin: 1rem 0 0; }
.pd-image { border-radius: var(--radius-l); overflow: hidden; border: 1px solid var(--line); background: #fff; margin-bottom: 2.5rem; }
.pd-image img { width: 100%; height: auto; }
.prose p { max-width: 42em; }
.prose h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); margin-top: 2.75rem; }
.editions { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1rem; margin-top: 1rem; }
.edition { border: 1px solid var(--line); background: var(--surface); border-radius: var(--radius-m); padding: 1.25rem 1.4rem; }
.edition.wa { border-color: #9fe3c9; background: #f4fcf8; }
.edition h3 { font-size: 1.1rem; display: flex; gap: .5rem; align-items: center; }
.edition h3 svg { width: 1.1em; height: 1.1em; color: var(--green-dark); }
.edition p { margin: 0; color: var(--muted); font-size: .97rem; }
@media (max-width: 960px) { .pd-grid { grid-template-columns: 1fr; } .pd-aside { position: static; } }

/* Contact page + forms */
.contact-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(2rem, 5vw, 4rem); align-items: start; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }
.form { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-l); padding: clamp(1.4rem, 3vw, 2.25rem); display: grid; gap: 1.1rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
@media (max-width: 560px) { .form-row { grid-template-columns: 1fr; } }
.field { display: grid; gap: .4rem; }
.field label { font-weight: 600; color: var(--ink); font-size: .95rem; }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; font-size: 1rem; color: var(--text); background: #fbfcfe;
  border: 1.5px solid #cfd8e6; border-radius: 10px; padding: .75rem .9rem; min-height: 48px;
}
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(47, 107, 255, .18); background: #fff; }
.field small { color: var(--muted); font-size: .85rem; }
.form-status { padding: .9rem 1rem; border-radius: 10px; font-weight: 500; }
.form-status.ok { background: var(--green-soft); color: #075e43; }
.form-status.err { background: #fdecec; color: #9b1c1c; }
.hp { position: absolute; left: -9999px; }

/* Legal pages */
.legal { max-width: 800px; }
.legal h2 { font-size: 1.5rem; margin-top: 2.5rem; }
.legal ul { padding-left: 1.25rem; }
.legal li { margin-bottom: .4rem; }
.legal .updated { color: var(--muted); font-size: .95rem; }

/* Footer */
.site-footer { background: var(--ink); color: #b9c8e3; margin-top: clamp(3rem, 7vw, 5rem); padding-block: 4rem 2rem; font-size: .97rem; }
.site-footer a { color: #dfe8f8; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr 1fr; gap: 2.25rem; }
.footer-grid h2 { font-size: 1rem; color: #fff; letter-spacing: 0; margin-bottom: 1rem; font-family: var(--font-body); font-weight: 700; }
.footer-grid ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .55rem; }
.site-footer .brand-word b { color: #fff; }
.site-footer .brand-word span { color: #9fb2d4; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .12); margin-top: 3rem; padding-top: 1.5rem; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; font-size: .9rem; }
@media (max-width: 1100px) { .footer-grid { grid-template-columns: 1fr 1fr 1fr; } .footer-grid > :first-child { grid-column: 1 / -1; } }
@media (max-width: 700px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }

/* Floating WhatsApp */
.wa-float { position: fixed; right: 18px; bottom: 18px; z-index: 60; width: 58px; height: 58px; border-radius: 50%; background: var(--green); color: #fff; display: grid; place-items: center; box-shadow: 0 12px 28px -10px rgba(11, 138, 97, .7); }
.wa-float:hover { background: var(--green-dark); color: #fff; }
.wa-float svg { width: 30px; height: 30px; }

/* 404 */
.notfound { text-align: left; padding-block: 6rem; }

/* ---------- Admin ---------- */
.admin { min-height: 100vh; background: #eef2f8; }
.admin-top { background: var(--ink); color: #fff; }
.admin-top .wrap { display: flex; align-items: center; justify-content: space-between; height: 64px; gap: 1rem; }
.admin-top .brand-word b { color: #fff; }
.admin-top .brand-word span { color: #9fb2d4; }
.admin-tabs { display: flex; flex-wrap: wrap; gap: .4rem; }
@media (max-width: 760px) { .admin-top .wrap { height: auto; flex-direction: column; align-items: flex-start; padding-block: .75rem; } }
.admin-tabs button { background: transparent; color: #c9d6ee; border: 0; font: 600 .95rem var(--font-body); padding: .55rem .9rem; border-radius: 999px; cursor: pointer; display: inline-flex; gap: .4rem; align-items: center; }
.admin-tabs button[aria-current="page"], .admin-tabs button:hover { background: rgba(255, 255, 255, .12); color: #fff; }
.admin-tabs svg { width: 1.05em; height: 1.05em; }
.admin-body { padding-block: 2rem 4rem; }
.admin-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-m); padding: 1.5rem; }
.admin-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: 1.25rem; }
.admin-bar h1 { font-size: 1.75rem; margin: 0; }
.admin-table { width: 100%; border-collapse: collapse; font-size: .95rem; }
.admin-table th, .admin-table td { text-align: left; padding: .8rem .6rem; border-bottom: 1px solid var(--line); vertical-align: middle; }
.admin-table th { font-size: .82rem; color: var(--muted); font-weight: 600; }
.admin-table td .muted { font-size: .85rem; }
.admin-thumb { width: 44px; height: 44px; border-radius: 10px; object-fit: cover; background: var(--blue-soft); display: grid; place-items: center; color: var(--blue-dark); }
.admin-thumb svg { width: 20px; height: 20px; }
.icon-btn { width: 38px; height: 38px; display: inline-grid; place-items: center; border-radius: 10px; border: 1px solid var(--line); background: #fff; color: var(--ink); cursor: pointer; }
.icon-btn:hover { border-color: var(--blue); color: var(--blue); }
.icon-btn.danger:hover { border-color: #d33; color: #d33; }
.icon-btn svg { width: 18px; height: 18px; }
.admin-actions { display: flex; gap: .4rem; justify-content: flex-end; }
.pill { display: inline-block; font-size: .78rem; font-weight: 700; padding: .2rem .6rem; border-radius: 999px; }
.pill.on { background: var(--green-soft); color: var(--green-dark); }
.pill.off { background: #f1f3f7; color: #6b7894; }
.pill.new { background: var(--blue-soft); color: var(--blue-dark); }
.admin-form { display: grid; gap: 1.1rem; }
.admin-form fieldset { border: 1px solid var(--line); border-radius: var(--radius-m); padding: 1.25rem; margin: 0; display: grid; gap: 1rem; }
.admin-form legend { font-weight: 700; color: var(--ink); padding: 0 .4rem; }
.toggle { display: inline-flex; gap: .5rem; align-items: center; font-weight: 600; color: var(--ink); cursor: pointer; }
.toggle input { width: 20px; height: 20px; accent-color: var(--blue); }
.upload-preview { display: flex; gap: 1rem; align-items: center; }
.upload-preview img { width: 120px; height: 80px; object-fit: cover; border-radius: 10px; border: 1px solid var(--line); }
.login-wrap { min-height: 100vh; display: grid; place-items: center; padding: 1.5rem; background: #eef2f8; }
.login-wrap .form { width: min(100%, 420px); }
.table-scroll { overflow-x: auto; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-delay: 0s !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
}
.site-footer .brand-mark rect:first-child, .admin-top .brand-mark rect:first-child { fill: #1d3f80; }

/* =====================================================================
   v2 — motion & visual layer
   ===================================================================== */
:root {
  --violet: #7c5cff;
  --amber: #ffb020;
  --grad: linear-gradient(100deg, #2f6bff 0%, #7c5cff 45%, #19c08a 100%);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
}
html { overflow-x: hidden; }
body { overflow-x: clip; }
::selection { background: #cfdcff; color: var(--ink); }

/* Buttons: larger size, lift and shine */
.btn { transition: background-color .2s ease, color .2s ease, border-color .2s ease, transform .25s var(--ease-out), box-shadow .25s ease; }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn-primary:hover { box-shadow: 0 12px 24px -12px rgba(47, 107, 255, .8); }
.btn-whatsapp:hover { box-shadow: 0 12px 24px -12px rgba(11, 138, 97, .8); }
.btn-lg { min-height: 54px; padding: .9rem 1.6rem; font-size: 1.05rem; }
.shine { position: relative; overflow: hidden; isolation: isolate; }
.shine::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, .45) 50%, transparent 70%);
  transform: translateX(-120%); animation: shine 4.5s ease-in-out 3s infinite;
}
@keyframes shine { 0%, 70% { transform: translateX(-120%); } 100% { transform: translateX(120%); } }

/* Header: progress bar + glass */
.site-header { background: rgba(243, 246, 251, .72); backdrop-filter: saturate(180%) blur(14px); -webkit-backdrop-filter: saturate(180%) blur(14px); }
.scroll-progress { position: absolute; left: 0; bottom: -1px; height: 2px; width: 100%; background: var(--grad); transform-origin: 0 50%; transform: scaleX(0); }
@supports (animation-timeline: scroll()) {
  .scroll-progress { animation: progress linear both; animation-timeline: scroll(root); }
  @keyframes progress { to { transform: scaleX(1); } }
}
.nav-desktop a { position: relative; transition: background-color .2s, color .2s; }
.nav-mobile-panel { animation: drop .3s var(--ease-out); }
@keyframes drop { from { opacity: 0; transform: translateY(-8px); } }

/* Aurora background */
.hero, .page-head { position: relative; isolation: isolate; }
.aurora { position: absolute; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; }
.blob { position: absolute; border-radius: 50%; filter: blur(70px); opacity: .55; will-change: transform; }
.b1 { width: 520px; height: 520px; background: #9db8ff; top: -180px; right: 8%; animation: drift1 18s ease-in-out infinite alternate; }
.b2 { width: 420px; height: 420px; background: #c9b8ff; top: 30%; right: -120px; animation: drift2 22s ease-in-out infinite alternate; }
.b3 { width: 380px; height: 380px; background: #a5ecd3; bottom: -160px; left: -80px; animation: drift3 20s ease-in-out infinite alternate; }
@keyframes drift1 { to { transform: translate(-90px, 60px) scale(1.1); } }
@keyframes drift2 { to { transform: translate(-60px, -80px) scale(.9); } }
@keyframes drift3 { to { transform: translate(120px, -40px) scale(1.15); } }
.grid-lines {
  position: absolute; inset: 0;
  background-image: linear-gradient(rgba(15, 42, 92, .06) 1px, transparent 1px), linear-gradient(90deg, rgba(15, 42, 92, .06) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, #000 30%, transparent 75%);
  mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, #000 30%, transparent 75%);
}
.page-head::before {
  content: ""; position: absolute; z-index: -1; width: 620px; height: 420px; right: -120px; top: -160px; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(124, 92, 255, .22), rgba(47, 107, 255, .12) 60%, transparent);
  filter: blur(20px); pointer-events: none;
}

/* Hero entrance */
.hero { padding-block: clamp(2.5rem, 6vw, 5rem) clamp(2.5rem, 5vw, 4.5rem); }
.hero-copy > * { animation: rise .9s var(--ease-out) both; }
.hero-copy > :nth-child(2) { animation-delay: .08s; }
.hero-copy > :nth-child(3) { animation-delay: .16s; }
.hero-copy > :nth-child(4) { animation-delay: .24s; }
.hero-copy > :nth-child(5) { animation-delay: .32s; }
@keyframes rise { from { opacity: 0; transform: translateY(24px); filter: blur(6px); } to { opacity: 1; transform: none; filter: none; } }

.announce {
  display: inline-flex; align-items: center; gap: .6rem; margin-bottom: 1.5rem; padding: .35rem .9rem .35rem .4rem;
  border-radius: 999px; background: rgba(255, 255, 255, .75); border: 1px solid var(--line); color: var(--ink);
  font-weight: 600; font-size: .92rem; text-decoration: none; box-shadow: 0 6px 20px -12px rgba(15, 42, 92, .4);
  transition: border-color .2s, transform .25s var(--ease-out);
}
.announce:hover { border-color: var(--green); color: var(--ink); transform: translateY(-1px); }
.announce svg { width: 1em; height: 1em; transition: transform .25s var(--ease-out); }
.announce:hover svg { transform: translateX(3px); }
.announce-dot { background: var(--green); color: #fff; font-size: .75rem; padding: .2rem .55rem; border-radius: 999px; }

/* Rotating words in the headline */
.hero h1 { max-width: none; font-size: clamp(2.35rem, 5.2vw, 4.3rem); }
.rotator { display: inline-grid; vertical-align: bottom; overflow: hidden; height: 1.12em; padding-bottom: .06em; }
.rotator > span {
  grid-area: 1 / 1; white-space: nowrap;
  background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent;
  opacity: 0; transform: translateY(100%);
  animation: word 12.5s var(--ease-out) infinite; animation-delay: calc(var(--n) * 2.5s);
}
@keyframes word {
  0% { opacity: 0; transform: translateY(100%); }
  4%, 20% { opacity: 1; transform: translateY(0); }
  24%, 100% { opacity: 0; transform: translateY(-100%); }
}
@media (max-width: 560px) { .rotator { display: grid; } }

/* Receipt v2 */
.printer { width: min(100%, 400px); }
.printer-glow { position: absolute; inset: 10% -10% 0; z-index: -1; background: radial-gradient(closest-side, rgba(47, 107, 255, .35), transparent); filter: blur(30px); }
.receipt-row { animation: fadein .4s ease both; animation-delay: calc(1.2s + var(--i) * .12s); }
@keyframes fadein { from { opacity: 0; } }
.chip {
  position: absolute; z-index: 4; display: flex; gap: .6rem; align-items: center; white-space: nowrap;
  background: rgba(255, 255, 255, .88); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(220, 227, 238, .9); border-radius: 16px; padding: .6rem .85rem .6rem .6rem;
  box-shadow: 0 18px 40px -22px rgba(15, 42, 92, .55); font-size: .84rem;
  opacity: 0; animation: chipIn .6s var(--ease-out) both, float 6s ease-in-out infinite;
}
.chip i { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 10px; color: #fff; font-style: normal; flex: none; }
.chip i svg { width: 17px; height: 17px; }
.chip b { display: block; color: var(--ink); line-height: 1.2; }
.chip small { color: var(--muted); }
.c-green { background: var(--green); } .c-blue { background: var(--blue); } .c-amber { background: var(--amber); } .c-violet { background: var(--violet); }
.chip-kot { left: -72px; top: 64px; animation-delay: 1.4s, 2s; }
.chip-upi { right: -60px; top: 150px; animation-delay: 2s, 2.6s; }
.chip-stock { left: -78px; bottom: 96px; animation-delay: 2.5s, 3.1s; }
.chip-wa { right: -48px; bottom: 6px; animation-delay: 2.9s, 3.5s; }
@keyframes chipIn { from { opacity: 0; transform: translateY(14px) scale(.92); } to { opacity: 1; transform: none; } }
@keyframes float { 0%, 100% { translate: 0 0; } 50% { translate: 0 -8px; } }
@media (max-width: 1340px) { .chip-kot { left: -40px; } .chip-stock { left: -44px; } .chip-upi { right: -24px; } .chip-wa { right: -20px; } }
@media (max-width: 1060px) { .chip-kot, .chip-stock { left: -24px; } .chip-upi, .chip-wa { right: -20px; } }
@media (max-width: 900px) { .printer { margin-top: 1rem; } }
@media (max-width: 480px) {
  .chip { font-size: .76rem; padding: .45rem .65rem .45rem .45rem; gap: .45rem; }
  .chip i { width: 26px; height: 26px; border-radius: 8px; }
  .chip-kot { left: -4px; top: 30px; } .chip-upi { right: -4px; top: 128px; }
  .chip-stock { left: -4px; bottom: 84px; } .chip-wa { right: -4px; bottom: 4px; }
  .receipt { font-size: .8rem; padding: 1.3rem 1.1rem 1.1rem; }
}

/* Marquee */
.marquee-wrap { display: flex; align-items: center; gap: 1.5rem; padding: 1.4rem 0; border-block: 1px solid var(--line); background: rgba(255, 255, 255, .55); }
.marquee-label { margin: 0 0 0 max(1.25rem, calc((100vw - var(--wrap)) / 2)); flex: none; font-weight: 700; color: var(--ink); font-size: .95rem; }
.marquee { overflow: hidden; flex: 1; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee-track { display: flex; gap: .75rem; width: max-content; list-style: none; margin: 0; padding: 0; animation: marquee 38s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track li { display: inline-flex; align-items: center; gap: .5rem; white-space: nowrap; padding: .55rem 1rem; border-radius: 999px; background: #fff; border: 1px solid var(--line); color: var(--ink); font-weight: 500; font-size: .95rem; }
.marquee-track svg { width: 1.1em; height: 1.1em; color: var(--blue); }
@keyframes marquee { to { transform: translateX(calc(-50% - .375rem)); } }
@media (max-width: 640px) { .marquee-label { display: none; } }

/* Scroll reveal (hidden only once JS confirms it can reveal) */
.reveal-ready .reveal:not(.in) { opacity: 0; transform: translateY(28px); }
.reveal-ready .reveal { transition: opacity .8s var(--ease-out), transform .8s var(--ease-out); transition-delay: calc(var(--d, 0) * 90ms); }

/* Product rows v2 */
.product-row a { position: relative; transition: background-color .3s, box-shadow .3s, transform .35s var(--ease-out); }
.product-row a:hover { box-shadow: 0 20px 40px -28px rgba(15, 42, 92, .45); transform: translateX(4px); }
.p-icon { transition: background .3s, color .3s, transform .4s var(--ease-out); }
.product-row a:hover .p-icon { background: var(--grad); color: #fff; transform: rotate(-6deg) scale(1.06); }
.row-go svg { transition: transform .3s var(--ease-out); }
.product-row a:hover .row-go svg { transform: rotate(-45deg); }

/* Bento */
.bento { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 1rem; }
.tile {
  position: relative; overflow: hidden; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-l);
  padding: 1.6rem; transition: transform .4s var(--ease-out), box-shadow .4s, border-color .3s;
}
.tile:hover { transform: translateY(-4px); box-shadow: 0 30px 60px -36px rgba(15, 42, 92, .45); border-color: #c4d0e3; }
.tile h3 { margin-bottom: .4rem; }
.tile p { color: var(--muted); margin: 0; font-size: .98rem; }
.tile-icon { width: 30px; height: 30px; color: var(--blue); margin-bottom: 1rem; }
.tile-wa { grid-column: span 4; grid-row: span 2; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 1.5rem; align-items: center; background: linear-gradient(160deg, #f4fcf8 0%, #fff 60%); }
.tile-setup { grid-column: span 2; grid-row: span 2; }
.tile-staff { grid-column: span 2; }
.tile-call { grid-column: span 2; display: flex; gap: 1.1rem; align-items: flex-start; }
.tile-crm { grid-column: span 2; }
@media (max-width: 1000px) {
  .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tile-wa { grid-column: span 2; grid-row: auto; }
  .tile-setup, .tile-staff, .tile-call, .tile-crm { grid-column: span 1; grid-row: auto; }
}
@media (max-width: 640px) {
  .bento { grid-template-columns: 1fr; }
  .tile-wa { grid-template-columns: 1fr; }
  .tile-wa, .tile-setup, .tile-staff, .tile-call, .tile-crm { grid-column: auto; }
}

.chat { display: grid; gap: .55rem; padding: 1rem; border-radius: 18px; background: #e9f3ee url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Ccircle cx='2' cy='2' r='1' fill='%23cfe3d8'/%3E%3C/svg%3E"); font-size: .9rem; }
.bubble { max-width: 85%; padding: .55rem .8rem; border-radius: 14px; box-shadow: 0 1px 1px rgba(0, 0, 0, .06); color: #1f2d24; }
.bubble.in { background: #fff; justify-self: start; border-top-left-radius: 4px; }
.bubble.out { background: #d6f7c6; justify-self: end; border-top-right-radius: 4px; }
.bubble b { display: block; }
.bubble span { font-size: .82rem; color: #4d6153; }
.tile-wa.in .bubble, html:not(.reveal-ready) .tile-wa .bubble { animation: bubble .5s var(--ease-out) both; animation-delay: calc(.3s + var(--b) * .55s); }
.reveal-ready .tile-wa:not(.in) .bubble { opacity: 0; }
@keyframes bubble { from { opacity: 0; transform: translateY(10px) scale(.95); } }

.ticks { list-style: none; padding: 0; margin: 1.1rem 0 0; display: grid; gap: .7rem; }
.ticks li { display: flex; gap: .65rem; align-items: center; font-weight: 500; color: var(--ink); }
.tick { width: 24px; height: 24px; border-radius: 8px; border: 1.5px solid #c4d0e3; display: grid; place-items: center; flex: none; color: #fff; transition: background .3s, border-color .3s; }
.tick svg { width: 15px; height: 15px; transform: scale(0); transition: transform .35s var(--ease-out); }
.tile-setup.in .tick, html:not(.reveal-ready) .tile-setup .tick { background: var(--green); border-color: var(--green); transition-delay: calc(.4s + var(--t) * .35s); }
.tile-setup.in .tick svg, html:not(.reveal-ready) .tile-setup .tick svg { transform: scale(1); transition-delay: calc(.45s + var(--t) * .35s); }

.bars { display: flex; align-items: flex-end; gap: 8px; height: 90px; margin-top: 1.1rem; }
.bars span { flex: 1; height: var(--h); border-radius: 6px 6px 3px 3px; background: linear-gradient(180deg, var(--blue), #9db8ff); transform-origin: bottom; transform: scaleY(.08); transition: transform .9s var(--ease-out); transition-delay: calc(.2s + var(--i) * .08s); }
.tile-staff.in .bars span, html:not(.reveal-ready) .tile-staff .bars span { transform: scaleY(1); }
.bars-legend { display: flex; justify-content: space-between; font-size: .75rem; color: var(--muted); margin-top: .35rem; }

.pulse { position: relative; flex: none; width: 52px; height: 52px; border-radius: 50%; background: var(--blue); color: #fff; display: grid; place-items: center; }
.pulse svg { width: 22px; height: 22px; }
.pulse::before, .pulse::after { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--blue); animation: ring 2.4s ease-out infinite; }
.pulse::after { animation-delay: 1.2s; }
@keyframes ring { from { transform: scale(1); opacity: .6; } to { transform: scale(1.9); opacity: 0; } }
.tile-link { display: inline-block; margin-top: .6rem; font-weight: 700; }

.pipeline { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .5rem; margin-top: 1.1rem; }
.pipeline > div { background: #f3f6fb; border-radius: 12px; padding: .5rem; min-height: 78px; display: grid; align-content: start; gap: .4rem; }
.pipeline small { color: var(--muted); font-weight: 600; font-size: .72rem; }
.lead { display: inline-flex; align-items: center; gap: .3rem; font-size: .74rem; font-weight: 600; padding: .35rem .5rem; border-radius: 8px; background: #fff; border: 1px solid var(--line); color: var(--ink); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lead svg { width: 12px; height: 12px; color: var(--amber); flex: none; }
.l3 { background: var(--green-soft); border-color: #9fe3c9; }
.tile-crm.in .lead, html:not(.reveal-ready) .tile-crm .lead { animation: hop .6s var(--ease-out) both; }
.tile-crm .l2 { animation-delay: .3s !important; } .tile-crm .l3 { animation-delay: .6s !important; }
.reveal-ready .tile-crm:not(.in) .lead { opacity: 0; }
@keyframes hop { from { opacity: 0; transform: translateX(-24px); } }

/* Steps line draws in */
.steps li::after { transform-origin: left; transform: scaleX(0); transition: transform 1s var(--ease-out) .3s; }
.steps li.in::after, html:not(.reveal-ready) .steps li::after { transform: scaleX(1); }
.steps li::before { background: var(--grad); box-shadow: 0 8px 18px -8px rgba(47, 107, 255, .7); }

/* Custom software band v2 */
.band { background: radial-gradient(120% 140% at 0% 0%, #1d3f80 0%, var(--ink) 55%), var(--ink); isolation: isolate; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); }
.band-glow { position: absolute; z-index: -1; width: 520px; height: 520px; right: -120px; top: -200px; border-radius: 50%; background: conic-gradient(from 0deg, #2f6bff, #7c5cff, #19c08a, #2f6bff); filter: blur(90px); opacity: .35; animation: spin 16s linear infinite; }
@keyframes spin { to { transform: rotate(1turn); } }
.band .check-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.builder { position: relative; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .14); border-radius: 18px; overflow: hidden; backdrop-filter: blur(6px); box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .6); }
.builder-bar { display: flex; align-items: center; gap: .4rem; padding: .7rem .9rem; border-bottom: 1px solid rgba(255, 255, 255, .1); }
.builder-bar i { width: 10px; height: 10px; border-radius: 50%; background: rgba(255, 255, 255, .25); }
.builder-bar i:first-child { background: #ff6b6b; } .builder-bar i:nth-child(2) { background: var(--amber); } .builder-bar i:nth-child(3) { background: var(--green); }
.builder-bar span { margin-left: .6rem; font-size: .78rem; color: #9fb2d4; background: rgba(255, 255, 255, .07); padding: .2rem .7rem; border-radius: 999px; }
.builder-body { padding: 1.2rem; display: grid; gap: .7rem; }
.b-line { height: 10px; border-radius: 6px; background: rgba(255, 255, 255, .16); transform-origin: left; animation: grow 3.6s var(--ease-out) infinite; }
.w60 { width: 60%; } .w85 { width: 85%; animation-delay: .2s; } .w45 { width: 45%; animation-delay: .6s; }
.b-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: .6rem; }
.b-card { height: 58px; border-radius: 12px; animation: pop2 3.6s var(--ease-out) infinite; }
.c1 { background: linear-gradient(135deg, #2f6bff, #5b8bff); animation-delay: .3s; }
.c2 { background: linear-gradient(135deg, #7c5cff, #a08bff); animation-delay: .45s; }
.c3 { background: linear-gradient(135deg, #19c08a, #5ad9ae); animation-delay: .6s; }
.b-chart { display: flex; align-items: flex-end; gap: 6px; height: 80px; }
.b-chart span { flex: 1; height: var(--h); border-radius: 5px 5px 2px 2px; background: rgba(255, 255, 255, .22); transform-origin: bottom; animation: rise2 3.6s var(--ease-out) infinite; animation-delay: calc(.8s + var(--i) * .07s); }
.b-chart span:nth-child(4), .b-chart span:last-child { background: var(--green); }
@keyframes grow { 0% { transform: scaleX(0); } 25%, 85% { transform: scaleX(1); } 100% { transform: scaleX(1); opacity: 0; } }
@keyframes pop2 { 0% { transform: scale(.6); opacity: 0; } 25%, 85% { transform: none; opacity: 1; } 100% { opacity: 0; } }
@keyframes rise2 { 0% { transform: scaleY(0); } 30%, 85% { transform: scaleY(1); } 100% { transform: scaleY(1); opacity: 0; } }
.cursor { position: absolute; width: 18px; height: 18px; border-radius: 50% 50% 50% 0; background: #fff; transform: rotate(-45deg); box-shadow: 0 4px 10px rgba(0, 0, 0, .3); animation: cursor 7.2s ease-in-out infinite; top: 40%; left: 20%; }
@keyframes cursor { 0%, 100% { top: 40%; left: 20%; } 30% { top: 55%; left: 70%; } 60% { top: 80%; left: 40%; } }
@media (max-width: 900px) { .band { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .band .check-cols { grid-template-columns: 1fr; } }

/* FAQ two-column + smooth open */
.faq-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 2rem 4rem; align-items: start; }
.faq-grid > :first-child { position: sticky; top: 100px; }
@media (max-width: 900px) { .faq-grid { grid-template-columns: 1fr; } .faq-grid > :first-child { position: static; } }
.faq details[open] p { animation: fadein .4s ease; }
.faq summary { transition: color .2s; }
.faq summary:hover { color: var(--blue-dark); }

/* Final CTA */
.cta-final { position: relative; overflow: hidden; isolation: isolate; border-radius: var(--radius-l); padding: clamp(1.75rem, 5vw, 3.5rem); background: linear-gradient(135deg, #e8eeff 0%, #f1ecff 50%, #e3f7ef 100%); border: 1px solid #dfe5f5; }
.cta-final::before { content: ""; position: absolute; z-index: -1; inset: auto -10% -60% auto; width: 60%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(closest-side, rgba(47, 107, 255, .25), transparent); }
.contact-tile { transition: border-color .2s, transform .3s var(--ease-out), box-shadow .3s; }
.contact-tile:hover { transform: translateY(-3px); box-shadow: 0 18px 36px -24px rgba(15, 42, 92, .5); }

/* Floating WhatsApp: gentle attention ring */
.wa-float::before { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--green); animation: ring 2.8s ease-out infinite; }
.wa-float { transition: transform .3s var(--ease-out); }
.wa-float:hover { transform: scale(1.08); }

/* Inner pages: soft entrance */
.page-head .wrap > * { animation: rise .8s var(--ease-out) both; }
.page-head .wrap > :nth-child(2) { animation-delay: .06s; }
.page-head .wrap > :nth-child(3) { animation-delay: .12s; }
.page-head .wrap > :nth-child(4) { animation-delay: .18s; }
.pd-aside { box-shadow: 0 30px 60px -40px rgba(15, 42, 92, .45); }
.edition { transition: transform .3s var(--ease-out), box-shadow .3s; }
.edition:hover { transform: translateY(-3px); box-shadow: 0 18px 36px -26px rgba(15, 42, 92, .45); }

/* Small screens: general tightening */
@media (max-width: 480px) {
  body { font-size: 1rem; }
  .wrap { width: min(100% - 2rem, var(--wrap)); }
  .btn-row .btn { flex: 1 1 100%; }
  .hero-points { gap: .4rem 1rem; }
  .section-head { margin-bottom: 1.75rem; }
  .tile { padding: 1.25rem; }
  .product-row a { gap: .9rem 1rem; padding: 1.2rem .25rem; }
  .product-row a:hover { transform: none; }
  .row-go { width: 38px; height: 38px; }
}
@media (max-width: 360px) {
  .brand-word b { font-size: 1.25rem; }
  .brand-mark { width: 34px; height: 34px; }
  .chip { display: none; }
  .chip-wa { display: flex; }
}
@media (hover: none) { .tile:hover, .btn:hover, .contact-tile:hover { transform: none; } }

@media (prefers-reduced-motion: reduce) {
  .rotator > span { animation: none !important; opacity: 0; transform: none; }
  .rotator > span:first-child { opacity: 1; }
  .chip, .receipt-row { opacity: 1 !important; }
  .marquee-track { animation: none !important; flex-wrap: wrap; width: auto; }
}
.form, .admin-card { overflow-wrap: anywhere; }
.nav-desktop a, .header-phone { white-space: nowrap; }
@media (max-width: 1180px) and (min-width: 901px) { .header-phone { display: none; } }
@media (max-width: 420px) { .hero h1 { font-size: 2.15rem; } }
.page-head .p-icon { background: var(--grad); color: #fff; width: 64px; height: 64px; border-radius: 18px; box-shadow: 0 14px 30px -14px rgba(47, 107, 255, .8); }

/* =====================================================================
   v3 — product detail pages, enquiry, product browser
   ===================================================================== */
html { scroll-padding-top: 140px; }
.pd-head { padding-bottom: clamp(2rem, 4vw, 3rem); }
.pd-head h1 { max-width: 20ch; margin-bottom: .35em; }
.pd-head .lede { color: var(--ink); font-weight: 500; margin-bottom: .6rem; }
.pd-summary { color: var(--muted); max-width: 40em; margin-bottom: 1.75rem; }
.pd-title { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem; margin-bottom: 1.25rem; }
.pd-title .p-icon { margin: 0; }
.pd-tags { display: flex; flex-wrap: wrap; gap: .4rem; }
.pd-tags .tag { background: rgba(255, 255, 255, .8); border: 1px solid var(--line); }
.pd-tags .tag-wa { background: var(--green-soft); border-color: #9fe3c9; }

/* Sticky in-page navigation */
.pd-nav { position: sticky; top: 72px; z-index: 40; background: rgba(243, 246, 251, .85); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-block: 1px solid var(--line); }
.pd-nav ul { display: flex; gap: .25rem; list-style: none; margin: 0; padding: .55rem 0; overflow-x: auto; scrollbar-width: none; }
.pd-nav ul::-webkit-scrollbar { display: none; }
.pd-nav a { display: inline-block; white-space: nowrap; padding: .45rem .9rem; border-radius: 999px; color: var(--text); font-weight: 600; font-size: .93rem; text-decoration: none; transition: background-color .2s, color .2s; }
.pd-nav a:hover { background: #fff; color: var(--ink); }
.pd-nav a.pd-nav-cta { background: var(--blue); color: #fff; }
.pd-nav a.pd-nav-cta:hover { background: var(--blue-dark); }
.pd-nav li:last-child { margin-left: auto; }
.pd-section { scroll-margin-top: 140px; }

.prose h2.first { margin-top: 0; }
.pd-lead { font-size: 1.15rem; color: var(--ink); }
.pd-gallery { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .75rem; margin-bottom: 2.5rem; }
.pd-gallery .pd-image { margin: 0; border-radius: var(--radius-m); }
.pd-gallery .pd-image.main { grid-column: 1 / -1; border-radius: var(--radius-l); }
.pd-gallery img { width: 100%; height: 100%; object-fit: cover; }
.aside-points { list-style: none; padding: 1rem 0 0; margin: 1.25rem 0 0; border-top: 1px solid var(--line); display: grid; gap: .5rem; font-size: .93rem; color: var(--text); }
.aside-points li { display: flex; gap: .5rem; align-items: center; }
.aside-points svg { color: var(--green-dark); width: 1.05em; height: 1.05em; flex: none; }
.pd-aside .btn { min-height: 46px; }

/* Problems */
.problems { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 1.5rem 3rem; align-items: center; padding: clamp(1.5rem, 4vw, 2.75rem); border-radius: var(--radius-l); background: linear-gradient(135deg, #fff5f2 0%, #fff 60%); border: 1px solid #f6d9d0; }
.problems h2 { margin-bottom: .3em; }
.problems ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .8rem; }
.problems li { display: flex; gap: .75rem; align-items: flex-start; color: var(--ink); font-weight: 500; }
.problems .x { flex: none; width: 26px; height: 26px; border-radius: 8px; display: grid; place-items: center; background: #fde4dc; color: #c2410c; margin-top: .05rem; }
.problems .x svg { width: 15px; height: 15px; }
@media (max-width: 800px) { .problems { grid-template-columns: 1fr; } }

/* Feature cards */
.feature-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); gap: 1rem; }
.feature { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-m); padding: 1.4rem; transition: transform .35s var(--ease-out), box-shadow .35s, border-color .3s; }
.feature:hover { transform: translateY(-4px); box-shadow: 0 24px 48px -32px rgba(15, 42, 92, .5); border-color: #c4d0e3; }
.feature.wa { background: linear-gradient(160deg, #f4fcf8, #fff 70%); border-color: #bfeeda; }
.feature-icon { width: 38px; height: 38px; border-radius: 11px; display: grid; place-items: center; background: var(--blue-soft); color: var(--blue-dark); margin-bottom: .9rem; }
.feature.wa .feature-icon { background: var(--green); color: #fff; }
.feature-icon svg { width: 19px; height: 19px; }
.feature h3 { font-size: 1.08rem; display: flex; flex-wrap: wrap; align-items: center; gap: .4rem; margin-bottom: .35rem; }
.feature h3 .tag { font-size: .7rem; padding: .15rem .5rem; }
.feature p { color: var(--muted); font-size: .95rem; margin: 0; }

/* Editions comparison */
.compare { width: 100%; min-width: 560px; border-collapse: separate; border-spacing: 0; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-l); overflow: hidden; }
.compare th, .compare td { padding: .9rem 1.1rem; border-bottom: 1px solid var(--line); text-align: center; font-size: .97rem; }
.compare thead th { font-family: var(--font-display); font-size: 1.05rem; color: var(--ink); background: #f7f9fc; }
.compare thead th svg { width: 1em; height: 1em; display: inline-block; vertical-align: -2px; color: var(--green-dark); }
.compare th[scope="row"], .compare thead th:first-child { text-align: left; font-weight: 600; color: var(--ink); font-family: var(--font-body); }
.compare td.wa, .compare thead th.wa { background: #f2fbf7; }
.compare .yes { width: 20px; height: 20px; color: var(--green-dark); display: inline-block; }
.compare .no { color: #a3b0c6; font-weight: 700; }
.compare tr:last-child th, .compare tr:last-child td { border-bottom: 0; }

.two-col { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.two-col .tile:hover { transform: none; }
.h3like { font-size: 1.3rem; margin-bottom: 1rem; }
@media (max-width: 800px) { .two-col { grid-template-columns: 1fr; } }

/* Enquire section */
.enquire { background: linear-gradient(180deg, transparent, #e9efff 30%, #eef0ff 70%, transparent); }
.enquire-grid { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(1.5rem, 5vw, 4rem); align-items: start; }
@media (max-width: 900px) { .enquire-grid { grid-template-columns: 1fr; } }
.enquire .form { box-shadow: 0 40px 80px -48px rgba(15, 42, 92, .55); }
.next-steps { counter-reset: n; list-style: none; padding: 0; margin: 1.75rem 0; display: grid; gap: 1rem; }
.next-steps li { counter-increment: n; display: grid; grid-template-columns: 36px 1fr; column-gap: .9rem; }
.next-steps li::before { content: counter(n); grid-row: span 2; width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: #fff; border: 1.5px solid #c4d0e3; color: var(--ink); font: 700 .95rem var(--font-display); }
.next-steps b { color: var(--ink); }
.next-steps span { color: var(--muted); font-size: .95rem; }
.enquire-direct { padding-top: 1.25rem; border-top: 1px solid #d5ddf0; display: grid; gap: .75rem; }
.enquire-direct .muted { display: inline-flex; gap: .4rem; align-items: center; }
.enquire-direct svg { width: 1em; height: 1em; }

/* Form extras */
.form-product { display: flex; flex-wrap: wrap; align-items: baseline; gap: .5rem; padding: .8rem 1rem; border-radius: 12px; background: var(--blue-soft); }
.form-product strong { color: var(--ink); font-family: var(--font-display); font-size: 1.1rem; }
fieldset.field { border: 0; padding: 0; margin: 0; min-width: 0; }
fieldset.field legend { font-weight: 600; color: var(--ink); font-size: .95rem; margin-bottom: .4rem; padding: 0; }
.choice-row { display: flex; flex-wrap: wrap; gap: .5rem; }
.choice-pill { position: relative; cursor: pointer; }
.choice-pill input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.choice-pill span { display: inline-flex; align-items: center; min-height: 44px; padding: .55rem 1rem; border-radius: 999px; border: 1.5px solid #cfd8e6; background: #fbfcfe; font-weight: 600; color: var(--text); transition: all .2s; }
.choice-pill input:checked + span { border-color: var(--blue); background: var(--blue-soft); color: var(--ink); box-shadow: 0 0 0 3px rgba(47, 107, 255, .14); }
.choice-pill input:focus-visible + span { outline: 3px solid var(--blue); outline-offset: 2px; }
.form-done { text-align: left; animation: rise .6s var(--ease-out) both; }
.form-done h3 { font-size: 1.5rem; margin: 0; }
.done-icon { width: 52px; height: 52px; color: var(--green); }

/* Mobile sticky actions on product pages */
.m-cta { display: none; }
@media (max-width: 900px) {
  .m-cta { display: flex; gap: .5rem; position: fixed; z-index: 70; left: .75rem; right: .75rem; bottom: .75rem; padding: .5rem; border-radius: 18px; background: rgba(255, 255, 255, .92); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border: 1px solid var(--line); box-shadow: 0 18px 40px -16px rgba(15, 42, 92, .45); animation: rise .5s var(--ease-out) .6s both; }
  .m-cta .btn { min-height: 48px; }
  .m-cta .btn:first-child { flex: 1; }
  .m-cta-icon { width: 48px; padding: 0; flex: none; }
  .m-cta-icon svg { width: 22px; height: 22px; }
  body:has(.m-cta) .wa-float { display: none; }
  body:has(.m-cta) .site-footer { padding-bottom: 6rem; }
  .pd-nav { top: 72px; }
}
@media (max-width: 480px) { .m-cta .btn-row .btn, .m-cta .btn { flex: initial; } .m-cta .btn:first-child { flex: 1; } }

/* Product browser (products page) */
.browser-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: 1.75rem; }
.chips { display: flex; flex-wrap: wrap; gap: .5rem; }
.chips button { font: 600 .93rem var(--font-body); padding: .55rem 1rem; min-height: 42px; border-radius: 999px; border: 1.5px solid var(--line); background: #fff; color: var(--text); cursor: pointer; transition: all .2s; }
.chips button:hover { border-color: #b9c6dc; color: var(--ink); }
.chips button[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.chips button small { opacity: .65; margin-left: .25rem; }
.search { position: relative; flex: 0 1 300px; }
.search svg { position: absolute; left: .9rem; top: 50%; transform: translateY(-50%); width: 18px; height: 18px; color: var(--muted); pointer-events: none; }
.search input { width: 100%; min-height: 44px; padding: .6rem 1rem .6rem 2.6rem; border-radius: 999px; border: 1.5px solid var(--line); background: #fff; font: inherit; font-size: .97rem; }
.search input:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(47, 107, 255, .16); }
@media (max-width: 700px) { .search { flex: 1 1 100%; } }
.card-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 330px), 1fr)); gap: 1.1rem; }
.p-card { position: relative; display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-l); padding: 1.5rem; transition: transform .35s var(--ease-out), box-shadow .35s, border-color .3s; animation: rise .5s var(--ease-out) both; }
.p-card:hover { transform: translateY(-5px); box-shadow: 0 30px 60px -36px rgba(15, 42, 92, .5); border-color: #c4d0e3; }
.p-card:hover .p-icon { background: var(--grad); color: #fff; transform: rotate(-6deg); }
.p-card-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 1rem; margin-bottom: 1rem; }
.p-card h2, .p-card h3 { font-size: 1.3rem; margin-bottom: .4rem; }
.p-card h2 a, .p-card h3 a { color: inherit; text-decoration: none; }
.p-card h2 a::after, .p-card h3 a::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.p-card > p { color: var(--muted); font-size: .97rem; }
.p-card ul { list-style: none; padding: 0; margin: 0 0 1.25rem; display: grid; gap: .45rem; font-size: .93rem; }
.p-card li { display: flex; gap: .5rem; align-items: flex-start; }
.p-card li svg { flex: none; width: 1.05em; height: 1.05em; margin-top: .2rem; color: var(--green-dark); }
.p-card-actions { margin-top: auto; display: flex; gap: .5rem; position: relative; z-index: 1; }
.p-card-actions .btn { flex: 1; }
.empty-state { padding: 2.5rem; text-align: center; border: 1.5px dashed #c4d0e3; border-radius: var(--radius-l); background: #fff; }
.page-head { overflow-x: clip; }
@media (max-width: 900px) { .pd-head .btn-row .btn-ghost { display: none; } }

/* =====================================================================
   v4 — premium tech look, solutions, guides, areas
   ===================================================================== */
:root { --night: #060d22; --night-2: #0b1735; }

/* Dark glass header (site-wide) */
.site-header { background: rgba(6, 13, 34, .78); border-bottom-color: rgba(255, 255, 255, .08); }
.site-header .brand-word b { color: #fff; }
.site-header .brand-word span { color: #93a6cc; }
.site-header .brand-mark rect:first-child { fill: #17306b; }
.nav-desktop a { color: #c9d6ee; }
.nav-desktop a:hover { background: rgba(255, 255, 255, .08); color: #fff; }
.header-phone { color: #fff; }
.header-phone svg { color: #7fa6ff; }
.nav-mobile summary { background: rgba(255, 255, 255, .06); border-color: rgba(255, 255, 255, .14); color: #fff; }

/* Dark hero */
.hero-dark { background: var(--night); color: #c3d0ea; padding-top: clamp(3rem, 7vw, 6rem); padding-bottom: clamp(3.5rem, 7vw, 6rem); }
.hero-dark h1 { color: #fff; }
.hero-dark .lede { color: #aebee0; }
.hero-dark .blob { opacity: .5; filter: blur(90px); }
.hero-dark .b1 { background: #2f6bff; }
.hero-dark .b2 { background: #7c5cff; }
.hero-dark .b3 { background: #12b886; opacity: .32; }
.hero-dark .grid-lines { background-image: linear-gradient(rgba(255, 255, 255, .06) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .06) 1px, transparent 1px); }
.hero-dark .aurora::after { content: ""; position: absolute; inset: auto 0 0; height: 120px; background: linear-gradient(transparent, var(--night)); }
.hero-dark .announce { background: rgba(255, 255, 255, .07); border-color: rgba(255, 255, 255, .16); color: #e6edfb; box-shadow: none; }
.hero-dark .announce:hover { color: #fff; border-color: var(--green); }
.hero-dark .btn-ghost { color: #fff; border-color: rgba(255, 255, 255, .28); }
.hero-dark .btn-ghost:hover { border-color: #fff; color: #fff; background: rgba(255, 255, 255, .06); }
.hero-dark .hero-points { color: #aebee0; }
.hero-dark .hero-points svg { color: #4fe0ad; }
.hero-dark .printer-glow { background: radial-gradient(closest-side, rgba(124, 92, 255, .55), transparent); }
.hero-dark .printer-slot { background: #1a2a52; box-shadow: inset 0 -6px 0 #24386b, 0 0 0 1px rgba(255, 255, 255, .08); }
.hero-dark .receipt { box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .7); }
.hero-dark .chip { background: rgba(14, 26, 58, .78); border-color: rgba(255, 255, 255, .14); box-shadow: 0 20px 40px -18px rgba(0, 0, 0, .6); }
.hero-dark .chip b { color: #fff; }
.hero-dark .chip small { color: #9fb2d4; }
.hero-dark + .marquee-wrap { background: var(--night); border-color: rgba(255, 255, 255, .08); }
.hero-dark + .marquee-wrap .marquee-label { color: #fff; }
.hero-dark + .marquee-wrap .marquee-track li { background: rgba(255, 255, 255, .05); border-color: rgba(255, 255, 255, .12); color: #dbe5f8; }
.hero-dark + .marquee-wrap .marquee-track svg { color: #7fa6ff; }
.hero-dark + .marquee-wrap .marquee { -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }

/* Services */
.services { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; }
.service { position: relative; display: flex; flex-direction: column; gap: .2rem; padding: 1.6rem; border-radius: var(--radius-l); background: var(--surface); border: 1px solid var(--line); color: var(--text); text-decoration: none; overflow: hidden; isolation: isolate; transition: transform .35s var(--ease-out), box-shadow .35s, border-color .3s; }
.service::before { content: ""; position: absolute; z-index: -1; inset: -1px; border-radius: inherit; padding: 1px; background: var(--grad); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; opacity: 0; transition: opacity .3s; }
.service:hover { transform: translateY(-5px); box-shadow: 0 30px 60px -36px rgba(15, 42, 92, .55); color: var(--text); }
.service:hover::before { opacity: 1; }
.service h3 { margin: .9rem 0 .35rem; }
.service p { color: var(--muted); font-size: .97rem; margin-bottom: 1rem; }
.service .sol-go { margin-top: auto; }
.service-icon { width: 52px; height: 52px; border-radius: 15px; display: grid; place-items: center; color: #fff; }
.service-icon svg { width: 26px; height: 26px; }
.s1 { background: linear-gradient(135deg, #2f6bff, #5b8bff); }
.s2 { background: linear-gradient(135deg, #7c5cff, #a08bff); }
.s3 { background: linear-gradient(135deg, #12b886, #4fe0ad); }
.s4 { background: linear-gradient(135deg, #f59f00, #ffc94d); }
@media (max-width: 1000px) { .services { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .services { grid-template-columns: 1fr; } }
.sol-go { display: inline-flex; align-items: center; gap: .35rem; font-weight: 700; font-size: .93rem; color: var(--blue-dark); }
.sol-go svg { width: 1em; height: 1em; transition: transform .25s var(--ease-out); }
a:hover .sol-go svg { transform: translateX(4px); }

/* Solutions: dark band of industry cards */
.solutions-sec { background: var(--night); color: #c3d0ea; position: relative; overflow: hidden; isolation: isolate; }
.solutions-sec::before { content: ""; position: absolute; z-index: -1; width: 700px; height: 700px; left: -200px; top: -300px; border-radius: 50%; background: radial-gradient(closest-side, rgba(47, 107, 255, .35), transparent); }
.solutions-sec::after { content: ""; position: absolute; z-index: -1; width: 600px; height: 600px; right: -200px; bottom: -300px; border-radius: 50%; background: radial-gradient(closest-side, rgba(124, 92, 255, .3), transparent); }
.solutions-sec h2 { color: #fff; }
.solutions-sec .section-head p { color: #aebee0; }
.sol-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; }
.sol-card { display: flex; flex-direction: column; gap: .75rem; padding: 1.4rem; border-radius: var(--radius-l); text-decoration: none; background: var(--surface); border: 1px solid var(--line); color: var(--text); transition: transform .35s var(--ease-out), box-shadow .35s, border-color .3s, background-color .3s; }
.sol-card:hover { transform: translateY(-4px); color: var(--text); box-shadow: 0 24px 48px -30px rgba(15, 42, 92, .5); }
.sol-card h2, .sol-card h3 { font-size: 1.15rem; margin: 0; }
.sol-card p { color: var(--muted); font-size: .95rem; margin: 0; }
.sol-card .sol-go { margin-top: auto; }
.solutions-sec .sol-card { background: rgba(255, 255, 255, .04); border-color: rgba(255, 255, 255, .1); backdrop-filter: blur(6px); }
.solutions-sec .sol-card:hover { background: rgba(255, 255, 255, .08); border-color: rgba(127, 166, 255, .5); box-shadow: 0 24px 48px -30px rgba(0, 0, 0, .7); }
.solutions-sec .sol-card h3 { color: #fff; }
.solutions-sec .sol-card .p-icon { background: rgba(127, 166, 255, .14); color: #a9c2ff; }
.solutions-sec .sol-card:hover .p-icon { background: var(--grad); color: #fff; }
.solutions-sec .sol-go { color: #7fa6ff; }
@media (max-width: 1000px) { .sol-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 420px) { .sol-grid { grid-template-columns: 1fr; } }

/* Guides */
.post-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); gap: 1rem; }
.post-card, .post-featured { display: flex; flex-direction: column; gap: .6rem; padding: 1.5rem; border-radius: var(--radius-l); background: var(--surface); border: 1px solid var(--line); color: var(--text); text-decoration: none; transition: transform .35s var(--ease-out), box-shadow .35s, border-color .3s; }
.post-card:hover, .post-featured:hover { transform: translateY(-4px); color: var(--text); box-shadow: 0 24px 48px -30px rgba(15, 42, 92, .5); border-color: #c4d0e3; }
.post-card .tag, .post-featured .tag, .post-head .tag { align-self: flex-start; background: var(--blue-soft); color: var(--blue-dark); }
.post-card h2, .post-card h3 { font-size: 1.2rem; margin: 0; line-height: 1.25; }
.post-card p { color: var(--muted); font-size: .95rem; margin: 0; }
.post-meta { display: inline-flex; align-items: center; gap: .35rem; flex-wrap: wrap; color: var(--muted); font-size: .88rem; margin-top: auto; }
.post-meta svg { width: 1em; height: 1em; }
.post-featured { margin-bottom: 1rem; padding: clamp(1.5rem, 4vw, 2.75rem); background: linear-gradient(135deg, #0b1735, #17306b 60%, #2b2a7a); border: 0; color: #c9d6ee; }
.post-featured:hover { color: #c9d6ee; }
.post-featured h2 { color: #fff; font-size: clamp(1.6rem, 3vw, 2.3rem); max-width: 26ch; margin: .2rem 0; }
.post-featured p { color: #b9c8e3; max-width: 46em; margin: 0; }
.post-featured .tag { background: rgba(255, 255, 255, .12); color: #fff; }
.post-featured .post-meta { color: #9fb2d4; }
.post-featured .sol-go { color: #9fd0ff; }

.post-head h1 { max-width: 24ch; font-size: clamp(2rem, 4.2vw, 3.2rem); }
.post-head .tag { margin-bottom: 1rem; }
.post-layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.post-aside { position: sticky; top: 96px; display: grid; gap: 1rem; }
.toc { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-m); padding: 1.25rem; }
.toc h2 { font-size: 1rem; font-family: var(--font-body); margin-bottom: .75rem; }
.toc ol, .toc ul { margin: 0; padding-left: 1.1rem; display: grid; gap: .45rem; font-size: .93rem; }
.toc a { color: var(--text); text-decoration: none; }
.toc a:hover { color: var(--blue-dark); text-decoration: underline; }
@media (max-width: 960px) { .post-layout { grid-template-columns: 1fr; } .post-aside { position: static; order: -1; } }

.article { font-size: 1.1rem; line-height: 1.75; max-width: 46em; }
.article h2 { font-size: clamp(1.45rem, 2.6vw, 1.85rem); margin: 2.4rem 0 .8rem; scroll-margin-top: 100px; }
.article h3 { font-size: 1.2rem; margin: 1.8rem 0 .6rem; }
.article p, .article ul, .article ol { margin: 0 0 1.15rem; }
.article ul, .article ol { padding-left: 1.3rem; }
.article li { margin-bottom: .45rem; }
.article li::marker { color: var(--blue); font-weight: 700; }
.article blockquote { margin: 1.5rem 0; padding: 1rem 1.25rem; border-left: 4px solid var(--blue); background: var(--blue-soft); border-radius: 0 12px 12px 0; color: var(--ink); font-weight: 500; }
.article code { font-family: var(--font-mono); font-size: .9em; background: #eef2f8; padding: .1rem .35rem; border-radius: 6px; }
.article strong { color: var(--ink); }
.article-cta { display: flex; gap: 1.25rem; align-items: flex-start; margin-top: 2.5rem; padding: 1.5rem; border-radius: var(--radius-l); background: linear-gradient(135deg, #e8eeff, #f1ecff 60%, #e3f7ef); border: 1px solid #dfe5f5; }
.article-cta h2 { margin: 0 0 .3rem; font-size: 1.3rem; }
.article-cta p { font-size: 1rem; color: var(--muted); }
@media (max-width: 560px) { .article-cta { flex-direction: column; } .article { font-size: 1.04rem; } }

.guide-links { list-style: none; padding: 0; margin: 0; display: grid; gap: .6rem; }
.guide-links li { padding-left: 1.4rem; position: relative; }
.guide-links li::before { content: ""; position: absolute; left: 0; top: .55em; width: 8px; height: 8px; border-radius: 50%; background: var(--grad); }
.guide-links a { font-weight: 600; }

/* Areas */
.area-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr)); gap: .75rem; margin-top: 1.25rem; }
.area { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-m); padding: 1rem 1.15rem; }
.area h3 { font-size: 1.02rem; margin: 0 0 .25rem; font-family: var(--font-body); }
.area p { margin: 0; font-size: .9rem; color: var(--muted); }

/* Footer tweaks */
.site-footer { background: var(--night); }
.site-header { background: rgba(6, 13, 34, .94); }
