:root {
    --totum-navy: #0b1d3a;
    --totum-primary: #007bff;
    --totum-cyan: #00d4ff;
    --totum-ice: #f8fafc;
    --totum-soft: #f1f5f9;
    --totum-line: #cbd5e1;
    --totum-muted: #64748b;
    --totum-text: #0b1d3a;
    --totum-surface: rgba(255, 255, 255, 0.86);
    --totum-surface-strong: #ffffff;
    --totum-border: rgba(148, 163, 184, 0.42);
    --totum-shadow: 0 28px 80px rgba(11, 29, 58, 0.16);
    --totum-glow: 0 22px 60px rgba(0, 123, 255, 0.2);
    --totum-gradient: linear-gradient(135deg, #00d4ff 0%, #007bff 100%);
    --visual-emblem: url('/images/emblemas/emblemavd.jpg');
    color-scheme: light;
}

:root[data-theme='dark'] {
    --totum-ice: #020817;
    --totum-soft: #071426;
    --totum-line: #213149;
    --totum-muted: #a3aec2;
    --totum-text: #f8fafc;
    --totum-surface: rgba(5, 15, 31, 0.78);
    --totum-surface-strong: #061225;
    --totum-border: rgba(148, 163, 184, 0.22);
    --totum-shadow: 0 30px 90px rgba(0, 0, 0, 0.42);
    --totum-glow: 0 20px 70px rgba(0, 212, 255, 0.18);
    --visual-emblem: url('/images/emblemas/emblemavn.jpg');
    color-scheme: dark;
}

* {
    box-sizing: border-box;
}

html {
    min-height: 100%;
    background: var(--totum-ice);
    transition: background-color .35s ease, color .35s ease;
}

body {
    min-height: 100vh;
    margin: 0;
    font-family: Inter, 'Instrument Sans', ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: var(--totum-text);
    background:
        radial-gradient(circle at 84% 38%, rgba(0, 212, 255, 0.18), transparent 28rem),
        radial-gradient(circle at 16% 18%, rgba(0, 123, 255, 0.12), transparent 24rem),
        linear-gradient(135deg, var(--totum-ice), var(--totum-soft));
    transition: background .35s ease, color .35s ease;
}

a {
    text-decoration: none;
}

.auth-page {
    width: min(100%, 1240px);
    min-height: 100vh;
    margin: 0 auto;
    padding: clamp(20px, 4vw, 58px);
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 28px;
}

.auth-frame {
    width: 100%;
    align-self: center;
    min-height: min(760px, calc(100vh - 190px));
    display: grid;
    grid-template-columns: minmax(380px, 1fr) minmax(420px, 1fr);
    border: 1px solid var(--totum-border);
    border-radius: 28px;
    overflow: hidden;
    background: color-mix(in srgb, var(--totum-surface-strong) 74%, transparent);
    box-shadow: var(--totum-shadow);
    backdrop-filter: blur(22px);
}

.auth-visual,
.auth-panel {
    position: relative;
    min-height: 650px;
}

.auth-visual {
    isolation: isolate;
    overflow: hidden;
    background:
        linear-gradient(145deg, rgba(0, 212, 255, 0.22), transparent 34%),
        linear-gradient(165deg, #001432 0%, #003b91 56%, #00d4ff 128%);
}

:root[data-theme='dark'] .auth-visual {
    background:
        radial-gradient(circle at 46% 70%, rgba(0, 123, 255, 0.42), transparent 28rem),
        linear-gradient(150deg, #020817 0%, #041933 56%, #09265b 100%);
}

.auth-visual::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(255, 255, 255, 0.10), transparent 36%, transparent 68%, rgba(0, 212, 255, 0.18)),
        repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.05) 0 1px, transparent 1px 18px);
    opacity: .72;
    z-index: 0;
}

.auth-visual::after {
    content: '';
    position: absolute;
    inset: auto -20% -22% -15%;
    height: 48%;
    background:
        linear-gradient(118deg, transparent 18%, rgba(0, 212, 255, .85) 18.4%, transparent 19.2%),
        linear-gradient(165deg, rgba(0, 212, 255, .16), rgba(0, 123, 255, .46));
    filter: blur(.2px);
    transform: skewY(-9deg);
    z-index: 1;
}

.visual-grid {
    position: absolute;
    top: 9%;
    right: 9%;
    width: 170px;
    height: 170px;
    background-image: radial-gradient(circle, rgba(0, 212, 255, .48) 1.8px, transparent 2px);
    background-size: 22px 22px;
    mask-image: linear-gradient(180deg, #000, transparent);
    opacity: .8;
    z-index: 2;
}

.visual-orbit {
    position: absolute;
    border: 1px solid rgba(0, 212, 255, .55);
    border-left-color: transparent;
    border-bottom-color: transparent;
    border-radius: 50%;
    z-index: 2;
}

.visual-orbit-a {
    width: 720px;
    height: 720px;
    right: -360px;
    bottom: -250px;
    transform: rotate(-22deg);
}

.visual-orbit-b {
    width: 520px;
    height: 520px;
    left: -270px;
    bottom: -120px;
    transform: rotate(16deg);
    opacity: .5;
}

.visual-emblem {
    position: absolute;
    inset: 0;
    background-image: var(--visual-emblem);
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    filter: drop-shadow(0 26px 42px rgba(0, 123, 255, .3));
    z-index: 3;
}

.visual-content {
    position: absolute;
    top: clamp(28px, 5.2%, 50px);
    left: clamp(38px, 8%, 78px);
    width: min(68%, 360px);
    z-index: 4;
    color: #fff;
    text-shadow: 0 16px 34px rgba(0, 0, 0, .26);
}

.visual-copy {
    display: grid;
    gap: 4px;
    margin-bottom: 0;
}

.visual-copy p {
    margin: 0;
    font-size: clamp(2rem, 3.4vw, 3rem);
    font-weight: 850;
    letter-spacing: 0;
    line-height: 1.05;
}

:root[data-theme='light'] .visual-copy p {
    color: var(--totum-navy);
    text-shadow: 0 14px 28px rgba(255, 255, 255, .72);
}

.visual-copy p:last-child {
    color: var(--totum-cyan);
}

.visual-security-chip {
    position: absolute;
    left: clamp(28px, 7%, 66px);
    bottom: clamp(28px, 6%, 56px);
    z-index: 5;
    width: min(390px, calc(100% - 56px));
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 18px 20px;
    border: 1px solid rgba(0, 212, 255, .45);
    border-radius: 14px;
    color: #fff;
    background: rgba(2, 20, 48, .56);
    box-shadow: 0 18px 42px rgba(0, 123, 255, .18);
    backdrop-filter: blur(18px);
}

.chip-icon {
    width: 56px;
    height: 56px;
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(0, 212, 255, .42);
    border-radius: 16px;
    color: #fff;
    background: linear-gradient(145deg, rgba(0, 212, 255, .26), rgba(0, 123, 255, .42));
    font-size: 1.45rem;
}

.chip-copy {
    display: grid;
    gap: 4px;
}

.chip-copy strong {
    font-size: 1rem;
    line-height: 1.25;
}

.chip-copy small {
    color: rgba(255, 255, 255, .78);
    font-size: .88rem;
    line-height: 1.4;
}

.auth-panel {
    display: grid;
    grid-template-rows: auto 1fr;
    padding: clamp(24px, 4vw, 50px);
    background:
        radial-gradient(circle at 18% 24%, rgba(0, 212, 255, 0.08), transparent 22rem),
        var(--totum-surface);
    border-left: 1px solid var(--totum-border);
}

.auth-panel-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.auth-back-home {
    min-height: 54px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 0 18px;
    border: 1px solid var(--totum-border);
    border-radius: 14px;
    color: var(--totum-text);
    background: color-mix(in srgb, var(--totum-surface-strong) 70%, transparent);
    box-shadow: 0 10px 28px rgba(11, 29, 58, 0.08);
    text-decoration: none;
    font-weight: 700;
    transition: transform .2s ease, border-color .2s ease, background .35s ease, color .2s ease;
}

.auth-back-home:hover {
    transform: translateY(-1px);
    border-color: rgba(0, 123, 255, .5);
    color: var(--totum-text);
    background: color-mix(in srgb, var(--totum-surface-strong) 88%, transparent);
}

.auth-back-home i {
    color: var(--totum-primary);
}

.auth-panel-top .theme-toggle {
    flex: 0 0 auto;
}

.theme-toggle {
    width: 54px;
    min-width: 54px;
    height: 54px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    border: 1px solid var(--totum-border);
    border-radius: 14px;
    color: var(--totum-text);
    background: color-mix(in srgb, var(--totum-surface-strong) 70%, transparent);
    box-shadow: 0 10px 28px rgba(11, 29, 58, 0.08);
    transition: transform .2s ease, border-color .2s ease, background .35s ease;
}

.theme-toggle:hover {
    transform: translateY(-1px);
    border-color: rgba(0, 123, 255, .5);
}

.theme-icon-light,
:root[data-theme='dark'] .theme-icon-dark {
    display: none;
}

:root[data-theme='dark'] .theme-icon-light {
    display: inline-block;
}

:root[data-theme='light'] .theme-icon-dark {
    display: inline-block;
}

:root[data-theme='light'] .theme-icon-light {
    display: none;
}

.auth-card {
    width: min(100%, 430px);
    align-self: center;
    justify-self: center;
    animation: panelIn .55s ease both;
}

.auth-heading {
    margin-bottom: 34px;
}

.auth-heading h1 {
    margin: 0;
    color: var(--totum-text);
    font-size: clamp(1.85rem, 2.6vw, 2.55rem);
    font-weight: 800;
    letter-spacing: 0;
    line-height: 1.02;
}

.auth-heading p {
    margin: 12px 0 0;
    color: var(--totum-muted);
    font-size: 1.02rem;
    line-height: 1.6;
}

.auth-form {
    display: grid;
    gap: 24px;
}

.totum-field {
    display: grid;
    gap: 10px;
}

.totum-field label {
    color: var(--totum-text);
    font-weight: 650;
    font-size: .95rem;
}

.totum-input-wrap {
    min-height: 58px;
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 0 18px;
    border: 1px solid var(--totum-border);
    border-radius: 13px;
    background: color-mix(in srgb, var(--totum-surface-strong) 84%, transparent);
    transition: border-color .2s ease, box-shadow .2s ease, background .35s ease;
}

.totum-input-wrap:focus-within {
    border-color: rgba(0, 123, 255, .7);
    box-shadow: 0 0 0 4px rgba(0, 123, 255, .12), var(--totum-glow);
}

.totum-input-wrap.is-invalid {
    border-color: rgba(239, 68, 68, .8);
    box-shadow: 0 0 0 3px rgba(239, 68, 68, .14);
}

.totum-input-wrap > i {
    color: #8a9ab3;
    font-size: 1.25rem;
}

.totum-input {
    width: 100%;
    min-width: 0;
    border: 0;
    outline: 0;
    color: var(--totum-text);
    background: transparent;
    font-size: 1rem;
    font-weight: 500;
}

.totum-input::placeholder {
    color: #96a2b7;
}

.password-toggle {
    width: 38px;
    height: 38px;
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 0;
    border-radius: 10px;
    color: #8a9ab3;
    background: transparent;
    transition: color .2s ease, background .2s ease;
}

.password-toggle:hover {
    color: var(--totum-primary);
    background: rgba(0, 123, 255, .1);
}

.field-error {
    color: #ef4444;
    font-weight: 600;
    font-size: .92rem;
    line-height: 1.45;
    margin-top: -2px;
}

.form-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-top: -4px;
}

