/* Briomint — design system */
:root {
  --violet: #7c3aed;
  --violet-600: #6d28d9;
  --violet-100: #f1e9ff;
  --lilac: #a855f7;
  --navy: #0b132b;
  --navy-2: #131d3f;
  --ink: #0b132b;
  --muted: #5a6479;
  --bg: #fbfcfd;
  --surface: #ffffff;
  --line: #e6e8f0;
  --green: #25d366;
  --green-600: #1fb057;
  --amber: #f59e0b;
  --red: #ef4444;
  --radius: 16px;
  --radius-lg: 24px;
  --shadow-sm: 0 1px 2px rgba(11, 19, 43, 0.06), 0 1px 3px rgba(11, 19, 43, 0.06);
  --shadow: 0 10px 30px -10px rgba(11, 19, 43, 0.18);
  --shadow-lg: 0 30px 60px -20px rgba(11, 19, 43, 0.28);
  --font-head: "Outfit", system-ui, sans-serif;
  --font-body: "Plus Jakarta Sans", system-ui, -apple-system, sans-serif;
  --maxw: 1180px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; display: block; }
a { color: var(--violet); text-decoration: none; }
a:hover { color: var(--violet-600); }
h1, h2, h3, h4 { font-family: var(--font-head); line-height: 1.12; margin: 0 0 .5em; letter-spacing: -0.02em; font-weight: 700; }
h1 { font-size: clamp(2.5rem, 5.6vw, 4.4rem); }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.8rem); }
h3 { font-size: 1.3rem; }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--lilac); outline-offset: 3px; border-radius: 6px; }
.container { width: min(100% - 40px, var(--maxw)); margin-inline: auto; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--navy); color: #fff; padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }
.sr-only { position: absolute; 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;
  font: 600 1rem/1 var(--font-body);
  padding: 1rem 1.6rem; border-radius: 999px; border: 2px solid transparent;
  cursor: pointer; transition: transform .2s, box-shadow .2s, background .2s, color .2s, border-color .2s;
  text-decoration: none; white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--violet); color: #fff; box-shadow: 0 10px 20px -6px rgba(124, 58, 237, .55); }
