/* Zinro marketing site */
:root {
  --ev-primary: #7367f0;
  --ev-primary-dark: #5e50ee;
  --ev-primary-soft: rgba(115, 103, 240, .1);
  --ev-amber: #f5a524;
  --ev-amber-soft: rgba(245, 165, 36, .14);
  --ev-green: #28c76f;
  --ev-bg: #ffffff;
  --ev-bg-alt: #f7f7fb;
  --ev-surface: #ffffff;
  --ev-text: #2f2b3d;
  --ev-muted: #6d6b77;
  --ev-border: #e6e6ef;
  --ev-shadow: 0 10px 30px rgba(47, 43, 61, .08);
  --ev-shadow-lg: 0 24px 60px rgba(47, 43, 61, .14);
  --ev-radius: 1rem;
  --bs-primary: #7367f0;
  --bs-primary-rgb: 115, 103, 240;
  --bs-body-font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --bs-body-color: var(--ev-text);
  --bs-body-bg: var(--ev-bg);
  --bs-link-color: var(--ev-primary);
  --bs-link-hover-color: var(--ev-primary-dark);
  --bs-border-color: var(--ev-border);
}
[data-theme="dark"] {
  --ev-bg: #161622;
  --ev-bg-alt: #1d1d2c;
  --ev-surface: #25253a;
  --ev-text: #e7e6f3;
  --ev-muted: #a9a8bd;
  --ev-border: #34344d;
  --ev-primary-soft: rgba(115, 103, 240, .2);
  --ev-shadow: 0 10px 30px rgba(0, 0, 0, .35);
  --ev-shadow-lg: 0 24px 60px rgba(0, 0, 0, .5);
  --bs-body-color: var(--ev-text);
  --bs-body-bg: var(--ev-bg);
  --bs-border-color: var(--ev-border);
  --bs-secondary-color: var(--ev-muted);
  --bs-emphasis-color: #fff;
  color-scheme: dark;
}