.totum-check {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--totum-muted);
    font-weight: 600;
    cursor: pointer;
}

.totum-check input {
    width: 18px;
    height: 18px;
    accent-color: var(--totum-primary);
}

.auth-link {
    color: var(--totum-primary);
    font-weight: 700;
    transition: color .2s ease, opacity .2s ease;
}

.auth-link:hover {
    color: var(--totum-cyan);
}

.totum-btn {
    min-height: 60px;
    width: 100%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 11px;
    border: 0;
    border-radius: 13px;
    color: #fff;
    background: var(--totum-gradient);
    box-shadow: 0 18px 38px rgba(0, 123, 255, .28);
    font-size: 1.07rem;
    font-weight: 800;
    transition: transform .2s ease, box-shadow .2s ease, filter .2s ease;
}

.totum-btn:hover {
    transform: translateY(-2px);
    filter: saturate(1.08);
    box-shadow: 0 22px 46px rgba(0, 123, 255, .36);
}

.totum-btn.is-loading {
    pointer-events: none;
}

.totum-btn.is-loading .btn-spinner {
    display: block;
}

.btn-spinner {
    display: none;
    width: 18px;
    height: 18px;
    border: 2px solid rgba(255, 255, 255, .44);
    border-top-color: #fff;
    border-radius: 999px;
    animation: spin .8s linear infinite;
}

.totum-alert {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 24px;
    padding: 17px 18px;
    border-radius: 14px;
    border: 1px solid var(--totum-border);
    font-weight: 750;
    line-height: 1.45;
}

.totum-alert-success {
    color: #047857;
    background: rgba(16, 185, 129, .12);
    border-color: rgba(16, 185, 129, .24);
}

.totum-alert-danger {
    color: #ef4444;
    background: rgba(127, 29, 29, .16);
    border-color: rgba(239, 68, 68, .34);
}

.totum-alert-danger i {
    margin-top: 2px;
}

.password-meter {
    display: grid;
    gap: 8px;
    margin-top: -12px;
}

.meter-bar {
    height: 8px;
    overflow: hidden;
    border-radius: 999px;
    background: color-mix(in srgb, var(--totum-line) 60%, transparent);
}

.meter-bar i {
    display: block;
    width: var(--strength, 12%);
    height: 100%;
    border-radius: inherit;
    background: var(--strength-color, #ef4444);
    transition: width .25s ease, background .25s ease;
}

.password-meter small {
    color: var(--totum-muted);
    font-weight: 650;
}

.auth-bottom-action {
    text-align: center;
}

.auth-benefits {
    width: 100%;
    align-self: center;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
    padding: 28px 34px;
    border: 1px solid var(--totum-border);
    border-radius: 22px;
    background: color-mix(in srgb, var(--totum-surface-strong) 72%, transparent);
    box-shadow: 0 18px 46px rgba(11, 29, 58, 0.08);
    backdrop-filter: blur(18px);
}

.auth-benefits article {
    display: flex;
    align-items: center;
    gap: 18px;
    padding-right: 18px;
}

.auth-benefits article:not(:last-child) {
    border-right: 1px solid var(--totum-border);
}

.auth-benefits span {
    width: 58px;
    height: 58px;
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--totum-border);
    border-radius: 16px;
    color: #fff;
    background: var(--totum-gradient);
    box-shadow: 0 14px 30px rgba(0, 123, 255, .22);
    font-size: 1.35rem;
}

.auth-benefits h2 {
    margin: 0 0 4px;
    color: var(--totum-text);
    font-size: 1rem;
    font-weight: 800;
}

.auth-benefits p {
    margin: 0;
    color: var(--totum-muted);
    font-size: .92rem;
    line-height: 1.45;
}

.auth-footer {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: var(--totum-muted);
    font-size: .96rem;
}

.totum-loader {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: grid;
    place-items: center;
    pointer-events: none;
    opacity: 0;
    background: rgba(2, 8, 23, .2);
    backdrop-filter: blur(4px);
    transition: opacity .2s ease;
}

.totum-loader.is-visible {
    opacity: 1;
}

.loader-core {
    width: 54px;
    height: 54px;
    border: 3px solid rgba(0, 212, 255, .25);
    border-top-color: var(--totum-cyan);
    border-radius: 999px;
    animation: spin .8s linear infinite;
}

.dashboard-shell {
    display: grid;
    place-items: center;
    padding: 32px;
}

.dashboard-placeholder {
    width: min(100%, 560px);
    display: grid;
    justify-items: center;
    gap: 18px;
    padding: 46px;
    text-align: center;
    border: 1px solid var(--totum-border);
    border-radius: 24px;
    background: var(--totum-surface);
    box-shadow: var(--totum-shadow);
}

.dashboard-placeholder img {
    width: min(260px, 80%);
    height: auto;
}

.dashboard-placeholder h1 {
    margin: 0;
    font-weight: 850;
}

.dashboard-placeholder p {
    margin: 0 0 10px;
    color: var(--totum-muted);
}

.error-shell {
    min-height: 100vh;
    display: grid;
    place-items: center;
    padding: 28px;
}

