/* ==========================================================================
   AutoPGSlot — Smart Scheduling Platform
   1.  Tokens & reset            9.  Hero                  17. Contact
   2.  Base typography          10.  Trusted / marquee     18. Footer
   3.  Utilities & components   11.  Features              19. Back to top
   4.  Ambient layers           12.  How it works          20. Auth pages
   5.  Cursor & progress        13.  Dashboard             21. Responsive
   6.  Preloader                14.  AI + Analytics        22. Motion prefs
   7.  Navigation               15.  Pricing
   8.  Sections & headings      16.  FAQ
   ========================================================================== */

/* ------------------------------------------------------ 1. Tokens & reset */

:root {
    /* Surfaces */
    --bg:            #05060c;
    --bg-2:          #080a14;
    --surface:       rgba(255, 255, 255, .04);
    --surface-2:     rgba(255, 255, 255, .06);
    --stroke:        rgba(255, 255, 255, .09);
    --stroke-2:      rgba(255, 255, 255, .16);

    /* Text */
    --text:          #edf0f7;
    --muted:         #a2aac2;
    --muted-2:       #737d99;

    /* Brand */
    --violet:        #7c5cff;
    --violet-2:      #a78bfa;
    --cyan:          #22d3ee;
    --pink:          #f472b6;
    --emerald:       #34d399;
    --amber:         #fbbf24;
    --rose:          #fb7185;
    --sky:           #38bdf8;

    --grad:          linear-gradient(120deg, var(--violet), var(--cyan) 55%, var(--pink));
    --grad-soft:     linear-gradient(120deg, rgba(124, 92, 255, .22), rgba(34, 211, 238, .18));

    /* Type */
    --font-display:  'Sora', 'Segoe UI', system-ui, sans-serif;
    --font-body:     'Inter', 'Segoe UI', system-ui, sans-serif;
    --font-mono:     'JetBrains Mono', ui-monospace, 'Cascadia Code', monospace;

    /* Space & shape */
    --container:     1200px;
    --radius:        20px;
    --radius-lg:     28px;
    --radius-sm:     12px;
    --section-y:     clamp(72px, 9vw, 132px);

    /* Effects */
    --shadow:        0 24px 60px -24px rgba(0, 0, 0, .85);
    --shadow-lg:     0 48px 120px -40px rgba(0, 0, 0, .9);
    --glow-violet:   0 0 60px -12px rgba(124, 92, 255, .55);
    --ease:          cubic-bezier(.22, 1, .36, 1);
    --ease-out:      cubic-bezier(.16, 1, .3, 1);

    --nav-h:         76px;
}

*, *::before, *::after { box-sizing: border-box; }

* { margin: 0; padding: 0; }

html {
    scroll-behavior: smooth;
    scroll-padding-top: calc(var(--nav-h) + 24px);
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.65;
    color: var(--text);
    background: var(--bg);
    overflow-x: hidden;
    min-height: 100vh;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body.is-loading { overflow: hidden; }
body.menu-open  { overflow: hidden; }

img, svg, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { background: none; border: 0; cursor: pointer; }

::selection { background: rgba(124, 92, 255, .35); color: #fff; }

::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: #06070f; }
::-webkit-scrollbar-thumb {
    background: linear-gradient(var(--violet), var(--cyan));
    border-radius: 99px;
    border: 2px solid #06070f;
}
::-webkit-scrollbar-thumb:hover { background: linear-gradient(var(--violet-2), var(--cyan)); }

:focus-visible {
    outline: 2px solid var(--cyan);
    outline-offset: 3px;
    border-radius: 6px;
}

.skip-link {
    position: fixed;
    top: -100px;
    left: 20px;
    z-index: 9999;
    padding: 12px 20px;
    border-radius: 0 0 12px 12px;
    background: var(--violet);
    color: #fff;
    font-weight: 600;
    transition: top .25s var(--ease);
}
.skip-link:focus { top: 0; }

/* -------------------------------------------------- 2. Base typography */

h1, h2, h3, h4 {
    font-family: var(--font-display);
    font-weight: 700;
    line-height: 1.12;
    letter-spacing: -.02em;
}

.grad-text {
    background: var(--grad);
    background-size: 220% 220%;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    animation: gradShift 9s ease infinite;
}

@keyframes gradShift {
    0%, 100% { background-position: 0% 50%; }
    50%      { background-position: 100% 50%; }
}

.container {
    width: min(100% - 40px, var(--container));
    margin-inline: auto;
}

/* --------------------------------------------- 3. Utilities & components */

.glass {
    position: relative;
    background: linear-gradient(160deg, rgba(255, 255, 255, .07), rgba(255, 255, 255, .022));
    border: 1px solid var(--stroke);
    border-radius: var(--radius);
    backdrop-filter: blur(18px) saturate(140%);
    -webkit-backdrop-filter: blur(18px) saturate(140%);
    box-shadow: var(--shadow);
}

.glass::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    padding: 1px;
    background: linear-gradient(140deg, rgba(255, 255, 255, .22), transparent 40%, transparent 60%, rgba(255, 255, 255, .08));
    -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
}

/* Cursor-tracking spotlight — --mx/--my are written by main.js on hover */
.feature::after,
.plan::after,
.metric::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: radial-gradient(340px circle at var(--mx, 50%) var(--my, 0%), rgba(255, 255, 255, .07), transparent 62%);
    opacity: 0;
    transition: opacity .4s var(--ease);
    pointer-events: none;
}
.feature:hover::after,
.plan:hover::after,
.metric:hover::after { opacity: 1; }

/* Buttons */
.btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 13px 24px;
    border-radius: 999px;
    font-weight: 600;
    font-size: .95rem;
    letter-spacing: .01em;
    white-space: nowrap;
    cursor: pointer;
    overflow: hidden;
    isolation: isolate;
    transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease), background .3s var(--ease);
}

.btn > * { position: relative; z-index: 2; }
.btn i { font-size: .85em; transition: transform .3s var(--ease); }
.btn:hover i { transform: translateX(3px); }
.btn:active { transform: scale(.97); }

.btn--primary {
    background: var(--grad);
    background-size: 200% 200%;
    color: #fff;
    box-shadow: 0 10px 30px -10px rgba(124, 92, 255, .8);
    animation: gradShift 8s ease infinite;
}
.btn--primary::after {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(100deg, transparent 20%, rgba(255, 255, 255, .45), transparent 80%);
    transform: translateX(-120%) skewX(-18deg);
    transition: transform .75s var(--ease);
}
.btn--primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 18px 44px -12px rgba(124, 92, 255, .95);
}
.btn--primary:hover::after { transform: translateX(120%) skewX(-18deg); }

.btn--glass {
    background: var(--surface);
    border: 1px solid var(--stroke-2);
    color: var(--text);
    backdrop-filter: blur(12px);
}
.btn--glass:hover {
    background: var(--surface-2);
    border-color: rgba(124, 92, 255, .6);
    transform: translateY(-3px);
}

.btn--ghost { color: var(--muted); padding-inline: 14px; }
.btn--ghost:hover { color: var(--text); }

.btn--lg { padding: 16px 30px; font-size: 1rem; }
.btn--block { display: flex; width: 100%; }

.btn__play {
    display: grid;
    place-items: center;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: var(--grad);
    font-size: .6rem;
    color: #fff;
}
.btn__play i { transform: translateX(1px); }
.btn:hover .btn__play i { transform: translateX(1px); }

.btn__label { display: inline-flex; align-items: center; gap: 10px; transition: opacity .25s, transform .25s; }
.btn__spinner {
    position: absolute;
    width: 20px;
    height: 20px;
    border: 2px solid rgba(255, 255, 255, .35);
    border-top-color: #fff;
    border-radius: 50%;
    opacity: 0;
    animation: spin .7s linear infinite;
}
.btn.is-loading { pointer-events: none; }
.btn.is-loading .btn__label { opacity: 0; transform: translateY(6px); }
.btn.is-loading .btn__spinner { opacity: 1; }

@keyframes spin { to { transform: rotate(360deg); } }

/* Pills, chips, dots */
.pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 7px 15px;
    border-radius: 999px;
    background: var(--surface);
    border: 1px solid var(--stroke);
    font-size: .8rem;
    font-weight: 500;
    color: var(--muted);
    backdrop-filter: blur(10px);
}
.pill--sm { padding: 4px 11px; font-size: .72rem; }
.pill--ok { color: var(--emerald); border-color: rgba(52, 211, 153, .3); background: rgba(52, 211, 153, .08); }

.pill__dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: currentColor;
    box-shadow: 0 0 0 0 currentColor;
    animation: ping 2s var(--ease) infinite;
}
.pill--live { color: var(--violet-2); border-color: rgba(124, 92, 255, .35); background: rgba(124, 92, 255, .1); }
.pill--live:hover { border-color: rgba(124, 92, 255, .7); background: rgba(124, 92, 255, .16); }
.pill--live i { font-size: .65rem; transition: transform .3s var(--ease); }
.pill--live:hover i { transform: translateX(3px); }

@keyframes ping {
    0%        { box-shadow: 0 0 0 0 rgba(255, 255, 255, .5); }
    70%, 100% { box-shadow: 0 0 0 8px rgba(255, 255, 255, 0); }
}

.chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    border-radius: 999px;
    background: var(--surface);
    border: 1px solid var(--stroke);
    font-size: .78rem;
    color: var(--muted);
}
.chip i { color: var(--violet-2); font-size: .8em; }

.dot { width: 8px; height: 8px; border-radius: 50%; display: inline-block; }
.dot--booked { background: var(--violet); }
.dot--auto   { background: var(--cyan); }
.dot--risk   { background: var(--amber); }
.dot--free   { background: rgba(255, 255, 255, .18); }
.dot--before { background: rgba(255, 255, 255, .28); }
.dot--after  { background: var(--violet); }

