/* AcademyPilot sales page — /ai-website-for-training-institutes (scoped under .apx) */
.apx {
    --v: #5b3df5; --v2: #8b5cf6; --vd: #3e2ab0; --coral: #ff6b4a; --mint: #10b981; --amber: #f59e0b;
    --ink: #0e1027; --ink2: #2a2d45; --mut: #646a82; --line: #e7e7f0; --bg: #f6f6fb;
    font-family: 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', sans-serif; color: var(--ink); -webkit-font-smoothing: antialiased;
}
.apx *, .apx *::before, .apx *::after { box-sizing: border-box; }
.apx h1, .apx h2, .apx h3, .apx h4 { letter-spacing: -.03em; line-height: 1.1; color: inherit; margin: 0; }
.apx p { line-height: 1.65; margin: 0; }
.apx ul, .apx ol { list-style: none; margin: 0; padding: 0; }
.apx a { text-decoration: none; }
.apx .serif { font-family: 'Instrument Serif', Georgia, serif; font-style: italic; font-weight: 400; letter-spacing: 0; }
.apx .grad { background: linear-gradient(90deg, #a78bfa, #f472b6 55%, #fb923c); -webkit-background-clip: text; background-clip: text; color: transparent; }
.apx-wrap { max-width: 1220px; margin: 0 auto; padding: 0 22px; }
.apx-sec { padding: 104px 0; position: relative; }
.apx-sec.alt { background: var(--bg); }
.apx-sec.dark { background: radial-gradient(60% 80% at 100% 0%, rgba(255, 107, 74, .18), transparent 60%), radial-gradient(60% 80% at 0% 100%, rgba(91, 61, 245, .35), transparent 60%), #0b0c1d; color: #fff; }
.apx-head { max-width: 760px; margin-bottom: 54px; }
.apx-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.apx-head h2, .apx-sec h2 { font-size: clamp(2rem, 4vw, 3.1rem); font-weight: 800; }
.apx-head p { color: var(--mut); font-size: 1.1rem; margin-top: 16px; }
.apx-kicker { display: inline-flex; align-items: center; gap: 8px; font-size: .78rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--v); margin-bottom: 16px; }
.apx-kicker::before { content: ''; width: 22px; height: 2px; background: currentColor; border-radius: 2px; }
.apx-kicker.light { color: #c4b5fd; }

/* buttons */
.apx-btn { display: inline-flex; align-items: center; gap: 9px; font-weight: 700; font-size: 1rem; padding: 15px 26px; border-radius: 999px; border: 0; cursor: pointer; transition: transform .2s, box-shadow .2s, background .2s; white-space: nowrap; font-family: inherit; }
.apx-btn:hover { transform: translateY(-2px); }
.apx-btn.hot { background: linear-gradient(135deg, var(--coral), #f43f5e); color: #fff; box-shadow: 0 16px 34px -14px rgba(244, 63, 94, .9); }
.apx-btn.hot:hover { color: #fff; box-shadow: 0 22px 40px -14px rgba(244, 63, 94, .95); }
.apx-btn.glass { background: rgba(255, 255, 255, .1); color: #fff; box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .28); backdrop-filter: blur(8px); }
.apx-btn.glass:hover { background: rgba(255, 255, 255, .18); color: #fff; }
.apx-btn.dark { background: var(--ink); color: #fff; } .apx-btn.dark:hover { color: #fff; background: #000; }
.apx-btn.soft { background: #efecfe; color: var(--vd); } .apx-btn.soft:hover { color: var(--vd); background: #e4dffd; }
.apx-btn.sm { padding: 10px 18px; font-size: .88rem; }
.apx-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.apx-actions.center { justify-content: center; }

/* reveal */
.apx-r { opacity: 0; transform: translateY(26px); transition: opacity .8s cubic-bezier(.2, .7, .2, 1), transform .8s cubic-bezier(.2, .7, .2, 1); }
.apx-r.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .apx-r { opacity: 1; transform: none; transition: none; } .apx * { animation: none !important; } }

/* ============ HERO ============ */
.apx-hero { position: relative; overflow: hidden; color: #fff; padding: 150px 0 56px; background: #0b0c1d; }
.apx-hero::before { content: ''; position: absolute; inset: 0; background: radial-gradient(45% 60% at 12% 18%, rgba(91, 61, 245, .55), transparent 70%), radial-gradient(40% 55% at 92% 30%, rgba(244, 114, 182, .32), transparent 70%), radial-gradient(40% 50% at 70% 100%, rgba(255, 107, 74, .28), transparent 70%); }
.apx-hero::after { content: ''; position: absolute; inset: 0; background-image: radial-gradient(rgba(255, 255, 255, .09) 1px, transparent 1px); background-size: 26px 26px; mask-image: linear-gradient(180deg, #000 20%, transparent 90%); -webkit-mask-image: linear-gradient(180deg, #000 20%, transparent 90%); }
.apx-hero .apx-wrap { position: relative; z-index: 1; }
.apx-hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: center; }
.apx-eyebrow { display: inline-flex; align-items: center; gap: 8px; background: rgba(255, 255, 255, .09); border: 1px solid rgba(255, 255, 255, .18); border-radius: 999px; padding: 8px 16px; font-size: .84rem; font-weight: 600; color: #e9e7ff; }
.apx-eyebrow i { color: #fbbf24; }
.apx-hero h1 { font-size: clamp(2.5rem, 5.6vw, 4.6rem); font-weight: 800; letter-spacing: -.04em; line-height: 1.02; margin: 24px 0 22px; }
.apx-lead { font-size: 1.18rem; color: #cfd0e6; max-width: 600px; margin-bottom: 32px !important; }
.apx-trust { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 28px !important; color: #b9bbd6; font-size: .9rem; }
.apx-trust i { color: #a78bfa; margin-right: 6px; }

.apx-hero-art { position: relative; height: 600px; }
.apx-phone { position: absolute; left: 56%; top: 20px; transform: translateX(-50%) rotate(-3deg); width: 320px; height: 580px; border-radius: 46px; background: #fff; padding: 12px; box-shadow: 0 50px 100px -30px rgba(0, 0, 0, .7), 0 0 0 10px #1a1b33, 0 0 0 11px rgba(255, 255, 255, .15); display: flex; flex-direction: column; overflow: hidden; color: var(--ink); }
.apx-phone-notch { position: absolute; top: 10px; left: 50%; transform: translateX(-50%); width: 110px; height: 26px; background: #1a1b33; border-radius: 0 0 16px 16px; z-index: 2; }
.apx-phone-head { display: flex; gap: 10px; align-items: center; padding: 34px 14px 14px; margin: -12px -12px 0; background: linear-gradient(135deg, var(--v), var(--vd)); color: #fff; border-radius: 34px 34px 0 0; }
.apx-phone-head .av { width: 38px; height: 38px; border-radius: 12px; background: rgba(255, 255, 255, .2); display: grid; place-items: center; }
.apx-phone-head b { display: block; font-size: .95rem; }
.apx-phone-head small { font-size: .7rem; opacity: .85; display: flex; align-items: center; gap: 5px; }
.apx-phone-head .dot { width: 7px; height: 7px; border-radius: 50%; background: #4ade80; display: inline-block; }
.apx-phone-body { flex: 1; overflow: hidden; display: flex; flex-direction: column; justify-content: flex-end; gap: 8px; padding: 14px 4px 10px; background: linear-gradient(#f8f8fc, #fff); margin: 0 -12px; padding-left: 12px; padding-right: 12px; }
.apx-phone-input { display: flex; align-items: center; justify-content: space-between; border: 1.5px solid var(--line); border-radius: 16px; padding: 11px 14px; font-size: .8rem; color: #9a9db3; }
.apx-phone-input i { color: var(--v); }
.apx-msg { max-width: 86%; padding: 9px 12px; border-radius: 16px; font-size: .8rem; line-height: 1.45; animation: apxIn .4s cubic-bezier(.2, .8, .2, 1); }
.apx-msg.bot { background: #fff; border: 1px solid var(--line); border-bottom-left-radius: 5px; align-self: flex-start; color: var(--ink2); box-shadow: 0 2px 6px rgba(14, 16, 39, .05); }
.apx-msg.user { background: var(--v); color: #fff; border-bottom-right-radius: 5px; align-self: flex-end; }
.apx-msg.typing { display: flex; gap: 4px; }
.apx-msg.typing i { width: 6px; height: 6px; border-radius: 50%; background: #b3b6cc; animation: apxDot 1.2s infinite; }
.apx-msg.typing i:nth-child(2) { animation-delay: .15s; } .apx-msg.typing i:nth-child(3) { animation-delay: .3s; }
.apx-msg.ok { background: #ecfdf5; border-color: #a7f3d0; color: #065f46; }
@keyframes apxIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@keyframes apxDot { 0%, 60%, 100% { transform: translateY(0); opacity: .5; } 30% { transform: translateY(-4px); opacity: 1; } }
.apx-float { position: absolute; display: flex; gap: 11px; align-items: center; background: #fff; color: var(--ink); border-radius: 18px; padding: 12px 15px 12px 12px; box-shadow: 0 24px 50px -18px rgba(0, 0, 0, .55); animation: apxFloat 6s ease-in-out infinite; z-index: 3; }
.apx-float small { display: block; color: var(--mut); font-size: .7rem; font-weight: 700; }
.apx-float b { display: block; font-size: .9rem; }
.apx-float .tag { display: inline-block; font-size: .7rem; font-weight: 800; margin-top: 3px; padding: 2px 8px; border-radius: 999px; background: #ffe4e6; color: #be123c; }
.apx-float .ic { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; color: #fff; font-size: 1.1rem; flex: none; }
.apx-float .ic.mint { background: linear-gradient(135deg, #10b981, #0ea5e9); } .apx-float .ic.violet { background: linear-gradient(135deg, #8b5cf6, #ec4899); } .apx-float .ic.amber { background: linear-gradient(135deg, #f59e0b, #ef4444); }
.apx-float.f1 { left: -20px; top: 130px; opacity: 0; transform: translateX(-20px); transition: opacity .5s, transform .5s; animation: none; }
.apx-float.f1.show { opacity: 1; transform: none; }
.apx-float.f2 { right: -30px; top: -14px; animation-delay: -2s; }
.apx-float.f2 .tag { background: #ede9fe; color: #6d28d9; }
.apx-float.f3 { left: -30px; bottom: -6px; animation-delay: -4s; }
.apx-float.f3 .tag { background: #dcfce7; color: #047857; }
@keyframes apxFloat { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
.apx-strip { margin-top: 56px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .12); border-radius: 22px; overflow: hidden; }
.apx-strip div { background: rgba(11, 12, 29, .6); padding: 22px 24px; backdrop-filter: blur(8px); }
.apx-strip b { display: block; font-size: 1.6rem; font-weight: 800; letter-spacing: -.03em; }
.apx-strip span { color: #b9bbd6; font-size: .88rem; }
@media (max-width: 991.98px) {
    .apx-hero-grid { grid-template-columns: 1fr; }
    .apx-hero-art { height: 560px; max-width: 460px; margin: 0 auto; width: 100%; }
    .apx-strip { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 575.98px) {
    .apx-hero { padding: 130px 0 40px; }
    .apx-hero-art { height: 520px; }
    .apx-phone { width: 270px; height: 500px; }
    .apx-float { padding: 10px 12px 10px 10px; }
    .apx-phone { left: 50%; }
    .apx-float.f2 { right: -6px; top: -20px; }
    .apx-float.f3 { left: -6px; bottom: -14px; }
    .apx-float.f1 { left: -6px; }
    .apx-float b { font-size: .82rem; }
    .apx-sec { padding: 72px 0; }
    .apx-btn { width: 100%; justify-content: center; }
}

/* ============ PROBLEMS ============ */
.apx-problems { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.apx-prob { background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: 28px; display: flex; flex-direction: column; transition: box-shadow .25s, transform .25s; }
.apx-prob:hover { box-shadow: 0 30px 60px -28px rgba(14, 16, 39, .3); transform: translateY(-4px); }
.apx-prob .pi { width: 50px; height: 50px; border-radius: 15px; display: grid; place-items: center; font-size: 1.35rem; background: #fff1f2; color: #e11d48; margin-bottom: 18px; }
.apx-prob h3 { font-size: 1.18rem; font-weight: 800; margin-bottom: 10px; }
.apx-prob p { color: var(--mut); font-size: .95rem; flex: 1; }
.apx-prob .fix { margin-top: 18px; padding: 12px 14px; border-radius: 14px; background: linear-gradient(135deg, #f5f3ff, #fdf2f8); color: #5b21b6; font-weight: 700; font-size: .9rem; display: flex; gap: 8px; }
@media (max-width: 991.98px) { .apx-problems { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .apx-problems { grid-template-columns: 1fr; } }

/* ============ BEFORE / AFTER ============ */
.apx-compare { max-width: 900px; margin: 0 auto; background: #fff; border-radius: 28px; border: 1px solid var(--line); padding: 26px; box-shadow: 0 30px 60px -36px rgba(14, 16, 39, .3); }
.apx-cmp-toggle { position: relative; display: grid; grid-template-columns: 1fr 1fr; background: var(--bg); border-radius: 999px; padding: 5px; margin-bottom: 18px; }
.apx-cmp-toggle button { position: relative; z-index: 1; border: 0; background: none; padding: 13px 10px; font-weight: 800; font-size: .95rem; color: var(--mut); border-radius: 999px; cursor: pointer; font-family: inherit; }
.apx-cmp-toggle button.on { color: #fff; }
.apx-cmp-toggle .pill { position: absolute; top: 5px; bottom: 5px; left: 5px; width: calc(50% - 5px); border-radius: 999px; background: #64748b; transition: transform .45s cubic-bezier(.2, .9, .3, 1), background .45s; }
.apx-cmp-toggle.after .pill { transform: translateX(100%); background: linear-gradient(135deg, var(--v), #db2777); }
.apx-cmp-rows > div { display: grid; grid-template-columns: 210px 1fr; gap: 16px; align-items: center; padding: 15px 8px; border-bottom: 1px dashed var(--line); }
.apx-cmp-rows > div:last-child { border: 0; }
.apx-cmp-rows .k { font-weight: 700; color: var(--ink2); font-size: .92rem; }
.apx-cmp-rows .v { display: flex; gap: 10px; align-items: flex-start; font-size: .95rem; animation: apxIn .4s; }
.apx-cmp-rows .v i { font-size: 1.15rem; margin-top: 1px; }
.apx-cmp-rows .v.bad i { color: #e11d48; } .apx-cmp-rows .v.bad { color: var(--mut); }
.apx-cmp-rows .v.good i { color: var(--mint); } .apx-cmp-rows .v.good { color: var(--ink); font-weight: 600; }
@media (max-width: 640px) { .apx-cmp-rows > div { grid-template-columns: 1fr; gap: 6px; } .apx-compare { padding: 16px; } }

/* ============ FEATURES ============ */
.apx-tabs { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-bottom: 34px; }
.apx-tabs button { display: inline-flex; align-items: center; gap: 8px; border: 1.5px solid var(--line); background: #fff; border-radius: 999px; padding: 11px 18px; font-weight: 700; font-size: .92rem; color: var(--ink2); cursor: pointer; font-family: inherit; transition: all .2s; }
.apx-tabs button i { color: var(--v); }
.apx-tabs button:hover { border-color: var(--v); }
.apx-tabs button.on { background: var(--ink); color: #fff; border-color: var(--ink); }
.apx-tabs button.on i { color: #fbbf24; }
.apx-feature { display: grid; grid-template-columns: .82fr 1.18fr; gap: 46px; align-items: center; animation: apxIn .5s; }
.apx-feature h3 { font-size: clamp(1.6rem, 3vw, 2.2rem); font-weight: 800; margin-bottom: 14px; }
.apx-feature p.d { color: var(--mut); font-size: 1.05rem; margin-bottom: 20px; }
.apx-feature ul li { display: flex; gap: 10px; margin-bottom: 11px; color: var(--ink2); font-size: .98rem; line-height: 1.5; }
.apx-feature ul li i { color: var(--mint); font-size: 1.1rem; }
.apx-feature .apx-actions { margin-top: 26px; }
.apx-shot { position: relative; border-radius: 20px; overflow: hidden; box-shadow: 0 50px 90px -40px rgba(14, 16, 39, .55), 0 0 0 1px rgba(14, 16, 39, .08); background: #fff; display: block; transition: transform .35s; }
.apx-shot:hover { transform: translateY(-4px) scale(1.01); }
.apx-shot .bar { height: 34px; background: #f1f2f8; display: flex; align-items: center; gap: 6px; padding: 0 14px; }
.apx-shot .bar i { width: 10px; height: 10px; border-radius: 50%; background: #d7d9e6; }
.apx-shot .bar em { margin-left: 10px; font-style: normal; font-size: .72rem; color: var(--mut); background: #fff; border-radius: 6px; padding: 3px 12px; flex: 1; max-width: 360px; }
.apx-shot img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; object-position: top; }
.apx-shot .live { position: absolute; right: 14px; bottom: 14px; background: rgba(14, 16, 39, .85); color: #fff; font-size: .78rem; font-weight: 700; padding: 7px 13px; border-radius: 999px; }
@media (max-width: 991.98px) { .apx-feature { grid-template-columns: 1fr; gap: 28px; } }

/* ============ CHATBOT HOW ============ */
.apx-howgrid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.apx-sec.dark h2 { color: #fff; }
.apx-steps { margin-top: 34px !important; }
.apx-steps li { display: flex; gap: 16px; margin-bottom: 20px; }
.apx-steps li > span { width: 38px; height: 38px; border-radius: 12px; flex: none; display: grid; place-items: center; font-weight: 800; background: rgba(167, 139, 250, .18); color: #c4b5fd; border: 1px solid rgba(167, 139, 250, .35); }
.apx-steps b { display: block; font-size: 1.05rem; margin-bottom: 3px; }
.apx-steps p { color: #b9bbd6; font-size: .94rem; }
.apx-note { margin-top: 12px !important; color: #b9bbd6; font-size: .9rem; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .1); border-radius: 14px; padding: 12px 14px; }
.apx-note i { color: #34d399; margin-right: 6px; }
.apx-replay { position: relative; background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .12); border-radius: 28px; padding: 22px; min-height: 520px; display: grid; grid-template-columns: 1fr 170px; gap: 16px; }
.apx-replay-chat { background: #fff; border-radius: 20px; padding: 16px; display: flex; flex-direction: column; justify-content: flex-end; gap: 9px; overflow: hidden; min-height: 470px; color: var(--ink); }
.apx-replay-chat .apx-msg { font-size: .84rem; }
.apx-replay-tags { display: flex; flex-direction: column; justify-content: flex-end; gap: 10px; }
.apx-replay-tags span { display: block; font-size: .76rem; font-weight: 700; padding: 9px 11px; border-radius: 12px; background: rgba(167, 139, 250, .16); border: 1px solid rgba(167, 139, 250, .3); color: #e9e5ff; animation: apxIn .4s; }
.apx-replay-tags span i { color: #fbbf24; margin-right: 5px; }
.apx-replay-tags span.lead { background: rgba(16, 185, 129, .2); border-color: rgba(16, 185, 129, .45); color: #d1fae5; }
@media (max-width: 991.98px) { .apx-howgrid { grid-template-columns: 1fr; } }
@media (max-width: 575.98px) { .apx-replay { grid-template-columns: 1fr; padding: 14px; } .apx-replay-tags { flex-direction: row; flex-wrap: wrap; } }

/* ============ BLOG ============ */
.apx-pipe { display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; margin-bottom: 40px; position: relative; }
.apx-pipe-step { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 18px 16px; text-align: center; position: relative; }
.apx-pipe-step:not(:last-child)::after { content: '\2192'; position: absolute; right: -11px; top: 50%; transform: translateY(-50%); color: #c4b5fd; font-weight: 800; z-index: 1; }
.apx-pipe-step i { font-size: 1.5rem; color: var(--v); display: block; margin-bottom: 8px; }
.apx-pipe-step b { display: block; font-size: .95rem; margin-bottom: 4px; }
.apx-pipe-step small { color: var(--mut); font-size: .8rem; line-height: 1.4; display: block; }
@media (max-width: 991.98px) { .apx-pipe { grid-template-columns: repeat(3, 1fr); } .apx-pipe-step:nth-child(3)::after { display: none; } }
@media (max-width: 575.98px) { .apx-pipe { grid-template-columns: repeat(2, 1fr); } .apx-pipe-step::after { display: none; } }
.apx-writer { display: grid; grid-template-columns: 1fr 280px; gap: 20px; max-width: 1000px; margin: 0 auto; }
.apx-writer-doc { background: #fff; border-radius: 22px; border: 1px solid var(--line); box-shadow: 0 30px 60px -36px rgba(14, 16, 39, .35); overflow: hidden; min-height: 400px; }
.apx-writer-doc .bar { display: flex; align-items: center; gap: 6px; padding: 12px 16px; background: #f6f6fb; border-bottom: 1px solid var(--line); }
.apx-writer-doc .bar span { width: 10px; height: 10px; border-radius: 50%; background: #d7d9e6; }
.apx-writer-doc .bar em { margin-left: 8px; font-style: normal; font-size: .78rem; font-weight: 700; color: var(--mut); }
.apx-writer-doc h4 { font-size: 1.45rem; font-weight: 800; padding: 22px 26px 6px; min-height: 64px; }
.apx-writer-doc #wBody { padding: 4px 26px 26px; font-size: .95rem; color: var(--ink2); line-height: 1.7; }
.apx-writer-doc #wBody h5 { font-size: 1.05rem; font-weight: 800; margin: 14px 0 6px; color: var(--ink); }
.apx-writer-doc .cur::after { content: '\258D'; color: var(--v); animation: apxBlink 1s steps(1) infinite; }
@keyframes apxBlink { 50% { opacity: 0; } }
.apx-writer-side { background: #fff; border-radius: 22px; border: 1px solid var(--line); padding: 24px; text-align: center; display: flex; flex-direction: column; align-items: center; }
.apx-writer-side .ring { width: 110px; height: 110px; border-radius: 50%; display: grid; place-items: center; background: conic-gradient(var(--mint) calc(var(--p) * 1%), #eef0f6 0); position: relative; margin-bottom: 10px; transition: --p .3s; }
.apx-writer-side .ring::before { content: ''; position: absolute; inset: 9px; border-radius: 50%; background: #fff; }
.apx-writer-side .ring span { position: relative; font-size: 1.9rem; font-weight: 800; }
.apx-writer-side ul { text-align: left; width: 100%; margin: 14px 0 18px !important; font-size: .84rem; }
.apx-writer-side li { display: flex; gap: 8px; margin-bottom: 8px; color: var(--ink2); opacity: .35; transition: opacity .3s; }
.apx-writer-side li.on { opacity: 1; }
.apx-writer-side li i { color: var(--mint); }
@media (max-width: 767.98px) { .apx-writer { grid-template-columns: 1fr; } }

/* ============ CALCULATOR ============ */
.apx-calc { display: grid; grid-template-columns: 1.1fr .9fr; gap: 0; background: #fff; border-radius: 28px; border: 1px solid var(--line); overflow: hidden; box-shadow: 0 40px 80px -40px rgba(14, 16, 39, .35); max-width: 1060px; margin: 0 auto; }
.apx-calc-in { padding: 32px; }
.apx-calc-in .row2 { display: flex; justify-content: space-between; align-items: center; margin-bottom: 18px; }
.apx-calc-in label { font-weight: 700; font-size: .92rem; color: var(--ink2); }
.apx-calc-in select { border: 1.5px solid var(--line); border-radius: 12px; padding: 9px 12px; font-weight: 700; font-family: inherit; background: #fff; }
.apx .sl { margin-bottom: 22px; }
.apx .sl > div { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-bottom: 9px; }
.apx .sl output { font-weight: 800; font-size: 1.05rem; color: var(--v); white-space: nowrap; }
.apx input[type=range] { width: 100%; -webkit-appearance: none; appearance: none; height: 8px; border-radius: 99px; background: linear-gradient(90deg, var(--v) var(--f, 50%), #e8e8f2 var(--f, 50%)); outline: none; }
.apx input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; width: 24px; height: 24px; border-radius: 50%; background: #fff; border: 4px solid var(--v); box-shadow: 0 4px 12px rgba(91, 61, 245, .4); cursor: pointer; }
.apx input[type=range]::-moz-range-thumb { width: 18px; height: 18px; border-radius: 50%; background: #fff; border: 4px solid var(--v); cursor: pointer; }
.apx .assume { background: var(--bg); border-radius: 16px; padding: 14px 16px; }
.apx .assume summary { cursor: pointer; font-weight: 800; font-size: .9rem; color: var(--vd); list-style: none; }
.apx .assume summary::-webkit-details-marker { display: none; }
.apx .assume[open] summary { margin-bottom: 16px; }
.apx .assume .sl:last-child { margin-bottom: 0; }
.apx-calc-out { background: radial-gradient(80% 60% at 100% 0%, rgba(244, 114, 182, .35), transparent 60%), linear-gradient(160deg, var(--v), #241a6b); color: #fff; padding: 34px 32px; display: flex; flex-direction: column; gap: 22px; }
.apx-calc-out .big small { display: block; font-weight: 700; color: #ddd8ff; font-size: .9rem; }
.apx-calc-out .big b { display: block; font-size: clamp(2.3rem, 4.5vw, 3.3rem); font-weight: 800; letter-spacing: -.04em; line-height: 1.1; margin: 4px 0; }
.apx-calc-out .big span { color: #ddd8ff; font-weight: 600; }
.apx-calc-out .bars > div { display: grid; grid-template-columns: 130px 1fr auto; gap: 10px; align-items: center; margin-bottom: 10px; font-size: .86rem; }
.apx-calc-out .bars span { color: #ddd8ff; font-weight: 600; }
.apx-calc-out .bars i { display: block; height: 14px; border-radius: 99px; background: rgba(255, 255, 255, .35); transition: width .5s cubic-bezier(.2, .8, .2, 1); min-width: 6px; }
.apx-calc-out .bars i.hot { background: linear-gradient(90deg, #fbbf24, #fb7185); }
.apx-calc-out .bars b { font-size: .86rem; white-space: nowrap; }
.apx-calc-out .mini { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.apx-calc-out .mini div { background: rgba(255, 255, 255, .1); border-radius: 16px; padding: 14px; }
.apx-calc-out .mini b { display: block; font-size: 1.6rem; font-weight: 800; }
.apx-calc-out .mini span { color: #ddd8ff; font-size: .82rem; }
.apx-calc-out .fine { font-size: .76rem; color: #c9c3f5; margin-top: auto; }
@media (max-width: 860px) { .apx-calc { grid-template-columns: 1fr; } .apx-calc-in, .apx-calc-out { padding: 24px; } }

/* ============ MODULES ============ */
.apx-mods { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.apx-mods > div { display: grid; grid-template-columns: 46px 1fr; grid-template-rows: auto auto; column-gap: 14px; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 16px 18px; transition: border-color .2s, transform .2s; }
.apx-mods > div:hover { border-color: rgba(91, 61, 245, .4); transform: translateY(-2px); }
.apx-mods i { grid-row: span 2; width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; font-size: 1.25rem; background: #efecfe; color: var(--v); }
.apx-mods b { font-size: .98rem; }
.apx-mods span { color: var(--mut); font-size: .84rem; }
@media (max-width: 991.98px) { .apx-mods { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 575.98px) { .apx-mods { grid-template-columns: 1fr; } }

/* ============ PERSONALISE ============ */
.apx-personal { display: grid; grid-template-columns: 1fr 1fr; gap: 46px; align-items: center; background: #0b0c1d; color: #fff; border-radius: 32px; padding: 52px; position: relative; overflow: hidden; }
.apx-personal::before { content: ''; position: absolute; inset: 0; background: radial-gradient(50% 80% at 0% 0%, rgba(91, 61, 245, .55), transparent 60%), radial-gradient(40% 70% at 100% 100%, rgba(255, 107, 74, .35), transparent 60%); }
.apx-personal > * { position: relative; }
.apx-personal h2 { color: #fff; font-size: clamp(1.8rem, 3.4vw, 2.6rem); }
.apx-personal p { color: #cfd0e6; margin-top: 14px; font-size: 1.05rem; }
.apx-pform { background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .15); border-radius: 24px; padding: 24px; backdrop-filter: blur(10px); }
.apx-pform label { display: block; font-size: .82rem; font-weight: 700; color: #ddd; margin-bottom: 14px; }
.apx-pform input, .apx-pform select { display: block; width: 100%; margin-top: 6px; border: 1.5px solid rgba(255, 255, 255, .2); background: rgba(255, 255, 255, .08); color: #fff; border-radius: 12px; padding: 12px 14px; font-size: .95rem; font-family: inherit; outline: none; }
.apx-pform input::placeholder { color: #9a9cb8; }
.apx-pform select option { color: #111; }
.apx-pform input:focus, .apx-pform select:focus { border-color: #a78bfa; }
.apx-pform .two { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.apx-pform .sw { display: flex; gap: 8px; margin: 4px 0 18px; }
.apx-pform .sw button { width: 34px; height: 34px; border-radius: 10px; border: 3px solid transparent; cursor: pointer; }
.apx-pform .sw button.on { border-color: #fff; }
.apx-pform .apx-btn { width: 100%; justify-content: center; }
@media (max-width: 860px) { .apx-personal { grid-template-columns: 1fr; padding: 30px 22px; } }

/* ============ TIMELINE ============ */
.apx-timeline { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; position: relative; }
.apx-timeline::before { content: ''; position: absolute; left: 6%; right: 6%; top: 21px; height: 2px; background: linear-gradient(90deg, var(--v), var(--coral)); }
.apx-timeline > div { position: relative; background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 56px 22px 24px; }
.apx-timeline span { position: absolute; top: 8px; left: 22px; font-size: .78rem; font-weight: 800; color: #fff; background: var(--v); padding: 6px 12px; border-radius: 999px; }
.apx-timeline > div:last-child span { background: var(--coral); }
.apx-timeline b { display: block; font-size: 1.1rem; margin-bottom: 8px; }
.apx-timeline p { color: var(--mut); font-size: .92rem; }
@media (max-width: 860px) { .apx-timeline { grid-template-columns: 1fr 1fr; } .apx-timeline::before { display: none; } }
@media (max-width: 520px) { .apx-timeline { grid-template-columns: 1fr; } }

/* ============ FAQ ============ */
.apx-faq { max-width: 880px; }
.apx-faq details { background: #fff; border: 1px solid var(--line); border-radius: 18px; margin-bottom: 12px; transition: box-shadow .2s; }
.apx-faq details[open] { box-shadow: 0 20px 40px -26px rgba(14, 16, 39, .3); }
.apx-faq summary { list-style: none; cursor: pointer; padding: 20px 22px; font-weight: 800; font-size: 1.02rem; display: flex; justify-content: space-between; align-items: center; gap: 14px; }
.apx-faq summary::-webkit-details-marker { display: none; }
.apx-faq summary::after { content: '+'; width: 32px; height: 32px; border-radius: 50%; background: var(--bg); color: var(--v); display: grid; place-items: center; font-size: 1.3rem; flex: none; transition: transform .25s, background .25s, color .25s; }
.apx-faq details[open] summary::after { transform: rotate(45deg); background: var(--v); color: #fff; }
.apx-faq details p { padding: 0 22px 22px; color: var(--mut); }

/* ============ CTA ============ */
.apx-cta { padding: 30px 0 110px; }
.apx-cta-box { text-align: center; border-radius: 34px; padding: 70px 30px; color: #fff; position: relative; overflow: hidden; background: radial-gradient(60% 90% at 0% 0%, rgba(167, 139, 250, .55), transparent 60%), radial-gradient(50% 90% at 100% 100%, rgba(255, 107, 74, .5), transparent 60%), #120f33; }
.apx-cta-box h2 { color: #fff; font-size: clamp(2rem, 4vw, 3.2rem); max-width: 860px; margin: 0 auto 16px; }
.apx-cta-box p { color: #d9d6f5; font-size: 1.12rem; margin-bottom: 30px; }
.apx-cta-link { display: inline-flex; gap: 6px; margin-top: 22px; color: #c4b5fd; font-weight: 700; }
.apx-cta-link:hover { color: #fff; }