.error-card {
    width: min(100%, 560px);
    padding: 42px;
    text-align: center;
    border: 1px solid var(--totum-border);
    border-radius: 24px;
    background: var(--totum-surface);
    box-shadow: var(--totum-shadow);
}

.error-card strong {
    display: inline-flex;
    margin-bottom: 14px;
    color: var(--totum-primary);
    font-size: 1rem;
}

.error-card h1 {
    margin: 0;
    font-size: clamp(2rem, 6vw, 4rem);
    font-weight: 850;
}

.error-card p {
    color: var(--totum-muted);
}

@keyframes panelIn {
    from {
        opacity: 0;
        transform: translateY(16px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

@media (max-width: 1080px) {
    .auth-frame {
        grid-template-columns: 43% 57%;
    }

    .auth-panel {
        padding: 32px;
    }
}

@media (max-width: 860px) {
    .auth-page {
        padding: 18px;
        justify-content: flex-start;
    }

    .auth-frame {
        min-height: auto;
        grid-template-columns: 1fr;
    }

    .auth-visual {
        min-height: 360px;
        border-bottom: 1px solid var(--totum-border);
    }

    .auth-panel {
        min-height: auto;
        border-left: 0;
        padding: 22px;
    }

    .auth-card {
        padding: 34px 0 12px;
    }

    .auth-benefits {
        grid-template-columns: 1fr;
        padding: 20px;
    }

    .auth-benefits article {
        padding-right: 0;
    }

    .auth-benefits article:not(:last-child) {
        border-right: 0;
        border-bottom: 1px solid var(--totum-border);
        padding-bottom: 18px;
    }
}

@media (max-width: 520px) {
    .auth-page {
        padding: 0;
        gap: 0;
    }

    .auth-frame {
        border-width: 0 0 1px;
        border-radius: 0;
    }

    .auth-visual {
        min-height: 430px;
    }

    .visual-content {
        top: 24px;
        left: 24px;
        width: calc(100% - 48px);
    }

    .visual-copy p {
        font-size: 2rem;
    }

    .visual-security-chip {
        left: 20px;
        bottom: 22px;
        width: calc(100% - 40px);
        padding: 14px;
    }

    .chip-icon {
        width: 48px;
        height: 48px;
    }

    .auth-panel {
        padding: 18px;
    }

    .auth-back-home {
        min-height: 46px;
        padding: 0 14px;
    }

    .theme-toggle {
        width: 46px;
        min-width: 46px;
        height: 46px;
    }

    .auth-heading {
        margin-bottom: 26px;
    }

    .form-row {
        align-items: flex-start;
        flex-direction: column;
        gap: 10px;
    }

    .totum-input-wrap,
    .totum-btn {
        min-height: 58px;
    }

    .auth-benefits,
    .auth-footer {
        border-radius: 0;
        border-left: 0;
        border-right: 0;
    }

    .auth-footer {
        padding: 22px;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        scroll-behavior: auto !important;
        transition-duration: .01ms !important;
    }
}

/* Landing */
.landing-shell {
    --landing-bg: #f8fafc;
    --landing-bg-soft: #eef7ff;
    --landing-surface: rgba(255, 255, 255, .82);
    --landing-surface-strong: #ffffff;
    --landing-text: #0b1d3a;
    --landing-muted: #475569;
    --landing-border: rgba(148, 163, 184, .34);
    --landing-shadow: 0 28px 80px rgba(11, 29, 58, .14);
    --landing-dark: #061225;
    --landing-primary: #007bff;
    --landing-cyan: #00d4ff;
    --landing-gradient: linear-gradient(135deg, #00d4ff 0%, #007bff 100%);
    color: var(--landing-text);
    background:
        radial-gradient(circle at 82% 8%, rgba(0, 212, 255, .18), transparent 25rem),
        linear-gradient(180deg, var(--landing-bg), var(--landing-bg-soft) 46%, var(--landing-bg));
    overflow-x: hidden;
}

:root[data-theme='dark'] .landing-shell {
    --landing-bg: #020817;
    --landing-bg-soft: #061225;
    --landing-surface: rgba(8, 20, 39, .72);
    --landing-surface-strong: #071426;
    --landing-text: #f8fafc;
    --landing-muted: #a3aec2;
    --landing-border: rgba(148, 163, 184, .2);
    --landing-shadow: 0 28px 90px rgba(0, 0, 0, .42);
    background:
        radial-gradient(circle at 78% 10%, rgba(0, 123, 255, .22), transparent 26rem),
        radial-gradient(circle at 18% 36%, rgba(0, 212, 255, .08), transparent 28rem),
        linear-gradient(180deg, #020817 0%, #061225 42%, #020817 100%);
}

.landing-container {
    width: min(100% - 40px, 1220px);
    max-width: none;
}

.landing-pricing .landing-container {
    width: min(100% - 40px, 1440px);
}

.landing-header {
    position: fixed;
    inset: 0 0 auto;
    z-index: 50;
    padding: 22px 0;
    background: rgba(3, 10, 26, .72);
    border-bottom: 1px solid rgba(148, 163, 184, .12);
    box-shadow: 0 18px 48px rgba(0, 0, 0, .18);
    backdrop-filter: blur(18px);
    transition: padding .28s ease, background .28s ease, border-color .28s ease;
}

.landing-header.is-scrolled {
    padding: 10px 0;
    background: rgba(5, 15, 35, .86);
    border-bottom-color: rgba(0, 212, 255, .18);
    box-shadow: 0 18px 58px rgba(0, 0, 0, .28);
}

.landing-nav {
    padding: 0;
}

.landing-brand img {
    width: 172px;
    height: auto;
    filter: drop-shadow(0 14px 26px rgba(0, 123, 255, .18));
}

.landing-links {
    gap: clamp(14px, 2vw, 32px);
}

.landing-links .nav-link {
    position: relative;
    padding: 10px 0;
    color: rgba(255, 255, 255, .82);
    font-size: .9rem;
    font-weight: 700;
}

.landing-dropdown-toggle {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: 0;
    background: transparent;
}

.landing-dropdown-caret {
    font-size: .72rem;
    transition: transform .2s ease;
}

.landing-dropdown-toggle[aria-expanded="true"] .landing-dropdown-caret {
    transform: rotate(180deg);
}

.landing-links .nav-link:hover,
.landing-links .nav-link:focus {
    color: #fff;
}

.landing-links .nav-link::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: 3px;
    height: 2px;
    border-radius: 999px;
    background: var(--landing-gradient);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .24s ease;
}

.landing-links .nav-link:hover::after {
    transform: scaleX(1);
}

.landing-dropdown-menu {
    margin-top: 12px;
    min-width: 240px;
    padding: 10px;
    border: 1px solid rgba(148, 163, 184, .18);
    border-radius: 18px;
    background: rgba(4, 12, 27, .94);
    box-shadow: 0 24px 60px rgba(0, 0, 0, .32);
    backdrop-filter: blur(18px);
}

.landing-dropdown-menu .dropdown-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 11px 14px;
    border-radius: 12px;
    color: rgba(255, 255, 255, .88);
    font-size: .95rem;
    font-weight: 700;
}

.landing-dropdown-menu .dropdown-item:hover,
.landing-dropdown-menu .dropdown-item:focus {
    color: #fff;
    background: rgba(0, 212, 255, .12);
}

.landing-dropdown-menu .dropdown-item:disabled {
    color: rgba(255, 255, 255, .5);
    background: transparent;
    cursor: not-allowed;
}

.landing-actions,
.landing-cta-row {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
}

.landing-nav .navbar-collapse {
    align-items: center;
    gap: 18px;
    flex: 1 1 auto;
    min-width: 0;
}

.landing-links {
    flex: 1 1 auto;
    min-width: 0;
}

.landing-actions {
    flex: 0 0 auto;
    flex-wrap: nowrap;
    white-space: nowrap;
}

.landing-desktop-actions {
    margin-left: auto;
}

.landing-btn,
.landing-theme,
.landing-menu {
    min-height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    border-radius: 8px;
    border: 1px solid var(--landing-border);
    padding: 0 22px;
    font-size: .9rem;
    font-weight: 800;
    transition: transform .24s ease, box-shadow .24s ease, background .24s ease, border-color .24s ease;
}

.landing-btn:hover,
.landing-theme:hover,
.landing-menu:hover {
    transform: translateY(-2px);
}

.landing-btn-primary {
    color: #fff;
    border-color: rgba(0, 123, 255, .55);
    background: var(--landing-gradient);
    box-shadow: 0 18px 42px rgba(0, 123, 255, .26);
}

.landing-btn-ghost,
.landing-btn-glass,
.landing-theme,
.landing-menu {
    color: var(--landing-text);
    background: color-mix(in srgb, var(--landing-surface) 78%, transparent);
    backdrop-filter: blur(18px);
}

.landing-header .landing-btn-ghost,
.landing-header .landing-theme,
.landing-header .landing-menu {
    color: rgba(255, 255, 255, .9);
    border-color: rgba(255, 255, 255, .18);
    background: rgba(255, 255, 255, .1);
    box-shadow: 0 12px 32px rgba(0, 0, 0, .18);
}

.landing-header .landing-btn-ghost:hover,
.landing-header .landing-theme:hover,
.landing-header .landing-menu:hover {
    color: #fff;
    border-color: rgba(0, 212, 255, .38);
    background: rgba(255, 255, 255, .16);
}

.landing-btn-light {
    color: #007bff;
    background: #fff;
    border-color: rgba(255, 255, 255, .72);
}

.landing-theme,
.landing-menu {
    width: 48px;
    padding: 0 14px;
}

.landing-login-icon {
    width: 48px;
    padding: 0;
    font-size: 1.05rem;
}

.landing-hero {
    position: relative;
    min-height: 760px;
    display: grid;
    align-items: center;
    overflow: hidden;
    color: #fff;
    background:
        linear-gradient(90deg, rgba(2, 8, 23, .98) 0%, rgba(2, 8, 23, .82) 34%, rgba(2, 8, 23, .08) 68%),
        #020817;
}

.landing-hero-bg {
    position: absolute;
    inset: 0;
    background-image: url('/images/emblemas/emblemah.jpg');
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center right;
    filter: saturate(1.08) contrast(1.04);
    transform: scale(1.01);
}

.landing-hero::before,
.landing-hero::after {
    content: '';
    position: absolute;
    pointer-events: none;
}

.landing-hero::before {
    inset: 0;
    background:
        radial-gradient(circle at 72% 62%, rgba(0, 212, 255, .18), transparent 18rem),
        linear-gradient(180deg, transparent 76%, var(--landing-bg) 100%);
}

.landing-hero::after {
    right: -15%;
    bottom: -20%;
    width: 72%;
    height: 60%;
    border: 1px solid rgba(0, 212, 255, .42);
    border-left: 0;
    border-bottom: 0;
    border-radius: 50%;
    transform: rotate(-18deg);
}

.landing-hero-grid {
    position: relative;
    z-index: 2;
    padding-top: 110px;
}

.landing-hero-copy {
    width: min(100%, 520px);
}

.landing-hero h1 {
    margin: 0 0 22px;
    font-size: clamp(2.85rem, 6.1vw, 4.85rem);
    line-height: .98;
    font-weight: 900;
    color: #fff;
}

.landing-hero h1 span,
.landing-copy-block em {
    color: var(--landing-cyan);
    font-style: normal;
}

.landing-hero p {
    width: min(100%, 430px);
    margin: 0 0 18px;
    color: rgba(255, 255, 255, .78);
    line-height: 1.75;
}

.landing-lead {
    font-weight: 650;
}

.landing-section {
    position: relative;
    padding: clamp(38px, 4.8vw, 68px) 0;
}

.landing-faq + .landing-about {
    padding-top: clamp(18px, 2.4vw, 34px);
}

.landing-section-title {
    width: min(100%, 780px);
    margin: 0 auto 24px;
    text-align: center;
}

.landing-section-title span,
.landing-copy-block > span,
.landing-section-kicker {
    display: block;
    margin-bottom: 12px;
    color: var(--landing-primary);
    font-size: .78rem;
    font-weight: 900;
    text-transform: uppercase;
}

.landing-section-title h2,
.landing-copy-block h2,
.landing-ai h2,
.landing-packs h2,
.landing-final h2 {
    margin: 0;
    color: var(--landing-text);
    font-size: clamp(2rem, 4vw, 3.25rem);
    line-height: 1.06;
    font-weight: 900;
}

.landing-card,
.landing-plan,
.landing-flow,
.landing-pack-list article,
.landing-ai-packs article {
    border: 1px solid var(--landing-border);
    border-radius: 8px;
    background: var(--landing-surface);
    box-shadow: 0 20px 58px rgba(11, 29, 58, .08);
    backdrop-filter: blur(18px);
    transition: transform .24s ease, box-shadow .24s ease, border-color .24s ease;
}

.landing-card:hover,
.landing-plan:hover,
.landing-flow:hover,
.landing-pack-list article:hover,
.landing-ai-packs article:hover {
    transform: translateY(-6px);
    border-color: rgba(0, 212, 255, .46);
    box-shadow: var(--landing-shadow);
}

.landing-value-grid,
.landing-feature-grid,
.landing-plan-grid,
.landing-flow-grid {
    display: grid;
    gap: 18px;
}

.landing-learning-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 18px;
}

.landing-value-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.landing-feature-grid,
.landing-flow-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.landing-value-card,
.landing-feature-card,
.landing-flow {
    padding: 26px;
}

.landing-learning-card {
    display: flex;
    flex-direction: column;
    gap: 14px;
    padding: 26px;
}

.landing-learning-card h3,
.landing-learning-card p {
    margin: 0;
}

.landing-learning-card a {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-top: auto;
    color: var(--landing-primary);
    font-weight: 900;
}

.landing-learning-card a i {
    transition: transform .22s ease;
}

.landing-learning-card a:hover i {
    transform: translateX(4px);
}

.landing-learning-panel {
    display: grid;
    gap: 0;
}

.landing-learning-panel p {
    margin: 0;
}

.landing-learning-link {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    width: fit-content;
    margin-top: 20px;
    color: var(--landing-cyan);
    font-weight: 900;
    align-self: flex-start;
}

.landing-learning-link i {
    transition: transform .22s ease;
}

.landing-learning-link:hover i {
    transform: translateX(4px);
}

.landing-learning-pill {
    align-self: flex-start;
    padding: 8px 12px;
    border-radius: 999px;
    color: var(--landing-primary);
    background: rgba(0, 123, 255, .09);
    font-size: .74rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: .04em;
}

.landing-value-card span,
.landing-feature-card > i {
    width: 48px;
    height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 22px;
    border-radius: 12px;
    color: var(--landing-primary);
    background: rgba(0, 123, 255, .1);
    font-size: 1.35rem;
}

.landing-card h3,
.landing-flow h3,
.landing-plan h3 {
    color: var(--landing-text);
    font-size: 1.03rem;
    font-weight: 900;
}

.landing-card p,
.landing-copy-block p,
.landing-ai p,
.landing-flow p,
.landing-plan p,
.landing-packs p,
.landing-final p,
.landing-footer p {
    color: var(--landing-muted);
    line-height: 1.72;
}

.landing-showcase {
    overflow: hidden;
}

.landing-showcase-grid,
.landing-ai-grid,
.landing-packs-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.18fr) minmax(340px, .82fr);
    gap: clamp(38px, 7vw, 86px);
    align-items: center;
}