.dots { display: flex; gap: 7px; }
.dots span { width: 11px; height: 11px; border-radius: 50%; background: rgba(255, 255, 255, .14); }
.dots span:nth-child(1) { background: #ff5f57; }
.dots span:nth-child(2) { background: #febc2e; }
.dots span:nth-child(3) { background: #28c840; }

.avatars { display: flex; }
.avatars span {
    display: grid;
    place-items: center;
    width: 38px;
    height: 38px;
    margin-left: -12px;
    border-radius: 50%;
    border: 2px solid var(--bg);
    background: linear-gradient(140deg, hsl(var(--h) 75% 62%), hsl(calc(var(--h) + 45) 75% 48%));
    font-size: .72rem;
    font-weight: 700;
    color: #fff;
    transition: transform .3s var(--ease);
}
.avatars span:first-child { margin-left: 0; }
.avatars:hover span { transform: translateY(-3px); }

.circle-btn {
    display: grid;
    place-items: center;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: var(--surface);
    border: 1px solid var(--stroke);
    color: var(--muted);
    transition: all .3s var(--ease);
}
.circle-btn:hover {
    color: #fff;
    background: var(--grad);
    border-color: transparent;
    transform: translateY(-3px);
    box-shadow: 0 12px 28px -12px rgba(124, 92, 255, .9);
}

.caret {
    display: inline-block;
    width: 3px;
    height: .9em;
    margin-left: 4px;
    vertical-align: -.08em;
    background: var(--cyan);
    border-radius: 2px;
    animation: blink 1s steps(2) infinite;
}
.caret--block { width: 9px; height: 1.05em; background: var(--violet-2); }

@keyframes blink { 50% { opacity: 0; } }

/* ---------------------------------------------------- 4. Ambient layers */

.aurora {
    position: fixed;
    inset: 0;
    z-index: -3;
    overflow: hidden;
    pointer-events: none;
}

.aurora__blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(120px);
    opacity: .5;
    will-change: transform;
}
.aurora__blob--1 {
    width: 640px; height: 640px;
    top: -180px; left: -140px;
    background: radial-gradient(circle, rgba(124, 92, 255, .85), transparent 68%);
    animation: drift1 24s ease-in-out infinite;
}
.aurora__blob--2 {
    width: 560px; height: 560px;
    top: 24%; right: -160px;
    background: radial-gradient(circle, rgba(34, 211, 238, .6), transparent 68%);
    animation: drift2 30s ease-in-out infinite;
}
.aurora__blob--3 {
    width: 720px; height: 720px;
    bottom: -260px; left: 32%;
    background: radial-gradient(circle, rgba(244, 114, 182, .45), transparent 68%);
    animation: drift3 34s ease-in-out infinite;
}

@keyframes drift1 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33%      { transform: translate(120px, 80px) scale(1.15); }
    66%      { transform: translate(-60px, 140px) scale(.9); }
}
@keyframes drift2 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50%      { transform: translate(-140px, 100px) scale(1.2); }
}
@keyframes drift3 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    40%      { transform: translate(100px, -110px) scale(1.1); }
    75%      { transform: translate(-120px, -40px) scale(.95); }
}

.grid-overlay {
    position: fixed;
    inset: 0;
    z-index: -2;
    pointer-events: none;
    background-image:
        linear-gradient(rgba(255, 255, 255, .028) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, .028) 1px, transparent 1px);
    background-size: 64px 64px;
    mask-image: radial-gradient(ellipse 90% 60% at 50% 0%, #000 20%, transparent 75%);
    -webkit-mask-image: radial-gradient(ellipse 90% 60% at 50% 0%, #000 20%, transparent 75%);
}

.noise {
    position: fixed;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    opacity: .035;
    mix-blend-mode: overlay;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='4'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.particles {
    position: fixed;
    inset: 0;
    z-index: -2;
    pointer-events: none;
}

.mouse-glow {
    position: fixed;
    top: 0;
    left: 0;
    width: 520px;
    height: 520px;
    z-index: -1;
    border-radius: 50%;
    pointer-events: none;
    opacity: 0;
    transform: translate3d(-50%, -50%, 0);
    background: radial-gradient(circle, rgba(124, 92, 255, .16), rgba(34, 211, 238, .07) 40%, transparent 68%);
    transition: opacity .5s var(--ease);
}
.mouse-glow.is-active { opacity: 1; }

/* ------------------------------------------------ 5. Cursor & progress */

.cursor { position: fixed; top: 0; left: 0; z-index: 9998; pointer-events: none; mix-blend-mode: difference; }
.cursor__dot, .cursor__ring {
    position: fixed;
    top: 0;
    left: 0;
    border-radius: 50%;
    transform: translate3d(-50%, -50%, 0);
    pointer-events: none;
}
.cursor__dot {
    width: 7px;
    height: 7px;
    background: #fff;
}
.cursor__ring {
    width: 38px;
    height: 38px;
    border: 1.5px solid rgba(255, 255, 255, .6);
    transition: width .28s var(--ease), height .28s var(--ease), background .28s var(--ease), border-color .28s var(--ease);
}
.cursor.is-link .cursor__ring   { width: 62px; height: 62px; background: rgba(255, 255, 255, .12); border-color: transparent; }
.cursor.is-card .cursor__ring   { width: 78px; height: 78px; border-color: rgba(255, 255, 255, .35); }
.cursor.is-down .cursor__ring   { width: 30px; height: 30px; }
.cursor.is-hidden { opacity: 0; }

@media (hover: none), (pointer: coarse) { .cursor { display: none; } }

.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    z-index: 1001;
    background: rgba(255, 255, 255, .05);
}
.scroll-progress__bar {
    display: block;
    height: 100%;
    width: 0;
    background: var(--grad);
    background-size: 200% 100%;
    box-shadow: 0 0 14px rgba(124, 92, 255, .9);
    animation: gradShift 6s ease infinite;
}

/* ------------------------------------------------------- 6. Preloader */

.preloader {
    position: fixed;
    inset: 0;
    z-index: 10000;
    display: grid;
    place-items: center;
    background: radial-gradient(ellipse at 50% 30%, #0b0d1c, var(--bg) 70%);
    transition: opacity .7s var(--ease), visibility .7s;
}
.preloader.is-done { opacity: 0; visibility: hidden; }

.preloader__inner { display: grid; justify-items: center; gap: 22px; width: min(340px, 82vw); }

.preloader__mark { position: relative; width: 92px; height: 92px; }
.preloader__spinner { width: 100%; height: 100%; overflow: visible; }
/* Brand mark sits inside the spinning ring */
.preloader__logo {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    transform-origin: center;
    animation: markPulse 1.9s var(--ease) infinite;
}
.preloader__logo svg { width: 46px; height: 46px; }
.preloader__track { fill: none; stroke: rgba(255, 255, 255, .07); stroke-width: 4; }
.preloader__arc {
    fill: none;
    stroke: url(#plGrad);
    stroke-width: 4;
    stroke-linecap: round;
    stroke-dasharray: 90 240;
    transform-origin: center;
    animation: arcSpin 1.15s cubic-bezier(.6, .1, .4, .9) infinite;
}
@keyframes arcSpin  { to { transform: rotate(360deg); } }
@keyframes markPulse {
    0%, 100% { opacity: .6; transform: scale(.94); }
    50%      { opacity: 1;  transform: scale(1.04); }
}

.preloader__brand { text-align: center; display: grid; gap: 4px; }
.preloader__name { font-family: var(--font-display); font-size: 1.5rem; font-weight: 800; letter-spacing: -.02em; }
.preloader__tag  { font-size: .78rem; color: var(--muted-2); letter-spacing: .16em; text-transform: uppercase; }

.preloader__bar {
    width: 100%;
    height: 3px;
    border-radius: 99px;
    background: rgba(255, 255, 255, .07);
    overflow: hidden;
}
.preloader__fill {
    display: block;
    height: 100%;
    width: 0;
    border-radius: 99px;
    background: var(--grad);
    transition: width .25s var(--ease-out);
}
.preloader__pct { font-family: var(--font-mono); font-size: .78rem; color: var(--muted-2); }

/* ------------------------------------------------------ 7. Navigation */

.nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--nav-h);
    z-index: 1000;
    display: flex;
    align-items: center;
    border-bottom: 1px solid transparent;
    transition: transform .4s var(--ease), height .35s var(--ease), background .35s var(--ease), border-color .35s var(--ease);
}
.nav.is-stuck {
    height: 64px;
    background: rgba(6, 7, 15, .72);
    backdrop-filter: blur(20px) saturate(160%);
    -webkit-backdrop-filter: blur(20px) saturate(160%);
    border-bottom-color: var(--stroke);
}
.nav.is-hidden { transform: translateY(-100%); }

.nav__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; width: min(100% - 40px, var(--container)); margin-inline: auto; }

.brand { display: inline-flex; align-items: center; gap: 12px; }
.brand__mark { width: 38px; height: 38px; flex: none; transition: transform .5s var(--ease); }
.brand:hover .brand__mark { transform: rotate(-8deg) scale(1.06); }
.brand__text { display: grid; line-height: 1.15; }
.brand__name { font-family: var(--font-display); font-weight: 800; font-size: 1.12rem; letter-spacing: -.02em; }
.brand__tag  { font-size: .66rem; color: var(--muted-2); letter-spacing: .14em; text-transform: uppercase; }

.nav__links { position: relative; display: flex; align-items: center; gap: 4px; }
.nav__link {
    position: relative;
    padding: 9px 15px;
    border-radius: 999px;
    font-size: .9rem;
    font-weight: 500;
    color: var(--muted);
    transition: color .3s var(--ease);
    z-index: 1;
}
.nav__link:hover, .nav__link.is-active { color: #fff; }

.nav__pill {
    position: absolute;
    top: 50%;
    left: 0;
    height: 36px;
    width: 0;
    border-radius: 999px;
    background: var(--surface-2);
    border: 1px solid var(--stroke);
    transform: translateY(-50%);
    opacity: 0;
    transition: all .4s var(--ease);
    pointer-events: none;
}
.nav__pill.is-visible { opacity: 1; }

.nav__actions { display: flex; align-items: center; gap: 10px; }

.nav__toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 44px;
    height: 44px;
    padding: 0 11px;
    border-radius: 12px;
    border: 1px solid var(--stroke);
    background: var(--surface);
}
.nav__toggle span {
    display: block;
    height: 2px;
    border-radius: 2px;
    background: var(--text);
    transition: transform .35s var(--ease), opacity .25s var(--ease), width .35s var(--ease);
}
.nav__toggle span:nth-child(1) { width: 100%; }
.nav__toggle span:nth-child(2) { width: 70%; }
.nav__toggle span:nth-child(3) { width: 85%; }
.nav__toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__toggle.is-open span:nth-child(2) { opacity: 0; transform: translateX(-10px); }
.nav__toggle.is-open span:nth-child(3) { width: 100%; transform: translateY(-7px) rotate(-45deg); }

