/* Standalone CSS: footer updates do not require a Tailwind build. */
.as-footer {
    --footer-text: #f4efff;
    --footer-muted: #c1b5d6;
    --footer-subtle: #a99bbb;
    --footer-accent: #ddc9ff;
    --footer-line: rgba(215, 190, 255, .15);
    position: relative;
    isolation: isolate;
    overflow: hidden;
    margin-top: 80px;
    color: var(--footer-text);
    background: linear-gradient(115deg, #241a3b 0%, #2b1d46 48%, #211a39 100%);
    border-top: 1px solid rgba(196, 157, 255, .3);
}
.as-footer::before {
    content: '';
    position: absolute;
    inset: 0 8% auto;
    height: 1px;
    background: linear-gradient(90deg, transparent, #c4a4ff, #9bafff, transparent);
}
.as-footer__atmosphere { position: absolute; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; }
.as-footer__aurora { position: absolute; border-radius: 50%; animation: as-footer-drift 18s ease-in-out infinite alternate; animation-play-state: var(--footer-play-state, running); }
.as-footer__aurora--violet {
    width: 1100px; height: 700px; top: -440px; left: -200px;
    background: radial-gradient(ellipse, rgba(169, 114, 255, .3), rgba(140, 82, 229, .1) 45%, transparent 70%);
}
.as-footer__aurora--blue {
    width: 1000px; height: 750px; right: -200px; bottom: -410px;
    background: radial-gradient(ellipse, rgba(129, 140, 248, .23), rgba(139, 92, 246, .1) 45%, transparent 70%);
    animation-duration: 23s; animation-delay: -11s; animation-direction: alternate-reverse;
}
.as-footer__orbits {
    position: absolute; width: 950px; height: 950px; right: -290px; top: -500px;
    border: 1px solid rgba(206, 173, 255, .13); border-radius: 45%;
    box-shadow: 0 0 0 38px rgba(206, 173, 255, .025), 0 0 0 39px rgba(206, 173, 255, .07), 0 0 0 95px rgba(206, 173, 255, .02), 0 0 0 96px rgba(206, 173, 255, .05), 0 0 0 170px rgba(206, 173, 255, .015), 0 0 0 171px rgba(206, 173, 255, .04);
    transform: rotate(-25deg) scaleY(.58);
    animation: as-footer-orbit 32s ease-in-out infinite alternate;
    animation-play-state: var(--footer-play-state, running);
}
.as-footer__particles { position: absolute; inset: 0; }
.as-footer__particles span {
    position: absolute; left: calc(5% + var(--i) * 10%); top: calc(15% + var(--i) * 7%);
    width: 3px; height: 3px; border-radius: 50%; background: #dac4ff;
    box-shadow: 0 0 9px 2px rgba(196, 157, 255, .35);
    opacity: 0; animation: as-footer-mote calc(8s + var(--i) * .7s) ease-in-out infinite;
    animation-delay: calc(var(--i) * -2.3s); animation-play-state: var(--footer-play-state, running);
}
.as-footer__particles span:nth-child(3n) { width: 2px; height: 7px; border-radius: 2px; }
.as-footer__inner { max-width: 1280px; margin: 0 auto; padding: 58px 32px 24px; }
.as-footer__main { display: grid; grid-template-columns: minmax(260px, 1fr) 1.65fr; gap: 88px; padding-bottom: 42px; }
.as-footer__logo { display: inline-flex; align-items: center; gap: 11px; color: var(--footer-text); font-size: 24px; font-weight: 800; letter-spacing: -.8px; text-decoration: none; }
.as-footer__logo img { width: 42px; height: 42px; object-fit: contain; filter: drop-shadow(0 0 12px rgba(167, 139, 250, .25)); }
.as-footer__logo > span > span { color: #c6a4ff; }
.as-footer__headline { margin: 21px 0 13px; font-size: clamp(23px, 2.2vw, 29px); line-height: 1.3; font-weight: 600; letter-spacing: -.9px; }
.as-footer__headline > span { color: var(--footer-accent); }
.as-footer__description { max-width: 320px; margin: 0; font-size: 13px; line-height: 1.85; color: var(--footer-muted); }
.as-footer__explore { display: inline-flex; align-items: center; gap: 14px; margin-top: 22px; padding: 10px 15px; border: 1px solid rgba(211, 180, 255, .28); border-radius: 8px; background: rgba(191, 148, 255, .07); color: var(--footer-accent); font-size: 12px; font-weight: 600; text-decoration: none; transition: background .2s ease, border-color .2s ease; }
.as-footer__explore svg { width: 16px; height: 16px; transition: transform .2s ease; }
.as-footer__explore:hover { background: rgba(191, 148, 255, .16); border-color: rgba(211, 180, 255, .5); }
.as-footer__explore:hover svg { transform: translate(2px, -2px); }
.as-footer__navigation { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 36px; padding-top: 10px; }
.as-footer__column h2 { margin: 0 0 21px; color: var(--footer-text); font-size: 11px; line-height: 1.5; font-weight: 700; letter-spacing: 1.4px; text-transform: uppercase; }
.as-footer__column ul { display: grid; gap: 13px; margin: 0; padding: 0; list-style: none; }
.as-footer__column a { display: inline-block; color: var(--footer-muted); font-size: 13px; line-height: 1.5; text-decoration: none; transition: color .2s ease, transform .2s ease; }
.as-footer__column a:hover { color: var(--footer-text); transform: translateX(3px); }
.as-footer__trust { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; padding: 25px 0; border-top: 1px solid var(--footer-line); border-bottom: 1px solid var(--footer-line); }
.as-footer__feature { display: flex; align-items: center; gap: 12px; }
.as-footer__feature-icon { display: flex; align-items: center; justify-content: center; flex-shrink: 0; width: 36px; height: 36px; border: 1px solid currentColor; border-radius: 11px; background: rgba(255, 255, 255, .025); }
.as-footer__feature-icon svg { width: 19px; height: 19px; }
.as-footer__feature-icon--mint { color: #7cdec6; border-color: rgba(124, 222, 198, .22); }
.as-footer__feature-icon--gold { color: #e7c989; border-color: rgba(231, 201, 137, .22); }
.as-footer__feature-icon--violet { color: #c6a4ff; border-color: rgba(198, 164, 255, .22); }
.as-footer__feature-icon--blue { color: #a4baff; border-color: rgba(164, 186, 255, .22); }
.as-footer__feature-title { margin: 0 0 3px; color: var(--footer-text); font-size: 12px; line-height: 1.4; font-weight: 600; }
.as-footer__feature-description { margin: 0; color: var(--footer-subtle); font-size: 11px; line-height: 1.5; }
.as-footer__utility { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 18px 24px; padding: 24px 0 20px; }
.as-footer__legal { display: flex; flex-wrap: wrap; gap: 12px 20px; }
.as-footer__legal a, .as-footer__email { color: var(--footer-muted); font-size: 11px; line-height: 1.6; text-decoration: none; transition: color .2s ease; }
.as-footer__email { display: inline-flex; align-items: center; gap: 8px; }
.as-footer__email svg { width: 15px; height: 15px; }
.as-footer__legal a:hover, .as-footer__email:hover { color: var(--footer-text); }
.as-footer__notice { display: flex; gap: 12px; align-items: baseline; padding: 13px 16px; border: 1px solid rgba(215, 190, 255, .1); border-radius: 8px; background: rgba(14, 9, 28, .17); }
.as-footer__demo-label { flex-shrink: 0; color: var(--footer-accent); font-size: 9px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; }
.as-footer__notice p { margin: 0; color: var(--footer-muted); font-size: 10px; line-height: 1.9; }
.as-footer__notice a { color: var(--footer-accent); text-decoration: underline; text-decoration-color: rgba(198, 164, 255, .35); text-underline-offset: 3px; }
.as-footer__notice a:hover { text-decoration-color: currentColor; }
.as-footer__bottom { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding-top: 18px; }
.as-footer__bottom > p { margin: 0; color: var(--footer-subtle); font-size: 10px; line-height: 1.8; }
.as-footer__motion { display: inline-flex; flex-shrink: 0; align-items: center; gap: 6px; padding: 6px 0 6px 8px; border: 0; background: transparent; color: var(--footer-muted); cursor: pointer; font: inherit; font-size: 10px; }
.as-footer__motion[hidden] { display: none; }
.as-footer__motion svg { width: 11px; height: 11px; }
.as-footer__motion:hover { color: var(--footer-text); }
.as-footer a:focus-visible, .as-footer button:focus-visible { outline: 2px solid var(--footer-accent); outline-offset: 5px; border-radius: 3px; }
@keyframes as-footer-drift { from { transform: translate3d(0, 0, 0) scale(1); opacity: .7; } to { transform: translate3d(120px, 65px, 0) scale(1.15); opacity: 1; } }
@keyframes as-footer-orbit { from { transform: rotate(-25deg) scaleY(.58); } to { transform: rotate(-5deg) scaleY(.68); } }
@keyframes as-footer-mote { 0%, 100% { transform: translate3d(0, 16px, 0); opacity: 0; } 25%, 65% { opacity: .55; } 85% { transform: translate3d(24px, -65px, 0); opacity: 0; } }
/* Keep the same lavender atmosphere with readable ink in the light theme. */
:root[data-theme="light"] .as-footer {
    --footer-text: #30204c;
    --footer-muted: #5c4a73;
    --footer-subtle: #69577d;
    --footer-accent: #6d28b8;
    --footer-line: rgba(109, 40, 184, .14);
    background: linear-gradient(115deg, #eee5fc, #f0e9fc 48%, #e8e7fc);
    border-top-color: rgba(109, 40, 184, .2);
}
:root[data-theme="light"] .as-footer__logo > span > span { color: #7c3aed; }
:root[data-theme="light"] .as-footer__aurora { opacity: .5; }
:root[data-theme="light"] .as-footer__orbits { opacity: .65; border-color: rgba(109, 40, 184, .15); }
:root[data-theme="light"] .as-footer__explore { border-color: rgba(109, 40, 184, .23); background: rgba(124, 58, 237, .06); }
:root[data-theme="light"] .as-footer__explore:hover { background: rgba(124, 58, 237, .12); }
:root[data-theme="light"] .as-footer__feature-icon--mint { color: #137c68; border-color: rgba(19, 124, 104, .25); }
:root[data-theme="light"] .as-footer__feature-icon--gold { color: #8d6518; border-color: rgba(141, 101, 24, .25); }
:root[data-theme="light"] .as-footer__feature-icon--violet { color: #7c3aed; border-color: rgba(124, 58, 237, .25); }
:root[data-theme="light"] .as-footer__feature-icon--blue { color: #4562b8; border-color: rgba(69, 98, 184, .25); }
:root[data-theme="light"] .as-footer__notice { background: rgba(255, 255, 255, .3); border-color: rgba(109, 40, 184, .12); }
@media (max-width: 1023px) {
    .as-footer__main { gap: 40px; grid-template-columns: minmax(230px, .9fr) 1.65fr; }
    .as-footer__navigation { gap: 22px; }
    .as-footer__trust { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 32px; }
}
@media (max-width: 767px) {
    .as-footer__inner { padding: 38px 24px 110px; }
    .as-footer__main { grid-template-columns: 1fr; gap: 36px; padding-bottom: 30px; }
    .as-footer__brand { max-width: 460px; }
    .as-footer__headline { font-size: 27px; }
    .as-footer__description { max-width: 390px; }
    .as-footer__navigation { padding-top: 0; gap: 24px 18px; }
    .as-footer__column h2 { font-size: 10px; letter-spacing: .8px; margin-bottom: 14px; }
    .as-footer__column ul { gap: 3px; }
    .as-footer__column a { display: inline-flex; align-items: center; min-height: 36px; font-size: 12px; }
    .as-footer__notice { flex-direction: column; gap: 4px; }
    .as-footer__bottom { align-items: flex-start; }
}
@media (max-width: 479px) {
    .as-footer__navigation { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .as-footer__column:last-child { grid-column: 1 / -1; }
    .as-footer__column:last-child ul { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 3px 18px; }
    .as-footer__trust { gap: 20px 14px; }
    .as-footer__feature { align-items: flex-start; gap: 9px; }
    .as-footer__feature-icon { width: 30px; height: 30px; border-radius: 9px; }
    .as-footer__feature-icon svg { width: 16px; height: 16px; }
    .as-footer__feature-title { font-size: 11px; }
    .as-footer__feature-description { font-size: 10px; }
    .as-footer__legal { gap: 4px 16px; }
    .as-footer__legal a { display: inline-flex; align-items: center; min-height: 32px; }
    .as-footer__bottom { flex-wrap: wrap; gap: 8px; }
    .as-footer__motion { padding-left: 0; min-height: 32px; }
}
@media (prefers-reduced-motion: reduce) {
    .as-footer__aurora, .as-footer__orbits, .as-footer__particles span { animation: none !important; }
    .as-footer__particles span { opacity: .25; }
    .as-footer a, .as-footer svg { transition: none; }
    .as-footer__motion { display: none; }
}