.landing-product-frame {
    position: relative;
    aspect-ratio: 1586 / 992;
    overflow: hidden;
    border: 1px solid var(--landing-border);
    border-radius: 10px;
    background: linear-gradient(135deg, rgba(255, 255, 255, .96), rgba(230, 247, 255, .74));
    box-shadow: 0 28px 80px rgba(0, 123, 255, .16);
    transform: perspective(1200px) rotateX(4deg) rotateY(-8deg);
    transform-origin: center;
}

:root[data-theme='dark'] .landing-product-frame {
    background: linear-gradient(135deg, rgba(7, 20, 38, .96), rgba(0, 123, 255, .12));
}

.landing-dashboard-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.landing-metrics-board {
    display: grid;
    gap: 18px;
}

.landing-conversations,
.landing-mini-kpis span,
.landing-ai-panel {
    border: 1px solid var(--landing-border);
    border-radius: 8px;
    background: color-mix(in srgb, var(--landing-surface-strong) 72%, transparent);
    padding: 18px;
}

.landing-bars i {
    flex: 1;
    border-radius: 999px 999px 3px 3px;
    background: var(--landing-gradient);
}

.landing-copy-block {
    max-width: 470px;
}

.landing-copy-block p {
    margin: 22px 0;
}

.landing-checks {
    display: grid;
    gap: 12px;
    margin: 0 0 28px;
    padding: 0;
    list-style: none;
    color: var(--landing-text);
    font-weight: 750;
}

