/* WhatsApp AI agents page: dark "AI desk" hero. Prefix: ai- */
.pg-ai.fhero::after { background: radial-gradient(40% 50% at 80% 30%, rgba(37,211,102,.14), transparent 70%); }
.pg-ai .fhero-visual { perspective: none; }
.ai-rules { width: min(100%, 440px); display: grid; gap: 14px; padding: 22px; border-radius: var(--r-xl); background: #15141B; border: 1px solid rgba(255,255,255,.1); color: #E6E3F0; box-shadow: 0 30px 60px -30px rgba(0,0,0,.6); }
.ai-rules .mono { color: #9A95A8; }
.ai-rules ul { display: grid; gap: 4px; }
.ai-rules li { display: flex; gap: 14px; align-items: center; padding: 11px 4px; border-top: 1px solid rgba(255,255,255,.08); }
.ai-rules li:first-child { border-top: 0; }
.ai-rules b { display: block; font-size: .92rem; font-weight: 550; color: #fff; }
.ai-rules small { display: block; font-size: .78rem; color: #9A95A8; }
.ai-rules .off { opacity: .55; }
.ai-sw { flex: none; width: 36px; height: 20px; border-radius: 999px; background: #3A3845; position: relative; }
.ai-sw::after { content: ''; position: absolute; top: 2px; left: 2px; width: 16px; height: 16px; border-radius: 50%; background: #fff; transition: transform .2s; }
.ai-sw.on { background: #25D366; } .ai-sw.on::after { transform: translateX(16px); }

/* desk frame around the lab */
.ai-desk { margin-top: clamp(40px, 6vw, 72px); border-radius: var(--r-xl); border: 1px solid rgba(255,255,255,.12); background: #101015; padding: 0 0 clamp(20px, 3vw, 36px); color: #E6E3F0; overflow: hidden; box-shadow: 0 40px 80px -40px rgba(0,0,0,.7); }
.ai-desk-bar { display: flex; align-items: center; gap: 14px; padding: 12px 18px; border-bottom: 1px solid rgba(255,255,255,.08); background: #17161D; }
.ai-desk-bar b { color: #fff; }
.ai-desk-sub { color: #77747F; display: none; }
@media (min-width: 640px) { .ai-desk-sub { display: inline; } }
.ai-dots { display: flex; gap: 6px; } .ai-dots i { width: 10px; height: 10px; border-radius: 50%; background: #34323D; }
.ai-live { margin-left: auto; display: inline-flex; align-items: center; gap: 7px; font-family: var(--mono); font-size: .68rem; letter-spacing: .04em; text-transform: uppercase; color: #7BE0A2; }
.ai-live i { width: 7px; height: 7px; border-radius: 50%; background: #25D366; animation: aiPulse 1.6s infinite; }
@keyframes aiPulse { 50% { opacity: .3; } }
.ai-desk .sc { padding: clamp(20px, 3vw, 36px) clamp(16px, 3vw, 36px) 0; }
.ai-desk .sc-head h2 { color: #fff; }
.ai-desk .sc-head .mono, .ai-desk .sc-side-h, .ai-desk .sc-hint, .ai-desk .sc-cap { color: #9A95A8; }
.ai-desk .lead { color: #BDB9C8; }
.ai-desk .sc-tab { background: transparent; border-color: rgba(255,255,255,.18); color: #E6E3F0; }
.ai-desk .sc-tab:hover { border-color: #fff; }
.ai-desk .sc-tab.is-on { background: #fff; color: var(--ink); border-color: #fff; }
.ai-desk .sc-phone { box-shadow: 0 0 0 1px rgba(255,255,255,.12), 0 30px 60px -24px rgba(0,0,0,.8); }
.ai-desk .sc-ev { background: #1A1920; border-color: rgba(255,255,255,.1); box-shadow: none; }
.ai-desk .sc-ev-ic { background: color-mix(in srgb, var(--kc) 22%, #1A1920); color: color-mix(in srgb, var(--kc) 55%, #fff); }
.ai-desk .sc-ev small { color: color-mix(in srgb, var(--kc) 50%, #fff); }
.ai-desk .sc-ev b { color: #fff; } .ai-desk .sc-ev p { color: #BDB9C8; }
.ai-desk .sc-ev pre { background: #0A0A0E; }
.ai-desk .sc-empty { border-color: rgba(255,255,255,.18); color: #9A95A8; }
.ai-desk .sc-btn { background: transparent; border-color: rgba(255,255,255,.18); color: #E6E3F0; }
.ai-desk .sc-btn:hover { border-color: #fff; }
.ai-desk .sc-btn--next { background: #fff; color: var(--ink); border-color: #fff; }
.ai-desk .sc-static { background: #17161D; border-color: rgba(255,255,255,.1); color: #E6E3F0; }
.ai-desk .sc-st-step { color: #BDB9C8; border-color: rgba(255,255,255,.18); } .ai-desk .sc-st-log { color: #C9A8FF; }
.ai-desk .sc-st-tab p { color: #BDB9C8; }
.ai-desk .k-crm, .ai-desk .k-ai { --kc: #4ADE80; }
.ai-desk .k-crm { --kc: #C18BFF; } .ai-desk .k-assign { --kc: #7FB0FF; } .ai-desk .k-alert { --kc: #FF8A8A; } .ai-desk .k-meta { --kc: #6FB1FF; } .ai-desk .k-tag { --kc: #F5B461; }

/* light sections */
.ai-sec .ai-p { color: var(--ink-2); max-width: 64ch; margin-top: 14px; }
.ai-center { margin-inline: auto; text-align: center; }
.ai-sec { background: var(--bg); }
.ai-think { display: grid; gap: 16px; counter-reset: x; }
@media (min-width: 900px) { .ai-think { grid-template-columns: repeat(3, 1fr); gap: 0; } .ai-think li { border-radius: 0; } .ai-think li:first-child { border-radius: var(--r-lg) 0 0 var(--r-lg); } .ai-think li:last-child { border-radius: 0 var(--r-lg) var(--r-lg) 0; } .ai-think li + li { border-left: 0; } }
.ai-think li { display: grid; gap: 10px; align-content: start; padding: 28px; border: 1px solid var(--line-2); background: var(--surface); border-radius: var(--r-lg); }
.ai-think li p { color: var(--ink-2); }
.ai-think h3 { font-size: 1.2rem; }
.ai-n { width: 34px; height: 34px; border-radius: 10px; background: var(--ink); color: #fff; display: grid; place-items: center; font-family: var(--mono); font-size: .85rem; }
.ai-think q { display: block; margin-top: 6px; padding: 10px 12px; border-radius: 12px 12px 12px 3px; background: var(--wa-bubble); font-size: .88rem; quotes: none; color: #111; }

.ai-guard-grid { display: grid; gap: 28px; align-items: start; }
@media (min-width: 960px) { .ai-guard-grid { grid-template-columns: 1fr 1.1fr; gap: 48px; } }
.ai-dials { display: grid; gap: 12px; }
.ai-dials li { display: flex; gap: 16px; padding: 18px 20px; border: 1px solid var(--line); border-radius: var(--r); background: var(--surface); }
.ai-dials .ic { width: 22px; height: 22px; color: var(--wa-ink); margin-top: 3px; }
.ai-dials h3 { font-size: 1.02rem; margin-bottom: 4px; }
.ai-dials p { color: var(--ink-2); font-size: .92rem; }
.ai-test { padding: 22px; border-radius: var(--r-xl); background: var(--ink); color: #E6E3F0; display: grid; gap: 16px; }
.ai-test .mono { color: #9A95A8; }
.ai-test-in { display: grid; gap: 8px; }
.ai-r { position: absolute; opacity: 0; pointer-events: none; }
.ai-test label { padding: 11px 14px; border-radius: 12px 12px 12px 3px; border: 1px solid rgba(255,255,255,.14); cursor: pointer; font-size: .92rem; transition: background-color .2s, border-color .2s; }
.ai-test label:hover { border-color: rgba(255,255,255,.4); }
.ai-r:checked + label { background: var(--wa-bubble); color: #111; border-color: var(--wa-bubble); }
.ai-r:focus-visible + label { outline: 2px solid #fff; outline-offset: 2px; }
.ai-out { display: none; gap: 10px; padding: 16px; border-radius: var(--r); background: #1E1D25; }
.ai-out p { font-size: .9rem; color: #BDB9C8; } .ai-out b { color: #fff; font-weight: 550; }
.ai-badge { display: inline-flex; align-items: center; gap: 8px; width: fit-content; padding: 5px 11px; border-radius: 999px; font-size: .8rem; font-weight: 600; }
.ai-badge .ic { width: 15px; height: 15px; }
.ai-out--ai .ai-badge { background: #123D26; color: #7BE0A2; } .ai-out--person .ai-badge { background: #3B2A12; color: #F5B461; } .ai-out--mix .ai-badge { background: #1E2A4A; color: #9CC0FF; }
.ai-test:has(#ai-t0:checked) .o0, .ai-test:has(#ai-t1:checked) .o1, .ai-test:has(#ai-t2:checked) .o2, .ai-test:has(#ai-t3:checked) .o3, .ai-test:has(#ai-t4:checked) .o4, .ai-test:has(#ai-t5:checked) .o5 { display: grid; }
.ai-test:not(:has(.ai-r:checked)) .o0 { display: grid; }

.ai-split { display: grid; gap: 36px; align-items: start; }
@media (min-width: 900px) { .ai-split { grid-template-columns: 1fr 1fr; gap: 64px; } }
.ai-review { padding: 26px; border-radius: var(--r-xl); border: 1px solid var(--line-2); background: var(--surface); display: grid; gap: 14px; }
.ai-review ol { display: grid; gap: 0; counter-reset: r; }
.ai-review li { counter-increment: r; display: grid; gap: 2px; padding: 14px 0 14px 44px; border-top: 1px solid var(--line); position: relative; }
.ai-review li::before { content: counter(r); position: absolute; left: 0; top: 14px; width: 28px; height: 28px; border-radius: 50%; background: var(--mint); color: var(--wa-ink); display: grid; place-items: center; font-family: var(--mono); font-size: .8rem; }
.ai-review li span { color: var(--ink-2); font-size: .92rem; }

.ai-cmp { border: 1px solid var(--line-2); border-radius: var(--r-lg); overflow: hidden; background: var(--surface); }
.ai-cmp-row { display: grid; grid-template-columns: 1fr; border-top: 1px solid var(--line); }
.ai-cmp-row > span { padding: 14px 18px; font-size: .94rem; color: var(--ink-2); }
.ai-cmp-h { display: none; border-top: 0; background: var(--ink); }
.ai-cmp-h span { color: #fff; font-weight: 600; display: flex; align-items: center; gap: 8px; } .ai-cmp-h .ic { width: 17px; height: 17px; }
.ai-cmp-k { font-weight: 600; color: var(--ink) !important; background: var(--bg); }
.ai-cmp-row > span[data-l]::before { content: attr(data-l) ': '; font-family: var(--mono); font-size: .7rem; text-transform: uppercase; color: var(--ink-3); display: block; }
@media (min-width: 800px) { .ai-cmp-row { grid-template-columns: .8fr 1fr 1fr; } .ai-cmp-h { display: grid; } .ai-cmp-row > span[data-l]::before { display: none; } .ai-cmp-row > span + span { border-left: 1px solid var(--line); } .ai-cmp-row:not(.ai-cmp-h) > span:last-child { background: #F4FBF6; } }

.ai-policy { margin-top: 32px; display: flex; gap: 18px; padding: 24px; border-radius: var(--r-lg); border: 1px solid #CFE0F8; background: #F1F6FD; }
.ai-policy h3 { font-size: 1.05rem; margin-bottom: 6px; } .ai-policy p { color: var(--ink-2); font-size: .94rem; }
.ai-policy-ic { flex: none; width: 42px; height: 42px; border-radius: 12px; background: #fff; display: grid; place-items: center; }

.ai-voice-sec { padding-block: clamp(32px, 5vw, 56px); }
.ai-voice { display: grid; gap: 18px; align-items: center; padding: 28px; border-radius: var(--r-xl); background: var(--ink); color: #E6E3F0; position: relative; overflow: hidden; }
@media (min-width: 800px) { .ai-voice { grid-template-columns: auto 1fr auto; gap: 28px; padding: 32px 40px; } }
.ai-voice .mono { color: #F5B461; } .ai-voice h2 { font-size: clamp(1.4rem, 3vw, 2rem); color: #fff; margin: 4px 0 8px; } .ai-voice p { color: #BDB9C8; } .ai-voice .u { color: #fff; }
.ai-voice-ic { width: 52px; height: 52px; border-radius: 16px; background: rgba(255,255,255,.08); display: grid; place-items: center; } .ai-voice-ic .ic { color: #fff; width: 24px; height: 24px; }
.ai-wave { display: flex; gap: 4px; align-items: center; height: 40px; opacity: .6; }
.ai-wave i { width: 4px; border-radius: 2px; background: #7BE0A2; height: 30%; animation: aiW 1.2s ease-in-out infinite; }
.ai-wave i:nth-child(2n) { animation-delay: .2s; height: 70%; } .ai-wave i:nth-child(3n) { animation-delay: .4s; height: 100%; }
@keyframes aiW { 50% { transform: scaleY(.4); } }

.ai-ex { display: grid; gap: 14px; }
@media (min-width: 700px) { .ai-ex { grid-template-columns: repeat(2, 1fr); } } @media (min-width: 1000px) { .ai-ex { grid-template-columns: repeat(3, 1fr); } }
.ai-ex article { display: grid; gap: 10px; align-content: start; padding: 22px; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--surface); }
.ai-ex-who { display: flex; align-items: center; gap: 8px; font-family: var(--mono); font-size: .74rem; text-transform: uppercase; color: var(--ink-3); } .ai-ex-who .ic { width: 16px; height: 16px; }
.ai-ex q { display: block; quotes: none; padding: 10px 12px; border-radius: 12px 12px 12px 3px; background: var(--wa-bubble); font-size: .9rem; color: #111; }
.ai-ex-out { font-size: .9rem; color: var(--ink-2); }
.ai-steps { display: grid; gap: 14px; }
@media (min-width: 800px) { .ai-steps { grid-template-columns: repeat(4, 1fr); } }
.ai-steps li { padding: 22px; border-radius: var(--r-lg); background: var(--ink); color: #E6E3F0; display: grid; gap: 8px; align-content: start; }
.ai-steps li span { font-family: var(--mono); color: #7BE0A2; } .ai-steps h3 { color: #fff; font-size: 1.05rem; } .ai-steps p { color: #BDB9C8; font-size: .92rem; }
@media (max-width: 640px) { .ai-desk { border-radius: var(--r-lg); } .ai-policy { flex-direction: column; } }
@media (prefers-reduced-motion: reduce) { .ai-live i, .ai-wave i { animation: none; } }