/* Mobile menu */
.mobile-menu {
    position: fixed;
    inset: 0;
    z-index: 999;
    visibility: hidden;
    opacity: 0;
    background: rgba(4, 5, 11, .82);
    backdrop-filter: blur(14px);
    transition: opacity .4s var(--ease), visibility .4s;
}
.mobile-menu.is-open { visibility: visible; opacity: 1; }

.mobile-menu__panel {
    position: absolute;
    top: 0;
    right: 0;
    width: min(420px, 100%);
    height: 100%;
    padding: calc(var(--nav-h) + 24px) 26px 32px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 28px;
    background: linear-gradient(200deg, #0a0c18, #06070f);
    border-left: 1px solid var(--stroke);
    transform: translateX(100%);
    transition: transform .5s var(--ease);
    overflow-y: auto;
}
.mobile-menu.is-open .mobile-menu__panel { transform: translateX(0); }

.mobile-menu__links { display: grid; gap: 4px; }
.mobile-menu__link {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px 14px;
    border-radius: 14px;
    font-family: var(--font-display);
    font-size: 1.18rem;
    font-weight: 600;
    border: 1px solid transparent;
    opacity: 0;
    transform: translateX(24px);
    transition: background .3s var(--ease), border-color .3s var(--ease);
}
.mobile-menu.is-open .mobile-menu__link {
    animation: menuIn .5s var(--ease) forwards;
    animation-delay: calc(.12s + var(--i) * .06s);
}
.mobile-menu__link:hover { background: var(--surface); border-color: var(--stroke); }
.mobile-menu__link i { margin-left: auto; font-size: .8rem; color: var(--muted-2); }
.mobile-menu__num { font-family: var(--font-mono); font-size: .72rem; color: var(--violet-2); }

@keyframes menuIn { to { opacity: 1; transform: translateX(0); } }

.mobile-menu__foot { display: grid; gap: 10px; }
.mobile-menu__meta { text-align: center; font-size: .78rem; color: var(--muted-2); margin-top: 6px; }

/* ------------------------------------------------------------ 8. Sections */

.section { position: relative; padding-block: var(--section-y); }

.section__head {
    max-width: 760px;
    margin: 0 auto clamp(44px, 5vw, 68px);
    text-align: center;
    display: grid;
    justify-items: center;
    gap: 16px;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 7px 16px;
    border-radius: 999px;
    background: rgba(124, 92, 255, .1);
    border: 1px solid rgba(124, 92, 255, .28);
    font-size: .76rem;
    font-weight: 600;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--violet-2);
}
.eyebrow i { font-size: .85em; }

.section__title { font-size: clamp(2rem, 4.4vw, 3.2rem); }
.section__lead  { font-size: clamp(1rem, 1.3vw, 1.12rem); color: var(--muted); max-width: 62ch; }

/* Split-text animation targets */
.split .word { display: inline-block; overflow: hidden; vertical-align: top; }
.split .word > span { display: inline-block; will-change: transform; }

/* ---------------------------------------------------------------- 9. Hero */

.hero {
    position: relative;
    min-height: 100svh;
    padding-top: calc(var(--nav-h) + clamp(40px, 7vw, 90px));
    padding-bottom: 70px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    overflow: hidden;
}

.hero__inner {
    display: grid;
    grid-template-columns: 1.05fr .95fr;
    align-items: center;
    gap: clamp(36px, 5vw, 72px);
}

.hero__rings { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); pointer-events: none; }
.hero__rings span {
    position: absolute;
    top: 50%;
    left: 50%;
    border: 1px solid rgba(255, 255, 255, .05);
    border-radius: 50%;
    transform: translate(-50%, -50%);
}
.hero__rings span:nth-child(1) { width: 620px;  height: 620px;  animation: ringSpin 40s linear infinite; }
.hero__rings span:nth-child(2) { width: 920px;  height: 920px;  animation: ringSpin 60s linear infinite reverse; }
.hero__rings span:nth-child(3) { width: 1240px; height: 1240px; animation: ringSpin 80s linear infinite; }
.hero__rings span::after {
    content: '';
    position: absolute;
    top: -3px;
    left: 50%;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--cyan);
    box-shadow: 0 0 14px var(--cyan);
}
@keyframes ringSpin { to { transform: translate(-50%, -50%) rotate(360deg); } }

.hero__beam {
    position: absolute;
    width: 1px;
    height: 46vh;
    background: linear-gradient(180deg, transparent, rgba(124, 92, 255, .7), transparent);
    pointer-events: none;
}
.hero__beam--a { top: -10%; left: 18%; animation: beam 7s ease-in-out infinite; }
.hero__beam--b { top: -20%; right: 24%; animation: beam 9s ease-in-out 1.6s infinite; }
@keyframes beam {
    0%, 100% { opacity: 0; transform: translateY(-30px); }
    50%      { opacity: 1; transform: translateY(60px); }
}

.hero__content { position: relative; z-index: 2; display: grid; justify-items: start; gap: 24px; }

.hero__badge { align-self: start; }

.hero__title { font-size: clamp(2.6rem, 6vw, 4.6rem); font-weight: 800; letter-spacing: -.035em; }
.hero__line { display: block; }
.hero__line--typed { min-height: 1.15em; }

.hero__lead { font-size: clamp(1.02rem, 1.3vw, 1.16rem); color: var(--muted); max-width: 56ch; }

.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; }

.hero__proof { display: flex; flex-wrap: wrap; gap: 8px 22px; font-size: .84rem; color: var(--muted-2); }
.hero__proof li { display: flex; align-items: center; gap: 8px; }
.hero__proof i { color: var(--emerald); font-size: .75rem; }

/* Hero visual */
.hero__visual { position: relative; z-index: 2; }

.hero__card { padding: 0; overflow: hidden; transform-style: preserve-3d; }

.hero__card-head {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 15px 18px;
    border-bottom: 1px solid var(--stroke);
    background: rgba(255, 255, 255, .02);
}
.hero__card-title { font-size: .82rem; color: var(--muted); font-weight: 500; }
.hero__card-head .pill { margin-left: auto; }

.hero__card-body { padding: 20px; display: grid; gap: 18px; }

.hero__mini-kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.mini-kpi {
    padding: 13px 14px;
    border-radius: 14px;
    background: rgba(255, 255, 255, .035);
    border: 1px solid var(--stroke);
    display: grid;
    gap: 3px;
}
.mini-kpi__label { font-size: .68rem; color: var(--muted-2); text-transform: uppercase; letter-spacing: .1em; }
.mini-kpi__value { font-family: var(--font-display); font-size: 1.5rem; font-weight: 700; line-height: 1.1; }
.mini-kpi__spark { font-size: .7rem; color: var(--emerald); display: inline-flex; align-items: center; gap: 5px; }
.mini-kpi__spark--down { color: var(--cyan); }

.hero__grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; }
.cell {
    aspect-ratio: 1;
    border-radius: 6px;
    background: rgba(255, 255, 255, .05);
    animation: cellIn .5s var(--ease) backwards;
    animation-delay: var(--d);
}
.cell.is-booked { background: linear-gradient(140deg, rgba(124, 92, 255, .9), rgba(124, 92, 255, .45)); }
.cell.is-auto   { background: linear-gradient(140deg, rgba(34, 211, 238, .9), rgba(34, 211, 238, .4)); animation: cellIn .5s var(--ease) backwards, cellPulse 3.4s var(--ease) infinite; }
.cell.is-risk   { background: linear-gradient(140deg, rgba(251, 191, 36, .9), rgba(251, 191, 36, .4)); }

@keyframes cellIn   { from { opacity: 0; transform: scale(.4); } }
@keyframes cellPulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(34, 211, 238, .5); }
    50%      { box-shadow: 0 0 0 5px rgba(34, 211, 238, 0); }
}

.hero__legend { display: flex; flex-wrap: wrap; gap: 8px 16px; font-size: .72rem; color: var(--muted-2); }
.hero__legend span { display: inline-flex; align-items: center; gap: 7px; }

/* Floating cards */
.hero__float {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 13px 16px;
    border-radius: 16px;
    font-size: .78rem;
    line-height: 1.35;
    z-index: 3;
    animation: floaty 6s ease-in-out infinite;
    will-change: transform;
}
.hero__float strong { display: block; font-size: .84rem; }
.hero__float span   { color: var(--muted-2); }
.hero__float > i {
    display: grid;
    place-items: center;
    width: 34px;
    height: 34px;
    flex: none;
    border-radius: 10px;
    background: var(--grad-soft);
    color: var(--violet-2);
}
.hero__float--a { top: 6%;  left: -8%;  animation-delay: 0s; }
.hero__float--b { bottom: 16%; right: -6%; animation-delay: 1.2s; }
.hero__float--c { bottom: -6%; left: 6%;  animation-delay: 2.4s; }

.hero__float-ring {
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    flex: none;
    border-radius: 50%;
    font-size: .72rem;
    font-weight: 700;
    color: #fff;
    background: conic-gradient(var(--violet) 0% 42%, rgba(255, 255, 255, .08) 42% 100%);
    box-shadow: inset 0 0 0 4px rgba(8, 10, 20, .95);
}

@keyframes floaty {
    0%, 100% { transform: translateY(0) rotate(0); }
    50%      { transform: translateY(-14px) rotate(-1deg); }
}

/* Hero stats */
.hero__stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    margin-top: clamp(40px, 5vw, 68px);
    padding: 22px;
    border-radius: var(--radius);
    background: rgba(255, 255, 255, .03);
    border: 1px solid var(--stroke);
    backdrop-filter: blur(14px);
}
.hero__stat { text-align: center; display: grid; gap: 4px; position: relative; }
.hero__stat + .hero__stat::before {
    content: '';
    position: absolute;
    left: 0;
    top: 12%;
    height: 76%;
    width: 1px;
    background: var(--stroke);
}
.hero__stat strong { font-family: var(--font-display); font-size: clamp(1.6rem, 2.6vw, 2.2rem); font-weight: 800; background: var(--grad); background-size: 200% 200%; -webkit-background-clip: text; background-clip: text; color: transparent; animation: gradShift 9s ease infinite; }
.hero__stat span   { font-size: .78rem; color: var(--muted-2); }