.landing-checks i {
    color: var(--landing-primary);
    margin-right: 10px;
}

.landing-ai,
.landing-dashboard-section {
    background:
        radial-gradient(circle at 18% 12%, rgba(0, 212, 255, .16), transparent 24rem),
        linear-gradient(135deg, color-mix(in srgb, var(--landing-surface-strong) 74%, transparent), transparent);
}

.landing-ai-list {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 28px;
}

.landing-ai-list span,
.landing-plan-tag {
    border: 1px solid rgba(0, 123, 255, .25);
    border-radius: 999px;
    padding: 9px 12px;
    color: var(--landing-primary);
    background: rgba(0, 123, 255, .08);
    font-weight: 800;
    font-size: .82rem;
}

.landing-ai-panel {
    position: relative;
    overflow: hidden;
    padding: 30px;
    box-shadow: 0 24px 80px rgba(0, 212, 255, .16);
}

.landing-ai-panel::before {
    content: '';
    position: absolute;
    inset: -30% -15% auto auto;
    width: 260px;
    height: 260px;
    border-radius: 50%;
    background: rgba(0, 212, 255, .18);
    filter: blur(18px);
}

.landing-ai-panel div {
    position: relative;
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 24px;
}

.landing-ai-panel i {
    color: var(--landing-cyan);
    font-size: 1.8rem;
}

.landing-ai-panel strong {
    color: var(--landing-text);
    font-size: 1.2rem;
}

.landing-ai-panel div span {
    margin-left: auto;
    color: #0aa574;
    font-weight: 800;
}

.landing-ai-panel ul,
.landing-plan ul {
    position: relative;
    display: grid;
    gap: 12px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.landing-flow {
    position: relative;
    overflow: hidden;
}

.landing-costs-section {
    margin-top: clamp(84px, 9vw, 132px);
}

.landing-costs-title {
    width: min(100%, 860px);
    margin-bottom: 26px;
}

.landing-costs-title p {
    margin: 12px auto 0;
    max-width: 62ch;
}

.landing-costs-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.landing-cost-card {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    min-height: 250px;
}

.landing-cost-card h3 {
    margin: 0 0 12px;
}

.landing-cost-card p {
    margin: 0;
}

.landing-cost-card strong {
    display: block;
    margin-top: auto;
    color: var(--landing-cyan);
    font-size: 2rem;
    font-weight: 900;
    line-height: 1;
}

.landing-cost-icon {
    display: inline-block;
    margin-bottom: 18px;
    color: var(--landing-primary);
    background: transparent;
    font-size: 2rem;
    line-height: 1;
}

.landing-flow span {
    display: inline-block;
    margin-bottom: 22px;
    color: var(--landing-cyan);
    font-size: 2.4rem;
    font-weight: 900;
    line-height: 1;
}

.landing-metrics-board {
    grid-template-columns: 1fr 1.1fr .8fr;
    align-items: stretch;
    padding: 28px;
    border: 1px solid var(--landing-border);
    border-radius: 10px;
    background: linear-gradient(135deg, rgba(6, 18, 37, .96), rgba(11, 29, 58, .9));
    box-shadow: var(--landing-shadow);
}

.landing-metric-main {
    padding: 28px;
    border-radius: 8px;
    color: #fff;
    background: rgba(255, 255, 255, .07);
}

.landing-metric-main strong {
    display: block;
    color: var(--landing-cyan);
    font-size: 4.2rem;
    line-height: 1;
}

.landing-bars {
    height: 130px;
    display: flex;
    align-items: end;
    gap: 10px;
    margin-top: 28px;
}

.landing-bars i:nth-child(1) { height: 42%; }
.landing-bars i:nth-child(2) { height: 62%; }
.landing-bars i:nth-child(3) { height: 48%; }
.landing-bars i:nth-child(4) { height: 78%; }
.landing-bars i:nth-child(5) { height: 92%; }

.landing-conversations {
    display: grid;
    gap: 14px;
    background: rgba(255, 255, 255, .06);
}

.landing-conversations p {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 0;
    color: rgba(255, 255, 255, .82);
}

.landing-conversations span {
    margin-left: auto;
    color: var(--landing-cyan);
    font-weight: 800;
}

.landing-mini-kpis {
    display: grid;
    gap: 18px;
}

.landing-mini-kpis span {
    display: grid;
    color: rgba(255, 255, 255, .7);
    background: rgba(255, 255, 255, .06);
}

.landing-mini-kpis strong {
    color: #fff;
    font-size: 1.6rem;
}

.landing-plan-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: stretch;
}

.landing-plan {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    min-height: 172px;
    padding: 34px;
    gap: 10px;
}

.landing-plan.is-featured {
    color: #fff;
    border-color: rgba(0, 212, 255, .78);
    background:
        radial-gradient(circle at 50% 0%, rgba(0, 212, 255, .30), transparent 18rem),
        linear-gradient(160deg, #07172d 0%, #091b34 42%, #0b2242 100%);
    transform: none;
    box-shadow:
        0 30px 70px rgba(0, 0, 0, .24),
        0 0 0 1px rgba(0, 212, 255, .18),
        0 0 0 1px rgba(0, 212, 255, .20) inset,
        0 0 44px rgba(0, 212, 255, .12);
    z-index: 2;
}

.landing-plan.is-featured h3,
.landing-plan.is-featured p,
.landing-plan.is-featured li {
    color: #fff;
}

.landing-plan h3 {
    margin: 0;
    font-size: 1.2rem;
}

.landing-plan > strong {
    color: var(--landing-text);
    font-size: clamp(2rem, 3vw, 2.5rem);
    font-weight: 900;
    line-height: 1;
}

.landing-plan.is-featured > strong {
    color: var(--landing-cyan);
}

.landing-plan.is-featured .landing-plan-tag {
    border-color: rgba(0, 212, 255, .26);
    color: #8fe8ff;
    background: rgba(0, 123, 255, .14);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .02);
}

.landing-plan.is-featured .landing-btn {
    box-shadow: 0 18px 30px rgba(0, 123, 255, .22);
}

.landing-plan small {
    color: var(--landing-muted);
}

.landing-plan p {
    min-height: 0;
    margin: 20px 0 8px;
}

.landing-plan li {
    color: var(--landing-text);
    font-weight: 700;
}

.landing-plan li i {
    color: var(--landing-primary);
    margin-right: 10px;
}

.landing-plan .landing-btn {
    margin-top: 28px;
}

.landing-extras-card {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1.12fr) minmax(340px, .88fr);
    gap: 24px;
    align-items: center;
    margin-top: 24px;
    padding: 30px;
    border-radius: 10px;
    border-color: var(--landing-border);
    background:
        radial-gradient(circle at 12% 28%, rgba(0, 212, 255, .13), transparent 24rem),
        linear-gradient(135deg, color-mix(in srgb, var(--landing-surface-strong) 78%, transparent), var(--landing-surface));
    box-shadow: var(--landing-shadow);
    overflow: hidden;
}

.landing-extras-card::before {
    content: '';
    position: absolute;
    inset: 0 auto 0 0;
    width: 6px;
    background: var(--landing-gradient);
}

.landing-extras-copy h3 {
    margin: 10px 0 12px;
    color: var(--landing-text);
    font-size: clamp(1.55rem, 2.4vw, 2.35rem);
    font-weight: 900;
    letter-spacing: -.02em;
}

.landing-extras-copy p {
    max-width: 58ch;
    margin: 0;
    color: var(--landing-muted);
    font-size: 1.02rem;
    line-height: 1.7;
}

.landing-extras-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-top: 22px;
    padding: 10px 14px;
    border: 1px solid rgba(0, 123, 255, .18);
    border-radius: 999px;
    color: var(--landing-primary);
    background: rgba(0, 123, 255, .08);
    font-size: .82rem;
    font-weight: 900;
    letter-spacing: .02em;
}

.landing-extras-badge i {
    color: var(--landing-cyan);
    font-size: 1rem;
}

.landing-extras-list {
    display: grid;
    gap: 14px;
}

