:root {
    --deep-night: #1a1a2e;
    --deep-night-2: #111526;
    --neon-vitality: #00f2ff;
    --soft-sunset: #ff8e7e;
    --mint-rest: #7fffb7;
    --card-bg: rgba(20, 24, 46, 0.96);
    --card-border: rgba(255, 255, 255, 0.08);
    --text-main: #f4f7ff;
    --text-soft: rgba(244, 247, 255, 0.72);
    --shadow: 0 24px 60px rgba(8, 10, 24, 0.45);
    --font-display: 'Jost', 'Montserrat', sans-serif;
    --font-body: 'Golos Text', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    min-height: 100vh;
    font-family: var(--font-body);
    color: var(--text-main);
    background:
        radial-gradient(circle at 10% 20%, rgba(0, 242, 255, 0.12), transparent 28%),
        radial-gradient(circle at 88% 14%, rgba(255, 142, 126, 0.18), transparent 24%),
        radial-gradient(circle at 50% 100%, rgba(127, 255, 183, 0.1), transparent 25%),
        linear-gradient(160deg, var(--deep-night), #121725 62%, #0a1020);
    user-select: none;
    -webkit-user-select: none;
    -ms-user-select: none;
    -moz-user-select: none;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6,
.brand {
    font-family: var(--font-display);
    text-wrap: balance;
}

.tabular-nums,
.stat-card strong,
.energy-number,
.energy-metrics strong,
.timeline-item span,
.voice-details-grid div strong {
    font-variant-numeric: tabular-nums;
}

.btn:active,
.mini-action:active,
.mobile-nav-btn:active,
.sidebar-nav-btn:active,
.connector-action-button:active,
.prompt-chips button:active {
    transform: scale(0.96) !important;
}

input, textarea, select, [contenteditable="true"] {
    user-select: text;
    -webkit-user-select: text;
    -ms-user-select: text;
    -moz-user-select: text;
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
    background-size: 36px 36px;
    mask-image: radial-gradient(circle at center, black, transparent 80%);
}

a {
    color: inherit;
    text-decoration: none;
}

p {
    color: var(--text-soft);
    line-height: 1.65;
}

main,
.footer {
    width: min(1200px, calc(100% - 32px));
    margin: 0 auto;
}

.page-shell {
    padding-bottom: 48px;
}

.topbar {
    width: min(1200px, calc(100% - 32px));
    margin: 0 auto;
    padding: 24px 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 14px;
}

.brand strong {
    display: block;
    font-size: 1rem;
}

.brand small {
    display: block;
    margin-top: 4px;
    color: var(--text-soft);
}

.brand-mark {
    width: 38px;
    height: 38px;
    background: linear-gradient(135deg, var(--neon-vitality) 0%, var(--mint-rest) 100%);
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.35);
    flex-shrink: 0;
}

.brand-mark i {
    color: #111318;
    font-size: 1.1rem;
}

.topnav {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
}

.topnav a {
    color: var(--text-soft);
}

.nav-pill,
.btn {
    border-radius: 999px;
    padding: 12px 18px;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.nav-pill {
    background: rgba(255, 255, 255, 0.08);
    color: var(--text-main) !important;
}

.hero,
.dashboard-hero,
.section-stack,
.dashboard-columns,
.section-grid,
.split-section,
.cta-band,
.auth-shell {
    margin-bottom: 28px;
}

.hero,
.dashboard-hero,
.split-section,
.dashboard-columns {
    display: grid;
    gap: 20px;
}

.hero {
    grid-template-columns: 1.15fr 0.85fr;
    align-items: center;
    padding: 26px 0 10px;
}

.hero-copy h1,
.section-heading h1,
.section-heading h2 {
    margin: 10px 0 14px;
    font-size: clamp(2.2rem, 4.2vw, 4.8rem);
    line-height: 1.02;
    letter-spacing: -0.04em;
}

.dashboard-copy h1 {
    margin: 10px 0 14px;
    font-size: clamp(1.6rem, 2.5vw, 2.2rem);
    line-height: 1.15;
    letter-spacing: -0.02em;
}

.hero-text {
    max-width: 680px;
    font-size: 1.05rem;
}

.eyebrow,
.section-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    color: var(--neon-vitality);
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-size: 0.72rem;
    font-weight: 700;
}

.hero-actions,
.stats-grid,
.hero-metrics,
.section-grid,
.roadmap-grid,
.energy-metrics,
.footer,
.dashboard-columns,
.preference-actions {
    display: grid;
    gap: 16px;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    margin: 28px 0;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    cursor: pointer;
}

.btn:hover,
.nav-pill:hover {
    transform: translateY(-2px);
}

.btn-primary {
    background: linear-gradient(135deg, var(--neon-vitality), #68fff4);
    color: #04101d;
    box-shadow: 0 12px 28px rgba(8, 10, 24, 0.5);
}

.btn-secondary {
    border: 1px solid rgba(255, 255, 255, 0.14);
    background: rgba(255, 255, 255, 0.04);
}

.glass-card,
.panel,
.hero-card,
.cta-band {
    position: relative;
    overflow: hidden;
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    box-shadow: var(--shadow);
    backdrop-filter: none;
}

.glass-card,
.panel {
    border-radius: 36px;
    padding: 24px;
}

.hero-metrics {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.hero-metrics article,
.stat-card,
.feature-card,
.monetization-card,
.recommendation-card {
    border-radius: 12px;
    padding: 20px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.hero-metrics strong,
.stat-card strong {
    display: block;
    margin-bottom: 6px;
    font-size: 1.1rem;
}

.hero-visual {
    min-height: 540px;
}

.lumi-stage {
    position: relative;
    min-height: 100%;
    border-radius: 36px;
    padding: 30px;
    background:
        radial-gradient(circle at 50% 35%, rgba(0, 242, 255, 0.22), transparent 28%),
        radial-gradient(circle at 65% 55%, rgba(255, 142, 126, 0.18), transparent 26%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02));
}

.lumi-orb {
    position: absolute;
    left: 50%;
    top: 48%;
    width: 190px;
    height: 240px;
    border-radius: 54% 54% 44% 44% / 44% 44% 64% 64%;
    transform: translate(-50%, -50%);
    background: linear-gradient(180deg, rgba(0, 242, 255, 0.95), rgba(255, 142, 126, 0.9));
    box-shadow:
        0 0 80px rgba(0, 242, 255, 0.36),
        inset 0 -20px 30px rgba(20, 16, 42, 0.18);
    animation: floaty 6s ease-in-out infinite;
}

.lumi-orb.mini {
    position: relative;
    width: 120px;
    height: 150px;
    left: auto;
    top: auto;
    transform: none;
}

.lumi-eye,
.lumi-mouth {
    position: absolute;
    background: #0f1933;
    border-radius: 999px;
}

.lumi-eye {
    width: 18px;
    height: 6px;
    top: 88px;
}

.lumi-eye.left {
    left: 60px;
}

.lumi-eye.right {
    right: 60px;
}

.lumi-mouth {
    width: 36px;
    height: 8px;
    left: 50%;
    bottom: 70px;
    transform: translateX(-50%);
}

.lumi-spark {
    position: absolute;
    width: 74px;
    height: 74px;
    right: 92px;
    top: 96px;
    border-radius: 999px;
    background: radial-gradient(circle at 30% 30%, #fff, var(--neon-vitality));
    box-shadow: 0 0 20px rgba(0, 242, 255, 0.2);
    animation: sparkle 4s ease-in-out infinite;
}

.hero-card {
    position: absolute;
    width: min(260px, 70%);
    border-radius: 24px;
    padding: 18px;
}

.hero-card.top {
    top: 28px;
    left: 20px;
}

.hero-card.bottom {
    right: 18px;
    bottom: 26px;
}

.hero-card span,
.card-topline span,
.stat-card span,
.feature-index {
    display: inline-block;
    color: var(--neon-vitality);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.feature-card h2,
.roadmap-card h3,
.recommendation-card h3,
.offer-card h3,
.panel h2,
.monetization-card h3 {
    margin: 14px 0 10px;
}

.feature-index {
    color: var(--soft-sunset);
}

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

.split-section {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.section-heading {
    margin-bottom: 20px;
}

.roadmap-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.roadmap-head {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    align-items: start;
}

.roadmap-head span {
    color: var(--soft-sunset);
    font-weight: 700;
}

.clean-list {
    margin: 0;
    padding-left: 18px;
    color: var(--text-soft);
    line-height: 1.7;
}

.clean-list li + li {
    margin-top: 10px;
}

.cta-band {
    border-radius: 34px;
    padding: 28px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.dashboard-hero {
    grid-template-columns: 1.2fr 0.8fr;
    align-items: stretch;
}

.dashboard-intro {
    display: flex;
    justify-content: space-between;
    gap: 22px;
    align-items: center;
}

.dashboard-copy {
    max-width: 70%;
}

.demo-note {
    color: var(--soft-sunset);
}

.hero-mini-lumi {
    max-width: 220px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    align-items: center;
    text-align: center;
    flex-shrink: 0;
}

.stats-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.stat-card strong {
    font-size: 2rem;
}

.card-topline,
.panel-head,
.list-row {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    align-items: start;
}

.offer-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 16px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 14px;
    align-items: stretch;
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.3s ease, background-color 0.3s ease, box-shadow 0.3s ease;
}

.offer-card:hover {
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(0, 242, 255, 0.15);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    transform: translateY(-3px);
}

.offer-card .card-topline {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.offer-card .card-topline span {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--neon-vitality);
    background: rgba(0, 242, 255, 0.08);
    padding: 4px 10px;
    border-radius: 20px;
}

.offer-card .card-topline strong {
    font-family: var(--font-display);
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--soft-sunset);
}

.offer-card h3 {
    font-family: var(--font-display);
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--text-main);
    margin: 0;
}

.offer-card p {
    font-size: 0.9rem;
    line-height: 1.45;
    color: var(--text-soft);
    margin: 0;
}

.offer-card small {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.recommendation-card strong {
    color: var(--soft-sunset);
}

.dashboard-columns {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: stretch;
}
.glass-card.panel {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.list-stack {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 14px;
    width: 100%;
}

.timeline {
    display: grid;
    gap: 14px;
}

.list-row {
    background: rgba(255, 255, 255, 0.015);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 12px;
    padding: 16px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 12px;
    transition: background-color 0.25s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.25s cubic-bezier(0.16, 1, 0.3, 1), transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    position: relative;
}

.list-row:hover {
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(255, 255, 255, 0.12);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

.list-row strong {
    display: block;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-main);
    margin-bottom: 4px;
}

.timeline-item {
    padding: 16px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.timeline-item:last-child {
    border-bottom: 0;
}

.timeline-item strong {
    display: block;
    margin-bottom: 6px;
}

.row-meta,
.timeline-item span,
.offer-card small,
.footer-links a,
.inline-link,
.panel-note {
    color: var(--text-soft);
}

.preference-form {
    display: grid;
    gap: 14px;
}

.preference-line {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 18px;
    padding: 10px 14px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.preference-line strong,
.preference-line small {
    display: block;
}

.preference-line small {
    margin-top: 6px;
}

.preference-line input[type="checkbox"] {
    width: 22px;
    height: 22px;
    accent-color: var(--neon-vitality);
    flex-shrink: 0;
}

.preference-line input[type="number"] {
    width: 82px;
    padding: 10px 12px;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(10, 16, 32, 0.68);
    color: var(--text-main);
    font: inherit;
}

.preference-line input:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

.preference-line.dimmed {
    opacity: 0.76;
}

.preference-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
}

.planner-form {
    display: grid;
    gap: 14px;
}

.planner-form input,
.planner-form select {
    width: 100%;
    padding: 14px 16px;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(10, 16, 32, 0.68);
    color: var(--text-main);
    font: inherit;
}

.planner-form select {
    appearance: none;
}

.planner-form input::placeholder {
    color: rgba(244, 247, 255, 0.48);
}

.planner-grid {
    display: grid;
    gap: 12px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.planner-actions,
.row-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
}

.voice-form {
    display: grid;
    gap: 12px;
}

.voice-form textarea {
    width: 100%;
    min-height: 120px;
    padding: 14px 16px;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(10, 16, 32, 0.68);
    color: var(--text-main);
    font: inherit;
    resize: vertical;
}

.voice-form textarea::placeholder {
    color: rgba(244, 247, 255, 0.48);
}

.voice-form .panel-note {
    white-space: pre-line;
}

.voice-history {
    min-height: 72px;
    padding-top: 8px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.planner-highlight {
    display: grid;
    gap: 14px;
    padding: 18px;
    border-radius: 22px;
    background: rgba(0, 242, 255, 0.03);
    border: 1px solid rgba(0, 242, 255, 0.16);
    box-shadow: 0 4px 20px rgba(0, 242, 255, 0.04);
}

.planner-highlight strong {
    display: block;
    margin-bottom: 8px;
}

.mini-action {
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 999px;
    padding: 10px 14px;
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-main);
    font: inherit;
    font-weight: 700;
    cursor: pointer;
    transition: transform 0.2s ease, background 0.2s ease, opacity 0.2s ease;
}

.mini-action:hover {
    transform: translateY(-1px);
    background: rgba(255, 255, 255, 0.09);
}

.mini-action:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.mini-action.primary {
    background: linear-gradient(135deg, var(--neon-vitality), #68fff4);
    color: #04101d;
    border-color: transparent;
}

.row-meta {
    min-width: 112px;
    text-align: right;
}

.row-meta.wide {
    min-width: 160px;
}

.tag {
    display: inline-flex;
    padding: 8px 12px;
    border-radius: 999px;
    background: rgba(0, 242, 255, 0.12);
    color: var(--neon-vitality);
    margin-bottom: 8px;
}

.energy-ring {
    width: 160px;
    height: 160px;
    border-radius: 999px;
    margin: 10px auto 24px;
    display: grid;
    place-items: center;
    background:
        radial-gradient(circle at center, rgba(18, 27, 53, 0.92) 0 52%, transparent 53%),
        conic-gradient(var(--neon-vitality) 0 48%, var(--soft-sunset) 48% 72%, rgba(255, 255, 255, 0.12) 72% 100%);
}

.energy-number {
    font-size: 2.5rem;
    font-weight: 800;
}

.energy-metrics {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    text-align: center;
}

.energy-metrics strong {
    display: block;
    font-size: 1.35rem;
}

.timeline-item.muted {
    opacity: 0.56;
}

.auth-shell {
    display: grid;
    place-items: center;
    min-height: 72vh;
}

.auth-card {
    width: min(560px, 100%);
}

.auth-form p {
    display: grid;
    gap: 8px;
    margin-bottom: 14px;
}

.auth-form input {
    width: 100%;
    padding: 14px 16px;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.06);
    color: var(--text-main);
    font: inherit;
}

.auth-form textarea,
.auth-form select {
    width: 100%;
    padding: 14px 16px;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.06);
    color: var(--text-main);
    font: inherit;
}

.auth-form textarea {
    min-height: 140px;
    resize: vertical;
}

.auth-form input[type="checkbox"] {
    width: 20px;
    height: 20px;
    accent-color: var(--neon-vitality);
}

.legal-grid {
    align-items: start;
}

.footer {
    margin-top: 22px;
    padding: 10px 0 0;
    align-items: center;
    grid-template-columns: 1fr auto;
}

.footer-links {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.flash-stack {
    width: min(1200px, calc(100% - 32px));
    margin: 0 auto 16px;
}

.flash {
    padding: 12px 16px;
    border-radius: 14px;
    background: rgba(255, 142, 126, 0.16);
    border: 1px solid rgba(255, 142, 126, 0.22);
}

.subpanel {
    margin-top: 18px;
    padding-top: 18px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.list-stack.compact .list-row {
    padding: 10px 0;
}

.schema-code {
    display: inline-block;
    padding: 12px 14px;
    border-radius: 14px;
    margin-top: 12px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: var(--neon-vitality);
}

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

@keyframes sparkle {
    0%, 100% {
        transform: translateY(0) scale(1);
    }
    50% {
        transform: translateY(-10px) scale(1.08);
    }
}

@media (max-width: 1024px) {
    .hero,
    .dashboard-hero,
    .split-section,
    .dashboard-columns,
    .section-grid,
    .roadmap-grid {
        grid-template-columns: 1fr;
    }

    .hero-metrics,
    .stats-grid,
    .energy-metrics {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .dashboard-intro,
    .cta-band,
    .footer {
        grid-template-columns: 1fr;
        display: grid;
    }
}

@media (max-width: 720px) {
    .topbar,
    main,
    .footer,
    .flash-stack {
        width: min(100% - 20px, 1200px);
    }

    .topbar {
        padding-top: 18px;
    }

    .topnav {
        width: 100%;
        justify-content: space-between;
    }

    .hero-copy h1,
    .section-heading h1,
    .section-heading h2,
    .dashboard-copy h1 {
        font-size: 2.2rem;
    }

    .hero-metrics,
    .stats-grid,
    .energy-metrics,
    .planner-grid {
        grid-template-columns: 1fr;
    }

    .lumi-stage {
        min-height: 420px;
    }

    .lumi-orb {
        width: 150px;
        height: 195px;
    }

    .lumi-eye {
        top: 72px;
    }

    .lumi-eye.left {
        left: 46px;
    }

    .lumi-eye.right {
        right: 46px;
    }

    .lumi-mouth {
        bottom: 55px;
    }
}

/* --- Вкладки и Сайдбар личного кабинета --- */
.dashboard-wrapper {
    display: grid;
    grid-template-columns: 260px 1fr;
    gap: 28px;
    align-items: start;
    margin-top: 24px;
}

.dashboard-sidebar {
    position: sticky;
    top: 24px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.sidebar-nav-btn {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 18px;
    border-radius: 16px;
    border: 1px solid transparent;
    background: transparent;
    color: var(--text-soft);
    font-size: 0.9rem;
    font-weight: 700;
    text-align: left;
    cursor: pointer;
    transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease, transform 0.1s ease;
    width: 100%;
}

.sidebar-nav-btn:hover {
    background: rgba(255, 255, 255, 0.04);
    color: var(--text-main);
    transform: translateX(4px);
}

.sidebar-nav-btn.active {
    background: rgba(0, 242, 255, 0.08);
    border-color: rgba(0, 242, 255, 0.16);
    color: var(--neon-vitality);
    box-shadow: 0 8px 24px rgba(0, 242, 255, 0.08);
}

.sidebar-nav-btn i {
    font-size: 1.15rem;
    width: 24px;
    text-align: center;
}

.tab-panel {
    display: none;
    animation: fadeInTab 0.35s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.tab-panel.active {
    display: block;
}

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

.mobile-bottom-nav {
    display: none;
}

@media (max-width: 768px) {
    .dashboard-wrapper {
        grid-template-columns: 1fr;
        padding-bottom: 80px;
    }

    .dashboard-sidebar {
        display: none;
    }

    .mobile-bottom-nav {
        display: flex;
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        height: 68px;
        background: rgba(14, 20, 41, 0.98);
        border-top: 1px solid rgba(255, 255, 255, 0.08);
        backdrop-filter: none;
        z-index: 999;
        justify-content: space-around;
        align-items: center;
        padding: 0 10px;
    }

    .mobile-nav-btn {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 4px;
        background: transparent;
        border: none;
        color: var(--text-soft);
        font-size: 0.7rem;
        font-weight: 700;
        cursor: pointer;
        transition: color 0.2s ease, transform 0.1s ease;
        padding: 6px 10px;
    }

    .mobile-nav-btn.active {
        color: var(--neon-vitality);
    }

    .mobile-nav-btn i {
        font-size: 1.25rem;
    }
}

/* ========== ТЕЛЕМЕТРИЯ И ОТЛАДКА ========== */
.telemetry-details {
    margin-top: 12px;
    border-top: 1px dashed rgba(255, 255, 255, 0.1);
    padding-top: 10px;
}
.telemetry-details summary {
    font-size: 0.76rem;
    color: var(--neon-vitality);
    cursor: pointer;
    user-select: none;
    font-weight: 600;
    outline: none;
}
.telemetry-details summary:focus-visible {
    outline: 2px solid var(--neon-vitality);
    outline-offset: 4px;
    border-radius: 4px;
}

.telemetry-details summary:hover {
    color: #68fff4;
}
.telemetry-content {
    margin-top: 8px;
    padding: 8px 12px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 12px;
    font-size: 0.72rem;
    line-height: 1.45;
    color: var(--text-soft);
    white-space: normal;
    text-align: left;
}

/* ==================== CUSTOM SELECTION ==================== */
::selection {
    background: rgba(0, 242, 255, 0.25);
    color: white;
}
::-moz-selection {
    background: rgba(0, 242, 255, 0.25);
    color: white;
}

/* ==================== CUSTOM SCROLLBAR ==================== */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}
::-webkit-scrollbar-track {
    background: var(--deep-night-2);
}
::-webkit-scrollbar-thumb {
    background: var(--card-border);
    border-radius: 4px;
    transition: background 0.2s ease;
}
::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.2);
}

/* ==================== PREMIUM CARD HOVERS ==================== */
.glass-card,
.panel {
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.3s ease, box-shadow 0.3s ease;
}
.glass-card:hover,
.panel:hover {
    border-color: rgba(0, 242, 255, 0.22);
    box-shadow: 0 40px 90px rgba(0, 0, 0, 0.45);
    transform: translateY(-2px);
}

.hero-metrics article,
.stat-card,
.feature-card,
.monetization-card,
.recommendation-card {
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.3s ease, background-color 0.3s ease, box-shadow 0.3s ease;
}
.hero-metrics article:hover,
.stat-card:hover,
.feature-card:hover,
.monetization-card:hover,
.recommendation-card:hover {
    border-color: rgba(0, 242, 255, 0.25);
    background: rgba(255, 255, 255, 0.08);
    transform: translateY(-3px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.25);
}

/* ==================== PREMIUM INPUT HOVERS/FOCUS ==================== */
.planner-form input,
.planner-form select,
.auth-form input,
.auth-form textarea,
.auth-form select {
    transition: border-color 0.25s ease, background-color 0.25s ease, box-shadow 0.25s ease;
}
.planner-form input:focus,
.planner-form select:focus,
.auth-form input:focus,
.auth-form textarea:focus,
.auth-form select:focus,
#voice-prompt-input:focus {
    outline: none;
    border-color: var(--neon-vitality) !important;
    background: rgba(10, 16, 32, 0.88);
    box-shadow: 0 0 10px rgba(0, 242, 255, 0.12);
}

/* ==================== SIDEBAR PREMIUM ACTIVE STATE ==================== */
.sidebar-nav-btn {
    transition: background-color 0.25s ease, color 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease, transform 0.1s ease;
}
.sidebar-nav-btn:hover {
    background: rgba(255, 255, 255, 0.04);
    color: var(--neon-vitality);
}
.sidebar-nav-btn.active {
    background: rgba(0, 242, 255, 0.08) !important;
    border: 1px solid rgba(0, 242, 255, 0.24);
    color: var(--neon-vitality) !important;
}

/* ==================== KEYFRAMES AND MASCOT STYLES ==================== */
@keyframes floaty-mini {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-8px);
    }
}

.lumi-orb-img-container {
    position: relative;
    width: 140px;
    height: 140px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 10px;
}

.lumi-mascot-render {
    width: 130px;
    height: 130px;
    object-fit: contain;
    animation: floaty-mini 6s ease-in-out infinite;
    filter: drop-shadow(0 8px 24px rgba(0, 242, 255, 0.25));
    will-change: transform;
    backface-visibility: hidden;
}

/* Override mini orb animation to stop horizontal transform offset and lag */
.lumi-orb.mini {
    animation: floaty-mini 6s ease-in-out infinite !important;
    transform: none !important;
    will-change: transform;
    backface-visibility: hidden;
}

/* ==================== INTERACTIVE PREFERENCE LINES ==================== */
.preference-line {
    transition: background-color 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
}
.preference-line:hover {
    background: rgba(255, 255, 255, 0.07);
    border-color: rgba(0, 242, 255, 0.22);
}

/* ==================== PREMIUM SETTINGS GROUPING (SETIAI STYLE) ==================== */
.settings-group {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 8px;
    margin-bottom: 20px;
    overflow: hidden;
    transition: border-color 0.25s cubic-bezier(0.2, 0, 0, 1), 
                background-color 0.25s cubic-bezier(0.2, 0, 0, 1), 
                box-shadow 0.25s cubic-bezier(0.2, 0, 0, 1);
}
.settings-group:hover {
    border-color: rgba(0, 242, 255, 0.15);
    background: rgba(255, 255, 255, 0.03);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}
.settings-group-title {
    background: rgba(255, 255, 255, 0.04);
    padding: 14px 18px;
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--neon-vitality);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.settings-group-content {
    padding: 10px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

/* Modal layout improvements */
.voice-details-grid div {
    padding: 8px 12px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.04);
    border-radius: 8px;
    font-size: 0.85rem;
}
.voice-details-grid div strong {
    color: var(--neon-vitality);
}

/* ==================== GLASSMORPHIC MODAL (SETIAI STYLE) ==================== */
.modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(10, 15, 30, 0.7);
    backdrop-filter: blur(12px);
    transition: opacity 0.3s ease, visibility 0.3s ease;
}
.modal-content {
    background: rgba(17, 25, 40, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    margin: 15% auto;
    padding: 24px;
    width: 90%;
    max-width: 550px;
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
    position: relative;
    animation: modal-zoom 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}
@keyframes modal-zoom {
    from { transform: scale(0.9); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}
.close {
    position: absolute;
    right: 20px;
    top: 16px;
    color: rgba(255, 255, 255, 0.5);
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.2s ease;
}
.close:hover,
.close:focus {
    color: var(--neon-vitality);
    text-decoration: none;
}

/* ==================== LIST STACK BENTO GRID LAYOUT ==================== */
.list-stack.compact {
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 10px;
}
.list-stack .list-row {
    margin-bottom: 0;
}

/* ==================== VOICE CHAT MESSENGER STYLES ==================== */
.chat-container {
    scrollbar-width: thin;
    scrollbar-color: rgba(123, 44, 255, 0.3) rgba(0, 0, 0, 0.1);
}
.chat-container::-webkit-scrollbar {
    width: 6px;
}
.chat-container::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.1);
    border-radius: 3px;
}
.chat-container::-webkit-scrollbar-thumb {
    background: rgba(123, 44, 255, 0.3);
    border-radius: 3px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}
.chat-container::-webkit-scrollbar-thumb:hover {
    background: rgba(123, 44, 255, 0.5);
}

.chat-bubble-user, .chat-bubble-lumi {
    animation: bubble-enter 0.25s cubic-bezier(0.215, 0.610, 0.355, 1) forwards;
}

@keyframes bubble-enter {
    from {
        opacity: 0;
        transform: translateY(12px) scale(0.98);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.lumi-chat-avatar {
    transition: transform 0.3s ease, filter 0.3s ease;
}
.chat-bubble-lumi:hover .lumi-chat-avatar {
    transform: scale(1.08) rotate(4deg);
    filter: drop-shadow(0 0 8px rgba(0, 242, 255, 0.4));
}

/* Prompt Chips layout */
.prompt-chips button {
    transition: transform 0.2s ease, background-color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease !important;
}
.prompt-chips button:hover {
    transform: translateY(-2px);
    background: rgba(123, 44, 255, 0.14) !important;
    border-color: rgba(123, 44, 255, 0.3) !important;
    box-shadow: 0 4px 12px rgba(123, 44, 255, 0.15);
}
.prompt-chips button:active {
    transform: translateY(0);
}

/* ==================== HIGH-DENSITY DASHBOARD OPTIMIZATIONS ==================== */
/* 1-Column layout for preference forms inside dashboard-columns grid on desktop to prevent overflow */
@media (min-width: 768px) {
    #tab-settings .preference-form {
        display: grid !important;
        grid-template-columns: 1fr !important;
        gap: 14px;
        width: 100% !important;
    }
    #tab-settings .preference-form .preference-actions {
        grid-column: span 1;
        margin-top: 10px;
    }
}

/* Limit height of long lists inside Settings tab with custom premium scrollbar */
#tab-settings .list-stack.compact {
    max-height: 220px;
    overflow-y: auto;
    padding-right: 6px;
    scrollbar-width: thin;
    scrollbar-color: rgba(123, 44, 255, 0.3) rgba(0, 0, 0, 0.1);
}
#tab-settings .list-stack.compact::-webkit-scrollbar {
    width: 4px;
}
#tab-settings .list-stack.compact::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.1);
    border-radius: 2px;
}
#tab-settings .list-stack.compact::-webkit-scrollbar-thumb {
    background: rgba(123, 44, 255, 0.3);
    border-radius: 2px;
}
#tab-settings .list-stack.compact::-webkit-scrollbar-thumb:hover {
    background: rgba(123, 44, 255, 0.5);
}