html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body { background: var(--ev-bg); color: var(--ev-text); font-family: var(--bs-body-font-family); line-height: 1.65; -webkit-font-smoothing: antialiased; }
h1, h2, h3, h4, h5, h6 { color: var(--ev-text); font-weight: 700; letter-spacing: -.02em; line-height: 1.2; }
.text-muted, .text-secondary { color: var(--ev-muted) !important; }
a { text-decoration: none; }
:focus-visible { outline: 3px solid var(--ev-amber); outline-offset: 2px; border-radius: 4px; }
.skip-link { position: absolute; left: -9999px; top: 0; z-index: 2000; background: var(--ev-primary); color: #fff; padding: .6rem 1rem; border-radius: 0 0 .5rem 0; }
.skip-link:focus { left: 0; }

/* Buttons */
.btn { font-weight: 600; border-radius: .7rem; padding: .7rem 1.35rem; transition: transform .15s ease, box-shadow .15s ease, background .15s ease; }
.btn-primary { background: var(--ev-primary); border-color: var(--ev-primary); box-shadow: 0 6px 18px rgba(115, 103, 240, .35); }
.btn-primary:hover, .btn-primary:focus { background: var(--ev-primary-dark); border-color: var(--ev-primary-dark); transform: translateY(-1px); }
.btn-outline-primary { color: var(--ev-primary); border-color: var(--ev-primary); }
.btn-outline-primary:hover { background: var(--ev-primary); border-color: var(--ev-primary); }
.btn-amber { background: var(--ev-amber); color: #2f2b3d; border: 0; }
.btn-amber:hover { background: #e39310; color: #2f2b3d; }
.btn-light-soft { background: var(--ev-primary-soft); color: var(--ev-primary); border: 0; }
.btn-light-soft:hover { background: var(--ev-primary); color: #fff; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 1030; background: color-mix(in srgb, var(--ev-bg) 88%, transparent); backdrop-filter: saturate(160%) blur(12px); border-bottom: 1px solid var(--ev-border); }
.site-header .navbar { padding: .75rem 0; }
.brand { display: inline-flex; align-items: center; gap: .55rem; font-weight: 800; font-size: 1.35rem; color: var(--ev-text); letter-spacing: -.03em; }
.brand:hover { color: var(--ev-text); }
.brand-mark { width: 34px; height: 34px; border-radius: 10px; background: linear-gradient(135deg, var(--ev-primary), #9e95f5); display: grid; place-items: center; color: #fff; font-weight: 800; box-shadow: 0 6px 16px rgba(115, 103, 240, .4); }
.site-header .nav-link { color: var(--ev-muted); font-weight: 500; padding: .5rem .8rem !important; border-radius: .5rem; }
.site-header .nav-link:hover, .site-header .nav-link.active { color: var(--ev-primary); }
.site-header .nav-link.active { background: var(--ev-primary-soft); }
.navbar-toggler { border: 0; color: var(--ev-text); }
.navbar-toggler:focus { box-shadow: none; }
.theme-toggle { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--ev-border); background: var(--ev-surface); color: var(--ev-text); display: grid; place-items: center; }
.theme-toggle:hover { color: var(--ev-primary); }
[data-theme="dark"] .icon-sun { display: inline; }
[data-theme="dark"] .icon-moon, .icon-sun { display: none; }
@media (max-width: 1199.98px) {
  .site-header .navbar-collapse { padding: 1rem 0; }
}

/* Sections */
.section { padding: 5.5rem 0; }
.section-sm { padding: 3.5rem 0; }
.section-alt { background: var(--ev-bg-alt); }
.eyebrow { display: inline-flex; align-items: center; gap: .45rem; font-size: .8rem; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: var(--ev-primary); background: var(--ev-primary-soft); padding: .35rem .8rem; border-radius: 99px; margin-bottom: 1rem; }
.section-title { font-size: clamp(1.75rem, 3.2vw, 2.6rem); margin-bottom: 1rem; }
.section-lead { font-size: 1.12rem; color: var(--ev-muted); max-width: 640px; }
.mx-auto.section-lead { margin-left: auto; margin-right: auto; }

/* Hero: orbit */
.hero { position: relative; overflow: hidden; padding: 5rem 0 4.5rem; }
.hero h1 { font-size: clamp(2.3rem, 5vw, 3.8rem); font-weight: 800; letter-spacing: -.035em; line-height: 1.06; }
.hero h1 .accent { background: linear-gradient(90deg, var(--ev-primary), #a18cff 60%, var(--ev-amber)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero .lead { font-size: 1.2rem; color: var(--ev-muted); max-width: 520px; }
.hero-orbit { background:
  radial-gradient(640px 460px at 72% 50%, rgba(115, 103, 240, .16), transparent 70%),
  radial-gradient(500px 300px at 0% 100%, rgba(245, 165, 36, .1), transparent 60%), var(--ev-bg); }
.orbit { position: relative; width: min(100%, 540px); aspect-ratio: 1; margin: 0 auto; }
.orbit-ring { position: absolute; inset: var(--inset); border: 1.5px dashed rgba(115, 103, 240, .32); border-radius: 50%; animation: orbitSpin var(--t) linear infinite; }
.orbit-ring.rev { animation-direction: reverse; }
.orbit-slot { position: absolute; inset: 0; transform: rotate(var(--a)); }
.orbit-icon { position: absolute; top: 0; left: 50%; transform: translate(-50%, -50%) rotate(calc(-1 * var(--a))); }
.orbit-icon button { width: 78px; height: 78px; padding: 0; border-radius: 50%; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .15rem; background: var(--ev-surface); border: 1px solid var(--ev-border); box-shadow: var(--ev-shadow); color: var(--ev-text); cursor: pointer; animation: orbitSpin var(--t) linear infinite reverse; transition: scale .25s, box-shadow .25s, border-color .25s; }
.orbit-ring.rev .orbit-icon button { animation-direction: normal; }
.orbit-icon button:hover, .orbit-icon button.on, .orbit-icon button:focus-visible { scale: 1.14; outline: none; border-color: var(--ic); box-shadow: 0 0 0 6px color-mix(in srgb, var(--ic) 18%, transparent), var(--ev-shadow-lg); }
.orbit-icon i { font-size: 1.4rem; color: var(--ic); }
.orbit-icon small { font-size: .62rem; font-weight: 700; color: var(--ev-muted); }
.orbit.is-held .orbit-ring, .orbit.is-held .orbit-icon button, .orbit.is-paused .orbit-ring, .orbit.is-paused .orbit-icon button { animation-play-state: paused; }
.orbit-core { --core: #7367f0; position: absolute; inset: 34%; border-radius: 50%; display: grid; place-items: center; text-align: center; color: #fff;
  background: linear-gradient(135deg, var(--core), color-mix(in srgb, var(--core) 58%, #fff));
  box-shadow: 0 0 0 14px color-mix(in srgb, var(--core) 12%, transparent), 0 0 0 32px color-mix(in srgb, var(--core) 6%, transparent), 0 24px 50px color-mix(in srgb, var(--core) 45%, transparent);
  transition: background .4s, box-shadow .4s; }
.orbit-core > div { transition: opacity .18s, transform .18s; }
.orbit-core.swap > div { opacity: 0; transform: scale(.85); }
.core-mark { display: block; font-size: 2.9rem; font-weight: 800; line-height: 1; }
.core-mark i { font-size: 2.3rem; }
.orbit-core small { display: block; margin-top: .4rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; font-size: .72rem; opacity: .9; }
.orbit-caption { text-align: center; min-height: 3.2em; max-width: 440px; margin: 1.1rem auto 0; color: var(--ev-muted); font-size: 1.02rem; }
.orbit-caption strong { color: var(--ev-text); }
.orbit-pause { position: absolute; right: 1%; bottom: 1%; width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--ev-border); background: var(--ev-surface); color: var(--ev-muted); display: grid; place-items: center; font-size: .75rem; box-shadow: var(--ev-shadow); }
.orbit-pause:hover { color: var(--ev-primary); }
@keyframes orbitSpin { to { transform: rotate(360deg); } }
@media (max-width: 991.98px) { .hero { padding: 4rem 0 3rem; } }
@media (max-width: 575.98px) {
  .orbit-icon button { width: 60px; height: 60px; }
  .orbit-icon i { font-size: 1.1rem; }
  .orbit-icon small { font-size: .52rem; }
  .core-mark { font-size: 2rem; } .core-mark i { font-size: 1.6rem; }
  .orbit-core small { font-size: .58rem; letter-spacing: .08em; }
}
@media (prefers-reduced-motion: reduce) { .orbit-pause { display: none; } }

.page-hero { padding: 4.5rem 0 3rem; background: radial-gradient(800px 320px at 80% -20%, rgba(115, 103, 240, .16), transparent 60%); border-bottom: 1px solid var(--ev-border); }
.page-hero h1 { font-size: clamp(2rem, 4vw, 3rem); font-weight: 800; }

/* Cards */
.ev-card { background: var(--ev-surface); border: 1px solid var(--ev-border); border-radius: var(--ev-radius); padding: 1.75rem; box-shadow: var(--ev-shadow); height: 100%; transition: transform .2s ease, box-shadow .2s ease; }
.ev-card:hover { transform: translateY(-3px); box-shadow: var(--ev-shadow-lg); }
.ev-card h3 { font-size: 1.15rem; margin-bottom: .5rem; }
.ev-card p { color: var(--ev-muted); margin-bottom: 0; }
.icon-box { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; font-size: 1.5rem; background: var(--ev-primary-soft); color: var(--ev-primary); margin-bottom: 1.1rem; }
.icon-box.amber { background: var(--ev-amber-soft); color: #c27d0c; }
.icon-box.green { background: rgba(40,199,111,.14); color: #1f9d57; }

/* The Day timeline */

/* Boarding pass */
.boarding { display: flex; background: var(--ev-surface); border-radius: 1.2rem; box-shadow: var(--ev-shadow); overflow: hidden; border: 1px solid var(--ev-border); }
.boarding .bp-main { flex: 1; padding: 1.75rem; }
.boarding .bp-stub { width: 190px; padding: 1.75rem 1.25rem; border-left: 2px dashed var(--ev-border); background: var(--ev-primary-soft); position: relative; }
.boarding .bp-stub::before, .boarding .bp-stub::after { content: ""; position: absolute; left: -12px; width: 22px; height: 22px; border-radius: 50%; background: var(--ev-bg); }
.boarding .bp-stub::before { top: -11px; } .boarding .bp-stub::after { bottom: -11px; }
.bp-label { font-size: .7rem; text-transform: uppercase; letter-spacing: .12em; color: var(--ev-muted); font-weight: 700; }
.bp-value { font-weight: 800; font-size: 1.15rem; }
@media (max-width: 767.98px) { .boarding { flex-direction: column; } .boarding .bp-stub { width: auto; border-left: 0; border-top: 2px dashed var(--ev-border); } .boarding .bp-stub::before, .boarding .bp-stub::after { display: none; } }

/* Report marquee */
.marquee { overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee-track { display: flex; gap: .75rem; width: max-content; animation: marquee 50s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.chip { display: inline-flex; align-items: center; gap: .4rem; white-space: nowrap; padding: .55rem 1rem; border-radius: 99px; background: var(--ev-surface); border: 1px solid var(--ev-border); font-weight: 500; font-size: .92rem; }
.chip i { color: var(--ev-primary); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* Trust strip */
.trust-item { display: flex; gap: 1rem; align-items: flex-start; }
.trust-item .icon-box { flex-shrink: 0; margin-bottom: 0; }

/* Pricing */
.billing-switch { display: inline-flex; background: var(--ev-surface); border: 1px solid var(--ev-border); border-radius: 99px; padding: .3rem; box-shadow: var(--ev-shadow); }
.billing-switch button { border: 0; background: transparent; padding: .5rem 1.2rem; border-radius: 99px; font-weight: 600; color: var(--ev-muted); }
.billing-switch button.active { background: var(--ev-primary); color: #fff; }
.save-badge { font-size: .7rem; background: var(--ev-amber-soft); color: #b8750b; padding: .1rem .45rem; border-radius: 99px; margin-left: .3rem; }
.billing-switch button.active .save-badge { background: rgba(255,255,255,.2); color: #fff; }
.plan { position: relative; background: var(--ev-surface); border: 1px solid var(--ev-border); border-radius: 1.25rem; padding: 2rem; height: 100%; box-shadow: var(--ev-shadow); display: flex; flex-direction: column; }
.plan.popular { border: 2px solid var(--ev-primary); box-shadow: 0 20px 50px rgba(115, 103, 240, .22); }
.plan .popular-tag { position: absolute; top: -14px; left: 50%; transform: translateX(-50%); background: var(--ev-primary); color: #fff; font-size: .75rem; font-weight: 700; padding: .3rem .9rem; border-radius: 99px; white-space: nowrap; }
.plan .price { font-size: 2.4rem; font-weight: 800; letter-spacing: -.03em; }
.plan .price small { font-size: .95rem; color: var(--ev-muted); font-weight: 500; }
.plan ul { list-style: none; padding: 0; margin: 1.25rem 0 1.75rem; flex: 1; }
.plan li { padding: .4rem 0; display: flex; gap: .6rem; }
.plan li i { color: var(--ev-green); margin-top: .2rem; }
.placeholder-note { font-size: .78rem; color: #b8750b; background: var(--ev-amber-soft); border-radius: .4rem; padding: .15rem .5rem; display: inline-block; }

/* Plan builder / invoice */
.builder { background: var(--ev-surface); border: 1px solid var(--ev-border); border-radius: 1.25rem; box-shadow: var(--ev-shadow); padding: 2rem; }
.invoice-card { background: var(--ev-surface); border: 1px solid var(--ev-border); border-radius: 1rem; box-shadow: var(--ev-shadow-lg); overflow: hidden; position: sticky; top: 100px; }
.invoice-card .inv-head { background: linear-gradient(135deg, var(--ev-primary), #9087f3); color: #fff; padding: 1.25rem 1.5rem; }
.invoice-card .inv-body { padding: 1.25rem 1.5rem; }
.inv-line { display: flex; justify-content: space-between; gap: 1rem; padding: .55rem 0; border-bottom: 1px dashed var(--ev-border); font-size: .95rem; }
.inv-line span:last-child { font-variant-numeric: tabular-nums; white-space: nowrap; }
.inv-total { display: flex; justify-content: space-between; padding-top: 1rem; font-size: 1.3rem; font-weight: 800; }
.included-item { display: flex; align-items: center; gap: .9rem; height: 100%; padding: .9rem 1rem; background: var(--ev-surface); border: 1px solid var(--ev-border); border-radius: .9rem; font-weight: 600; }
.included-item .icon-box { flex-shrink: 0; width: 42px; height: 42px; font-size: 1.05rem; border-radius: 12px; }
.branch-stepper { display: inline-flex; align-items: stretch; border: 1px solid var(--ev-border); border-radius: .8rem; overflow: hidden; background: var(--ev-surface); }
.branch-stepper button { width: 48px; border: 0; background: var(--ev-bg-alt); color: var(--ev-primary); font-size: .95rem; }
.branch-stepper button:hover { background: var(--ev-primary-soft); }
.branch-stepper input { width: 80px; border: 0; text-align: center; font-size: 1.3rem; font-weight: 800; background: transparent; color: var(--ev-text); padding: .5rem 0; -moz-appearance: textfield; appearance: textfield; }
.branch-stepper input::-webkit-outer-spin-button, .branch-stepper input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.branch-stepper input:focus { outline: none; box-shadow: inset 0 0 0 2px var(--ev-primary); }
@media (max-width: 575.98px) { .billing-switch button { padding: .5rem .8rem; } }
.form-control, .form-select { background-color: var(--ev-surface); color: var(--ev-text); border-color: var(--ev-border); border-radius: .6rem; padding: .65rem .9rem; }
.form-control:focus, .form-select:focus { border-color: var(--ev-primary); box-shadow: 0 0 0 .2rem var(--ev-primary-soft); background-color: var(--ev-surface); color: var(--ev-text); }
.form-label { font-weight: 600; font-size: .92rem; }
.form-check-input:checked { background-color: var(--ev-primary); border-color: var(--ev-primary); }

/* Steps */
.step-num { width: 44px; height: 44px; border-radius: 50%; background: var(--ev-primary); color: #fff; display: grid; place-items: center; font-weight: 800; margin-bottom: 1rem; box-shadow: 0 0 0 6px var(--ev-primary-soft); }

/* Product page */
.module-nav { position: sticky; top: 90px; }
.module-nav .nav-link { color: var(--ev-muted); padding: .45rem .9rem; border-radius: .5rem; font-weight: 500; border-left: 3px solid transparent; }
.module-nav .nav-link.active, .module-nav .nav-link:hover { color: var(--ev-primary); background: var(--ev-primary-soft); border-left-color: var(--ev-primary); }
.module-pills { position: sticky; top: 72px; z-index: 10; background: var(--ev-bg); padding: .6rem 0; border-bottom: 1px solid var(--ev-border); overflow-x: auto; white-space: nowrap; }
.module-pills a { display: inline-block; padding: .35rem .8rem; border-radius: 99px; color: var(--ev-muted); font-size: .9rem; font-weight: 500; }
.module-pills a.active { background: var(--ev-primary); color: #fff; }
.module { padding: 3.5rem 0; border-bottom: 1px solid var(--ev-border); }
.module:last-of-type { border-bottom: 0; }
.check-list { list-style: none; padding: 0; margin: 1rem 0 0; }
.check-list li { position: relative; padding: .35rem 0 .35rem 1.9rem; }
.check-list li::before { content: ""; position: absolute; left: 0; top: .6rem; width: 1.15rem; height: 1.15rem; border-radius: 50%; background: var(--ev-primary-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%237367f0'%3E%3Cpath d='M6.2 11.3 3.1 8.2l1-1 2.1 2.1 5.7-5.7 1 1z'/%3E%3C/svg%3E") center/80% no-repeat; }
/* Feature art: a small orbit per product module (used instead of screenshots) */
.feature-art { --c: #7367f0; position: relative; aspect-ratio: 4 / 3; border-radius: 1.4rem; overflow: hidden; border: 1px solid var(--ev-border); box-shadow: var(--ev-shadow);
  background: radial-gradient(circle at 50% 50%, color-mix(in srgb, var(--c) 16%, transparent), transparent 62%), radial-gradient(circle, color-mix(in srgb, var(--c) 22%, transparent) 1px, transparent 1.5px) 0 0 / 18px 18px, var(--ev-surface); }
.art-ring { position: absolute; left: 50%; top: 50%; border-radius: 50%; border: 1.5px dashed color-mix(in srgb, var(--c) 35%, transparent); transform: translate(-50%, -50%); animation: orbitSpinCentered 60s linear infinite; }
.art-ring.r1 { width: 46%; aspect-ratio: 1; }
.art-ring.r2 { width: 78%; aspect-ratio: 1; animation-direction: reverse; animation-duration: 90s; }
@keyframes orbitSpinCentered { to { transform: translate(-50%, -50%) rotate(360deg); } }
.art-core { position: absolute; left: 50%; top: 50%; width: 25%; aspect-ratio: 1; transform: translate(-50%, -50%); border-radius: 50%; display: grid; place-items: center; color: #fff; font-size: clamp(1.5rem, 3vw, 2.2rem);
  background: linear-gradient(135deg, var(--c), color-mix(in srgb, var(--c) 55%, #fff));
  box-shadow: 0 0 0 10px color-mix(in srgb, var(--c) 12%, transparent), 0 0 0 22px color-mix(in srgb, var(--c) 6%, transparent), 0 18px 40px color-mix(in srgb, var(--c) 40%, transparent); }
.art-chip { position: absolute; display: inline-flex; align-items: center; gap: .5rem; white-space: nowrap; padding: .5rem .85rem .5rem .55rem; border-radius: 99px; background: var(--ev-surface); border: 1px solid var(--ev-border); box-shadow: var(--ev-shadow); font-size: .82rem; font-weight: 700; color: var(--ev-text); animation: chipBob 5s ease-in-out infinite; }
.art-chip i { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; font-size: .75rem; color: var(--c); background: color-mix(in srgb, var(--c) 14%, transparent); }
.art-chip.s0 { left: 5%; top: 11%; animation-delay: 0s; }
.art-chip.s1 { right: 5%; top: 21%; animation-delay: -1.2s; }
.art-chip.s2 { left: 6%; bottom: 21%; animation-delay: -2.5s; }
.art-chip.s3 { right: 6%; bottom: 9%; animation-delay: -3.7s; }
@keyframes chipBob { 50% { transform: translateY(-7px); } }
.feature-art:hover .art-chip { box-shadow: var(--ev-shadow-lg); border-color: color-mix(in srgb, var(--c) 40%, transparent); }
@media (max-width: 575.98px) { .art-chip { font-size: .7rem; padding: .35rem .65rem .35rem .4rem; gap: .35rem; } .art-chip i { width: 20px; height: 20px; font-size: .62rem; } }
.report-group h3 { font-size: 1rem; text-transform: uppercase; letter-spacing: .08em; color: var(--ev-primary); margin-bottom: .75rem; }
.report-item { padding: .45rem .75rem; border-radius: .5rem; display: flex; align-items: center; gap: .55rem; }
.report-item:hover { background: var(--ev-primary-soft); }
.report-item i { color: var(--ev-muted); }
.report-item .fmt { margin-left: auto; font-size: .7rem; color: var(--ev-muted); }

/* FAQ */
.accordion { --bs-accordion-bg: var(--ev-surface); --bs-accordion-color: var(--ev-text); --bs-accordion-border-color: var(--ev-border); --bs-accordion-btn-color: var(--ev-text); --bs-accordion-active-bg: var(--ev-primary-soft); --bs-accordion-active-color: var(--ev-primary); --bs-accordion-btn-focus-box-shadow: 0 0 0 .2rem var(--ev-primary-soft); --bs-accordion-border-radius: .9rem; --bs-accordion-inner-border-radius: .9rem; }
.accordion-item { margin-bottom: .75rem; border: 1px solid var(--ev-border) !important; border-radius: .9rem !important; overflow: hidden; }
.accordion-button { font-weight: 600; padding: 1.1rem 1.25rem; }
.accordion-body { color: var(--ev-muted); }
[data-theme="dark"] .accordion-button::after { filter: invert(1) brightness(1.5); }
.faq-tabs .nav-link { color: var(--ev-muted); border-radius: 99px; font-weight: 600; padding: .45rem 1rem; }
.faq-tabs .nav-link.active { background: var(--ev-primary); color: #fff; }
.search-box { position: relative; }
.search-box i { position: absolute; left: 1rem; top: 50%; transform: translateY(-50%); color: var(--ev-muted); }
.search-box input { padding-left: 2.6rem; border-radius: 99px; height: 52px; }

/* Testimonials */
.quote-card { position: relative; }
.quote-card::before { content: "\201C"; position: absolute; top: .5rem; right: 1.25rem; font-size: 5rem; line-height: 1; color: var(--ev-primary-soft); font-family: Georgia, serif; }
.avatar { width: 46px; height: 46px; border-radius: 50%; background: var(--ev-primary-soft); color: var(--ev-primary); display: grid; place-items: center; font-weight: 700; }

/* CTA */
.cta-band { background: linear-gradient(135deg, #5e50ee, #7367f0 45%, #9d8ff8); color: #fff; border-radius: 1.5rem; padding: 3.5rem 2rem; position: relative; overflow: hidden; }
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(255,255,255,.85); }
.cta-band .plane { position: absolute; right: -20px; top: -10px; font-size: 9rem; opacity: .1; transform: rotate(-20deg); }

/* Legal */
.legal { max-width: 780px; }
.legal h2 { font-size: 1.35rem; margin-top: 2.25rem; }
.legal p, .legal li { color: var(--ev-muted); }
.draft-banner { background: var(--ev-amber-soft); border: 1px solid rgba(245,165,36,.4); border-radius: .8rem; padding: 1rem 1.25rem; color: var(--ev-text); }

/* Contact */
.contact-detail { display: flex; gap: 1rem; padding: 1rem 0; border-bottom: 1px solid var(--ev-border); }
.contact-detail:last-child { border-bottom: 0; }
.map-ph { aspect-ratio: 16 / 9; border-radius: 1rem; background: repeating-linear-gradient(45deg, var(--ev-bg-alt) 0 14px, var(--ev-surface) 14px 28px); border: 1px solid var(--ev-border); display: grid; place-items: center; color: var(--ev-muted); text-align: center; }
.form-success { display: none; }
.form-success.show { display: block; animation: pop .4s ease; }
@keyframes pop { from { opacity: 0; transform: scale(.96); } }

/* Footer */
.site-footer { background: #1e1b2e; color: #b9b6c9; padding: 4rem 0 1.5rem; }
.site-footer .brand { color: #fff; }
.site-footer h4 { color: #fff; font-size: .85rem; text-transform: uppercase; letter-spacing: .1em; margin-bottom: 1rem; }
.site-footer a { color: #b9b6c9; }
.site-footer a:hover { color: #fff; }
.site-footer ul { list-style: none; padding: 0; }
.site-footer li { padding: .25rem 0; }
.social a { width: 38px; height: 38px; border-radius: 50%; display: inline-grid; place-items: center; background: rgba(255,255,255,.08); margin-right: .4rem; }
.social a:hover { background: var(--ev-primary); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); margin-top: 3rem; padding-top: 1.5rem; font-size: .9rem; }

/* WhatsApp float */
.wa-float { position: fixed; right: 1.25rem; bottom: 1.25rem; z-index: 1040; width: 58px; height: 58px; border-radius: 50%; background: #25d366; color: #fff; display: grid; place-items: center; font-size: 1.75rem; box-shadow: 0 10px 25px rgba(37, 211, 102, .45); transition: transform .2s; }
.wa-float:hover { color: #fff; transform: scale(1.07); }

/* Reveal animation */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

.bento { display: grid; gap: 1.25rem; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-template-areas: "inv inv owe owe" "inv inv br cur" "com com rep rep"; }
.bento-inv { grid-area: inv; } .bento-owe { grid-area: owe; } .bento-br { grid-area: br; } .bento-cur { grid-area: cur; } .bento-com { grid-area: com; } .bento-rep { grid-area: rep; }
.bento-tile { display: flex; flex-direction: column; gap: 1.25rem; background: var(--ev-surface); border: 1px solid var(--ev-border); border-radius: 1.25rem; padding: 1.5rem; transition: transform .3s, box-shadow .3s, border-color .3s; }
.bento-tile:hover { transform: translateY(-4px); box-shadow: var(--ev-shadow-lg); border-color: rgba(115,103,240,.35); }
.bento-kicker { display: inline-flex; align-items: center; gap: .4rem; font-size: .75rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--ev-primary); margin-bottom: .6rem; }
.bento-copy h3 { font-size: 1.2rem; font-weight: 800; margin-bottom: .35rem; }
.bento-copy p { color: var(--ev-muted); margin: 0; font-size: .95rem; }
.bento-inv .bento-copy h3 { font-size: 1.6rem; }
.bento-visual { margin-top: auto; background: var(--ev-bg-alt); border-radius: .9rem; padding: 1rem; }
.bento-inv .bento-visual { flex: 1; display: flex; align-items: center; justify-content: center; padding: 1.5rem; background: radial-gradient(circle at 80% 10%, var(--ev-primary-soft), transparent 60%), var(--ev-bg-alt); }

/* mini invoice */
.mini-invoice { width: 100%; max-width: 420px; background: var(--ev-surface); border: 1px solid var(--ev-border); border-radius: .9rem; box-shadow: var(--ev-shadow); padding: 1rem 1.1rem; }
.mi-head { display: flex; justify-content: space-between; align-items: center; padding-bottom: .7rem; margin-bottom: .3rem; border-bottom: 1px dashed var(--ev-border); }
.mi-badge { font-size: .7rem; font-weight: 700; padding: .2rem .6rem; border-radius: 99px; }
.mi-badge.green { background: rgba(40,199,111,.15); color: #1f9d57; }
.mi-row { display: flex; align-items: center; gap: .75rem; padding: .55rem 0; border-bottom: 1px solid var(--ev-border); }
.mi-icon { flex-shrink: 0; width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; background: var(--ev-primary-soft); color: var(--ev-primary); font-size: .9rem; }
.mi-icon.amber { background: var(--ev-amber-soft); color: #c27d0c; }
.mi-icon.green { background: rgba(40,199,111,.14); color: #1f9d57; }
.mi-text { flex: 1; min-width: 0; line-height: 1.25; }
.mi-text strong { display: block; font-size: .88rem; }
.mi-text small { color: var(--ev-muted); font-size: .75rem; }
.mi-amount { width: 64px; height: 9px; border-radius: 99px; background: var(--ev-border); }
.mi-amount.strong { width: 88px; height: 12px; background: var(--ev-primary); opacity: .85; }
.mi-total { display: flex; justify-content: space-between; align-items: center; padding-top: .75rem; font-weight: 700; }

/* aging bar */
.aging { display: flex; height: 14px; border-radius: 99px; overflow: hidden; background: var(--ev-border); gap: 3px; }
.aging-legend { display: flex; flex-wrap: wrap; gap: .4rem 1rem; margin-top: .8rem; font-size: .78rem; color: var(--ev-muted); }
.aging-legend i { display: inline-block; width: 8px; height: 8px; border-radius: 50%; margin-right: .35rem; }

/* branches */
.branch-row { display: flex; align-items: center; gap: .6rem; font-size: .8rem; font-weight: 600; }
.branch-row + .branch-row { margin-top: .55rem; }
.branch-row > span:first-child { width: 4.6rem; flex-shrink: 0; }
.branch-bar { flex: 1; height: 8px; border-radius: 99px; background: var(--ev-border); overflow: hidden; }
.branch-bar .grow-x { display: block; height: 100%; border-radius: 99px; background: linear-gradient(90deg, var(--ev-primary), #9d8ff8); }

/* currency */
.fx { display: grid; grid-template-columns: 1fr auto 1fr; grid-template-rows: auto auto; gap: .5rem; align-items: center; }
.fx-pill { text-align: center; font-weight: 800; font-size: .82rem; letter-spacing: .05em; padding: .4rem 0; border-radius: .6rem; background: var(--ev-surface); border: 1px solid var(--ev-border); }
.fx-pill:nth-child(1) { grid-area: 1 / 1; } .fx-pill:nth-child(2) { grid-area: 1 / 3; } .fx-pill:nth-child(4) { grid-area: 2 / 1; } .fx-pill:nth-child(5) { grid-area: 2 / 3; }
.fx-swap { grid-area: 1 / 2 / 3 / 3; width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: var(--ev-amber); color: #fff; box-shadow: 0 6px 16px rgba(245,165,36,.35); }

/* commission stepper */
.stepper { list-style: none; display: flex; margin: 0; padding: .25rem 0; }
.stepper li { flex: 1; position: relative; display: flex; flex-direction: column; align-items: center; gap: .45rem; font-size: .8rem; font-weight: 600; color: var(--ev-muted); }
.stepper li::before { content: ""; position: absolute; top: 17px; right: 50%; width: 100%; height: 3px; background: var(--ev-border); z-index: 0; }
.stepper li:first-child::before { display: none; }
.stepper li.done::before, .stepper li.now::before { background: var(--ev-green); }
.stepper li > span { position: relative; z-index: 1; width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: var(--ev-surface); border: 2px solid var(--ev-border); font-size: .85rem; }
.stepper li.done > span { background: var(--ev-green); border-color: var(--ev-green); color: #fff; }
.stepper li.done, .stepper li.now { color: var(--ev-text); }
.stepper li.now > span { background: var(--ev-primary); border-color: var(--ev-primary); color: #fff; box-shadow: 0 0 0 6px var(--ev-primary-soft); }

/* reports chart */
.mini-chart { display: flex; align-items: flex-end; gap: 5px; height: 84px; }
.mini-chart span { flex: 1; height: var(--h); border-radius: 4px 4px 0 0; background: linear-gradient(180deg, var(--ev-primary), rgba(115,103,240,.35)); }
.mini-actions { display: flex; gap: .5rem; margin-top: .8rem; }
.mini-actions span { display: inline-flex; align-items: center; gap: .35rem; font-size: .75rem; font-weight: 700; padding: .3rem .7rem; border-radius: .5rem; background: var(--ev-surface); border: 1px solid var(--ev-border); }
.mini-actions .fa-file-pdf { color: #ff4c51; }

/* entrance: bars and rows animate once the tile is revealed */
.bento .grow-x { width: 0; transition: width .9s cubic-bezier(.2,.8,.2,1) .25s; }
.bento .reveal.in .grow-x, .no-js .bento .grow-x { width: var(--w); }
.bento .mi-row { opacity: 0; transform: translateX(-10px); transition: opacity .4s, transform .4s; transition-delay: calc(.2s + var(--i) * .12s); }
.bento .reveal.in .mi-row, .no-js .bento .mi-row { opacity: 1; transform: none; }
.bento .mini-chart span { transform: scaleY(0); transform-origin: bottom; transition: transform .6s cubic-bezier(.2,.8,.2,1); transition-delay: calc(.2s + var(--i) * .05s); }
.bento .reveal.in .mini-chart span, .no-js .bento .mini-chart span { transform: none; }
@media (max-width: 991.98px) {
  .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-areas: "inv inv" "owe owe" "br cur" "com com" "rep rep"; }
}
@media (max-width: 575.98px) {
  .bento { grid-template-columns: minmax(0, 1fr); grid-template-areas: "inv" "owe" "br" "cur" "com" "rep"; }
  .bento-inv .bento-copy h3 { font-size: 1.35rem; }
  .bento-inv .bento-visual { padding: 1rem; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}
@media (max-width: 991.98px) {
  .section { padding: 4rem 0; }
  .invoice-card { position: static; }
}