.hero__scroll {
    position: absolute;
    bottom: 22px;
    left: 50%;
    transform: translateX(-50%);
    display: grid;
    justify-items: center;
    gap: 8px;
    font-size: .68rem;
    letter-spacing: .2em;
    text-transform: uppercase;
    color: var(--muted-2);
    transition: color .3s var(--ease);
}
.hero__scroll:hover { color: var(--text); }
.hero__scroll-mouse {
    width: 24px;
    height: 38px;
    border: 1.5px solid var(--stroke-2);
    border-radius: 14px;
    display: grid;
    justify-items: center;
    padding-top: 7px;
}
.hero__scroll-mouse span {
    width: 3px;
    height: 7px;
    border-radius: 2px;
    background: var(--cyan);
    animation: wheel 1.8s var(--ease) infinite;
}
@keyframes wheel {
    0%       { opacity: 0; transform: translateY(-4px); }
    40%      { opacity: 1; }
    100%     { opacity: 0; transform: translateY(12px); }
}

/* --------------------------------------------------- 10. Trusted / marquee */

.trusted { padding-block: clamp(48px, 6vw, 76px); }
.trusted__title {
    text-align: center;
    font-size: .8rem;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: var(--muted-2);
    margin-bottom: 28px;
}

.marquee {
    position: relative;
    overflow: hidden;
    padding-block: 8px;
    mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}
.marquee__track {
    display: flex;
    gap: 56px;
    width: max-content;
    animation: marquee 34s linear infinite;
}
.marquee:hover .marquee__track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }

.marquee__item {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-family: var(--font-display);
    font-size: 1.22rem;
    font-weight: 600;
    color: var(--muted-2);
    opacity: .65;
    filter: grayscale(1);
    transition: all .35s var(--ease);
    white-space: nowrap;
}
.marquee__item:hover { opacity: 1; filter: none; color: var(--text); transform: translateY(-2px); }
.marquee__item i { font-size: 1.4rem; color: var(--violet-2); }

.trusted__note {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 16px 24px;
    margin-top: 34px;
}
.trusted__stars { display: inline-flex; align-items: center; gap: 6px; font-size: .85rem; color: var(--muted); }
.trusted__stars i { color: var(--amber); font-size: .82rem; }
.trusted__stars strong { margin-left: 6px; color: var(--text); }

/* ------------------------------------------------------------ 11. Features */

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 22px;
}

.feature {
    position: relative;
    padding: 30px 28px 28px;
    display: grid;
    gap: 14px;
    align-content: start;
    overflow: hidden;
    transition: transform .45s var(--ease), border-color .45s var(--ease), box-shadow .45s var(--ease);
}

.feature__glow {
    position: absolute;
    top: -40%;
    left: -20%;
    width: 320px;
    height: 320px;
    border-radius: 50%;
    background: radial-gradient(circle, var(--accent, rgba(124, 92, 255, .35)), transparent 68%);
    filter: blur(48px);
    opacity: 0;
    transition: opacity .5s var(--ease), transform .8s var(--ease);
    pointer-events: none;
}
.feature:hover { transform: translateY(-8px); border-color: var(--accent-line, rgba(124, 92, 255, .45)); box-shadow: var(--shadow-lg); }
.feature:hover .feature__glow { opacity: 1; transform: translate(30px, 20px); }