/* ==================== SETTINGS DETAILS & SCROLLBAR COMPACTNESS ==================== */
.settings-details {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 12px;
    margin-bottom: 12px;
    padding: 12px 14px;
    transition: all 0.3s var(--ease-out-cubic, cubic-bezier(0.23, 1, 0.32, 1));
}
.settings-details[open] {
    background: rgba(255, 255, 255, 0.03);
    border-color: rgba(255, 255, 255, 0.1);
}
.settings-summary {
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    list-style: none;
    outline: none;
    user-select: none;
}
.settings-summary::-webkit-details-marker {
    display: none;
}
.settings-summary h3 {
    font-size: 0.9rem;
    font-weight: 600;
    margin: 0;
    color: var(--text-main, #ffffff);
}
.settings-summary i {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.4);
    transition: transform 0.3s var(--ease-out-cubic, cubic-bezier(0.23, 1, 0.32, 1));
}
.settings-details[open] .settings-summary i {
    transform: rotate(180deg);
}

.voice-scroll-container {
    scrollbar-width: thin;
    scrollbar-color: rgba(123, 44, 255, 0.3) rgba(0, 0, 0, 0.1);
}
.voice-scroll-container::-webkit-scrollbar {
    width: 4px;
}
.voice-scroll-container::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.1);
    border-radius: 2px;
}
.voice-scroll-container::-webkit-scrollbar-thumb {
    background: rgba(123, 44, 255, 0.3);
    border-radius: 2px;
}
.voice-scroll-container::-webkit-scrollbar-thumb:hover {
    background: rgba(123, 44, 255, 0.5);
}