.landing-extras-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 20px 22px;
    border: 1px solid var(--landing-border);
    border-radius: 8px;
    background: rgba(255, 255, 255, .42);
    box-shadow: 0 18px 50px rgba(11, 29, 58, .06);
    backdrop-filter: blur(16px);
    transition: transform .24s ease, box-shadow .24s ease, border-color .24s ease;
}

.landing-extras-item:hover {
    transform: translateY(-4px);
    border-color: rgba(0, 212, 255, .38);
    box-shadow: var(--landing-shadow);
}

.landing-extra-icon {
    width: 52px;
    height: 52px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    border-radius: 14px;
    color: var(--landing-primary);
    background: rgba(0, 123, 255, .1);
    font-size: 1.25rem;
}

.landing-extra-copy {
    min-width: 0;
    flex: 1 1 auto;
}

.landing-extra-copy strong {
    display: block;
    color: var(--landing-text);
    font-size: .98rem;
    font-weight: 900;
    letter-spacing: .01em;
}

.landing-extra-copy span {
    display: block;
    margin-top: 4px;
    color: var(--landing-muted);
    font-size: .88rem;
}

.landing-extra-price {
    display: grid;
    justify-items: end;
    text-align: right;
    flex: 0 0 auto;
}

.landing-extra-price small {
    color: var(--landing-muted);
    font-size: .74rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .06em;
}

.landing-extra-price b {
    color: var(--landing-cyan);
    font-size: 1.55rem;
    font-weight: 900;
    white-space: nowrap;
}

.plan-status-badge {
    padding: .35rem .55rem;
    font-size: .68rem;
    line-height: 1;
    letter-spacing: .02em;
    text-transform: uppercase;
}

.landing-packs-grid {
    align-items: start;
}

.landing-pack-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    margin-top: 30px;
}

.landing-pack-list article {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 4px 12px;
    padding: 20px;
}

.landing-pack-list i {
    grid-row: span 3;
    color: var(--landing-primary);
    font-size: 1.6rem;
}

.landing-pack-list strong,
.landing-ai-packs strong {
    color: var(--landing-text);
    font-size: 1.7rem;
}

.landing-pack-list b {
    color: var(--landing-primary);
}

.landing-pack-note {
    margin-top: 18px;
    padding: 0;
    color: var(--landing-muted);
    font-size: .82rem;
    line-height: 1.55;
}

.landing-pack-note strong {
    color: var(--landing-text);
    font-weight: 900;
}

.landing-pack-note small {
    display: block;
    color: var(--landing-text);
    font-size: inherit;
    line-height: inherit;
}

.landing-ai-packs {
    padding: 30px;
    border: 1px solid rgba(0, 212, 255, .28);
    border-radius: 10px;
    background:
        radial-gradient(circle at 100% 0%, rgba(0, 212, 255, .16), transparent 16rem),
        var(--landing-surface);
    box-shadow: 0 26px 78px rgba(0, 212, 255, .14);
}

.landing-ai-packs article {
    display: flex;
    justify-content: space-between;
    gap: 18px;
    margin-top: 16px;
    padding: 18px;
}

.landing-faq-shell {
    max-width: 1080px;
    margin: 0 auto;
    padding: 12px;
    border: 1px solid var(--landing-border);
    border-radius: 16px;
    background:
        radial-gradient(circle at 0% 0%, rgba(0, 212, 255, .08), transparent 18rem),
        color-mix(in srgb, var(--landing-surface-strong) 76%, transparent);
    box-shadow: var(--landing-shadow);
}

:root[data-theme='dark'] .landing-faq-shell {
    background:
        radial-gradient(circle at 0% 0%, rgba(0, 212, 255, .12), transparent 18rem),
        linear-gradient(180deg, rgba(6, 18, 37, .92), rgba(8, 20, 39, .84));
}

:root[data-theme='light'] .landing-faq-shell {
    background:
        radial-gradient(circle at 0% 0%, rgba(0, 123, 255, .08), transparent 18rem),
        linear-gradient(180deg, rgba(255, 255, 255, .94), rgba(241, 247, 255, .88));
}

.landing-faq-accordion {
    display: grid;
    gap: 12px;
}

.landing-faq-item {
    overflow: hidden;
    border: 1px solid var(--landing-border);
    border-radius: 12px;
    background: var(--landing-surface);
}

:root[data-theme='dark'] .landing-faq-item {
    background: rgba(8, 20, 39, .9);
}

:root[data-theme='light'] .landing-faq-item {
    background: rgba(255, 255, 255, .92);
}

.landing-faq-item .accordion-button {
    padding: 22px 24px;
    color: var(--landing-text);
    background: transparent;
    box-shadow: none;
    font-size: 1.03rem;
    font-weight: 850;
    line-height: 1.4;
}

:root[data-theme='dark'] .landing-faq-item .accordion-button {
    background: rgba(255, 255, 255, .02);
}

:root[data-theme='light'] .landing-faq-item .accordion-button {
    background: rgba(255, 255, 255, .72);
}

.landing-faq-item .accordion-button::after {
    width: 1.05rem;
    height: 1.05rem;
    margin-left: 16px;
    background-size: 1.05rem;
    filter: saturate(0) brightness(.75);
}

.landing-faq-item .accordion-button:not(.collapsed) {
    color: var(--landing-primary);
    background: rgba(0, 123, 255, .06);
    box-shadow: none;
}

:root[data-theme='dark'] .landing-faq-item .accordion-button:not(.collapsed) {
    background: rgba(0, 123, 255, .14);
}

:root[data-theme='light'] .landing-faq-item .accordion-button:not(.collapsed) {
    background: rgba(0, 123, 255, .08);
}

.landing-faq-item .accordion-button:focus {
    border-color: transparent;
    box-shadow: 0 0 0 .18rem rgba(0, 123, 255, .16);
}

.landing-faq-item .accordion-body {
    padding: 10px 24px 24px;
}

:root[data-theme='dark'] .landing-faq-item .accordion-body {
    background: rgba(255, 255, 255, .01);
}

:root[data-theme='light'] .landing-faq-item .accordion-body {
    background: rgba(255, 255, 255, .6);
}

.landing-faq-item .accordion-body p {
    margin: 0;
    color: var(--landing-muted);
    line-height: 1.75;
}

.landing-final {
    padding: 36px 0 86px;
    scroll-margin-top: 110px;
}

.landing-final-box {
    position: relative;
    overflow: hidden;
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 32px;
    align-items: center;
    padding: clamp(34px, 5vw, 54px);
    border-radius: 10px;
    color: #fff;
    background:
        radial-gradient(circle at 88% 22%, rgba(0, 212, 255, .32), transparent 16rem),
        linear-gradient(135deg, #007bff, #005bd3 52%, #00a6ff);
    box-shadow: 0 28px 88px rgba(0, 123, 255, .28);
}

.landing-final-box::after {
    content: '';
    position: absolute;
    inset: 14% 4% auto auto;
    width: 230px;
    height: 150px;
    background-image: radial-gradient(circle, rgba(255, 255, 255, .34) 1.5px, transparent 2px);
    background-size: 18px 18px;
    opacity: .42;
    pointer-events: none;
}

.landing-final h2,
.landing-final p {
    position: relative;
    z-index: 1;
    color: #fff;
}

.landing-final .landing-cta-row {
    position: relative;
    z-index: 2;
}

.landing-final p {
    width: min(100%, 620px);
    margin: 16px 0 0;
    color: rgba(255, 255, 255, .82);
}

.landing-footer {
    padding: 64px 0 28px;
    color: rgba(255, 255, 255, .76);
    background:
        radial-gradient(circle at 18% 10%, rgba(0, 212, 255, .18), transparent 20rem),
        linear-gradient(135deg, #020817, #061225);
}

.landing-footer-grid {
    display: grid;
    grid-template-columns: 1.5fr repeat(3, .75fr) 1.1fr;
    gap: 38px;
}

.landing-footer-brand {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    margin-bottom: 18px;
}

.landing-footer-brand img {
    display: block;
    width: auto;
    height: 88px;
    max-width: min(100%, 280px);
    object-fit: contain;
}

.landing-footer nav,
.landing-footer-grid > div {
    display: grid;
    align-content: start;
    gap: 12px;
}

.landing-footer strong {
    color: #fff;
}

.landing-footer a {
    color: rgba(255, 255, 255, .7);
}

.landing-social {
    display: flex;
    gap: 12px;
}

.landing-social a,
.landing-newsletter button {
    width: 36px;
    height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    background: rgba(255, 255, 255, .08);
}

.landing-newsletter {
    display: flex;
    gap: 8px;
    padding: 8px;
    border: 1px solid rgba(255, 255, 255, .14);
    border-radius: 8px;
}

.landing-newsletter input {
    min-width: 0;
    flex: 1;
    border: 0;
    outline: 0;
    color: #fff;
    background: transparent;
}

.landing-newsletter button {
    border: 0;
    color: #fff;
    background: var(--landing-gradient);
}

.landing-footer-bottom {
    display: flex;
    justify-content: space-between;
    gap: 18px;
    margin-top: 48px;
    padding-top: 22px;
    border-top: 1px solid rgba(255, 255, 255, .1);
}

[data-reveal] {
    opacity: 1;
    transform: translateY(0);
    transition: opacity .7s ease, transform .7s ease;
}

[data-reveal].is-visible {
    opacity: 1;
    transform: translateY(0);
}

.article-shell {
    overflow-x: clip;
}

.article-shell .landing-container {
    width: min(100% - 40px, 1040px);
}

.article-header {
    position: sticky;
    top: 0;
    z-index: 40;
    background: rgba(2, 8, 23, .78);
    backdrop-filter: blur(18px);
}

.article-back-btn {
    white-space: nowrap;
}

.article-hero {
    position: relative;
    padding: clamp(44px, 6vw, 84px) 0 24px;
    overflow: hidden;
}

.article-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 78% 20%, rgba(0, 212, 255, .18), transparent 28rem),
        radial-gradient(circle at 14% 78%, rgba(0, 123, 255, .12), transparent 24rem);
    pointer-events: none;
}

