/* ==========================================================
   AI Events & Expos – page styles (scoped to .aie)
   Builds on the Playtown brand tokens from digital-agency.css
   ========================================================== */
.aie {
    --aie-peach: var(--base-color, #f7d2ca);
    --aie-peach-soft: #fcebe6;
    --aie-coral: #a01810;
    --aie-yellow: #f0d038;
    --aie-violet: var(--aie-peach);
    --aie-sky: var(--aie-peach);
    --aie-ink: var(--nero-gray, #1e1d1d);
    --aie-ink-2: #262524;
    --aie-dark: var(--dark-gray, #2d2c2b);
    --aie-line-dark: rgba(255, 255, 255, .10);
    --aie-text-dark: rgba(255, 255, 255, .68);
    --aie-grad: linear-gradient(var(--aie-coral), var(--aie-coral));
    --aie-radius: 22px;
    overflow: hidden;
}

/* ---------- shared ---------- */
.aie section { position: relative; }
.aie h1, .aie h2, .aie h3 { letter-spacing: -0.03em; }
.aie-gradient-text { color: var(--aie-coral); }
.aie-dark .aie-gradient-text, .aie-cta .aie-gradient-text { color: var(--aie-peach); }
.aie-brush { position: relative; display: inline-block; isolation: isolate; }
.aie-brush img { position: absolute; left: -2%; bottom: 4%; z-index: -1; width: 104%; height: 42%; animation: aie-brush 1s cubic-bezier(.4, .6, .4, 1) .5s both; }
.aie-eyebrow {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 7px 16px; margin-bottom: 22px;
    font-size: 13px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase;
    color: var(--aie-dark);
    background: rgba(255, 255, 255, .6);
    border: 1px solid rgba(45, 44, 43, .08);
    border-radius: 100px;
    backdrop-filter: blur(8px);
}
.aie-eyebrow i { color: var(--aie-coral); }
.aie-eyebrow-dark { color: #fff; background: rgba(255, 255, 255, .06); border-color: var(--aie-line-dark); }
.aie-h2 { font-size: 54px; line-height: 1.08; font-weight: 600; margin-bottom: 18px; }
.aie-dark .aie-h2, .aie-cta .aie-h2 { color: #fff; }
.aie-sub { font-size: 18px; line-height: 1.65; color: var(--aie-text-dark); margin-bottom: 0; }
.aie-sub-light { color: rgba(45, 44, 43, .72); }

.aie-dark { background: var(--aie-ink); color: var(--aie-text-dark); }

.aie-orb { display: none; }
.aie-orb-1 { width: 520px; height: 520px; right: -120px; top: 40px; background: radial-gradient(circle, rgba(160, 24, 16, .55), transparent 70%); }
.aie-orb-2 { width: 420px; height: 420px; left: -160px; bottom: -120px; background: radial-gradient(circle, rgba(247, 210, 202, .35), transparent 70%); }
.aie-orb-3 { width: 640px; height: 640px; left: 50%; top: -260px; transform: translateX(-50%); background: radial-gradient(circle, rgba(247, 210, 202, .35), transparent 70%); }
.aie-orb-4 { width: 520px; height: 520px; right: -140px; top: 20%; background: radial-gradient(circle, rgba(160, 24, 16, .35), transparent 70%); }
.aie-orb-5 { width: 600px; height: 600px; left: 50%; top: -300px; transform: translateX(-50%); background: radial-gradient(circle, rgba(160, 24, 16, .5), transparent 70%); opacity: .7; }

.aie-grid-bg {
    position: absolute; inset: 0; pointer-events: none;
    background-image: linear-gradient(rgba(45, 44, 43, .05) 1px, transparent 1px), linear-gradient(90deg, rgba(45, 44, 43, .05) 1px, transparent 1px);
    background-size: 48px 48px;
    -webkit-mask-image: radial-gradient(ellipse at 70% 40%, #000 10%, transparent 70%);
    mask-image: radial-gradient(ellipse at 70% 40%, #000 10%, transparent 70%);
}

.aie-glass {
    background: linear-gradient(160deg, rgba(255, 255, 255, .08), rgba(255, 255, 255, .02));
    border: 1px solid var(--aie-line-dark);
    border-radius: var(--aie-radius);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
}

.aie-icon {
    display: inline-flex; align-items: center; justify-content: center;
    width: 54px; height: 54px; border-radius: 16px;
    font-size: 22px; color: #fff;
    background: var(--aie-grad);
    box-shadow: 0 10px 30px rgba(160, 24, 16, .35);
}
.aie-icon-light { width: 50px; height: 50px; font-size: 20px; }

.aie-checks { list-style: none; padding: 0; margin: 0; }
.aie-checks li { position: relative; padding-left: 30px; margin-bottom: 10px; line-height: 1.5; }
.aie-checks li::before {
    content: ""; position: absolute; left: 0; top: 3px; width: 18px; height: 18px; border-radius: 50%;
    background: rgba(247, 210, 202, .14) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='none' stroke='%23f7d2ca' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' d='M4 8.5l2.5 2.5L12 5.5'/%3E%3C/svg%3E") center/12px no-repeat;
}
.aie-checks-light li { color: rgba(45, 44, 43, .8); }
.aie-checks-light li::before {
    background: rgba(160, 24, 16, .14) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='none' stroke='%23a01810' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' d='M4 8.5l2.5 2.5L12 5.5'/%3E%3C/svg%3E") center/12px no-repeat;
}

/* buttons */
.aie-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.aie a:focus-visible, .aie button:focus-visible, .aie [tabindex]:focus-visible, .aie input:focus-visible {
    outline: 2px solid var(--aie-coral); outline-offset: 3px;
}

/* reveal on scroll */
.aie-js .aie-reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s cubic-bezier(.2, .7, .2, 1), transform .8s cubic-bezier(.2, .7, .2, 1); transition-delay: var(--d, 0ms); }
.aie-js .aie-reveal.is-in { opacity: 1; transform: none; }

/* ---------- phone mockup ---------- */
.aie-phone {
    position: relative; width: 300px; aspect-ratio: 300 / 620;
    padding: 12px; border-radius: 48px;
    background: linear-gradient(145deg, #3a3938, #111);
    box-shadow: 0 0 0 1px rgba(255, 255, 255, .08) inset, 0 2px 0 1px #555 inset, 0 50px 100px -20px rgba(45, 44, 43, .55), 0 30px 60px -30px rgba(247, 210, 202, .45);
}
.aie-phone-notch { position: absolute; top: 22px; left: 50%; transform: translateX(-50%); width: 92px; height: 26px; border-radius: 20px; background: #000; z-index: 3; }
.aie-screen {
    position: relative; height: 100%; overflow: hidden; border-radius: 37px;
    display: flex; flex-direction: column;
    padding: 46px 16px 16px;
    background: radial-gradient(120% 60% at 100% 0%, rgba(160, 24, 16, .28), transparent 60%), radial-gradient(100% 60% at 0% 100%, rgba(247, 210, 202, .25), transparent 60%), #151414;
    color: #fff; font-size: 12px; line-height: 1.4;
}
.aie-status { position: absolute; top: 15px; left: 28px; right: 26px; display: flex; justify-content: space-between; font-size: 11px; font-weight: 600; }
.aie-status i { font-size: 10px; }
.aie-app-head { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.aie-app-head b { display: block; font-size: 14px; }
.aie-app-head em { font-style: normal; font-size: 11px; color: rgba(255, 255, 255, .55); display: inline-flex; align-items: center; gap: 6px; }
.aie-app-logo { width: 34px; height: 34px; border-radius: 11px; display: inline-flex; align-items: center; justify-content: center; background: var(--aie-grad); font-size: 14px; }
.aie-live { width: 7px; height: 7px; border-radius: 50%; background: #4ade80; box-shadow: 0 0 0 0 rgba(74, 222, 128, .7); animation: aie-pulse 2s infinite; }
.aie-app-greet { font-size: 17px; font-weight: 600; line-height: 1.3; margin: 0 0 12px; color: #fff; }
.aie-app-card { background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .08); border-radius: 16px; padding: 11px 12px; margin-bottom: 10px; }
.aie-app-card-h { display: flex; justify-content: space-between; font-weight: 600; margin-bottom: 8px; }
.aie-app-card-h em { font-style: normal; color: var(--aie-peach); font-weight: 500; }
.aie-app-row { display: flex; gap: 10px; padding: 6px 0; border-top: 1px solid rgba(255, 255, 255, .06); color: rgba(255, 255, 255, .8); }
.aie-app-row i { font-style: normal; color: rgba(255, 255, 255, .45); width: 34px; flex: none; }
.aie-app-row.is-hot span { color: var(--aie-peach); font-weight: 600; }
.aie-app-match { display: flex; align-items: center; gap: 10px; padding: 5px 0; }
.aie-app-match span:nth-child(2) { flex: 1; color: rgba(255, 255, 255, .85); }
.aie-app-match b { color: #4ade80; }
.aie-app-match .av { width: 26px; height: 26px; border-radius: 9px; display: inline-flex; align-items: center; justify-content: center; font-size: 10px; font-weight: 700; background: var(--aie-coral); }
.aie-app-match .av.v2 { background: var(--aie-peach); color: var(--aie-dark); }
.aie-app-input { margin-top: auto; display: flex; align-items: center; justify-content: space-between; padding: 11px 14px; border-radius: 100px; background: rgba(255, 255, 255, .08); color: rgba(255, 255, 255, .45); }
.aie-app-input i { color: var(--aie-peach); }

/* ---------- hero ---------- */
.aie-hero {
    padding-top: 90px; padding-bottom: 110px;
}
.aie-hero h1 { font-size: 78px; line-height: 1.02; font-weight: 600; color: var(--aie-dark); letter-spacing: -0.05em; margin-bottom: 24px; }
.aie-lead { font-size: 20px; line-height: 1.6; color: rgba(45, 44, 43, .75); max-width: 540px; margin-bottom: 34px; }
.aie-hero-chips { list-style: none; padding: 0; margin: 36px 0 0; display: flex; flex-wrap: wrap; gap: 10px 22px; font-size: 14px; font-weight: 500; color: rgba(45, 44, 43, .75); }
.aie-hero-chips i { color: var(--aie-coral); margin-right: 6px; }

.aie-hero-stage { position: relative; height: 640px; display: flex; align-items: center; justify-content: center; }
.aie-hero-links { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.aie-hero-links circle { fill: none; stroke: rgba(45, 44, 43, .10); stroke-dasharray: 3 7; }
.aie-hero-links path { fill: none; stroke: rgba(160, 24, 16, .55); stroke-width: 1.4; stroke-dasharray: 5 6; animation: aie-dash 14s linear infinite; }
.aie-phone-hero { animation: aie-float 7s ease-in-out infinite; z-index: 2; }

.aie-float {
    position: absolute; z-index: 3;
    display: flex; align-items: center; gap: 12px;
    padding: 12px 16px 12px 12px; border-radius: 18px;
    background: rgba(255, 255, 255, .78);
    border: 1px solid rgba(255, 255, 255, .9);
    backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
    box-shadow: 0 20px 45px -15px rgba(45, 44, 43, .3);
    font-size: 13px; line-height: 1.35; color: var(--aie-dark);
    animation: aie-float 6s ease-in-out infinite;
}
.aie-float em { display: block; font-style: normal; font-size: 11px; text-transform: uppercase; letter-spacing: .05em; color: rgba(45, 44, 43, .55); }
.aie-float b { font-weight: 600; }
.aie-float strong { margin-left: 4px; font-size: 18px; color: #16a34a; }
.aie-float .ic { width: 36px; height: 36px; flex: none; border-radius: 12px; display: inline-flex; align-items: center; justify-content: center; color: #fff; background: var(--aie-grad); }
.aie-float-1 { top: 210px; left: -110px; animation-delay: -1s; }
.aie-float-2 { top: 250px; right: -70px; animation-delay: -3s; }
.aie-float-3 { bottom: 170px; left: -40px; animation-delay: -2s; }
.aie-float-4 { bottom: 70px; right: -40px; animation-delay: -4s; }

/* ---------- features explorer ---------- */
.aie-features { padding-top: 130px; padding-bottom: 130px; }
.aie-explorer { display: grid; grid-template-columns: 330px 1fr; gap: 28px; align-items: start; }
.aie-tablist { display: none; }
.aie-tabs-on .aie-tablist { display: flex; flex-direction: column; gap: 6px; }
.aie-tab {
    display: flex; align-items: center; gap: 14px; width: 100%;
    padding: 14px 18px; border-radius: 16px; text-align: left;
    background: transparent; border: 1px solid transparent; color: rgba(255, 255, 255, .6);
    font-size: 15px; font-weight: 500; line-height: 1.3;
    transition: background-color .3s ease, color .3s ease, border-color .3s ease;
}
.aie-tab:hover { color: #fff; background: rgba(255, 255, 255, .04); }
.aie-tab[aria-selected="true"] { color: #fff; background: rgba(255, 255, 255, .07); border-color: var(--aie-line-dark); }
.aie-tab-num { font-family: var(--alt-font); font-size: 13px; color: rgba(255, 255, 255, .35); min-width: 20px; }
.aie-tab[aria-selected="true"] .aie-tab-num { color: var(--aie-peach); }
.aie-tab-label { flex: 1; }
.aie-tab > i { opacity: 0; color: var(--aie-peach); transition: opacity .3s ease; }
.aie-tab[aria-selected="true"] > i { opacity: 1; }

.aie-panels { display: grid; gap: 20px; }
.aie-panel {
    position: relative; overflow: hidden;
    display: grid; grid-template-columns: 1fr 1fr; gap: 36px; align-items: center;
    padding: 44px;
}
.aie-panel::before {
    content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity .4s ease;
    background: radial-gradient(400px circle at var(--mx, 50%) var(--my, 50%), rgba(247, 210, 202, .12), transparent 60%);
}
.aie-panel:hover::before { opacity: 1; }
.aie-tabs-on .aie-panels { display: block; }
.aie-tabs-on .aie-panel[hidden] { display: none; }
.aie-tabs-on .aie-panel { min-height: 460px; animation: aie-panel-in .55s cubic-bezier(.2, .7, .2, 1); }
.aie-panel-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 26px; }
.aie-panel-num { font-family: var(--alt-font); font-size: 64px; line-height: 1; font-weight: 600; color: transparent; -webkit-text-stroke: 1px rgba(255, 255, 255, .18); }
.aie-panel h3 { color: #fff; font-size: 30px; line-height: 1.15; font-weight: 600; margin-bottom: 14px; }
.aie-panel p { font-size: 16px; line-height: 1.65; margin-bottom: 22px; }
.aie-panel .aie-checks li { color: rgba(255, 255, 255, .8); font-size: 15px; }

/* mini visual demonstrations */
.aie-viz {
    position: relative; padding: 22px; border-radius: 18px;
    background: rgba(0, 0, 0, .35); border: 1px solid var(--aie-line-dark);
    color: rgba(255, 255, 255, .85); font-size: 13px; line-height: 1.45;
    box-shadow: 0 30px 60px -30px rgba(247, 210, 202, .5);
}
.aie-viz b { color: #fff; font-weight: 600; }
.aie-viz em { font-style: normal; color: rgba(255, 255, 255, .5); }
.aie-viz-title { font-weight: 600; color: #fff; margin-bottom: 14px; }
.aie-viz-title i { color: var(--aie-peach); margin-right: 6px; }
.aie-viz-note { margin-top: 14px; padding: 10px 12px; border-radius: 12px; background: rgba(247, 210, 202, .08); border: 1px dashed rgba(247, 210, 202, .3); color: var(--aie-peach); }
.aie-viz-note i { margin-right: 6px; }
.aie-viz-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.aie-viz-tags span { padding: 5px 11px; border-radius: 100px; background: rgba(255, 255, 255, .06); border: 1px solid var(--aie-line-dark); font-size: 12px; }

.aie-viz-timeline { list-style: none; margin: 0; padding: 0 0 0 18px; position: relative; }
.aie-viz-timeline::before { content: ""; position: absolute; left: 4px; top: 6px; bottom: 6px; width: 2px; background: linear-gradient(var(--aie-coral), var(--aie-violet)); opacity: .5; }
.aie-viz-timeline li { position: relative; display: grid; grid-template-columns: 46px 1fr; padding: 8px 0; }
.aie-viz-timeline li::before { content: ""; position: absolute; left: -18px; top: 13px; width: 10px; height: 10px; border-radius: 50%; background: #151414; border: 2px solid var(--aie-peach); }
.aie-viz-timeline li.is-hot::before { background: var(--aie-coral); box-shadow: 0 0 0 5px rgba(160, 24, 16, .2); }
.aie-viz-timeline span { color: rgba(255, 255, 255, .5); grid-row: span 2; }
.aie-viz-timeline em { font-size: 12px; }

.aie-viz-match { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.aie-viz-person { flex: 1; text-align: center; padding: 14px 8px; border-radius: 14px; background: rgba(255, 255, 255, .05); display: flex; flex-direction: column; align-items: center; gap: 3px; }
.aie-viz-person i { width: 40px; height: 40px; border-radius: 12px; display: inline-flex; align-items: center; justify-content: center; background: var(--aie-grad); color: #fff; margin-bottom: 4px; }
.aie-viz-person em { font-size: 11px; }
.aie-viz-link { position: relative; }
.aie-viz-ring {
    --p: 0; width: 84px; height: 84px; border-radius: 50%; display: flex; flex-direction: column; align-items: center; justify-content: center;
    background: radial-gradient(closest-side, #1b1a19 80%, transparent 81%), conic-gradient(var(--aie-coral) calc(var(--p) * 1%), rgba(255, 255, 255, .08) 0);
}
.aie-viz-ring b { font-size: 20px; line-height: 1; }
.aie-viz-ring em { font-size: 11px; }

.aie-viz-modes { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; margin-bottom: 14px; }
.aie-viz-modes > span { display: flex; align-items: center; gap: 8px; padding: 10px 12px; border-radius: 12px; background: rgba(255, 255, 255, .05); border: 1px solid var(--aie-line-dark); }
.aie-viz-modes > span.is-on { border-color: rgba(160, 24, 16, .6); background: rgba(160, 24, 16, .1); color: #fff; }
.aie-wave { display: inline-flex; align-items: center; gap: 2px; height: 14px; margin-left: auto; }
.aie-wave i { width: 3px; height: 100%; border-radius: 2px; background: var(--aie-coral); animation: aie-wave 1s ease-in-out infinite; }
.aie-wave i:nth-child(2) { animation-delay: -.2s; } .aie-wave i:nth-child(3) { animation-delay: -.4s; } .aie-wave i:nth-child(4) { animation-delay: -.6s; } .aie-wave i:nth-child(5) { animation-delay: -.8s; }
.aie-viz-chat p { margin: 0 0 8px; padding: 10px 13px; border-radius: 14px; font-size: 13px; line-height: 1.45; }
.aie-viz-chat .u { margin-left: 18%; background: var(--aie-peach); color: var(--aie-dark); border-bottom-right-radius: 4px; }
.aie-viz-chat .a { margin-right: 10%; background: rgba(255, 255, 255, .08); border-bottom-left-radius: 4px; }
.aie-viz-chat .a i { color: var(--aie-peach); margin-right: 4px; }

.aie-viz-bars { list-style: none; padding: 0; margin: 0; }
.aie-viz-bars li { display: grid; grid-template-columns: 1fr auto; gap: 6px 10px; margin-bottom: 12px; }
.aie-viz-bars b { font-weight: 500; }
.aie-viz-bars span { grid-column: 1 / -1; grid-row: 2; height: 6px; border-radius: 6px; background: rgba(255, 255, 255, .08); position: relative; overflow: hidden; }
.aie-viz-bars span::after { content: ""; position: absolute; inset: 0 auto 0 0; width: var(--w); border-radius: inherit; background: var(--aie-grad); transform-origin: left; animation: aie-grow 1.1s cubic-bezier(.2, .7, .2, 1) both; }
.aie-viz-bars em { font-size: 12px; }

.aie-viz-table { display: grid; font-size: 12.5px; }
.aie-viz-table > div { display: grid; grid-template-columns: 1.1fr repeat(3, 1fr); border-bottom: 1px solid var(--aie-line-dark); }
.aie-viz-table > div:last-child { border-bottom: 0; }
.aie-viz-table span { padding: 9px 6px; text-align: center; }
.aie-viz-table span:first-child { text-align: left; color: rgba(255, 255, 255, .5); }
.aie-viz-table [role="columnheader"] { font-weight: 600; color: #fff; }
.aie-viz-table .is-best { background: rgba(160, 24, 16, .1); color: #fff; }
.aie-viz-table [role="columnheader"].is-best { border-radius: 10px 10px 0 0; color: var(--aie-peach); }
.aie-viz-table i { color: #4ade80; }

.aie-viz-columns { display: flex; align-items: flex-end; gap: 8px; height: 120px; padding-bottom: 4px; border-bottom: 1px solid var(--aie-line-dark); }
.aie-viz-columns span { flex: 1; height: var(--h); border-radius: 6px 6px 2px 2px; background: linear-gradient(180deg, var(--aie-coral), rgba(247, 210, 202, .35)); transform-origin: bottom; animation: aie-rise 1s cubic-bezier(.2, .7, .2, 1) both; }
.aie-viz-columns span:nth-child(n+5) { animation-delay: .1s; }
.aie-viz-columns span:last-child { box-shadow: 0 0 24px rgba(160, 24, 16, .6); }

.aie-viz-resume { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; }
.aie-viz-resume b, .aie-viz-resume em { display: block; }
.aie-viz-avatar { width: 46px; height: 46px; border-radius: 14px; display: inline-flex; align-items: center; justify-content: center; background: var(--aie-grad); color: #fff; font-size: 18px; }

.aie-viz-agents { position: relative; height: 250px; }
.aie-viz-agents::before { content: ""; position: absolute; left: 50%; top: 50%; width: 190px; height: 190px; transform: translate(-50%, -50%); border-radius: 50%; border: 1px dashed rgba(247, 210, 202, .3); animation: aie-spin 30s linear infinite; }
.aie-viz-agents span { position: absolute; transform: translate(-50%, -50%); display: inline-flex; align-items: center; gap: 7px; padding: 8px 13px; border-radius: 100px; background: rgba(27, 26, 25, .95); border: 1px solid var(--aie-line-dark); color: #fff; white-space: nowrap; }
.aie-viz-agents span i { color: var(--aie-peach); }
.aie-viz-agents .core { left: 50%; top: 50%; width: 72px; height: 72px; padding: 0; justify-content: center; font-size: 26px; background: var(--aie-grad); border: 0; box-shadow: 0 0 40px rgba(160, 24, 16, .5); }
.aie-viz-agents .core i { color: #fff; }
.aie-viz-agents .a1 { left: 50%; top: 9%; }
.aie-viz-agents .a2 { left: 85%; top: 50%; }
.aie-viz-agents .a3 { left: 50%; top: 91%; }
.aie-viz-agents .a4 { left: 15%; top: 50%; }

/* ---------- copilot demo ---------- */
.aie-copilot { padding-top: 130px; padding-bottom: 130px; background: var(--aie-peach-soft); }
.aie-prompts { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; margin: 30px 0 24px; }
.aie-prompt {
    display: inline-flex; align-items: center; gap: 10px; text-align: left;
    padding: 12px 18px; border-radius: 14px;
    background: rgba(255, 255, 255, .75); border: 1px solid rgba(45, 44, 43, .1);
    color: var(--aie-dark); font-size: 15px; font-weight: 500; line-height: 1.35;
    box-shadow: 0 6px 18px -10px rgba(45, 44, 43, .25);
    transition: transform .25s ease, border-color .25s ease, background-color .25s ease;
}
.aie-prompt i { color: var(--aie-coral); font-size: 12px; }
.aie-prompt:hover:not(:disabled) { transform: translateX(4px); border-color: var(--aie-coral); background: #fff; }
.aie-prompt:disabled { opacity: .5; cursor: progress; }
.aie-prompt.is-used { border-color: rgba(160, 24, 16, .45); }
.aie-disclaimer { font-size: 13px; line-height: 1.55; color: rgba(45, 44, 43, .6); margin: 0; }
.aie-disclaimer i { margin-right: 4px; }
.aie-disclaimer a { color: var(--aie-dark); text-decoration: underline; text-underline-offset: 3px; }

.aie-chat-stage { display: flex; justify-content: center; position: relative; }
.aie-chat-stage::before { content: ""; position: absolute; width: 80%; height: 70%; top: 15%; border-radius: 50%; background: var(--aie-grad); filter: blur(90px); opacity: .35; }
.aie-phone-chat { width: 360px; aspect-ratio: 360 / 720; }
.aie-chat-log { flex: 1; overflow-y: auto; display: flex; flex-direction: column; gap: 10px; padding: 4px 2px 12px; scroll-behavior: smooth; scrollbar-width: none; }
.aie-chat-log::-webkit-scrollbar { display: none; }
.aie-msg { max-width: 88%; padding: 10px 13px; border-radius: 16px; font-size: 13px; line-height: 1.45; animation: aie-msg-in .45s cubic-bezier(.2, .7, .2, 1) both; }
.aie-msg-user { align-self: flex-end; background: var(--aie-peach); color: var(--aie-dark); border-bottom-right-radius: 5px; font-weight: 500; }
.aie-msg-ai { align-self: flex-start; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .06); color: rgba(255, 255, 255, .9); border-bottom-left-radius: 5px; }
.aie-msg-ai.is-rich { max-width: 96%; }
.aie-msg-ai p { margin: 0 0 8px; }
.aie-typing { display: inline-flex; gap: 4px; padding: 13px 15px; }
.aie-typing i { width: 6px; height: 6px; border-radius: 50%; background: rgba(255, 255, 255, .6); animation: aie-bounce 1.2s infinite; }
.aie-typing i:nth-child(2) { animation-delay: .15s; } .aie-typing i:nth-child(3) { animation-delay: .3s; }

.aie-rc { display: flex; flex-direction: column; gap: 6px; }
.aie-rc-item { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 12px; background: rgba(0, 0, 0, .25); border: 1px solid rgba(255, 255, 255, .06); }
.aie-rc-item .t { color: rgba(255, 255, 255, .5); font-size: 11px; min-width: 36px; }
.aie-rc-item .m { flex: 1; min-width: 0; }
.aie-rc-item .m b { display: block; color: #fff; font-weight: 600; font-size: 12.5px; }
.aie-rc-item .m span { display: block; color: rgba(255, 255, 255, .55); font-size: 11px; }
.aie-rc-item .s { font-weight: 700; color: #4ade80; font-size: 12px; }
.aie-rc-item .ic { width: 28px; height: 28px; flex: none; border-radius: 9px; display: inline-flex; align-items: center; justify-content: center; background: var(--aie-grad); color: #fff; font-size: 11px; }
.aie-rc-bar { height: 5px; border-radius: 5px; background: rgba(255, 255, 255, .08); margin-top: 5px; overflow: hidden; }
.aie-rc-bar i { display: block; height: 100%; width: var(--w); background: var(--aie-grad); border-radius: inherit; animation: aie-grow 1s cubic-bezier(.2, .7, .2, 1) both; transform-origin: left; }
.aie-rc-table { width: 100%; border-collapse: collapse; font-size: 11.5px; }
.aie-rc-table th, .aie-rc-table td { padding: 6px 4px; text-align: center; border-bottom: 1px solid rgba(255, 255, 255, .06); }
.aie-rc-table th:first-child, .aie-rc-table td:first-child { text-align: left; color: rgba(255, 255, 255, .5); font-weight: 400; }
.aie-rc-table th { color: #fff; }
.aie-rc-table .best { color: var(--aie-peach); background: rgba(160, 24, 16, .1); }
.aie-rc-foot { margin-top: 8px; font-size: 11.5px; color: var(--aie-peach); }
.aie-rc-foot i { margin-right: 4px; }
.aie-rc-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.aie-rc-chips span { padding: 4px 10px; border-radius: 100px; border: 1px solid rgba(247, 210, 202, .35); color: var(--aie-peach); font-size: 11px; }

.aie-chat-form { display: flex; align-items: center; gap: 8px; padding: 6px 6px 6px 16px; border-radius: 100px; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .06); }
.aie-chat-form input { flex: 1; min-width: 0; background: transparent; border: 0; padding: 6px 0; color: #fff; font-size: 13px; }
.aie-chat-form input::placeholder { color: rgba(255, 255, 255, .45); }
.aie-chat-form input:focus { outline: none; }
.aie-chat-form button { width: 34px; height: 34px; flex: none; border: 0; border-radius: 50%; background: var(--aie-grad); color: #fff; font-size: 13px; }
.aie-chat-form:focus-within { border-color: rgba(160, 24, 16, .6); }

/* ---------- intelligence in action ---------- */
.aie-action { padding-top: 130px; padding-bottom: 130px; background: radial-gradient(60% 50% at 25% 55%, rgba(247, 210, 202, .18), transparent 70%), var(--aie-ink); }
.aie-net { position: relative; width: 100%; max-width: 540px; aspect-ratio: 1; margin: 0 auto; }
.aie-net-lines { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.aie-net-lines .ring { fill: none; stroke: rgba(255, 255, 255, .08); stroke-width: 1; vector-effect: non-scaling-stroke; stroke-dasharray: 4 6; }
.aie-net-lines .spoke { stroke: rgba(255, 255, 255, .12); stroke-width: 1.2; vector-effect: non-scaling-stroke; transition: stroke .5s ease; }
.aie-net-lines .spoke.is-active { stroke: var(--aie-coral); stroke-width: 2; stroke-dasharray: 6 6; animation: aie-dash-fast 1.2s linear infinite; }
.aie-net-core {
    position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
    width: 26%; aspect-ratio: 1; border-radius: 50%;
    display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; text-align: center;
    background: var(--aie-grad); color: #fff; font-family: var(--alt-font); font-weight: 600; font-size: 15px; line-height: 1.15;
    box-shadow: 0 0 0 10px rgba(255, 255, 255, .04), 0 0 0 22px rgba(255, 255, 255, .02), 0 0 70px rgba(160, 24, 16, .55);
}
.aie-net-core i { font-size: 26px; }
.aie-net-node {
    position: absolute; transform: translate(-50%, -50%); width: 30%;
    display: flex; flex-direction: column; align-items: center; gap: 8px; text-align: center;
    transition: transform .5s ease;
}
.aie-net-node .dot {
    width: 58px; height: 58px; border-radius: 18px; display: inline-flex; align-items: center; justify-content: center;
    font-size: 20px; color: rgba(255, 255, 255, .7);
    background: rgba(27, 26, 25, .95); border: 1px solid var(--aie-line-dark);
    transition: background .5s ease, color .5s ease, box-shadow .5s ease, border-color .5s ease;
}
.aie-net-node .lbl { font-size: 13px; line-height: 1.25; font-weight: 500; color: rgba(255, 255, 255, .55); transition: color .5s ease; }
.aie-net-node.is-active { transform: translate(-50%, -50%) scale(1.06); }
.aie-net-node.is-active .dot { color: #fff; background: var(--aie-grad); border-color: transparent; box-shadow: 0 0 34px rgba(160, 24, 16, .55); }
.aie-net-node.is-active .lbl { color: #fff; }

.aie-steps { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; counter-reset: none; }
.aie-step {
    display: flex; gap: 16px; width: 100%; text-align: left; align-items: flex-start;
    padding: 18px 20px; border-radius: 18px;
    background: transparent; border: 1px solid var(--aie-line-dark); color: var(--aie-text-dark);
    transition: background-color .35s ease, border-color .35s ease;
}
.aie-step:hover { background: rgba(255, 255, 255, .03); }
.aie-step.is-active { background: rgba(255, 255, 255, .06); border-color: rgba(160, 24, 16, .45); }
.aie-step-num { width: 34px; height: 34px; flex: none; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; font-family: var(--alt-font); font-weight: 600; color: #fff; border: 1px solid rgba(255, 255, 255, .2); transition: background .35s ease, border-color .35s ease; }
.aie-step.is-active .aie-step-num { background: var(--aie-grad); border-color: transparent; }
.aie-step-body b { display: block; color: #fff; font-size: 17px; font-weight: 600; margin-bottom: 3px; }
.aie-step-body span { display: block; font-size: 14.5px; line-height: 1.55; }

/* ---------- transformation ---------- */
.aie-transform { padding-top: 130px; padding-bottom: 60px; background: #fff; }
.aie-stages { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.aie-stages::before { content: ""; position: absolute; left: 8%; right: 8%; top: 52px; height: 2px; background: linear-gradient(90deg, transparent, var(--aie-coral), var(--aie-violet), transparent); opacity: .35; }
.aie-stage {
    position: relative; padding: 32px; border-radius: var(--aie-radius);
    background: linear-gradient(180deg, #fff, var(--aie-peach-soft));
    border: 1px solid rgba(45, 44, 43, .07);
    box-shadow: 0 30px 60px -40px rgba(45, 44, 43, .35);
    transition: transform .4s ease, box-shadow .4s ease;
}
.aie-stage:hover { transform: translateY(-6px); box-shadow: 0 40px 70px -40px rgba(45, 44, 43, .45); }
.aie-stage-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 26px; }
.aie-stage-step { font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: rgba(45, 44, 43, .45); }
.aie-stage h3 { font-size: 26px; font-weight: 600; color: var(--aie-dark); margin-bottom: 16px; }

/* ---------- final CTA ---------- */
.aie-cta-wrap { padding-top: 70px; padding-bottom: 20px; background: #fff; }
.aie-cta { position: relative; overflow: hidden; padding: 100px 40px; border-radius: 36px; text-align: center; background: var(--aie-ink); }
.aie-cta .aie-grid-bg { background-image: linear-gradient(rgba(255, 255, 255, .05) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .05) 1px, transparent 1px); -webkit-mask-image: radial-gradient(ellipse at 50% 0%, #000 10%, transparent 70%); mask-image: radial-gradient(ellipse at 50% 0%, #000 10%, transparent 70%); }
.aie-cta .aie-sub { max-width: 600px; margin: 0 auto 36px; }

/* ---------- keyframes ---------- */
@keyframes aie-brush { from { clip-path: inset(0 100% 0 0); } to { clip-path: inset(0 0 0 0); } }
@keyframes aie-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
@keyframes aie-dash { to { stroke-dashoffset: -220; } }
@keyframes aie-dash-fast { to { stroke-dashoffset: -24; } }
@keyframes aie-pulse { 0% { box-shadow: 0 0 0 0 rgba(74, 222, 128, .7); } 70% { box-shadow: 0 0 0 7px rgba(74, 222, 128, 0); } 100% { box-shadow: 0 0 0 0 rgba(74, 222, 128, 0); } }
@keyframes aie-wave { 0%, 100% { transform: scaleY(.3); } 50% { transform: scaleY(1); } }
@keyframes aie-grow { from { transform: scaleX(0); } }
@keyframes aie-rise { from { transform: scaleY(0); } }
@keyframes aie-spin { to { transform: translate(-50%, -50%) rotate(360deg); } }
@keyframes aie-bounce { 0%, 60%, 100% { transform: translateY(0); opacity: .5; } 30% { transform: translateY(-4px); opacity: 1; } }
@keyframes aie-msg-in { from { opacity: 0; transform: translateY(10px) scale(.98); } }
@keyframes aie-panel-in { from { opacity: 0; transform: translateY(14px); } }

/* ---------- responsive ---------- */
@media (max-width: 1399px) {
    .aie-hero h1 { font-size: 66px; }
    .aie-panel { padding: 36px; gap: 28px; }
}
@media (max-width: 1199px) {
    .aie-hero h1 { font-size: 56px; }
    .aie-h2 { font-size: 46px; }
    .aie-explorer { grid-template-columns: 280px 1fr; }
    .aie-panel { grid-template-columns: 1fr; }
    .aie-tabs-on .aie-panel { min-height: 0; }
}
@media (max-width: 991px) {
    .aie-hero { padding-top: 60px; padding-bottom: 70px; }
    .aie-hero-copy { text-align: center; }
    .aie-lead { margin-left: auto; margin-right: auto; }
    .aie-hero .aie-actions, .aie-hero-chips { justify-content: center; }
    .aie-hero-stage { height: 600px; max-width: 520px; margin: 0 auto; }
    .aie-features, .aie-copilot, .aie-action { padding-top: 90px; padding-bottom: 90px; }
    .aie-transform { padding-top: 90px; }
    .aie-cta-wrap { padding-bottom: 0; }
    .aie-explorer { grid-template-columns: 1fr; }
    .aie-tabs-on .aie-tablist { flex-direction: row; overflow-x: auto; scroll-snap-type: x mandatory; gap: 8px; padding-bottom: 6px; margin: 0 -15px; padding-left: 15px; padding-right: 15px; scrollbar-width: none; }
    .aie-tabs-on .aie-tablist::-webkit-scrollbar { display: none; }
    .aie-tab { width: auto; flex: none; scroll-snap-align: start; white-space: nowrap; padding: 11px 16px; border-color: var(--aie-line-dark); font-size: 14px; }
    .aie-tab > i { display: none; }
    .aie-panel { grid-template-columns: 1fr 1fr; }
    .aie-copilot .col-lg-5 { text-align: center; }
    .aie-prompts { align-items: center; }
    .aie-stages { grid-template-columns: 1fr; max-width: 560px; margin: 0 auto; }
    .aie-stages::before { left: 50px; right: auto; top: 8%; bottom: 8%; width: 2px; height: auto; background: linear-gradient(180deg, transparent, var(--aie-coral), var(--aie-violet), transparent); }
}
@media (max-width: 767px) {
    .aie-hero h1 { font-size: 44px; }
    .aie-lead { font-size: 17px; }
    .aie-h2 { font-size: 36px; }
    .aie-sub { font-size: 16px; }
    .aie-panel { grid-template-columns: 1fr; padding: 26px 22px; }
    .aie-panel h3 { font-size: 24px; }
    .aie-panel-num { font-size: 48px; }
    .aie-hero-stage { height: 560px; }
    .aie-phone-hero { width: 260px; }
    .aie-float { padding: 9px 12px 9px 9px; font-size: 12px; border-radius: 14px; gap: 9px; }
    .aie-float .ic { width: 30px; height: 30px; border-radius: 10px; font-size: 12px; }
    .aie-float-1 { top: -14px; left: 0; }
    .aie-float-2 { top: 130px; right: 0; max-width: 190px; }
    .aie-float-3 { bottom: 110px; left: 0; }
    .aie-float-4 { bottom: 30px; right: 0; }
    .aie-phone-chat { width: 100%; max-width: 340px; aspect-ratio: auto; height: 640px; }
    .aie-net-node .dot { width: 44px; height: 44px; border-radius: 14px; font-size: 16px; }
    .aie-net-node .lbl { font-size: 11px; }
    .aie-net-core { font-size: 12px; }
    .aie-net-core i { font-size: 20px; }
    .aie-stage { padding: 26px 22px; }
    .aie-cta { padding: 70px 22px; border-radius: 26px; }
}
@media (max-width: 400px) {
    .aie-hero h1 { font-size: 38px; }
    .aie-float-2, .aie-float-4 { display: none; }
    .aie-net-node .lbl { font-size: 10px; }
}

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