.prompt-chips::-webkit-scrollbar {
    display: none;
}

.view-toggle button {
    outline: none;
}
.view-toggle button:focus-visible {
    outline: 2px solid var(--neon-focus, #3b82f6);
    outline-offset: 2px;
}
.toggle-btn {
    color: var(--text-soft, #a0a0a0);
    transition: all 0.2s var(--ease-out-cubic, cubic-bezier(0.23, 1, 0.32, 1));
}
.toggle-btn:hover:not(.active) {
    color: var(--text-main, #ffffff);
    background: rgba(255, 255, 255, 0.02);
}
.toggle-btn.active {
    background: rgba(255, 255, 255, 0.06);
    color: var(--text-main, #ffffff);
}
.kanban-board-wrapper::-webkit-scrollbar {
    height: 6px;
}
.kanban-board-wrapper::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.01);
    border-radius: 10px;
}
.kanban-board-wrapper::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.06);
    border-radius: 10px;
}
.kanban-board-wrapper::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.12);
}
.kanban-column {
    transition: all 0.3s var(--ease-out-cubic, cubic-bezier(0.23, 1, 0.32, 1));
}
.kanban-column.drag-over {
    background: rgba(255, 255, 255, 0.03) !important;
    border-color: rgba(255, 255, 255, 0.12) !important;
}
.kanban-card {
    position: relative;
    overflow: hidden;
}
.kanban-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.04), transparent);
    transition: left 0.5s var(--ease-out-cubic, cubic-bezier(0.23, 1, 0.32, 1));
}
.kanban-card:hover::before {
    left: 100%;
}
.kanban-card:hover {
    background: rgba(255, 255, 255, 0.04) !important;
    border-color: rgba(255, 255, 255, 0.12) !important;
    transform: translateY(-2px);
}
.kanban-card:active {
    cursor: grabbing;
}
.kanban-card.dragging {
    opacity: 0.4;
    transform: rotate(2deg) scale(1.02);
    border-color: rgba(255, 255, 255, 0.15) !important;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
}
.kanban-card.completing {
    transition: all 0.3s var(--ease-out-cubic, cubic-bezier(0.23, 1, 0.32, 1));
    opacity: 0 !important;
    transform: scale(0.9) !important;
}