.article-hero-grid {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1.18fr) minmax(300px, .82fr);
    gap: 20px;
    align-items: center;
}

.article-hero-copy {
    display: grid;
    gap: 0;
}

.article-hero h1 {
    margin: 12px 0 16px;
    color: var(--landing-text);
    font-size: clamp(2.3rem, 4.8vw, 4.15rem);
    line-height: 1.02;
    font-weight: 900;
}

.article-hero p {
    width: min(100%, 760px);
    margin: 0 0 16px;
    color: var(--landing-muted);
    line-height: 1.82;
}

.article-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 8px 0 22px;
}

.article-meta span {
    display: inline-flex;
    align-items: center;
    padding: 8px 12px;
    border: 1px solid var(--landing-border);
    border-radius: 999px;
    background: var(--landing-surface);
    color: var(--landing-text);
    font-size: .84rem;
    font-weight: 800;
}

.article-highlight-card {
    display: grid;
    gap: 14px;
    padding: 30px;
    border: 1px solid var(--landing-border);
    border-radius: 22px;
    background: var(--landing-surface);
    box-shadow: var(--landing-shadow);
    backdrop-filter: blur(18px);
}

.article-highlight-card span,
.article-note .landing-section-kicker {
    color: var(--landing-primary);
}

.article-highlight-card strong {
    color: var(--landing-text);
    font-size: 1.18rem;
    line-height: 1.45;
}

.article-section {
    padding: 18px 0;
}

.article-section-hero {
    padding-top: clamp(64px, 7vw, 92px);
}

.article-container {
    max-width: 1040px;
}

.article-hero-simple {
    display: grid;
    gap: 10px;
    padding-top: 6px;
}

.article-hero-simple h1 {
    margin: 0;
    color: var(--landing-text);
    font-size: clamp(2.2rem, 4.8vw, 4rem);
    line-height: 1.02;
    font-weight: 900;
}

.article-hero-subtitle {
    margin: 0;
    color: var(--landing-cyan);
    font-size: clamp(1.2rem, 2.4vw, 1.6rem);
    font-weight: 900;
    line-height: 1.2;
}

.article-content-card {
    display: grid;
    gap: 22px;
    padding: clamp(24px, 4vw, 40px);
    border: 1px solid var(--landing-border);
    border-radius: 24px;
    background: var(--landing-surface);
    box-shadow: var(--landing-shadow);
    backdrop-filter: blur(18px);
}

.article-single-card {
    position: relative;
    display: grid;
    gap: 28px;
    padding: clamp(28px, 4vw, 36px);
    border: 1px solid var(--landing-border);
    border-radius: 10px;
    background: var(--landing-surface);
    box-shadow: 0 20px 58px rgba(11, 29, 58, .08);
    backdrop-filter: blur(18px);
    overflow: hidden;
}

.article-single-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 100% 0%, rgba(0, 212, 255, .12), transparent 30rem);
    pointer-events: none;
}

.article-card-head,
.article-card-body {
    position: relative;
}

.article-card-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 18px;
    margin-bottom: 4px;
}

.article-card-title {
    display: flex;
    align-items: center;
    gap: 12px;
}

.article-card-title i {
    color: var(--landing-cyan);
    font-size: 1.55rem;
}

.article-card-title strong {
    color: var(--landing-text);
    font-size: clamp(1.35rem, 2.6vw, 2rem);
    line-height: 1.12;
    font-weight: 900;
}

.article-card-head > span {
    color: #0aa574;
    font-size: 1rem;
    font-weight: 800;
    white-space: nowrap;
}

.article-card-lead {
    position: relative;
    margin: 0;
    max-width: 1000px;
    color: var(--landing-text);
    font-size: 1.05rem;
    line-height: 1.82;
    font-weight: 650;
}

.article-card-link {
    position: relative;
    width: fit-content;
}

.article-card-body {
    display: grid;
    gap: 28px;
    margin-top: 4px;
}

.article-card-body > section {
    display: grid;
    gap: 12px;
}

.article-card-body .article-copy-block h2 {
    font-size: clamp(1.45rem, 2.8vw, 2.1rem);
}

.article-card-body .article-copy-block p {
    max-width: 1000px;
}

.article-card-body .article-table-block {
    gap: 12px;
}

.article-stack-card {
    display: grid;
    gap: 22px;
    padding: 26px;
    border: 1px solid var(--landing-border);
    border-radius: 8px;
    background: var(--landing-surface);
    box-shadow: 0 20px 58px rgba(11, 29, 58, .08);
    backdrop-filter: blur(18px);
}

.article-stack-card h1 {
    margin: 0;
    color: var(--landing-text);
    font-size: clamp(2.2rem, 4.8vw, 4rem);
    line-height: 1.02;
    font-weight: 900;
}

.article-copy-block {
    display: grid;
    gap: 12px;
}

.article-step-kicker {
    font-size: .95rem;
    letter-spacing: .08em;
}

.article-copy-block h2.article-step-title {
    margin: 0;
    color: var(--landing-text);
    font-size: clamp(2.6rem, 5.8vw, 4.4rem);
    line-height: 0.98;
    font-weight: 950;
}

.article-endpoint-meta {
    display: grid;
    gap: 10px;
    padding: 14px 18px;
    border: 1px solid var(--landing-border);
    border-radius: 18px;
    background: color-mix(in srgb, var(--landing-surface) 82%, transparent);
    box-shadow: 0 16px 38px rgba(11, 29, 58, .06);
}

.article-endpoint-meta-compact {
    margin-bottom: 2px;
}

.article-endpoint-line {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 10px;
}