.feature[data-accent="violet"]  { --accent: rgba(124, 92, 255, .45); --accent-line: rgba(124, 92, 255, .5); --accent-solid: #7c5cff; }
.feature[data-accent="cyan"]    { --accent: rgba(34, 211, 238, .4);  --accent-line: rgba(34, 211, 238, .5);  --accent-solid: #22d3ee; }
.feature[data-accent="emerald"] { --accent: rgba(52, 211, 153, .4);  --accent-line: rgba(52, 211, 153, .5);  --accent-solid: #34d399; }
.feature[data-accent="amber"]   { --accent: rgba(251, 191, 36, .4);  --accent-line: rgba(251, 191, 36, .5);  --accent-solid: #fbbf24; }
.feature[data-accent="rose"]    { --accent: rgba(251, 113, 133, .4); --accent-line: rgba(251, 113, 133, .5); --accent-solid: #fb7185; }
.feature[data-accent="sky"]     { --accent: rgba(56, 189, 248, .4);  --accent-line: rgba(56, 189, 248, .5);  --accent-solid: #38bdf8; }

.feature__icon {
    display: grid;
    place-items: center;
    width: 56px;
    height: 56px;
    border-radius: 16px;
    font-size: 1.35rem;
    color: var(--accent-solid, var(--violet-2));
    background: color-mix(in srgb, var(--accent-solid, #7c5cff) 14%, transparent);
    border: 1px solid color-mix(in srgb, var(--accent-solid, #7c5cff) 32%, transparent);
    transition: transform .5s var(--ease), box-shadow .5s var(--ease);
}
.feature:hover .feature__icon {
    transform: translateY(-4px) rotate(-6deg) scale(1.06);
    box-shadow: 0 14px 34px -14px var(--accent-solid, #7c5cff);
}

.feature__title { font-size: 1.22rem; }
.feature__text  { color: var(--muted); font-size: .94rem; }

.feature__tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 2px; }
.feature__tags li {
    padding: 5px 12px;
    border-radius: 999px;
    font-size: .72rem;
    font-weight: 500;
    color: var(--muted);
    background: rgba(255, 255, 255, .05);
    border: 1px solid var(--stroke);
}

.feature__index {
    position: absolute;
    top: 20px;
    right: 24px;
    font-family: var(--font-display);
    font-size: 2.6rem;
    font-weight: 800;
    color: rgba(255, 255, 255, .045);
    transition: color .45s var(--ease), transform .45s var(--ease);
}
.feature:hover .feature__index { color: color-mix(in srgb, var(--accent-solid, #7c5cff) 22%, transparent); transform: translateY(-3px); }

/* ------------------------------------------------------- 12. How it works */

.steps { position: relative; display: grid; gap: 26px; max-width: 900px; margin-inline: auto; }

.steps__rail {
    position: absolute;
    top: 26px;
    bottom: 26px;
    left: 27px;
    width: 2px;
    background: rgba(255, 255, 255, .08);
    border-radius: 2px;
}
.steps__rail-fill {
    display: block;
    width: 100%;
    height: 0;
    border-radius: 2px;
    background: linear-gradient(180deg, var(--violet), var(--cyan));
    box-shadow: 0 0 14px rgba(124, 92, 255, .7);
    transition: height .2s linear;
}

.step { position: relative; display: grid; grid-template-columns: 56px 1fr; gap: 22px; align-items: start; }

.step__marker {
    position: relative;
    display: grid;
    place-items: center;
    width: 56px;
    height: 56px;
    border-radius: 18px;
    background: rgba(10, 12, 24, .95);
    border: 1px solid var(--stroke-2);
    color: var(--violet-2);
    font-size: 1.15rem;
    z-index: 1;
    transition: all .45s var(--ease);
}
.step__ring {
    position: absolute;
    inset: -6px;
    border-radius: 22px;
    border: 1px solid rgba(124, 92, 255, .25);
    opacity: 0;
    transition: opacity .45s var(--ease), transform .45s var(--ease);
}
.step.is-active .step__marker {
    background: var(--grad);
    color: #fff;
    border-color: transparent;
    box-shadow: 0 14px 36px -14px rgba(124, 92, 255, .95);
}
.step.is-active .step__ring { opacity: 1; transform: scale(1.05); }

.step__body { position: relative; padding: 24px 26px; display: grid; gap: 8px; transition: transform .45s var(--ease), border-color .45s var(--ease); }
.step:hover .step__body { transform: translateX(6px); border-color: rgba(124, 92, 255, .38); }

.step__num {
    font-family: var(--font-mono);
    font-size: .75rem;
    letter-spacing: .18em;
    color: var(--violet-2);
}
.step__title { font-size: 1.2rem; }
.step__text  { color: var(--muted); font-size: .94rem; }

.how__cta { margin-top: 48px; }
.how__cta-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 22px;
    padding: 30px 34px;
    background: linear-gradient(120deg, rgba(124, 92, 255, .14), rgba(34, 211, 238, .08));
}
.how__cta-inner h3 { font-size: 1.35rem; }
.how__cta-inner p  { color: var(--muted); font-size: .94rem; margin-top: 4px; }

/* ----------------------------------------------------------- 13. Dashboard */

.app { padding: 0; overflow: hidden; position: relative; }

.app__bar {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 13px 18px;
    border-bottom: 1px solid var(--stroke);
    background: rgba(255, 255, 255, .025);
}
.app__url {
    flex: 1;
    max-width: 400px;
    margin-inline: auto;
    padding: 7px 16px;
    border-radius: 999px;
    background: rgba(0, 0, 0, .35);
    border: 1px solid var(--stroke);
    font-size: .76rem;
    color: var(--muted-2);
    text-align: center;
}
.app__url i { color: var(--emerald); margin-right: 6px; font-size: .7rem; }
.app__bar-actions { display: flex; align-items: center; gap: 14px; color: var(--muted-2); font-size: .9rem; }
.app__avatar {
    display: grid;
    place-items: center;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: var(--grad);
    font-size: .68rem;
    font-weight: 700;
    color: #fff;
}

.app__body { display: grid; grid-template-columns: 214px 1fr; min-height: 460px; }

.app__side {
    padding: 20px 16px;
    border-right: 1px solid var(--stroke);
    display: grid;
    align-content: start;
    gap: 4px;
    background: rgba(0, 0, 0, .18);
}
.app__side-item {
    display: flex;
    align-items: center;
    gap: 11px;
    padding: 10px 13px;
    border-radius: 11px;
    font-size: .85rem;
    color: var(--muted-2);
    transition: all .3s var(--ease);
}
.app__side-item i { width: 16px; text-align: center; font-size: .85rem; }
.app__side-item.is-active { background: rgba(124, 92, 255, .16); color: #fff; border: 1px solid rgba(124, 92, 255, .3); }
.app__side-item:hover { color: var(--text); background: var(--surface); }

.app__side-upsell {
    margin-top: 20px;
    padding: 14px;
    border-radius: 14px;
    background: linear-gradient(150deg, rgba(124, 92, 255, .16), rgba(34, 211, 238, .06));
    border: 1px solid var(--stroke);
    display: grid;
    gap: 6px;
    font-size: .78rem;
}
.app__side-upsell small { color: var(--muted-2); font-size: .72rem; }
.app__side-upsell .bar { height: 5px; border-radius: 99px; background: rgba(255, 255, 255, .1); overflow: hidden; }
.app__side-upsell .bar span { display: block; height: 100%; background: var(--grad); border-radius: 99px; }

.app__main { padding: 22px; display: grid; gap: 18px; align-content: start; }

.app__kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }

.kpi {
    position: relative;
    padding: 16px 16px 12px;
    border-radius: 16px;
    background: rgba(255, 255, 255, .035);
    border: 1px solid var(--stroke);
    display: grid;
    gap: 3px;
    overflow: hidden;
    transition: transform .35s var(--ease), border-color .35s var(--ease);
}
.kpi:hover { transform: translateY(-4px); border-color: rgba(124, 92, 255, .4); }
.kpi__label { font-size: .7rem; color: var(--muted-2); text-transform: uppercase; letter-spacing: .1em; }
.kpi__value { font-family: var(--font-display); font-size: 1.7rem; font-weight: 700; line-height: 1.15; }
.kpi__delta { font-size: .74rem; display: inline-flex; align-items: center; gap: 5px; }
.kpi__delta.is-up   { color: var(--emerald); }
.kpi__delta.is-down { color: var(--cyan); }

.kpi__spark { position: absolute; right: 0; bottom: 0; width: 60%; height: 34px; opacity: .5; }
.kpi__spark-line {
    fill: none;
    stroke: var(--violet-2);
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-dasharray: 220;
    stroke-dashoffset: 220;
}
.app.is-live .kpi__spark-line { animation: drawLine 1.4s var(--ease) forwards; }
@keyframes drawLine { to { stroke-dashoffset: 0; } }

.app__row { display: grid; grid-template-columns: 1fr 1.15fr; gap: 14px; }

.panel {
    padding: 18px;
    border-radius: 16px;
    background: rgba(255, 255, 255, .028);
    border: 1px solid var(--stroke);
    display: grid;
    gap: 16px;
    align-content: start;
}
.panel__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.panel__head h3 { font-size: .98rem; }

.chart { display: grid; grid-template-columns: repeat(7, 1fr); gap: 10px; align-items: end; height: 190px; }
.chart__col { display: grid; align-content: end; justify-items: center; gap: 8px; height: 100%; }
.chart__bar {
    position: relative;
    width: 100%;
    max-width: 30px;
    height: 0;
    border-radius: 8px 8px 4px 4px;
    background: linear-gradient(180deg, var(--violet), rgba(34, 211, 238, .55));
    transition: height 1s var(--ease-out), filter .3s;
}
.app.is-live .chart__bar { height: var(--h); }
.chart__bar:hover { filter: brightness(1.25); }
.chart__bar:hover .chart__tip { opacity: 1; transform: translate(-50%, -8px); }
.chart__tip {
    position: absolute;
    top: -6px;
    left: 50%;
    transform: translate(-50%, 0);
    padding: 3px 9px;
    border-radius: 7px;
    background: #10121f;
    border: 1px solid var(--stroke-2);
    font-size: .68rem;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: all .28s var(--ease);
}
.chart__label { font-size: .72rem; color: var(--muted-2); }

.agenda { display: grid; gap: 8px; }
.agenda__row {
    display: grid;
    grid-template-columns: auto 3px 1fr auto;
    align-items: center;
    gap: 12px;
    padding: 11px 13px;
    border-radius: 12px;
    background: rgba(255, 255, 255, .03);
    border: 1px solid var(--stroke);
    transition: all .3s var(--ease);
}
.agenda__row:hover { transform: translateX(4px); background: rgba(255, 255, 255, .055); }
.agenda__time { font-family: var(--font-mono); font-size: .76rem; color: var(--muted-2); }
.agenda__bar  { width: 3px; height: 30px; border-radius: 3px; background: var(--violet); }
.agenda__body strong { display: block; font-size: .86rem; font-weight: 600; }
.agenda__body small  { font-size: .72rem; color: var(--muted-2); }
.agenda__state {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 10px;
    border-radius: 999px;
    font-size: .68rem;
    white-space: nowrap;
    background: rgba(255, 255, 255, .05);
    color: var(--muted-2);
}
.agenda__row.is-confirmed .agenda__bar { background: var(--violet); }
.agenda__row.is-auto   .agenda__bar  { background: var(--cyan); }
.agenda__row.is-auto   .agenda__state{ color: var(--cyan); background: rgba(34, 211, 238, .1); }
.agenda__row.is-risk   .agenda__bar  { background: var(--amber); }
.agenda__row.is-risk   .agenda__state{ color: var(--amber); background: rgba(251, 191, 36, .1); }
.agenda__row.is-locked .agenda__bar  { background: rgba(255, 255, 255, .3); }
.agenda__row.is-locked { opacity: .7; }

.app__reflection {
    position: absolute;
    inset: auto 0 0 0;
    height: 120px;
    background: linear-gradient(180deg, transparent, rgba(5, 6, 12, .55));
    pointer-events: none;
}

.dashboard__points {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 18px;
    margin-top: 30px;
}
.dashboard__points li {
    display: grid;
    gap: 6px;
    padding: 22px;
    border-radius: 16px;
    background: rgba(255, 255, 255, .028);
    border: 1px solid var(--stroke);
    transition: all .35s var(--ease);
}
.dashboard__points li:hover { transform: translateY(-5px); border-color: rgba(124, 92, 255, .4); }
.dashboard__points i { color: var(--violet-2); font-size: 1.15rem; }
.dashboard__points strong { font-size: .98rem; }
.dashboard__points span  { color: var(--muted); font-size: .88rem; }

/* ------------------------------------------------------------------ 14. AI */

.ai { position: relative; overflow: hidden; }
.ai__orb {
    position: absolute;
    top: 12%;
    left: 50%;
    width: 700px;
    height: 700px;
    transform: translateX(-50%);
    border-radius: 50%;
    background: radial-gradient(circle, rgba(124, 92, 255, .16), transparent 62%);
    filter: blur(60px);
    pointer-events: none;
}

.ai__grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: 30px; align-items: start; }

.ai__list { display: grid; gap: 14px; }
.ai__item {
    display: grid;
    grid-template-columns: 50px 1fr;
    gap: 16px;
    padding: 22px 24px;
    align-items: start;
    transition: transform .4s var(--ease), border-color .4s var(--ease);
}
.ai__item:hover { transform: translateX(6px); border-color: rgba(124, 92, 255, .42); }
.ai__item-icon {
    display: grid;
    place-items: center;
    width: 50px;
    height: 50px;
    border-radius: 15px;
    background: var(--grad-soft);
    border: 1px solid rgba(124, 92, 255, .3);
    color: var(--violet-2);
    font-size: 1.1rem;
    transition: transform .4s var(--ease);
}
.ai__item:hover .ai__item-icon { transform: rotate(-8deg) scale(1.07); }
.ai__item h3 { font-size: 1.06rem; margin-bottom: 5px; }
.ai__item p  { color: var(--muted); font-size: .9rem; }

.ai__terminal-wrap { display: grid; gap: 16px; position: sticky; top: calc(var(--nav-h) + 24px); }

.terminal { padding: 0; overflow: hidden; }
.terminal__bar {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 12px 16px;
    border-bottom: 1px solid var(--stroke);
    background: rgba(0, 0, 0, .3);
}
.terminal__title { font-family: var(--font-mono); font-size: .74rem; color: var(--muted-2); }

.terminal__body {
    padding: 20px;
    font-family: var(--font-mono);
    font-size: .82rem;
    line-height: 1.9;
    background: rgba(0, 0, 0, .28);
    min-height: 300px;
}
.terminal__line { opacity: 0; transform: translateY(6px); transition: opacity .3s, transform .3s; }
.terminal__line.is-shown { opacity: 1; transform: none; }
.terminal__line--cursor { opacity: 1; transform: none; }

.tm-prompt { color: var(--emerald); }
.tm-ok     { color: var(--emerald); }
.tm-key    { color: var(--violet-2); }
.tm-str    { color: var(--amber); }
.tm-num    { color: var(--cyan); }
.tm-dim    { color: var(--muted-2); }

.ai__chips { display: flex; flex-wrap: wrap; gap: 10px; }

/* ----------------------------------------------------------- Analytics */

.metrics {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 18px;
    margin-bottom: 34px;
}
.metric {
    padding: 28px 24px;
    display: grid;
    gap: 6px;
    justify-items: start;
    transition: transform .4s var(--ease), border-color .4s var(--ease);
}
.metric:hover { border-color: rgba(124, 92, 255, .45); }
.metric__icon {
    display: grid;
    place-items: center;
    width: 46px;
    height: 46px;
    border-radius: 14px;
    background: var(--grad-soft);
    color: var(--violet-2);
    font-size: 1.05rem;
    margin-bottom: 6px;
}
.metric__value {
    font-family: var(--font-display);
    font-size: 2.6rem;
    font-weight: 800;
    line-height: 1;
    background: var(--grad);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    animation: gradShift 9s ease infinite;
}
.metric__label { font-weight: 600; font-size: .96rem; }
.metric__text  { color: var(--muted); font-size: .85rem; }

.compare { padding: 30px 32px; display: grid; gap: 22px; }
.compare__head { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 14px; }
.compare__head h3 { font-size: 1.2rem; }
.compare__legend { display: flex; gap: 18px; font-size: .8rem; color: var(--muted-2); }
.compare__legend span { display: inline-flex; align-items: center; gap: 7px; }

.compare__list { display: grid; gap: 20px; }
.compare__row { display: grid; grid-template-columns: 190px 1fr; gap: 20px; align-items: center; }
.compare__label { font-size: .9rem; color: var(--muted); }
.compare__tracks { display: grid; gap: 7px; }

.track {
    position: relative;
    display: block;
    height: 12px;
    /* Reserve the right-hand gutter for the value label so the fill can use a
       clean percentage of the remaining content box. */
    padding-right: 46px;
}
.track::before {
    content: '';
    position: absolute;
    inset: 0 46px 0 0;
    border-radius: 99px;
    background: rgba(255, 255, 255, .05);
}
.track em {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    font-size: .72rem;
    font-style: normal;
    color: var(--muted-2);
}
.track__fill {
    position: relative;
    display: block;
    height: 100%;
    width: 0;
    border-radius: 99px;
    transition: width 1.2s var(--ease-out);
}
.track__fill--before { background: rgba(255, 255, 255, .22); }
.track__fill--after  { background: linear-gradient(90deg, var(--violet), var(--cyan)); box-shadow: 0 0 18px -4px rgba(124, 92, 255, .9); }
.compare.is-live .track__fill { width: var(--w); }

/* Testimonials */
.testimonials { position: relative; margin-top: 42px; }
.testimonials .swiper { padding-bottom: 54px; overflow: hidden; }

.quote { padding: 30px 32px; display: grid; gap: 18px; height: 100%; align-content: start; }
.quote__mark { font-size: 1.4rem; color: rgba(124, 92, 255, .5); }
.quote blockquote { font-size: 1.02rem; line-height: 1.7; color: var(--text); }
.quote figcaption { display: flex; align-items: center; gap: 13px; }
.quote__avatar {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    flex: none;
    border-radius: 50%;
    background: linear-gradient(140deg, hsl(var(--h) 75% 62%), hsl(calc(var(--h) + 45) 75% 48%));
    font-size: .78rem;
    font-weight: 700;
    color: #fff;
}
.quote figcaption strong { display: block; font-size: .92rem; }
.quote figcaption small  { color: var(--muted-2); font-size: .78rem; }

.swiper-pagination { bottom: 8px !important; }
.swiper-pagination-bullet {
    width: 8px;
    height: 8px;
    background: rgba(255, 255, 255, .25);
    opacity: 1;
    transition: all .3s var(--ease);
}
.swiper-pagination-bullet-active { width: 26px; border-radius: 99px; background: var(--grad); }

.testimonials__nav { display: flex; justify-content: center; gap: 12px; }

/* -------------------------------------------------------------- 15. Pricing */

.toggle {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 8px 10px 8px 18px;
    border-radius: 999px;
    background: var(--surface);
    border: 1px solid var(--stroke);
    margin-top: 10px;
}
.toggle__label { font-size: .88rem; color: var(--muted-2); transition: color .3s var(--ease); }
.toggle__label.is-active { color: var(--text); font-weight: 600; }

.toggle__switch {
    position: relative;
    width: 52px;
    height: 28px;
    border-radius: 99px;
    background: rgba(255, 255, 255, .1);
    border: 1px solid var(--stroke);
    transition: background .35s var(--ease);
}
.toggle__switch[aria-checked="true"] { background: var(--grad); border-color: transparent; }
.toggle__knob {
    position: absolute;
    top: 3px;
    left: 3px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, .4);
    transition: transform .35s var(--ease);
}
.toggle__switch[aria-checked="true"] .toggle__knob { transform: translateX(24px); }

.toggle__save {
    padding: 4px 11px;
    border-radius: 999px;
    background: rgba(52, 211, 153, .14);
    border: 1px solid rgba(52, 211, 153, .3);
    color: var(--emerald);
    font-size: .72rem;
    font-weight: 600;
}

.plans {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
    gap: 22px;
    align-items: start;
}

.plan {
    position: relative;
    padding: 34px 30px;
    display: grid;
    gap: 18px;
    align-content: start;
    transition: transform .45s var(--ease), border-color .45s var(--ease), box-shadow .45s var(--ease);
}
.plan:hover { transform: translateY(-8px); border-color: rgba(124, 92, 255, .42); box-shadow: var(--shadow-lg); }

.plan--featured {
    border-color: rgba(124, 92, 255, .5);
    background: linear-gradient(165deg, rgba(124, 92, 255, .14), rgba(255, 255, 255, .03));
    box-shadow: 0 30px 80px -40px rgba(124, 92, 255, .9);
}
@media (min-width: 900px) { .plan--featured { transform: scale(1.035); } .plan--featured:hover { transform: scale(1.035) translateY(-8px); } }

.plan__aura {
    position: absolute;
    inset: -1px;
    border-radius: inherit;
    padding: 1px;
    background: linear-gradient(130deg, var(--violet), var(--cyan), var(--pink), var(--violet));
    background-size: 300% 300%;
    -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    animation: gradShift 6s linear infinite;
    pointer-events: none;
}

.plan__badge {
    position: absolute;
    top: -13px;
    left: 50%;
    transform: translateX(-50%);
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 6px 16px;
    border-radius: 999px;
    background: var(--grad);
    font-size: .72rem;
    font-weight: 700;
    color: #fff;
    white-space: nowrap;
    box-shadow: 0 10px 26px -10px rgba(124, 92, 255, .95);
}
.plan__badge i { font-size: .65rem; }

.plan__name    { font-size: 1.3rem; }
.plan__tagline { color: var(--muted-2); font-size: .86rem; margin-top: 5px; }

.plan__price { display: flex; align-items: baseline; gap: 3px; }
.plan__currency { font-family: var(--font-display); font-size: 1.4rem; font-weight: 700; color: var(--muted); }
.plan__amount   { font-family: var(--font-display); font-size: 3.2rem; font-weight: 800; line-height: 1; letter-spacing: -.03em; }
.plan__period   { font-size: .84rem; color: var(--muted-2); margin-left: 6px; }
.plan__billed   { font-size: .78rem; color: var(--muted-2); margin-top: -12px; }

.plan__features { display: grid; gap: 11px; padding-top: 6px; border-top: 1px solid var(--stroke); }
.plan__features li { display: flex; align-items: start; gap: 11px; font-size: .89rem; color: var(--muted); padding-top: 5px; }
.plan__features i {
    display: grid;
    place-items: center;
    width: 18px;
    height: 18px;
    flex: none;
    margin-top: 3px;
    border-radius: 50%;
    background: rgba(52, 211, 153, .15);
    color: var(--emerald);
    font-size: .58rem;
}

.pricing__foot {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 14px 30px;
    margin-top: 36px;
    font-size: .84rem;
    color: var(--muted-2);
}
.pricing__foot span { display: inline-flex; align-items: center; gap: 9px; }
.pricing__foot i { color: var(--violet-2); }

/* ------------------------------------------------------------------ 16. FAQ */

.faq__layout { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(30px, 5vw, 66px); align-items: start; }

.faq__head { display: grid; justify-items: start; gap: 16px; text-align: left; position: sticky; top: calc(var(--nav-h) + 30px); }
.faq__head .section__title { font-size: clamp(1.9rem, 3.4vw, 2.6rem); }
.faq__head .section__lead  { text-align: left; }

.accordion { display: grid; gap: 12px; }

.accordion__item {
    border-radius: 16px;
    background: rgba(255, 255, 255, .028);
    border: 1px solid var(--stroke);
    overflow: hidden;
    transition: background .35s var(--ease), border-color .35s var(--ease);
}
.accordion__item:hover { border-color: var(--stroke-2); }
.accordion__item.is-open {
    background: linear-gradient(140deg, rgba(124, 92, 255, .1), rgba(255, 255, 255, .03));
    border-color: rgba(124, 92, 255, .4);
}

.accordion__heading { font-size: inherit; font-weight: inherit; }
.accordion__trigger {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 20px 22px;
    text-align: left;
    font-family: var(--font-display);
    font-size: 1.02rem;
    font-weight: 600;
    color: var(--text);
    transition: color .3s var(--ease);
}
.accordion__trigger:hover { color: var(--violet-2); }

.accordion__icon { position: relative; width: 22px; height: 22px; flex: none; }
.accordion__icon i {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 13px;
    height: 2px;
    border-radius: 2px;
    background: var(--violet-2);
    transform: translate(-50%, -50%);
    transition: transform .35s var(--ease), opacity .35s var(--ease);
}
.accordion__icon i:last-child { transform: translate(-50%, -50%) rotate(90deg); }
.accordion__item.is-open .accordion__icon i:last-child { transform: translate(-50%, -50%) rotate(0); opacity: 0; }

.accordion__panel { height: 0; overflow: hidden; transition: height .42s var(--ease); }
.accordion__content { padding: 0 22px 22px; color: var(--muted); font-size: .93rem; }

/* -------------------------------------------------------------- 17. Contact */

.contact__layout { display: grid; grid-template-columns: .8fr 1.2fr; gap: 26px; align-items: start; }

.contact__points { display: grid; gap: 12px; }
.contact__points li {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 18px 20px;
    transition: transform .35s var(--ease), border-color .35s var(--ease);
}
.contact__points li:hover { transform: translateX(5px); border-color: rgba(124, 92, 255, .4); }
.contact__point-icon {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    flex: none;
    border-radius: 13px;
    background: var(--grad-soft);
    border: 1px solid rgba(124, 92, 255, .28);
    color: var(--violet-2);
}
.contact__points small  { display: block; font-size: .72rem; color: var(--muted-2); text-transform: uppercase; letter-spacing: .1em; }
.contact__points strong { font-size: .92rem; font-weight: 600; }

.contact__promise { margin-top: 12px; padding: 24px; display: grid; gap: 14px; justify-items: start; }
.contact__promise p { color: var(--muted); font-size: .88rem; }

.contact__form { padding: 32px; display: grid; gap: 20px; }

.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }

.field { position: relative; }

.field input,
.field select,
.field textarea {
    width: 100%;
    padding: 22px 16px 10px;
    border-radius: 13px;
    background: rgba(0, 0, 0, .25);
    border: 1px solid var(--stroke);
    color: var(--text);
    font-size: .94rem;
    transition: border-color .3s var(--ease), background .3s var(--ease), box-shadow .3s var(--ease);
    appearance: none;
}
.field textarea { resize: vertical; min-height: 130px; padding-top: 26px; }
.field select {
    padding-top: 22px;
    cursor: pointer;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23a2aac2' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    background-size: 16px;
}
.field select option { background: #0b0d18; color: var(--text); }

.field input:focus,
.field select:focus,
.field textarea:focus {
    outline: none;
    border-color: rgba(124, 92, 255, .6);
    background: rgba(0, 0, 0, .35);
    box-shadow: 0 0 0 4px rgba(124, 92, 255, .12);
}

.field label {
    position: absolute;
    top: 17px;
    left: 17px;
    font-size: .92rem;
    color: var(--muted-2);
    pointer-events: none;
    transform-origin: left top;
    transition: transform .25s var(--ease), color .25s var(--ease);
}
.field input:focus + label,
.field input:not(:placeholder-shown) + label,
.field textarea:focus + label,
.field textarea:not(:placeholder-shown) + label,
.field label.is-static {
    transform: translateY(-9px) scale(.76);
    color: var(--violet-2);
}
.field__opt { color: var(--muted-2); font-size: .85em; }

.field__line {
    position: absolute;
    bottom: 0;
    left: 12%;
    width: 76%;
    height: 2px;
    border-radius: 2px;
    background: var(--grad);
    transform: scaleX(0);
    transition: transform .4s var(--ease);
}
.field input:focus ~ .field__line,
.field select:focus ~ .field__line,
.field textarea:focus ~ .field__line { transform: scaleX(1); }

.field__counter {
    position: absolute;
    right: 14px;
    bottom: 10px;
    font-size: .7rem;
    color: var(--muted-2);
    font-family: var(--font-mono);
}

.field__error {
    display: block;
    min-height: 0;
    margin-top: 6px;
    font-size: .78rem;
    color: var(--rose);
    opacity: 0;
    transform: translateY(-4px);
    transition: opacity .25s, transform .25s;
}
.field__error.is-shown { opacity: 1; transform: none; }

.field.has-error input,
.field.has-error select,
.field.has-error textarea { border-color: rgba(251, 113, 133, .6); }

.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.check { display: flex; align-items: start; gap: 12px; cursor: pointer; font-size: .86rem; color: var(--muted); }
.check input { position: absolute; opacity: 0; width: 0; height: 0; }
.check__box {
    display: grid;
    place-items: center;
    width: 22px;
    height: 22px;
    flex: none;
    margin-top: 1px;
    border-radius: 7px;
    border: 1px solid var(--stroke-2);
    background: rgba(0, 0, 0, .25);
    font-size: .62rem;
    color: #fff;
    transition: all .3s var(--ease);
}
.check__box i { opacity: 0; transform: scale(.4); transition: all .25s var(--ease); }
.check input:checked + .check__box { background: var(--grad); border-color: transparent; }
.check input:checked + .check__box i { opacity: 1; transform: scale(1); }
.check input:focus-visible + .check__box { outline: 2px solid var(--cyan); outline-offset: 2px; }

.form-status {
    display: none;
    padding: 14px 18px;
    border-radius: 13px;
    font-size: .88rem;
    line-height: 1.5;
}
.form-status.is-shown { display: block; animation: statusIn .4s var(--ease); }
.form-status.is-ok    { background: rgba(52, 211, 153, .12); border: 1px solid rgba(52, 211, 153, .35); color: #a7f3d0; }
.form-status.is-error { background: rgba(251, 113, 133, .1); border: 1px solid rgba(251, 113, 133, .35); color: #fecdd3; }
.form-status a { color: inherit; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.form-status a:hover { text-decoration: none; }

@keyframes statusIn { from { opacity: 0; transform: translateY(-8px); } }

/* --------------------------------------------------------------- 18. Footer */

.footer { position: relative; padding-top: clamp(60px, 7vw, 90px); overflow: hidden; border-top: 1px solid var(--stroke); }
.footer__glow {
    position: absolute;
    top: -180px;
    left: 50%;
    width: 900px;
    height: 380px;
    transform: translateX(-50%);
    background: radial-gradient(ellipse, rgba(124, 92, 255, .22), transparent 68%);
    filter: blur(50px);
    pointer-events: none;
}

.footer__cta {
    position: relative;
    display: grid;
    grid-template-columns: 1.1fr .9fr;
    align-items: center;
    gap: 30px;
    padding: 38px 40px;
    border-radius: var(--radius-lg);
    background: linear-gradient(120deg, rgba(124, 92, 255, .18), rgba(34, 211, 238, .08));
    margin-bottom: 60px;
}
.footer__cta h2 { font-size: clamp(1.5rem, 2.6vw, 2.05rem); }
.footer__cta p  { color: var(--muted); margin-top: 8px; font-size: .95rem; }

.footer__subscribe { display: flex; flex-wrap: wrap; gap: 10px; position: relative; }
.footer__subscribe-field { position: relative; flex: 1 1 220px; }
.footer__subscribe-field i {
    position: absolute;
    top: 50%;
    left: 16px;
    transform: translateY(-50%);
    color: var(--muted-2);
    font-size: .88rem;
}
.footer__subscribe input {
    width: 100%;
    padding: 14px 16px 14px 42px;
    border-radius: 999px;
    background: rgba(0, 0, 0, .32);
    border: 1px solid var(--stroke);
    font-size: .92rem;
    transition: border-color .3s var(--ease), box-shadow .3s var(--ease);
}
.footer__subscribe input:focus {
    outline: none;
    border-color: rgba(124, 92, 255, .6);
    box-shadow: 0 0 0 4px rgba(124, 92, 255, .12);
}
.footer__subscribe-note {
    position: absolute;
    bottom: -24px;
    left: 18px;
    font-size: .76rem;
    opacity: 0;
    transition: opacity .3s;
}
.footer__subscribe-note.is-shown { opacity: 1; }
.footer__subscribe-note.is-ok    { color: var(--emerald); }
.footer__subscribe-note.is-error { color: var(--rose); }

.footer__main {
    display: grid;
    grid-template-columns: 1.1fr 2fr;
    gap: 46px;
    padding-bottom: 46px;
}

.footer__blurb { color: var(--muted); font-size: .9rem; margin: 18px 0 20px; max-width: 40ch; }

.footer__socials { display: flex; gap: 10px; margin-bottom: 20px; }
.footer__socials a {
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    border-radius: 13px;
    background: var(--surface);
    border: 1px solid var(--stroke);
    color: var(--muted);
    transition: all .35s var(--ease);
}
.footer__socials a:hover {
    color: #fff;
    background: var(--grad);
    border-color: transparent;
    transform: translateY(-4px);
    box-shadow: 0 12px 28px -12px rgba(124, 92, 255, .95);
}

.footer__badges { display: flex; flex-wrap: wrap; gap: 8px 16px; font-size: .76rem; color: var(--muted-2); }
.footer__badges li { display: inline-flex; align-items: center; gap: 7px; }
.footer__badges i { color: var(--emerald); font-size: .72rem; }

.footer__cols { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; }
.footer__col h3 {
    font-size: .78rem;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--muted-2);
    margin-bottom: 16px;
}
.footer__col ul { display: grid; gap: 11px; }
.footer__col a {
    position: relative;
    font-size: .9rem;
    color: var(--muted);
    transition: color .3s var(--ease), padding-left .3s var(--ease);
}
.footer__col a::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--violet-2);
    transform: translateY(-50%);
    transition: width .3s var(--ease);
}
.footer__col a:hover { color: var(--text); padding-left: 14px; }
.footer__col a:hover::before { width: 9px; }

.footer__bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 14px;
    padding: 24px 0 30px;
    border-top: 1px solid var(--stroke);
    font-size: .82rem;
    color: var(--muted-2);
}
.footer__bottom-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 20px; }
.footer__status { display: inline-flex; align-items: center; gap: 8px; color: var(--emerald); }
.footer__status .pill__dot { background: var(--emerald); color: var(--emerald); }

.footer__wordmark {
    font-family: var(--font-display);
    font-size: clamp(3.5rem, 15vw, 13rem);
    font-weight: 800;
    line-height: .82;
    letter-spacing: -.04em;
    text-align: center;
    background: linear-gradient(180deg, rgba(255, 255, 255, .07), transparent 78%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    user-select: none;
    pointer-events: none;
    margin-bottom: -.14em;
}

/* ---------------------------------------------------------- 19. Back to top */

.to-top {
    position: fixed;
    right: 26px;
    bottom: 26px;
    z-index: 900;
    display: grid;
    place-items: center;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: rgba(10, 12, 24, .82);
    border: 1px solid var(--stroke-2);
    backdrop-filter: blur(12px);
    color: var(--text);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px) scale(.85);
    transition: all .4s var(--ease);
}
.to-top.is-visible { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { border-color: rgba(124, 92, 255, .7); box-shadow: var(--glow-violet); transform: translateY(-4px); }
.to-top i { font-size: .88rem; position: relative; z-index: 1; }

.to-top__ring { position: absolute; inset: 0; width: 100%; height: 100%; transform: rotate(-90deg); }
.to-top__ring circle { fill: none; stroke: rgba(255, 255, 255, .1); stroke-width: 2; }
.to-top__progress {
    stroke: var(--cyan);
    stroke-linecap: round;
    stroke-dasharray: 100.5;
    stroke-dashoffset: 100.5;
    transition: stroke-dashoffset .12s linear;
}

/* ----------------------------------------------------------- 20. Auth pages */

/* login.php · register.php · forgot-password.php — same ambient layers as the
   landing page, with a slim header instead of the full nav. */

.auth-body { display: flex; flex-direction: column; min-height: 100vh; }

.auth-nav { position: relative; z-index: 40; padding: 20px 0; }
.auth-nav__inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.auth-nav__actions { display: flex; align-items: center; gap: 8px; }
.auth-nav__back i { transition: transform .3s var(--ease); }
.auth-nav__back:hover i { transform: translateX(-3px); }

.auth { flex: 1; display: flex; align-items: center; padding: clamp(28px, 5vw, 64px) 0 clamp(48px, 6vw, 88px); }

.auth__grid {
    display: grid;
    grid-template-columns: 1fr minmax(0, 480px);
    gap: clamp(32px, 6vw, 80px);
    align-items: center;
    width: min(100% - 40px, 1140px);
}

/* --- Left column: the marketing half --- */

.auth__aside { display: grid; justify-items: start; gap: 22px; max-width: 520px; }

.auth__aside-title {
    font-size: clamp(2rem, 3.6vw, 2.9rem);
    line-height: 1.1;
}
.auth__aside-lead { color: var(--muted); font-size: 1rem; max-width: 46ch; }

.auth__points { display: grid; gap: 16px; }
.auth__points li { display: flex; align-items: start; gap: 14px; }
.auth__point-icon {
    display: grid;
    place-items: center;
    width: 40px;
    height: 40px;
    flex: none;
    border-radius: 12px;
    background: var(--grad-soft);
    border: 1px solid rgba(124, 92, 255, .28);
    color: var(--violet-2);
    font-size: .9rem;
}
.auth__points strong { display: block; font-size: .93rem; font-weight: 600; }
.auth__points small  { display: block; font-size: .84rem; color: var(--muted); line-height: 1.5; }

.auth__quote { padding: 22px 24px; display: grid; gap: 14px; }
.auth__quote-mark { color: var(--violet); opacity: .5; font-size: 1.1rem; }
.auth__quote p { font-size: .92rem; color: var(--text); line-height: 1.6; }
.auth__quote-by { display: flex; align-items: center; gap: 12px; }
.auth__quote-avatar {
    display: grid;
    place-items: center;
    width: 40px;
    height: 40px;
    flex: none;
    border-radius: 50%;
    background: linear-gradient(140deg, hsl(var(--h) 75% 62%), hsl(calc(var(--h) + 45) 75% 48%));
    font-size: .74rem;
    font-weight: 700;
    color: #fff;
}
.auth__quote-by strong { display: block; font-size: .86rem; }
.auth__quote-by small  { display: block; font-size: .76rem; color: var(--muted-2); }

.auth__stats { display: flex; flex-wrap: wrap; gap: 28px; }
.auth__stats li { position: relative; }
.auth__stats li + li::before {
    content: '';
    position: absolute;
    left: -14px;
    top: 6px;
    bottom: 6px;
    width: 1px;
    background: var(--stroke);
}
.auth__stats strong {
    display: block;
    font-family: var(--font-display);
    font-size: 1.3rem;
    font-weight: 700;
    letter-spacing: -.02em;
}
.auth__stats small { font-size: .74rem; color: var(--muted-2); text-transform: uppercase; letter-spacing: .1em; }

/* --- Right column: the card --- */

.auth__panel { display: grid; gap: 16px; justify-items: center; width: 100%; }

.auth__card { width: 100%; padding: clamp(26px, 3vw, 36px); display: grid; gap: 20px; }

.auth__head { display: grid; gap: 8px; }
.auth__title { font-size: clamp(1.5rem, 2.4vw, 1.85rem); }
.auth__lead  { color: var(--muted); font-size: .92rem; }

.social-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.social-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    padding: 12px 10px;
    border-radius: 13px;
    background: var(--surface);
    border: 1px solid var(--stroke);
    color: var(--muted);
    font-size: .85rem;
    font-weight: 500;
    transition: all .3s var(--ease);
}
.social-btn i { font-size: .95rem; }
.social-btn:hover {
    color: var(--text);
    background: var(--surface-2);
    border-color: rgba(124, 92, 255, .5);
    transform: translateY(-2px);
}
.social-btn span { display: none; }

.auth__divider {
    display: flex;
    align-items: center;
    gap: 14px;
    font-size: .76rem;
    color: var(--muted-2);
    text-transform: uppercase;
    letter-spacing: .1em;
}
.auth__divider::before,
.auth__divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--stroke), transparent);
}

.auth__form { display: grid; gap: 18px; }
/* Empty error slots that sit directly in the grid must not add a gap row. */
.auth__form > .field__error:not(.is-shown) { display: none; }

/* Password field: room for the reveal button */
.field--pw input { padding-right: 52px; }
.field__reveal {
    position: absolute;
    top: 10px;
    right: 8px;
    display: grid;
    place-items: center;
    width: 38px;
    height: 38px;
    border-radius: 10px;
    color: var(--muted-2);
    font-size: .88rem;
    transition: color .25s var(--ease), background .25s var(--ease);
}
.field__reveal:hover { color: var(--text); background: rgba(255, 255, 255, .06); }
.field__reveal[aria-pressed="true"] { color: var(--violet-2); }

.field__caps {
    display: none;
    margin-top: 6px;
    font-size: .76rem;
    color: var(--amber);
}
.field__caps.is-shown { display: block; animation: statusIn .3s var(--ease); }
.field__caps i { margin-right: 5px; font-size: .9em; }

/* Password strength meter */
.strength { display: grid; gap: 7px; margin-top: -6px; }
.strength__bars { display: grid; grid-template-columns: repeat(4, 1fr); gap: 5px; }
.strength__bars span {
    height: 4px;
    border-radius: 99px;
    background: rgba(255, 255, 255, .1);
    transition: background .35s var(--ease);
}
.strength__label { font-size: .76rem; color: var(--muted-2); }

.strength[data-level="1"] .strength__bars span:nth-child(-n+1) { background: var(--rose); }
.strength[data-level="2"] .strength__bars span:nth-child(-n+2) { background: var(--amber); }
.strength[data-level="3"] .strength__bars span:nth-child(-n+3) { background: var(--sky); }
.strength[data-level="4"] .strength__bars span                 { background: var(--emerald); }

.strength[data-level="1"] .strength__label { color: var(--rose); }
.strength[data-level="2"] .strength__label { color: var(--amber); }
.strength[data-level="3"] .strength__label { color: var(--sky); }
.strength[data-level="4"] .strength__label { color: var(--emerald); }

.auth__row { display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; }

.auth__link { font-size: .84rem; color: var(--violet-2); font-weight: 500; transition: color .25s var(--ease); }
.auth__link:hover { color: var(--cyan); }

.auth__perks { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 18px; font-size: .78rem; color: var(--muted-2); }
.auth__perks i { color: var(--emerald); margin-right: 5px; font-size: .85em; }

.auth__note {
    display: flex;
    align-items: start;
    gap: 9px;
    font-size: .8rem;
    color: var(--muted-2);
    line-height: 1.55;
}
.auth__note i { color: var(--violet-2); margin-top: 3px; }

/* Reset-flow step list */
.auth__steps { display: grid; gap: 10px; }
.auth__steps li {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: .86rem;
    color: var(--muted-2);
}
.auth__steps span {
    display: grid;
    place-items: center;
    width: 26px;
    height: 26px;
    flex: none;
    border-radius: 50%;
    border: 1px solid var(--stroke-2);
    font-size: .74rem;
    font-family: var(--font-mono);
}
.auth__steps .is-current { color: var(--text); }
.auth__steps .is-current span { background: var(--grad); border-color: transparent; color: #fff; font-weight: 600; }

.auth__alt { text-align: center; font-size: .88rem; color: var(--muted); }
.auth__alt a { color: var(--violet-2); font-weight: 600; transition: color .25s var(--ease); }
.auth__alt a:hover { color: var(--cyan); }
.auth__alt-sep { margin-inline: 8px; color: var(--muted-2); }

.auth__demo {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .03);
    border: 1px dashed var(--stroke-2);
    font-size: .76rem;
    color: var(--muted-2);
    text-align: center;
}
.auth__demo i { color: var(--violet-2); }

.auth__legal { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 18px; font-size: .76rem; color: var(--muted-2); }
.auth__legal a:hover { color: var(--text); }

/* Shake the card when a submission is rejected */
.auth__card.is-rejected { animation: authShake .5s var(--ease); }

@keyframes authShake {
    0%, 100%   { transform: translateX(0); }
    18%, 58%   { transform: translateX(-7px); }
    38%, 78%   { transform: translateX(7px); }
}

/* ------------------------------------------------------------ 21. Responsive */

@media (max-width: 1080px) {
    .hero__inner { grid-template-columns: 1fr; }
    .hero__content { justify-items: center; text-align: center; }
    .hero__lead { margin-inline: auto; }
    .hero__cta, .hero__proof { justify-content: center; }
    .hero__visual { max-width: 620px; margin-inline: auto; width: 100%; }
    .hero__float--a { left: -4%; }
    .hero__float--b { right: -2%; }

    .ai__grid { grid-template-columns: 1fr; }
    .ai__terminal-wrap { position: static; }

    .faq__layout { grid-template-columns: 1fr; }
    .faq__head { position: static; justify-items: center; text-align: center; }
    .faq__head .section__lead { text-align: center; }

    .contact__layout { grid-template-columns: 1fr; }

    .auth__grid { grid-template-columns: 1fr; justify-items: center; gap: 40px; }
    .auth__aside { justify-items: center; text-align: center; max-width: 620px; }
    .auth__aside-lead { margin-inline: auto; }
    .auth__points li { text-align: left; }
    .auth__panel { max-width: 480px; }

    .footer__main { grid-template-columns: 1fr; gap: 34px; }
    .footer__cta { grid-template-columns: 1fr; }
    .app__body { grid-template-columns: 1fr; }
    .app__side { display: none; }
}

@media (max-width: 900px) {
    .nav__links, .nav__signin { display: none; }
    .nav__toggle { display: flex; }
    .app__row { grid-template-columns: 1fr; }
    .app__kpis { grid-template-columns: repeat(2, 1fr); }
    .hero__stats { grid-template-columns: repeat(2, 1fr); gap: 22px; }
    .hero__stat:nth-child(3)::before, .hero__stat:nth-child(1)::before { display: none; }
    .footer__cols { grid-template-columns: repeat(2, 1fr); }
    .compare__row { grid-template-columns: 1fr; gap: 10px; }
}

@media (max-width: 620px) {
    :root { --nav-h: 66px; --radius: 18px; }

    .container { width: min(100% - 32px, var(--container)); }

    .hero { min-height: auto; padding-bottom: 90px; }
    .hero__title { font-size: clamp(2.1rem, 9vw, 3rem); }
    .hero__float { display: none; }
    .hero__mini-kpis { grid-template-columns: 1fr; }
    .hero__cta .btn { width: 100%; }
    .hero__stats { padding: 18px 14px; }

    .field-row { grid-template-columns: 1fr; }
    .contact__form { padding: 24px 20px; }
    .compare { padding: 22px 20px; }
    .how__cta-inner { padding: 24px 22px; flex-direction: column; align-items: start; }
    .plan { padding: 28px 24px; }
    .footer__cta { padding: 28px 22px; }
    .footer__bottom { flex-direction: column; text-align: center; }
    .step { grid-template-columns: 44px 1fr; gap: 14px; }
    .step__marker { width: 44px; height: 44px; border-radius: 14px; font-size: 1rem; }
    .steps__rail { left: 21px; }
    .to-top { right: 16px; bottom: 16px; }
    .marquee__track { gap: 36px; }
    .app__kpis { grid-template-columns: 1fr; }
    .terminal__body { font-size: .74rem; padding: 16px; }
}

/* --------------------------------------------------------- 22. Motion prefs */

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .01ms !important;
        scroll-behavior: auto !important;
    }
    .aurora__blob, .hero__rings span, .marquee__track, .hero__beam { animation: none !important; }
    .cursor, .mouse-glow, .particles { display: none !important; }
    .app.is-live .chart__bar { height: var(--h); }
    .compare .track__fill { width: var(--w); }
    .terminal__line { opacity: 1; transform: none; }
}

/* Print */
@media print {
    .nav, .to-top, .preloader, .cursor, .aurora, .particles, .noise, .mouse-glow, .scroll-progress { display: none !important; }
    body { background: #fff; color: #000; }
}