/* ==================== COLLAPSIBLE SUBPANELS (DETAILS) ==================== */
details.subpanel {
    margin-top: 18px;
    padding-top: 18px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}
details.subpanel summary {
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    list-style: none; /* Hide default triangle */
    outline: none;
    user-select: none;
}
details.subpanel summary::-webkit-details-marker {
    display: none; /* Hide default triangle in Safari */
}
details.subpanel summary h3 {
    margin: 0;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-main);
}
/* Rotating chevron on open using a neat CSS drawing */
details.subpanel summary::after {
    content: '';
    display: inline-block;
    width: 6px;
    height: 6px;
    border-right: 2px solid var(--text-soft);
    border-bottom: 2px solid var(--text-soft);
    transform: rotate(45deg);
    transition: transform 0.25s var(--ease-out-cubic, cubic-bezier(0.23, 1, 0.32, 1)), border-color 0.2s ease;
    margin-right: 4px;
}
details.subpanel summary:hover::after {
    border-color: var(--neon-vitality);
}
details.subpanel[open] summary::after {
    transform: rotate(-135deg);
}
details.subpanel .subpanel-content {
    margin-top: 14px;
    animation: slideDownFade 0.3s var(--ease-out-cubic, cubic-bezier(0.23, 1, 0.32, 1)) forwards;
}

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