.btn-primary:hover { background: var(--violet-600); color: #fff; }
.btn-wa { background: var(--green); color: #05290f; box-shadow: 0 10px 20px -6px rgba(37, 211, 102, .5); }
.btn-wa:hover { background: var(--green-600); color: #fff; }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--violet); color: var(--violet); }
.on-dark .btn-ghost, .btn-ghost.light { color: #fff; border-color: rgba(255, 255, 255, .3); }
.on-dark .btn-ghost:hover, .btn-ghost.light:hover { border-color: #fff; color: #fff; background: rgba(255, 255, 255, .08); }
.btn-sm { padding: .7rem 1.2rem; font-size: .92rem; }
.btn svg { width: 1.15em; height: 1.15em; flex: none; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(251, 252, 253, .82); backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid transparent; transition: border-color .2s, box-shadow .2s;
}
.site-header.scrolled { border-color: var(--line); box-shadow: var(--shadow-sm); }
.nav { display: flex; align-items: center; justify-content: space-between; height: 76px; gap: 1rem; }
.brand { display: flex; align-items: center; gap: .65rem; font: 700 1.35rem var(--font-head); color: var(--ink); letter-spacing: -.02em; }
.brand:hover { color: var(--ink); }
.brand-mark { width: 40px; height: 40px; border-radius: 12px; background: linear-gradient(135deg, var(--violet), var(--lilac)); display: grid; place-items: center; box-shadow: 0 6px 14px -4px rgba(124, 58, 237, .6); }
.brand small { font-weight: 500; color: var(--muted); font-size: .8em; margin-left: .15em; }
.nav-links { display: flex; align-items: center; gap: .3rem; list-style: none; margin: 0; padding: 0; }
.nav-links a { color: var(--ink); font-weight: 600; font-size: .95rem; padding: .55rem .9rem; border-radius: 999px; transition: background .2s, color .2s; }
.nav-links a:hover, .nav-links a[aria-current="page"] { background: var(--violet-100); color: var(--violet); }
.nav-cta { display: flex; align-items: center; gap: .6rem; }
.menu-btn { display: none; background: none; border: 0; width: 44px; height: 44px; border-radius: 12px; cursor: pointer; color: var(--ink); }
.menu-btn:hover { background: var(--violet-100); }
.menu-btn svg { width: 26px; height: 26px; margin: auto; }

@media (max-width: 940px) {
  .menu-btn { display: grid; place-items: center; }
  .nav-cta .btn { display: none; }
  .nav-links {
    position: fixed; inset: 76px 0 auto 0; background: var(--bg); flex-direction: column; align-items: stretch;
    padding: 14px 20px 24px; gap: 4px; border-bottom: 1px solid var(--line); box-shadow: var(--shadow);
    transform: translateY(-12px); opacity: 0; pointer-events: none; transition: .2s;
  }
  .nav-open .nav-links { transform: none; opacity: 1; pointer-events: auto; }
  .nav-links a { display: block; padding: .9rem 1rem; font-size: 1.05rem; }
  .nav-links .mobile-cta { display: block; margin-top: 8px; }
}
@media (min-width: 941px) { .mobile-cta { display: none; } }

/* Hero */
.hero { position: relative; overflow: hidden; background: var(--navy); color: #fff; padding: 88px 0 110px; isolation: isolate; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -2;
  background:
    radial-gradient(600px 400px at 85% 10%, rgba(168, 85, 247, .55), transparent 60%),
    radial-gradient(500px 360px at 10% 90%, rgba(124, 58, 237, .45), transparent 60%),
    radial-gradient(400px 300px at 60% 100%, rgba(37, 211, 102, .18), transparent 60%);
}
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: .5;
  background-image: linear-gradient(rgba(255, 255, 255, .05) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .05) 1px, transparent 1px);
  background-size: 56px 56px; mask-image: radial-gradient(ellipse at 50% 40%, #000 30%, transparent 75%);
}
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: .5rem; font-weight: 700; font-size: .78rem; letter-spacing: .12em; text-transform: uppercase;
  color: var(--violet); background: var(--violet-100); padding: .4rem .85rem; border-radius: 999px; margin-bottom: 1.2rem;
}
.on-dark .eyebrow { background: rgba(255, 255, 255, .1); color: #e9d5ff; border: 1px solid rgba(255, 255, 255, .15); }
.eyebrow .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 4px rgba(37, 211, 102, .25); }
.hero h1 { color: #fff; margin-bottom: .45em; }
.grad { background: linear-gradient(90deg, #c4a1ff, #7ee8a7); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero p.lead { font-size: 1.2rem; color: #c9d0e6; max-width: 560px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; margin: 2rem 0 1.6rem; }
.hero-trust { display: flex; flex-wrap: wrap; gap: .6rem 1.4rem; color: #aab3d0; font-size: .92rem; font-weight: 500; }
.hero-trust span { display: inline-flex; align-items: center; gap: .45rem; }
.hero-trust svg { width: 18px; height: 18px; color: var(--green); }

/* Hero visual: illustrative dashboard */
.viz { position: relative; }
.viz-card {
  background: rgba(255, 255, 255, .96); color: var(--ink); border-radius: var(--radius-lg); padding: 22px; box-shadow: var(--shadow-lg);
  transform: perspective(1200px) rotateY(-6deg) rotateX(3deg); transition: transform .5s;
}
.viz:hover .viz-card { transform: none; }
.viz-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; }
.viz-top b { font: 700 1rem var(--font-head); }
.pill { font-size: .72rem; font-weight: 700; padding: .25rem .65rem; border-radius: 999px; background: #e7fbef; color: #12803c; }
.viz-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 14px; }
.viz-stats div { background: #f5f3ff; border-radius: 14px; padding: 12px; }
.viz-stats small { display: block; color: var(--muted); font-size: .72rem; font-weight: 600; }
.viz-stats strong { font: 700 1.4rem var(--font-head); }
.viz svg.chart { width: 100%; height: 130px; }
.viz-float {
  position: absolute; background: #fff; color: var(--ink); border-radius: 16px; padding: 12px 16px; box-shadow: var(--shadow-lg);
  display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: .9rem; animation: float 6s ease-in-out infinite;
}
.viz-float .ic { width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; background: #e7fbef; color: #12803c; }
.viz-float small { display: block; color: var(--muted); font-weight: 500; font-size: .75rem; }
.viz-float.a { left: -28px; bottom: 36px; }
.viz-float.b { right: -14px; top: -22px; animation-delay: -3s; }
.viz-note { text-align: center; font-size: .72rem; color: #8f9ac0; margin-top: 18px; }
@keyframes float { 50% { transform: translateY(-10px); } }
@media (max-width: 940px) {
  .hero { padding: 56px 0 80px; }
  .hero-grid { grid-template-columns: 1fr; gap: 56px; }
  .viz-float.a { left: -6px; } .viz-float.b { right: -6px; }
}

/* Marquee */
.marquee { background: var(--navy-2); color: #cbd2ea; overflow: hidden; border-top: 1px solid rgba(255, 255, 255, .08); padding: 16px 0; }
.marquee-track { display: flex; gap: 2.5rem; width: max-content; animation: slide 45s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track span { display: inline-flex; align-items: center; gap: 2.5rem; font-weight: 600; font-size: .95rem; white-space: nowrap; }
.marquee-track span::after { content: "✦"; color: var(--lilac); }
@keyframes slide { to { transform: translateX(-50%); } }

/* Sections */
section { padding: 96px 0; }
.section-sm { padding: 64px 0; }
.section-head { max-width: 720px; margin-bottom: 3rem; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head p { color: var(--muted); font-size: 1.1rem; }
.bg-white { background: #fff; }
.bg-soft { background: linear-gradient(180deg, #f6f2ff, #fbfcfd); }
.bg-navy { background: var(--navy); color: #fff; }
.bg-navy .section-head p { color: #b8c0dc; }
.bg-navy h2, .bg-navy h3 { color: #fff; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
@media (max-width: 860px) { section { padding: 68px 0; } .split { grid-template-columns: 1fr; gap: 40px; } }

/* Cards */
.grid { display: grid; gap: 22px; }
.g2 { grid-template-columns: repeat(2, 1fr); }
.g3 { grid-template-columns: repeat(3, 1fr); }
.g4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 980px) { .g4 { grid-template-columns: repeat(2, 1fr); } .g3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .g2, .g3, .g4 { grid-template-columns: 1fr; } }
.card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 28px;
  transition: transform .25s, box-shadow .25s, border-color .25s; position: relative;
}
a.card { color: inherit; display: block; }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: #d7c6fb; }
.card h3 { margin-bottom: .4em; }
.card p { color: var(--muted); margin-bottom: 0; }
.icon-chip { width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; background: var(--violet-100); color: var(--violet); margin-bottom: 18px; }
.icon-chip svg { width: 26px; height: 26px; }
.more { display: inline-flex; align-items: center; gap: .4rem; font-weight: 700; margin-top: 1.1rem; color: var(--violet); }
.more::after { content: "→"; transition: transform .2s; }
.card:hover .more::after { transform: translateX(5px); }

/* Industry tabs/cards */
.industry { overflow: hidden; }
.industry::before { content: ""; position: absolute; right: -40px; top: -40px; width: 140px; height: 140px; border-radius: 50%; background: radial-gradient(circle, var(--violet-100), transparent 70%); }

/* Service category cards */
.svc-cat { padding: 32px; display: flex; flex-direction: column; }
.svc-cat .tag { font: 700 .75rem var(--font-body); letter-spacing: .12em; color: var(--violet); margin-bottom: .8rem; }
.checks { list-style: none; padding: 0; margin: 1.2rem 0 0; display: grid; gap: .65rem; }
.checks li { display: flex; gap: .65rem; align-items: flex-start; font-weight: 500; }
.checks li::before {
  content: ""; flex: none; width: 20px; height: 20px; margin-top: 2px; border-radius: 50%;
  background: var(--violet) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none' stroke='white' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5.5 10.5l3 3 6-7'/%3E%3C/svg%3E") center/16px no-repeat;
}
.dark-checks li::before { background-color: var(--green); }

/* Process */
.steps { counter-reset: s; display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; position: relative; }
@media (max-width: 860px) { .steps { grid-template-columns: 1fr; } }
.step { background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .12); border-radius: var(--radius-lg); padding: 32px; }
.step .n { font: 800 3.4rem/1 var(--font-head); background: linear-gradient(180deg, #c4a1ff, rgba(196, 161, 255, .1)); -webkit-background-clip: text; background-clip: text; color: transparent; margin-bottom: .6rem; }
.step p { color: #b8c0dc; margin: 0; }

/* Page hero (inner) */
.page-hero { background: var(--navy); color: #fff; padding: 72px 0 80px; position: relative; overflow: hidden; isolation: isolate; }
.page-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(500px 300px at 90% 0%, rgba(168, 85, 247, .5), transparent 60%), radial-gradient(400px 260px at 0% 100%, rgba(124, 58, 237, .4), transparent 60%); }
.page-hero h1 { font-size: clamp(2.2rem, 4.6vw, 3.6rem); max-width: 860px; }
.page-hero p { color: #c9d0e6; font-size: 1.15rem; max-width: 680px; margin: 0; }
.crumbs { font-size: .88rem; color: #aab3d0; margin-bottom: 1rem; }
.crumbs a { color: #c4a1ff; }

/* CTA band */
.cta-band { background: linear-gradient(135deg, var(--violet), #5b21b6); color: #fff; border-radius: 32px; padding: 64px 48px; text-align: center; position: relative; overflow: hidden; }
.cta-band::before { content: ""; position: absolute; width: 420px; height: 420px; right: -120px; top: -160px; background: radial-gradient(circle, rgba(255, 255, 255, .2), transparent 65%); }
.cta-band h2 { color: #fff; max-width: 700px; margin-inline: auto; }
.cta-band p { color: #e9defd; max-width: 600px; margin: 0 auto 2rem; font-size: 1.1rem; }
.cta-band .btns { display: flex; gap: .8rem; justify-content: center; flex-wrap: wrap; position: relative; }
.cta-band .btn-primary { background: #fff; color: var(--violet-600); box-shadow: none; }
.cta-band .btn-primary:hover { background: #f1e9ff; }
@media (max-width: 640px) { .cta-band { padding: 44px 24px; border-radius: 24px; } }

/* Blog */
.post-meta { display: flex; gap: .6rem; flex-wrap: wrap; align-items: center; font-size: .85rem; color: var(--muted); margin-bottom: .8rem; }
.badge { font-weight: 700; font-size: .72rem; letter-spacing: .06em; text-transform: uppercase; background: var(--violet-100); color: var(--violet); padding: .28rem .7rem; border-radius: 999px; }
.blog-card h3 { font-size: 1.25rem; }
.prose { max-width: 740px; margin-inline: auto; font-size: 1.1rem; }
.prose h2 { font-size: 1.7rem; margin-top: 2.2em; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li { margin-bottom: .5em; }
.prose .callout { background: var(--violet-100); border-left: 4px solid var(--violet); padding: 18px 22px; border-radius: 0 14px 14px 0; margin: 1.6em 0; font-weight: 500; }

/* Footer */
.site-footer { background: var(--navy); color: #b8c0dc; padding: 72px 0 28px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 40px; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }
.site-footer h4 { color: #fff; font-size: 1rem; margin-bottom: 1rem; }
.site-footer a { color: #b8c0dc; }
.site-footer a:hover { color: #fff; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .55rem; }
.site-footer .brand { color: #fff; margin-bottom: 1rem; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .1); margin-top: 48px; padding-top: 24px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; font-size: .9rem; }

/* Floating WhatsApp */
.wa-float {
  position: fixed; right: 20px; bottom: 20px; z-index: 60; width: 60px; height: 60px; border-radius: 50%; background: var(--green); color: #fff;
  display: grid; place-items: center; box-shadow: 0 12px 28px -6px rgba(37, 211, 102, .7); transition: transform .2s;
}
.wa-float:hover { transform: scale(1.08); color: #fff; }
.wa-float svg { width: 32px; height: 32px; }
.wa-float::after { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--green); animation: ping 2.4s infinite; }
@keyframes ping { to { transform: scale(1.5); opacity: 0; } }

/* Reveal */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}

/* Forms */
.form { display: grid; gap: 18px; }
.field { display: grid; gap: 6px; }
.field label, .legend { font-weight: 700; font-size: .92rem; }
.field label .req { color: var(--red); }
.input, select.input, textarea.input {
  width: 100%; font: 500 1rem var(--font-body); padding: .9rem 1rem; border: 1.5px solid var(--line); border-radius: 14px; background: #fff; color: var(--ink); transition: border-color .2s, box-shadow .2s;
}
.input:focus { outline: none; border-color: var(--violet); box-shadow: 0 0 0 4px rgba(124, 58, 237, .15); }
.input.invalid { border-color: var(--red); }
textarea.input { min-height: 130px; resize: vertical; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 640px) { .row2 { grid-template-columns: 1fr; } }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { position: relative; }
.chip input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.chip span { display: inline-block; padding: .55rem 1rem; border: 1.5px solid var(--line); border-radius: 999px; font-weight: 600; font-size: .9rem; background: #fff; transition: .15s; }
.chip input:checked + span { background: var(--violet); border-color: var(--violet); color: #fff; }
.chip input:focus-visible + span { outline: 3px solid var(--lilac); outline-offset: 2px; }
.hint { font-size: .85rem; color: var(--muted); }
.err { color: var(--red); font-size: .85rem; font-weight: 600; min-height: 1em; }
.form-msg { padding: 16px 18px; border-radius: 14px; font-weight: 600; display: none; }
.form-msg.ok { display: block; background: #e7fbef; color: #12803c; }
.form-msg.bad { display: block; background: #fee2e2; color: #b91c1c; }
.hp { position: absolute; left: -9999px; }

/* Tools */
.tool-tabs { display: flex; gap: 8px; overflow-x: auto; padding: 4px 2px 12px; margin-bottom: 18px; scrollbar-width: thin; }
.tool-tab {
  flex: none; display: inline-flex; align-items: center; gap: .55rem; background: #fff; border: 1.5px solid var(--line); border-radius: 999px; padding: .7rem 1.15rem;
  font: 700 .92rem var(--font-body); cursor: pointer; color: var(--ink); transition: .15s;
}
.tool-tab:hover { border-color: var(--violet); }
.tool-tab[aria-selected="true"] { background: var(--navy); color: #fff; border-color: var(--navy); }
.tool-tab svg { width: 18px; height: 18px; }
.tool-panel { display: none; }
.tool-panel.active { display: block; animation: fade .35s; }
@keyframes fade { from { opacity: 0; transform: translateY(8px); } }
.tool-wrap { display: grid; grid-template-columns: 1.05fr .95fr; gap: 24px; align-items: start; }
@media (max-width: 900px) { .tool-wrap { grid-template-columns: 1fr; } }
.panel { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 30px; box-shadow: var(--shadow-sm); }
.panel.dark { background: var(--navy); color: #fff; border-color: var(--navy); }
.panel h3 { margin-bottom: .3em; }
.panel .sub { color: var(--muted); margin-bottom: 1.4rem; }
.dark .sub { color: #b8c0dc; }
.slider { margin-bottom: 22px; }
.slider-top { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-bottom: 8px; font-weight: 700; font-size: .95rem; }
.slider-top output { font: 700 1.15rem var(--font-head); color: var(--violet); }
input[type="range"] { -webkit-appearance: none; appearance: none; width: 100%; height: 8px; border-radius: 99px; background: linear-gradient(90deg, var(--violet) var(--p, 50%), #e3e6f1 var(--p, 50%)); outline-offset: 6px; }
input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 26px; height: 26px; border-radius: 50%; background: #fff; border: 4px solid var(--violet); box-shadow: 0 3px 8px rgba(124, 58, 237, .4); cursor: grab; }
input[type="range"]::-moz-range-thumb { width: 20px; height: 20px; border-radius: 50%; background: #fff; border: 4px solid var(--violet); cursor: grab; }
.kpis { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 18px; }
.kpi { background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .12); border-radius: 16px; padding: 16px; }
.kpi small { display: block; color: #aab3d0; font-weight: 600; font-size: .78rem; text-transform: uppercase; letter-spacing: .06em; }
.kpi strong { display: block; font: 700 1.7rem/1.2 var(--font-head); word-break: break-word; }
.kpi em { font-style: normal; color: #aab3d0; font-size: .8rem; }
.kpi.hero-kpi { grid-column: 1 / -1; background: linear-gradient(135deg, rgba(124, 58, 237, .6), rgba(168, 85, 247, .3)); }
.kpi.hero-kpi strong { font-size: 2.3rem; }
.good { color: #6ee7a0; } .warn { color: #fcd34d; } .bad { color: #fca5a5; }
.bars { display: grid; gap: 10px; margin: 18px 0; }
.bar { display: grid; grid-template-columns: 90px 1fr auto; gap: 10px; align-items: center; font-size: .85rem; font-weight: 600; }
.bar i { display: block; height: 12px; border-radius: 99px; background: rgba(255, 255, 255, .12); overflow: hidden; }
.bar i b { display: block; height: 100%; border-radius: 99px; background: linear-gradient(90deg, var(--lilac), var(--green)); transition: width .4s; }
.note { font-size: .82rem; color: #8f9ac0; margin-top: 14px; }
.panel .note { color: var(--muted); }
.panel-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 20px; }

.q-list { display: grid; gap: 10px; }
.q { display: flex; gap: 14px; align-items: center; padding: 14px 16px; border: 1.5px solid var(--line); border-radius: 14px; cursor: pointer; transition: .15s; font-weight: 600; background: #fff; }
.q:hover { border-color: var(--violet); }
.q input { width: 20px; height: 20px; accent-color: var(--violet); flex: none; }
.q:has(input:checked) { background: var(--violet-100); border-color: var(--violet); }
.ring { position: relative; width: 190px; height: 190px; margin: 0 auto 10px; }
.ring svg { transform: rotate(-90deg); width: 100%; height: 100%; }
.ring .num { position: absolute; inset: 0; display: grid; place-items: center; text-align: center; font: 700 3.2rem/1 var(--font-head); }
.ring .num small { display: block; font: 600 .85rem var(--font-body); color: #aab3d0; margin-top: 4px; }
.level { text-align: center; font: 700 1.3rem var(--font-head); margin-bottom: 14px; }
.recs { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.recs li { background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .12); border-radius: 14px; padding: 12px 14px; font-size: .92rem; }
.recs li b { display: block; color: #fff; }
.recs li span { color: #b8c0dc; }

.plan-out { display: grid; gap: 12px; }
.plan-item { display: flex; gap: 14px; background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .12); border-radius: 16px; padding: 14px 16px; }
.plan-item .pr { flex: none; width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; background: var(--violet); font: 700 .95rem var(--font-head); }
.plan-item b { display: block; }
.plan-item span { color: #b8c0dc; font-size: .9rem; }
.roadmap { margin-top: 18px; display: grid; gap: 8px; font-size: .92rem; color: #cbd2ea; }
.roadmap b { color: #fff; }
.out-box { background: #f6f2ff; border: 1.5px dashed #c9b3f7; border-radius: 14px; padding: 16px; font-family: ui-monospace, Menlo, monospace; font-size: .88rem; word-break: break-all; color: var(--navy); }
.copied { color: #12803c; font-weight: 700; font-size: .88rem; }

.metric-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
@media (max-width: 700px) { .metric-grid { grid-template-columns: 1fr; } }
.metric { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 26px; }
.metric abbr { text-decoration: none; font: 800 .8rem var(--font-body); letter-spacing: .1em; color: var(--violet); }
.metric h3 { margin: .3em 0; }
.metric code { display: block; margin-top: 12px; background: var(--violet-100); border-radius: 10px; padding: 8px 12px; font-size: .88rem; color: var(--violet-600); }

/* Contact */
.contact-wrap { display: grid; grid-template-columns: .9fr 1.1fr; gap: 32px; align-items: start; }
@media (max-width: 900px) { .contact-wrap { grid-template-columns: 1fr; } }
.contact-line { display: flex; gap: 14px; align-items: center; padding: 16px 0; border-bottom: 1px solid var(--line); }
.contact-line:last-of-type { border-bottom: 0; }
.contact-line .icon-chip { margin: 0; width: 46px; height: 46px; border-radius: 14px; flex: none; }
.contact-line small { display: block; color: var(--muted); }
.contact-line b { font-size: 1.05rem; color: var(--ink); }

/* FAQ */
details.faq { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 18px 22px; transition: .2s; }
details.faq + details.faq { margin-top: 12px; }
details.faq[open] { border-color: #d7c6fb; box-shadow: var(--shadow-sm); }
details.faq summary { cursor: pointer; font-weight: 700; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
details.faq summary::-webkit-details-marker { display: none; }
details.faq summary::after { content: "+"; font: 600 1.5rem/1 var(--font-head); color: var(--violet); transition: transform .2s; }
details.faq[open] summary::after { transform: rotate(45deg); }
details.faq p { margin: 12px 0 0; color: var(--muted); }

.stat-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
@media (max-width: 760px) { .stat-row { grid-template-columns: repeat(2, 1fr); } }
.stat { text-align: center; padding: 8px; }
.stat b { display: block; font: 800 2.6rem/1 var(--font-head); background: linear-gradient(90deg, var(--violet), var(--lilac)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat span { color: var(--muted); font-weight: 600; font-size: .95rem; }

.notfound { min-height: 60vh; display: grid; place-items: center; text-align: center; }
.notfound h1 { font-size: clamp(5rem, 16vw, 10rem); background: linear-gradient(90deg, var(--violet), var(--lilac)); -webkit-background-clip: text; background-clip: text; color: transparent; }