.article-endpoint-label {
    color: var(--landing-muted);
    font-size: .66rem;
    font-weight: 900;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.article-endpoint-line code {
    font-size: .84rem;
    font-weight: 600;
    color: var(--landing-primary);
}

.article-copy-block h2 {
    margin: 0;
    color: var(--landing-text);
    font-size: clamp(1.5rem, 3vw, 2.2rem);
    line-height: 1.08;
    font-weight: 900;
}

.article-copy-block p {
    margin: 0;
    color: var(--landing-muted);
    line-height: 1.85;
}

.article-grid-block {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.article-grid-block-stack {
    grid-template-columns: 1fr;
}

.article-stack-card .article-copy-block,
.article-stack-card .article-table-block,
.article-stack-card .article-subpanel {
    margin: 0;
}

.article-table-block {
    display: grid;
    gap: 16px;
}

.article-panel {
    padding: 28px;
}

.article-panel h2 {
    margin: 0 0 12px;
    color: var(--landing-text);
    font-size: clamp(1.5rem, 2.6vw, 2.15rem);
    line-height: 1.1;
    font-weight: 900;
}

.article-panel h3 {
    margin: 0 0 12px;
    color: var(--landing-text);
    font-size: 1.02rem;
    line-height: 1.2;
    font-weight: 900;
}

.article-panel p {
    margin: 0;
}

.article-panel-intro {
    border-left: 4px solid rgba(0, 212, 255, .34);
}

.article-focus-card {
    min-height: 160px;
    display: grid;
    align-items: start;
    gap: 24px;
}

.article-focus-card div {
    margin-bottom: 0;
}

.article-focus-card strong {
    font-size: clamp(1.35rem, 2.6vw, 2rem);
    line-height: 1.15;
}

.article-focus-copy {
    display: grid;
    gap: 10px;
}

.article-focus-copy h2 {
    margin: 0;
    color: var(--landing-text);
    font-size: clamp(1.8rem, 3vw, 2.7rem);
    line-height: 1.05;
    font-weight: 900;
}

.article-focus-copy p {
    margin: 0;
    color: var(--landing-muted);
    line-height: 1.8;
}

.article-section-divider {
    height: 1px;
    margin: 24px 0;
    background: linear-gradient(90deg, transparent, rgba(0, 212, 255, .35), transparent);
}

.article-table-heading {
    display: grid;
    gap: 6px;
    margin-bottom: 16px;
}

.article-table-heading h3 {
    margin: 0;
    color: var(--landing-text);
    font-size: 1.15rem;
    font-weight: 900;
}

.article-section-head {
    display: grid;
    gap: 6px;
    margin-bottom: 18px;
}

.article-section-head h2 {
    margin-bottom: 0;
}

.article-subpanel {
    padding: 22px;
    border: 1px solid var(--landing-border);
    border-radius: 18px;
    background: color-mix(in srgb, var(--landing-surface-strong) 66%, transparent);
}

.article-subpanel-soft {
    background: linear-gradient(135deg, rgba(0, 123, 255, .05), rgba(0, 212, 255, .04));
}

.article-summary {
    margin-top: 20px;
}

.article-cta-row {
    margin-top: 2px;
}

.article-bullets {
    display: grid;
    gap: 12px;
    list-style: none;
    margin: 20px 0 0;
    padding: 0;
}

.article-bullets li {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    color: var(--landing-muted);
    line-height: 1.7;
}

.article-bullets i {
    color: var(--landing-primary);
    font-size: 1.1rem;
    flex: 0 0 auto;
    margin-top: 1px;
}

.article-bullets .bi-dash-circle {
    color: var(--landing-cyan);
}

.article-numbered {
    display: grid;
    gap: 14px;
    margin: 12px 0 0;
    padding: 0;
    list-style: none;
    counter-reset: article-item;
}

.article-numbered li {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    color: var(--landing-muted);
    line-height: 1.75;
    counter-increment: article-item;
}

.article-numbered li::before {
    content: counter(article-item);
    flex: 0 0 auto;
    width: 28px;
    height: 28px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-top: 1px;
    border-radius: 999px;
    color: #fff;
    background: var(--landing-gradient);
    font-size: .82rem;
    font-weight: 900;
}

.article-table-wrap {
    overflow: auto;
    border: 1px solid var(--landing-border);
    border-radius: 22px;
    background: var(--landing-surface);
    box-shadow: var(--landing-shadow);
    backdrop-filter: blur(18px);
}

.article-table {
    width: 100%;
    min-width: 760px;
    border-collapse: collapse;
}

.article-table th,
.article-table td {
    padding: 16px 18px;
    border-bottom: 1px solid var(--landing-border);
    text-align: left;
    vertical-align: top;
}

.article-table th {
    color: var(--landing-primary);
    background: rgba(0, 123, 255, .05);
    font-size: .77rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: .06em;
}

.article-table tr:last-child td {
    border-bottom: 0;
}

.article-note {
    border-left: 4px solid var(--landing-primary);
}

.article-code-block {
    display: grid;
    gap: 10px;
}

.article-code-label {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    color: var(--landing-muted);
    font-size: .77rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .08em;
}

.article-code {
    margin: 0;
    padding: 18px 20px;
    border: 1px solid var(--landing-border);
    border-radius: 18px;
    color: var(--landing-text);
    background:
        linear-gradient(180deg, rgba(0, 123, 255, .05), transparent 36%),
        rgba(2, 8, 23, .58);
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, 'Liberation Mono', monospace;
    font-size: .84rem;
    line-height: 1.6;
    white-space: pre-wrap;
    word-break: break-word;
    overflow-x: auto;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .03);
}

.article-subpanel code,
.article-table code {
    padding: 2px 7px;
    border-radius: 999px;
    color: var(--landing-text);
    background: rgba(0, 212, 255, .08);
    font-size: .88em;
}

.article-code code {
    padding: 0;
    border-radius: 0;
    color: inherit;
    background: transparent;
    font-size: inherit;
    white-space: inherit;
}

@media (max-width: 1180px) {
    .landing-value-grid,
    .landing-plan-grid,
    .landing-learning-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .landing-showcase-grid,
    .landing-ai-grid,
    .landing-packs-grid,
    .landing-final-box,
    .landing-metrics-board {
        grid-template-columns: 1fr;
    }

    .landing-extras-card {
        grid-template-columns: 1fr;
    }

    .landing-costs-grid {
        grid-template-columns: 1fr;
    }

    .landing-faq-shell {
        padding: 10px;
    }

    .landing-plan.is-featured {
        transform: none;
    }

    .article-hero-grid {
        grid-template-columns: 1fr;
    }

    .article-grid-block {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 991.98px) {
    .landing-header {
        padding: 12px 0;
        background: rgba(5, 15, 35, .86);
    }

    .landing-nav .navbar-collapse {
        margin-top: 16px;
        padding: 20px;
        border: 1px solid rgba(0, 212, 255, .16);
        border-radius: 10px;
        background: rgba(5, 15, 35, .94);
        box-shadow: 0 22px 70px rgba(0, 0, 0, .34);
        backdrop-filter: blur(22px);
    }

    .landing-actions {
        margin-top: 16px;
        flex-wrap: wrap;
    }

    .landing-desktop-actions {
        display: none !important;
    }

    .landing-dropdown-menu {
        position: static;
        width: 100%;
        min-width: 0;
        margin-top: 10px;
        padding: 8px;
        border-radius: 14px;
        background: rgba(8, 20, 39, .96);
        box-shadow: none;
    }

    .landing-hero {
        min-height: 820px;
        align-items: end;
        background: #020817;
    }

    .landing-hero-bg {
        background-position: center top;
        opacity: .9;
    }

    .landing-hero::before {
        background: linear-gradient(180deg, rgba(2, 8, 23, .28), rgba(2, 8, 23, .96) 56%, var(--landing-bg) 100%);
    }

    .landing-hero-grid {
        padding-bottom: 80px;
    }

    .landing-feature-grid,
    .landing-flow-grid,
    .landing-learning-grid,
    .landing-footer-grid {
        grid-template-columns: 1fr 1fr;
    }

    .landing-product-frame {
        transform: none;
    }

    .landing-footer-brand img {
        height: 78px;
        max-width: 240px;
    }

    .article-section-hero {
        padding-top: 84px;
    }
}

@media (max-width: 720px) {
    .landing-container {
        width: min(100% - 28px, 1220px);
    }

    .landing-brand img {
        width: 142px;
    }

    .landing-hero {
        min-height: 760px;
    }

    .landing-hero h1 {
        font-size: clamp(2.55rem, 13.5vw, 3.55rem);
    }

    .landing-value-grid,
    .landing-feature-grid,
    .landing-flow-grid,
    .landing-learning-grid,
    .landing-plan-grid,
    .landing-pack-list,
    .landing-footer-grid,
    .landing-product-frame {
        grid-template-columns: 1fr;
    }

    .landing-extras-item {
        align-items: flex-start;
        flex-direction: column;
    }

    .landing-extra-price {
        justify-items: start;
        text-align: left;
    }

    .landing-faq-shell {
        padding: 8px;
    }

    .landing-footer-bottom {
        flex-direction: column;
    }

    .landing-footer-brand img {
        height: 68px;
        max-width: 220px;
    }

    .article-single-card {
        padding: 22px;
    }

    .article-section-hero {
        padding-top: 72px;
    }
}