/* ==================== HIGH-DENSITY BENTO & CHAT OPTIMIZATIONS ==================== */
.dashboard-column {
    display: flex;
    flex-direction: column;
    gap: 20px;
    width: 100%;
}

.dashboard-column .glass-card.panel {
    height: auto;
}

.panel .list-stack {
    display: flex;
    flex-direction: column;
    gap: 10px;
    width: 100%;
    max-height: 240px;
    overflow-y: auto;
    padding-right: 4px;
}

/* Скроллбар для списков */
.panel .list-stack::-webkit-scrollbar {
    width: 4px;
}
.panel .list-stack::-webkit-scrollbar-track {
    background: transparent;
}
.panel .list-stack::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
}
.panel .list-stack::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.2);
}

.panel .list-stack .list-row {
    width: 100%;
}

#tab-voice .chat-container {
    display: flex;
    flex-direction: column;
}

#tab-voice .chat-container::before {
    content: '';
    flex-grow: 1;
}

#tab-overview .dashboard-columns,
#tab-voice .dashboard-columns,
#tab-settings .dashboard-columns {
    align-items: start;
}

.panel-note {
    font-size: 0.85rem;
    line-height: 1.4;
    margin-top: 4px;
    margin-bottom: 4px;
}

/* ИИ-визуализатор ожидания Lumi */
.lumi-idle-visualizer {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin: auto;
    padding: 20px;
    text-align: center;
    animation: pulseGlow 4s ease-in-out infinite;
}
.lumi-visualizer-orb {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: radial-gradient(circle, var(--neon-vitality) 0%, rgba(123, 44, 255, 0.4) 70%, transparent 100%);
    box-shadow: 0 0 20px rgba(0, 242, 255, 0.4), inset 0 0 15px rgba(255, 255, 255, 0.2);
    margin-bottom: 12px;
    position: relative;
    animation: breathe 3s ease-in-out infinite;
}
.lumi-visualizer-wave {
    display: flex;
    gap: 3px;
    height: 20px;
    align-items: center;
    justify-content: center;
    margin-top: 10px;
}
.lumi-visualizer-wave span {
    width: 3px;
    height: 100%;
    background: var(--neon-vitality);
    border-radius: 2px;
    animation: waveBar 1.2s ease-in-out infinite alternate;
}
.lumi-visualizer-wave span:nth-child(2) { animation-delay: 0.2s; height: 70%; }
.lumi-visualizer-wave span:nth-child(3) { animation-delay: 0.4s; height: 100%; }
.lumi-visualizer-wave span:nth-child(4) { animation-delay: 0.1s; height: 50%; }
.lumi-visualizer-wave span:nth-child(5) { animation-delay: 0.3s; height: 80%; }

@keyframes breathe {
    0%, 100% { transform: scale(1); filter: brightness(1); }
    50% { transform: scale(1.08); filter: brightness(1.2); }
}
@keyframes waveBar {
    0% { transform: scaleY(0.3); }
    100% { transform: scaleY(1); }
}

/* ==================== PREMIUM SETTINGS SIDEBAR LAYOUT ==================== */
.settings-layout {
    display: flex;
    gap: 28px;
    align-items: flex-start;
    width: 100%;
}
.settings-sidebar {
    width: 250px;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    gap: 6px;
    background: rgba(255, 255, 255, 0.01);
    border: 1px solid rgba(255, 255, 255, 0.04);
    border-radius: 12px;
    padding: 12px;
}
.settings-nav-btn {
    display: flex;
    align-items: center;
    gap: 12px;
    background: transparent;
    border: none;
    color: var(--text-soft);
    padding: 10px 14px;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 700;
    text-align: left;
    cursor: pointer;
    width: 100%;
    transition: background-color 0.2s cubic-bezier(0.2, 0, 0, 1), 
                color 0.2s cubic-bezier(0.2, 0, 0, 1), 
                transform 0.15s cubic-bezier(0.2, 0, 0, 1);
}
.settings-nav-btn i {
    font-size: 1rem;
    color: var(--text-soft);
    width: 18px;
    text-align: center;
    transition: color 0.2s cubic-bezier(0.2, 0, 0, 1);
}
.settings-nav-btn:hover {
    background: rgba(255, 255, 255, 0.03);
    color: var(--text-main);
}
.settings-nav-btn:active {
    transform: scale(0.96);
}
.settings-nav-btn.active {
    background: rgba(0, 242, 255, 0.07);
    border: 1px solid rgba(0, 242, 255, 0.12);
    color: var(--text-main);
}
.settings-nav-btn.active i {
    color: var(--neon-vitality);
}
.settings-content {
    flex-grow: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.settings-section {
    display: none;
    flex-direction: column;
    gap: 20px;
    animation: fadeInSettings 0.25s cubic-bezier(0.2, 0, 0, 1);
}
.settings-section.active {
    display: flex;
}
@keyframes fadeInSettings {
    from { opacity: 0; transform: translateY(4px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ==================== STEPPER ACCORDION (OVERVIEW) ==================== */
.stepper-list {
    display: flex;
    flex-direction: column;
    gap: 6px;
    width: 100%;
    margin-top: 12px;
}
.stepper-item {
    background: rgba(255, 255, 255, 0.01);
    border: 1px solid rgba(255, 255, 255, 0.03);
    border-radius: 8px;
    padding: 10px 14px;
    transition: background-color 0.25s cubic-bezier(0.2, 0, 0, 1), 
                border-color 0.25s cubic-bezier(0.2, 0, 0, 1);
}
.stepper-item.expanded {
    background: rgba(255, 255, 255, 0.02);
    border-color: rgba(255, 255, 255, 0.07);
}
.stepper-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    user-select: none;
}
.stepper-title-group {
    display: flex;
    align-items: center;
    gap: 12px;
}
.stepper-icon {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 700;
    flex-shrink: 0;
    transition: background-color 0.2s ease, color 0.2s ease;
}
.stepper-icon.completed {
    background: rgba(0, 242, 255, 0.08);
    color: var(--neon-vitality);
    border: 1px solid rgba(0, 242, 255, 0.18);
}
.stepper-icon.active {
    background: rgba(255, 123, 0, 0.08);
    color: #ff7b00;
    border: 1px solid rgba(255, 123, 0, 0.22);
}
.stepper-header strong {
    color: var(--text-main);
    font-size: 0.9rem;
    transition: color 0.2s ease;
}
.stepper-item.expanded .stepper-header strong {
    color: var(--neon-vitality);
}
.stepper-body {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s cubic-bezier(0.2, 0, 0, 1), 
                padding 0.3s cubic-bezier(0.2, 0, 0, 1);
    padding-left: 34px;
    color: var(--text-soft);
    font-size: 0.85rem;
    line-height: 1.45;
}
.stepper-item.expanded .stepper-body {
    max-height: 180px;
    padding-top: 8px;
    padding-bottom: 2px;
}

@media (max-width: 768px) {
    .settings-layout {
        flex-direction: column;
        gap: 16px;
    }
    .settings-sidebar {
        width: 100%;
        flex-direction: row;
        overflow-x: auto;
        padding: 8px;
        gap: 8px;
        scrollbar-width: none;
    }
    .settings-sidebar::-webkit-scrollbar {
        display: none;
    }
    .settings-nav-btn {
        white-space: nowrap;
        width: auto;
        padding: 8px 12px;
    }
}

/* ==================== ACCESSIBILITY: REDUCED MOTION ==================== */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
    .settings-nav-btn, .stepper-item, .stepper-body, .settings-section {
        transition: none !important;
        animation: none !important;
    }
    .stepper-body {
        max-height: none !important;
    }
}
