/* static/css/main.css */

:root {
    /* =========================
    BRAND COLORS
    ========================= */

    --brand-50: #F5F3FF;
    --brand-100: #EDE9FE;
    --brand-200: #DDD6FE;
    --brand-300: #C4B5FD;
    --brand-400: #A78BFA;
    --brand-500: #8B5CF6;
    --brand-600: #7C3AED;
    --brand-700: #6D28D9;
    --brand-800: #5B21B6;
    --brand-900: #4C1D95;
    --brand-translucent: #7c3aed45;
    /* =========================
   LIGHT THEME
========================= */

    --bg-primary: #F8FAFC;
    --bg-secondary: #FFFFFF;
    --bg-tertiary: #F1F5F9;
    --bg-tertiary-blink: #e6f1ff;
    /* slightly darker/faded than --bg-tertiary */
    --surface-card: #FFFFFF;
    --surface-hover: #F1F5F9;
    --surface-border: #E2E8F0;
    --text-primary: #0F172A;
    --text-secondary: #64748B;
    --text-secondary2: #64748B;
    --text-muted: #94A3B8;
    --accent-primary: var(--brand-500);
    --accent-hover: var(--brand-600);
    --accent-soft: var(--brand-200);
    --button-primary: linear-gradient(135deg, #8B5CF6, #7C3AED);
    --button-text: #FFFFFF;
    --upload-border: #8B5CF6;
    --success-bg: #DCFCE7;
    --success-text: #166534;
    --success-dot: #22C55E;
    --badge-bg: rgb(139 92 246 / 0.1);
    --badge-text: rgb(139 92 246);
    --active-teriary: rgb(139 92 246 / 0.05);
    /* =========================
   SHADOWS
========================= */
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 10px 30px rgba(0, 0, 0, 0.12);
    --shadow-th: 0 10px 10px rgba(0, 0, 0, 0.2);
    --glow-purple: 0 0 20px rgba(139, 92, 246, 0.35);
    --glow-purpleUnder: 0px 5px 20px rgba(139, 92, 246, 0.35);
    --glow-purpleUnderSp: 0px 5px 20px rgba(139, 92, 246, 0.35);
    --glow-purple2: 0 0 40px rgba(139, 92, 246, 0.35);
    --hc-border-radius: 15px;

    --link-color: #0377fc;
}


/* =========================
   DARK THEME
========================= */

[data-theme="dark"] {
    --bg-primary: #020617;
    --bg-secondary: #0B1120;
    --bg-tertiary: #0F172A;
    --bg-tertiary-blink: #0f1c32;
    /* slightly lighter/darker than --bg-tertiary */
    --surface-card: #0F172A;
    --surface-hover: #1E293B;
    --surface-border: #1E293B;
    --text-primary: #F8FAFC;
    --text-secondary: #94A3B8;
    --text-secondary2: #a1a7b0;
    --text-muted: #64748B;
    --accent-primary: var(--brand-500);
    --accent-hover: var(--brand-400);
    --accent-soft: rgba(139, 92, 246, 0.15);
    --button-primary: linear-gradient(135deg, #8B5CF6, #7C3AED);
    --button-text: #FFFFFF;
    --upload-border: #7C5CFF;
    --success-bg: rgba(34, 197, 94, 0.15);
    --success-text: #4ADE80;
    --success-dot: #22C55E;
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.25);
    --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.35);
    --shadow-lg: 0 20px 50px rgba(0, 0, 0, 0.5);
    --glow-purple: 0 0 25px rgba(139, 92, 246, 0.5);
    --glow-purpleUnder: 0px 8px 20px rgba(139, 92, 246, 0.5);
    --glow-purpleUnderSp: 0px 5px 20px #0F172A;
    --glow-purple2: 0 0 40px rgba(139, 92, 246, 0.5);
    --badge-bg: rgb(139 92 246 / 0.1);
    --badge-text: rgb(139 92 246);
    --active-teriary: rgb(139 92 246 / 0.1);
}

* {
    font-family: 'Inter', sans-serif;
    box-sizing: border-box;
}

button,
a,
div {
    -webkit-tap-highlight-color: transparent;
}

.phone-only {
    display: none;
}

.pc-only {
    display: block;
}

/* Body and dark mode background */
body {
    transition: background-color 0.3s;
    margin: 0;
    font-family: Inter, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial;
    background: var(--bg-primary);
    color: var(--text-primary);
}

.sp-link {
    color: var(--link-color); 
}

/* NAVBAR */
.navbar {
    position: sticky;
    top: 0;
    z-index: 80;
    border-bottom: 1px solid var(--surface-border);
    background: var(--bg-secondary);
    transition: all 0.3s;
}

.navbar-left {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.theme-toggle {
    width: 50px;
    height: 25px;
    /*    background: #ccc;*/
    border-radius: 15px;
    position: relative;
    cursor: pointer;
    padding: 0;
    border: none;
}

.theme-dot {
    width: 21px;
    height: 21px;
    background: #6a5af9;
    border-radius: 50%;
    position: absolute;
    top: 2px;
    left: 2px;
    /* will move with JS */
    transition: left 0.3s;
}


.container {
    max-width: 1120px;
    margin: 0 auto;
    padding: 0 1rem;
}

.navbar-row {
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

@media (min-width: 640px) {
    .navbar-row {
        height: 80px;
    }
}

/* Brand */
.brand {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    color: inherit;
}

.brand-logo {
    width: 40px;
    height: 40px;
    background: #8b5cf6;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    box-shadow: 0 6px 12px rgba(139, 92, 246, 0.12);
}

    .brand-logo img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block;
    }

.brand-name {
    font-weight: 700;
    font-size: 1.05rem;
}

/* Theme Toggle */
.theme-toggle {
    margin-left: 0.75rem;
    position: relative;
    width: 2.5rem;
    height: 1.25rem;
    border-radius: 9999px;
    border: 1px solid var(--surface-border);
    padding: 0.125rem;
    background-color: var(--bg-tertiary);
    display: flex;
    align-items: center;
    transition: all 0.3s;
}

.dark .theme-toggle {
    background-color: #0f172a;
    border-color: #334155;
}

.theme-dot {
    width: 0.875rem;
    height: 0.875rem;
    border-radius: 9999px;
    background-color: #8b5cf6;
    transition: all 0.25s;
    transform: translateX(0);
}

.translate-dark {
    transform: translateX(1.25rem);
}

/* Actions */
.navbar-actions {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.action-btn {
    padding: 0.8rem 1.7rem;
    font-weight: 700;
    font-size: 0.9rem;
    color: #fff;
    background-color: #8b5cf6;
    border-radius: 0.65rem;
    box-shadow: 0 10px 15px -3px rgba(139, 92, 246, 0.1);
    transition: all 0.18s;
    text-decoration: none;
    display: inline-block;
    white-space: nowrap;
    box-shadow: var(--glow-purpleUnder);
}

    .action-btn:hover {
        background-color: #7c3aed;
    }

    .action-btn:active {
        transform: scale(0.97);
    }

/* Mobile menu button */
.mobile-menu-btn {
    background: transparent;
    border: none;
    padding: 0.25rem;
    color: #6b7280;
    display: none;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

    .mobile-menu-btn .icon {
        width: 1.65rem;
        height: 1.65rem;
    }

@media (max-width: 768px) {
    .mobile-menu-btn {
        display: flex;
    }

    /*    .navbar-actions { display: none; }*/
}

.uu-user-pill {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 4px 4px;
    border-radius: 999px;
    background: var(--surface-card);
    border: 1px dashed var(--accent-primary);
    cursor: pointer;
    transition: 0.2s ease;
    /*    box-shadow: var(--glow-purpleUnder);*/
}

    .uu-user-pill:hover {
        background: var(--surface-hover);
        box-shadow: var(--glow-purpleUnder);
        border-color: var(--accent-primary);
    }

/* AVATAR */
.uu-avatar {
    position: relative;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: #e5e7eb;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 14px;
    color: var(--text-secondary);
}

.uu-avatar-img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    border: 1px solid var(--accent-primary);
}

.uu-status-dot {
    position: absolute;
    bottom: 2px;
    right: 2px;
    width: 8px;
    height: 8px;
    background: #22c55e;
    border: 1px solid var(--surface-card);
    border-radius: 50%;
}

/* USER INFO */
.uu-user-info {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}

.uu-username {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-primary);
}

.uu-meta {
    font-size: 12px;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 4px;
}

.uu-plan {
    color: #7c5cff;
    font-weight: 600;
}

.uu-sep {
    opacity: 0.6;
}

.uu-cred-mob {
    display: none;
    color: var(--text-secondary);
    font-size: 12px;
    font-weight: 500;
}

    .uu-cred-mob span {
        color: var(--accent-primary);
    }

/* ARROW */
.uu-arrow {
    margin-left: 4px;
    margin-right: 4px;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
}

.uu-user-pill:hover .uu-arrow {
    color: var(--accent-primary);
}

.uu-user-pill {
    position: relative;
}

.uu-dropdown {
    position: absolute;
    top: 65px;
    right: 0;
    width: fit-content;
    min-width: 217px;
    background: var(--bg-secondary);
    border: 1px solid var(--surface-border);
    border-radius: 16px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
    padding: 14px;
    opacity: 0;
    pointer-events: none;
    transform: translateY(10px);
    transition: 0.18s ease-out;
    z-index: 999;
}

    .uu-dropdown.active {
        opacity: 1;
        pointer-events: auto;
        transform: translateY(0);
    }

.uu-dropdown-header {
    padding-bottom: 10px;
    border-bottom: 1px solid var(--surface-border);
    margin-bottom: 10px;
}

.uu-account-label {
    font-size: 11px;
    letter-spacing: 0.06em;
    color: var(--text-secondary);
    margin-bottom: 3px;
}

.uu-email {
    font-weight: 600;
    font-size: 14px;
}

.uu-dd-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 9px 10px;
    border-radius: 10px;
    text-decoration: none;
    color: var(--text-secondary);
    transition: 0.15s;
    min-width: 165px;
}

.uu-dd-item-admin {
    color: var(--accent-primary);
    font-weight: 600;
}


.uu-dd-item svg {
    width: 16px;
    height: 16px;
    /*        fill: var(--text-secondary);*/
    transition: fill 0.15s;
}

.uu-dd-item:hover {
    background: var(--bg-tertiary);
    color: var(--text-primary);
}

.uu-dd-divider {
    height: 1px;
    background: var(--surface-border);
    margin: 8px 0;
}

.uu-dd-item.logout {
    color: #ff4d4f;
}


/* CONTENT */
.content {
    padding: 2rem 0;
}

/* FOOTER */
.site-footer {
    border-top: 1px solid var(--surface-border);
    background: var(--bg-tertiary);
    color: var(--text-secondary);
    padding: 3rem 0;
    transition: all 0.3s;
}

.footer-inner {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.footer-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1rem;
}

/* brand in footer */
.footer-brand {
    display: flex;
    gap: 0.75rem;
    align-items: flex-start;
}

.footer-brand-logo {
    width: 50px;
    height: 50px;
    background: var(--accent-primary);
    color: white;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    font-size: 1.1rem;
    box-shadow: 0 8px 20px rgba(79, 70, 229, 0.12);
}

.footer-brand-name {
    font-weight: 800;
    font-size: 1rem;
    color: var(--text-primary);
}

.footer-tagline {
    margin: 0;
    color: var(--text-secondary);
    max-width: 320px;
}

/* grid */
.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin-top: 1.25rem;
}

@media (min-width: 768px) {
    .footer-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.foot-heading {
    font-size: 0.675rem;
    letter-spacing: 0.12em;
    font-weight: 900;
    color: var(--text-secondary);
    text-transform: uppercase;
    margin-bottom: 0.75rem;
}

.foot-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.foot-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 700;
}

    .foot-link:hover {
        color: #0b1220;
    }

.foot-text {
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
}

/* newsletter */
.newsletter {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.newsletter-input {
    flex: 1;
    padding: 0.6rem 0.9rem;
    border-radius: 0.75rem;
    background: var(--bg-secondary);
    border: 1px solid var(--surface-border);
    outline: none;
    font-weight: 700;
    color: var(--text-primary);
}

.newsletter-btn {
    padding: 0.6rem 1rem;
    background: var(--button-primary);
    color: var(--button-text);
    border-radius: 0.75rem;
    border: none;
    cursor: pointer;
    font-weight: 800;
}

    .newsletter-btn:hover {
        filter: brightness(1.06);
    }

/* footer bottom */
.footer-bottom {
    border-top: 1px solid var(--surface-border);
    padding-top: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    align-items: center;
    justify-content: center;
    margin-top: 1rem;
}

@media (min-width: 768px) {
    .footer-bottom {
        flex-direction: row;
        justify-content: space-between;
    }
}

.copyright {
    color: var(--text-secondary);
    font-weight: 700;
    font-size: 0.9rem;
    margin: 0;
}

.footer-links {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: center;
}

.foot-link.small {
    color: var(--text-secondary);
    font-weight: 700;
    font-size: 0.9rem;
}

/* small utilities */
.icon {
    width: 24px;
    height: 24px;
    display: block;
}


/* --- Hero / Landing styles --- */
.landing {
    min-height: 100vh;
}

.hero {
    text-align: center;
    padding: 10px 20px;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--success-bg);
    color: var(--success-text);
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    /*    margin-bottom: 10px;*/
    border: 1px solid var(--success-dot);
}

.dot {
    width: 8px;
    height: 8px;
    background: var(--success-dot);
    border-radius: 50%;
}

.title {
    font-size: 58px;
    font-weight: 1000;
    line-height: 1.1;
    margin-bottom: 30px;
    align-self: center;
    /*display: inline;*/
    /* ensures it behaves like inline text */
    /*    max-width: 700px;*/
    max-width: 750px;
    margin-left: auto;
    margin-right: auto;
}

@media (min-width: 770px) {
    .title {
        /*        max-width: unset;*/
    }
}

.brandx {
    color: var(--accent-primary);
    display: inline;
}

.upload-wrapper {
    max-width: 420px;
    margin: auto;
}

.upload-box {
    display: none;
    border: 3px dashed var(--upload-border);
    border-radius: 70px;
    padding: 80px 20px;
    cursor: pointer;
    transition: 0.3s;
    background: var(--bg-tertiary);
    animation: fadeInUp 0.35s ease;
}


    .upload-box.show {
        display: block;
        translate: 0 0px;
    }

    .upload-box h2 {
        font-size: 42px;
        font-weight: 1000;
        color: var(--text-primary);
        margin-top: 50px;
        margin-bottom: 5px;
    }

    .upload-box p {
        font-size: 14px;
        font-weight: 700;
        color: var(--text-secondary);
    }

    .upload-box.show:hover {
        box-shadow: var(--shadow-lg);
    }

.upload-icon {
    position: relative;
    /* IMPORTANT */
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    text-align: center;
}

/* The main purple icon */
.upload-overlay {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: auto;
    width: 80px;
    height: 80px;
    color: var(--button-text);
    background: var(--accent-primary);
    border-radius: 20px;
    position: relative;
    box-shadow: var(--glow-purple2);
}

/* The + badge */
.upload-plus {
    position: absolute;
    top: -8px;
    right: -8px;
    width: 28px;
    height: 28px;
    font-size: 30px;
    line-height: 0px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-primary);
    background: white;
    border-radius: 50%;
    border: 2px solid #f1f5f9;
    /* subtle border */
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.upload-overlay svg {
    margin: auto;
    width: 47px;
    height: 47px;
}


.upload-box-ad {
    display: none;
    flex-direction: column;
    align-items: center;
    background: var(--bg-tertiary);
    border-radius: 35px;
    padding: 20px;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--surface-border);
    /* hidden state */
    /*    opacity: 0;
    transform: translateY(20px);
    pointer-events: none;
    max-height: 0;
    overflow: hidden;
    padding-top: 0;
    padding-bottom: 0;
    border-width: 0;*/
    /*    transition: opacity 0.3s ease, transform 0.3s ease, max-height 0.3s ease, padding 0.3s ease, border-width 0.3s ease;*/
    animation: fadeInUp 0.35s ease;
}

    .upload-box-ad.show {
        display: flex;
        /*    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
    max-height: 1000px;  big enough to fit content 
    padding: 20px;
    border-width: 1px;*/
    }

@keyframes fadeInUp {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}


.upload-box-ad-image-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    margin-bottom: 20px;
}

.upload-ad-grid-el {
    border-radius: 20px;
    background: var(--bg-tertiary);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    aspect-ratio: 1 / 1;
    /* This keeps the box square */
}

    .upload-ad-grid-el.image-box img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        border-radius: 20px;
    }

    .upload-ad-grid-el.add-more-box {
        order: 999;
    }

    .upload-ad-grid-el.add-more-box {
        border: 2px dashed var(--text-secondary);
        cursor: pointer;
        color: var(--text-secondary);
        font-weight: 600;
        font-size: 14px;
        text-transform: uppercase;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 5px;
    }

        .upload-ad-grid-el.add-more-box:hover {
            border: 2px dashed var(--accent-primary);
            color: var(--accent-primary);
        }

.upload-box-ad-add-more span {
    font-size: 24px;
    line-height: 1;
}

.upscale-btn {
    width: 100%;
    background-color: var(--accent-primary);
    color: var(--button-text);
    border: none;
    border-radius: 13px;
    padding: 12px 0;
    font-weight: 700;
    font-size: 16px;
    cursor: pointer;
    box-shadow: 0 6px 12px rgba(124, 90, 255, 0.5);
    margin-bottom: 10px;
    transition: background-color 0.3s ease;
    height: 60px;
}

    .upscale-btn:hover {
        background-color: #5a3edb;
    }

.discard-btn {
    color: var(--text-secondary);
    font-size: 14px;
    cursor: pointer;
    text-align: center;
    user-select: none;
    margin-bottom: 20px;
    margin-top: 10px;
    font-weight: 600;
}


.upscaling-progress-box {
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: var(--bg-tertiary);
    border-radius: 50px;
    padding: 30px;
    box-shadow: var(--shadow-lg);
    border: 3px dashed var(--accent-primary);
    /* hidden state */
    /*    opacity: 0;
    transform: translateY(20px);
    pointer-events: none;
    max-height: 0;
    overflow: hidden;
    padding-top: 0;
    padding-bottom: 0;
    border-width: 0;
    transition: opacity 0.3s ease, transform 0.3s ease, max-height 0.3s ease, padding 0.3s ease, border-width 0.3s ease;*/
    animation: fadeInUp 0.35s ease;
}

    .upscaling-progress-box.show {
        display: flex;
        /*opacity: 1;
        transform: translateY(0);
        pointer-events: auto;
        max-height: 1000px;*/
        /* big enough to fit content */
        /*max-width: 400px;
        border-width: 2px;
        box-shadow: var(--glow-purple);
        aspect-ratio: 1 / 1;*/
        /*        animation: fadeInUp 0.5s ease;*/
        /*        animation: blink 1.5s ease-in-out infinite;*/
    }

    .upscaling-progress-box p {
        font-size: 12px;
        font-weight: 700;
        color: var(--text-secondary);
    }

    .upscaling-progress-box h2 {
        font-weight: 800;
        margin-top: 30px;
        margin-bottom: 0;
    }


.upscaling-progress-bar {
    width: 60%;
    height: 8px;
    background: var(--bg-secondary);
    border-radius: 6px;
    overflow: hidden;
    margin-top: 20px;
}

.upscaling-progress-fill {
    height: 100%;
    background: var(--button-primary);
    width: 20%;
    transition: width 0.3s ease;
/*    animation: progressFill 7s linear forwards;*/
}

@keyframes progressFill {
    0% {
        width: 0%;
    }
    10% {
        width: 30%;
    }
    50% {
        width: 70%;
    }
    80% {
        width: 90%;
    }

    100% {
        width: 100%;
    }
}


/* The main purple icon */
.upload-spinner {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: auto;
    width: 90px;
    height: 90px;
    color: var(--button-text);
    background: var(--accent-primary);
    border-radius: 50%;
    position: relative;
    box-shadow: var(--glow-purple2);
}

    .upload-spinner svg {
        width: 60px;
        height: 60px;
        fill: none;
        stroke: white;
        stroke-width: 2;
        animation: spin 1.5s linear infinite;
    }

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(-360deg);
    }
}

@keyframes fadeInUp {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes blink {

    0%, 100% {
        background: var(--bg-tertiary);
    }

    50% {
        background: var(--bg-tertiary-blink);
    }
}

.scale-select {
    margin-top: 40px;
    display: flex;
    justify-content: center;
    align-content: center;
    flex-direction: column;
    margin-bottom: 80px;
}

.section-label {
    font-size: 11px;
    letter-spacing: 2px;
    color: var(--text-secondary);
    font-weight: 700;
    margin-bottom: 15px;
    font-family: Inter, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial;
}

.scale-grid {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin: auto;
}

.scale-btn {
    width: 160px;
    height: 90px;
    padding: 14px;
    border-radius: 8px;
    border: 1px solid var(--surface-border);
    background: var(--bg-tertiary);
    color: var(--text-secondary);
    font-weight: bolder;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
    font-size: 21px;
}

    .scale-btn:hover {
        background: var(--surface-hover);
        border-color: var(--accent-primary);
        color: var(--accent-primary);
        box-shadow: var(--glow-purple);
    }

    .scale-btn.active {
        width: 160px;
        height: 90px;
        background: var(--button-primary);
        color: var(--button-text);
        border: 1px solid transparent;
        font-size: 24px;
    }


    .scale-btn span {
        font-size: 11px;
    }


.workflow {
    margin-top: 140px;
    text-align: center;
}

/* Header */
.workflow-header h2 {
    font-size: 36px;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 10px;
}

.workflow-header .highlight {
    color: #8b5cf6;
}

.workflow-header p {
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto 60px;
    font-size: 15px;
}

/* Grid */
.workflow-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 60px;
    max-width: 1000px;
    margin: auto;
}

/* Step */
.step {
    text-align: center;
}

/* Icon Box */
.icon-box {
    position: relative;
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    background: var(--bg-tertiary);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--surface-border);
}

    /* SVG */
    .icon-box svg {
        width: 32px;
        height: 32px;
        stroke: #8b5cf6;
        fill: none;
        stroke-width: 2;
    }

/* Number badge */
.badge2 {
    position: absolute;
    bottom: -6px;
    right: -6px;
    width: 28px;
    height: 28px;
    background: #0f172a;
    color: white;
    font-size: 12px;
    font-weight: 700;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--text-primary);
}

/* Titles */
.step h3 {
    font-size: 18px;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 8px;
}

/* Text */
.step p {
    font-size: 14px;
    color: var(--text-secondary);
    max-width: 240px;
    margin: auto;
}


/* Section spacing */
.vision {
    padding: 80px 20px;
    margin-top: 120px;
}

/* Main card */
.vision-card {
    max-width: 800px;
    margin: auto;
    background: var(--bg-secondary);
    border-radius: 40px;
    padding: 60px 50px;
    text-align: center;
    border: 1px solid var(--surface-border);
    transition: all 0.3s;
    box-shadow: var(--glow-purpleUnder);
}


    .vision-card:hover {
        /*        border-color: var(--accent-primary);*/
        box-shadow: var(--glow-purple);
    }

/* Tag */
.vision-tag {
    display: inline-block;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 2px;
    color: #8b5cf6;
    background: var(--brand-translucent);
    padding: 6px 14px;
    border-radius: 999px;
    margin-bottom: 20px;
}

/* Title */
.vision-title {
    font-size: 44px;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 20px;
}

    .vision-title span {
        color: #8b5cf6;
    }

/* Quote */
.vision-quote {
    font-style: italic;
    font-weight: 600;
    color: var(--text-secondary2);
    margin-bottom: 25px;
}

/* Text */
.vision-text {
    text-align: left;
    color: var(--text-secondary2);
    font-size: 14px;
    line-height: 1.7;
    margin-bottom: 30px;
    font-weight: 500;
}

    .vision-text p {
        margin-bottom: 15px;
    }

    .vision-text .bold {
        font-weight: 700;
        color: var(--text-primary);
    }

/* Divider */
.vision-divider {
    height: 1px;
    background: var(--text-muted);
    margin: 40px 0;
}

/* Icons row */
.vision-icons {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

/* Icon item */
.v-item {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

    /* SVG */
    .v-item svg {
        width: 28px;
        height: 28px;
        fill: #8b5cf6;
        margin-bottom: 8px;
    }

    /* Label */
    .v-item span {
        font-size: 10px;
        font-weight: 800;
        letter-spacing: 1px;
        color: #94a3b8;
    }


.features {
    margin-top: 120px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 20px;
}

    .features h2 {
        font-weight: 700;
        font-size: 36px;
        margin-bottom: 40px;
        color: var(--text-primary);
        /* Dark text */
    }

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.feature-card {
    background-color: var(--bg-secondary);
    border-radius: 20px;
    padding: 30px 25px;
    /*    box-shadow: var(--shadow-lg);*/
    border: none;
    display: flex;
    flex-direction: column;
    gap: 15px;
    border: 1px solid var(--surface-border);
    align-items: start;
    transition: all 0.3s;
    box-shadow: var(--glow-purpleUnderSp);
}

    .feature-card:hover {
        box-shadow: var(--shadow-lg);
        /*    border-color: var(--accent-primary);*/
    }

.icon-wrapper {
    background-color: var(--brand-translucent);
    /* Light purple background */
    width: 40px;
    height: 40px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 10px;
}

.icon {
    width: 20px;
    height: 20px;
    stroke: #7c3aed;
    /* Purple color */
}

.feature-card h3 {
    font-weight: 700;
    font-size: 1.125rem;
    color: var(--text-primary);
    margin: 0;
}

.feature-card p {
    font-weight: 500;
    font-size: 0.875rem;
    color: var(--text-muted);
    /* Gray text */
    line-height: 1.5;
    margin: 0;
    text-align: left;
}



.faq {
    margin-top: 120px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 20px;
    font-family: 'Inter', sans-serif;
}

.faq-header {
    text-align: center;
    margin-bottom: 40px;
}

.faq-icon {
    width: 40px;
    height: 40px;
    stroke: var(--brand-400, #a78bfa); /* Uses your theme variable */
    margin: 0 auto 10px;
    display: block;
}

.faq h2 {
    font-weight: 800;
    font-size: 36px;
    color: var(--text-primary);
    margin-bottom: 8px;
    letter-spacing: -0.02em;
}

.faq-subtitle {
    font-weight: 500;
    font-size: 0.875rem;
    color: var(--text-secondary);
}

.faq-item {
    border: 1px solid var(--surface-border);
    border-radius: 12px;
    margin-bottom: 12px;
    background-color: var(--bg-secondary);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.02);
    /* The cubic-bezier makes the hover/open state feel premium */
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
}

    .faq-item:hover {
        border-color: var(--brand-300, #C4B5FD);
        box-shadow: var(--shadow-sm);
    }

    .faq-item.active {
        border-color: var(--brand-500, #8B5CF6);
        /* background-color: var(--surface-hover); */
        box-shadow: var(--glow-purpleUnderSp);
    }

.faq-q {
    width: 100%;
    text-align: left;
    padding: 20px 24px;
    font-weight: 600;
    font-size: 0.9rem;
    background: transparent;
    border: none;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--text-primary);
    transition: color 0.3s ease;
}

/* We only show the dashed border when the item is active to keep it clean */
.faq-item.active .faq-q {
    color: var(--brand-500, #8B5CF6);
    border-bottom: 1px dashed var(--surface-border);
}

.arrow {
    width: 20px;
    height: 20px;
    color: var(--text-secondary);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), color 0.3s;
}

.faq-item.active .arrow {
    transform: rotate(-180deg);
    color: var(--brand-500, #8B5CF6);
}

/* --- THE MAGIC GRID TRICK --- */
.faq-a-wrapper {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-item.active .faq-a-wrapper {
    grid-template-rows: 1fr;
}

.faq-a-inner {
    overflow: hidden; /* Crucial: hides the text when grid row is 0 */
    font-weight: 500;
    font-size: 0.8rem;
    color: var(--text-secondary);
    line-height: 1.6;
    /* We animate padding and opacity together for a fade-slide effect */
    padding: 0 24px;
    opacity: 0;
    transition: padding 0.4s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.4s ease;
}

.faq-item.active .faq-a-inner {
    padding: 20px 24px;
    opacity: 1;
}

.cta {
    margin-top: 120px;
    text-align: center;
    font-weight: 700;
    font-size: 12px;
    color: var(--text-muted);
}

    .cta p {
        margin: 50px 0;
    }

.cta-divider {
    width: 60px;
    height: 4px;
    background: var(--accent-primary);
    margin: 20px auto;
    border-radius: 2px;
}

.cta-btn {
    padding: 20px 40px;
    background: #8b5cf6;
    color: var(--button-text);
    border: none;
    border-radius: 14px;
    font-size: 18px;
    font-weight: bold;
    cursor: pointer;
    margin-top: 20px;
    margin-bottom: 80px;
    box-shadow: var(--glow-purpleUnder);
    margin-bottom: 180px;
}


/* --- Mobile sidebar styles --- */
.mobile-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(2, 6, 23, 0.6);
    backdrop-filter: blur(4px);
    opacity: 0;
    pointer-events: none;
    transition: opacity .25s ease;
    z-index: 60;
}

    .mobile-backdrop.active {
        opacity: 1;
        pointer-events: auto;
    }

.mobile-sidebar {
    position: fixed;
    left: 0;
    top: 0;
    height: 100vh;
    width: 280px;
    transform: translateX(-110%);
    background: white;
    z-index: 70;
    transition: transform .28s ease;
    box-shadow: 8px 0 30px rgba(2, 6, 23, 0.12);
    display: flex;
    flex-direction: column;
}

.dark .mobile-sidebar {
    background: #071025;
    color: #dbeafe;
}

.mobile-sidebar.active {
    transform: translateX(0);
}

.mobile-sidebar-inner {
    padding: 1rem 1rem 1.5rem;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.mobile-sidebar-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1rem;
}

.mobile-brand {
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.mobile-brand-logo {
    width: 40px;
    height: 40px;
    background: #8b5cf6;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    font-weight: 900;
}

.mobile-brand-name {
    font-weight: 800;
    color: #0f172a;
}

.mobile-close {
    background: transparent;
    border: none;
    font-size: 1.25rem;
    cursor: pointer;
}

.mobile-nav {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-top: 0.5rem;
    overflow: auto;
}

.mobile-nav-link {
    display: block;
    padding: 0.7rem 0.9rem;
    border-radius: 8px;
    text-decoration: none;
    color: #0f172a;
    font-weight: 800;
}

    .mobile-nav-link:hover {
        background: #f1f5ff;
        color: #6b21a8;
    }

.mobile-sidebar-footer {
    margin-top: auto;
}

.mobile-cta {
    display: block;
    width: 100%;
    text-align: center;
    padding: 0.9rem;
    background: #8b5cf6;
    color: white;
    border-radius: 10px;
    font-weight: 900;
    text-decoration: none;
}

/* ensure small screens show mobile controls properly */
@media(min-width:640px) {
    .mobile-menu-btn {
        display: none;
    }
}


.pricing-page * {
    font-family: 'Inter', sans-serif;
}


.pricing-page {
    max-width: 700px;
    margin: auto;
    padding: 40px 20px;
    /*    font-family: Arial;*/
}

/* Header */
.pricing-header {
    text-align: center;
    margin-bottom: 30px;
}

    .pricing-header h1 {
        font-size: 54px;
        font-weight: 900;
    }

.brand3 {
    color: var(--accent-primary);
}

.pricing-header p {
    color: var(--text-secondary);
    font-weight: 500;
}

.features-grid2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px 40px;
    list-style: none;
    padding: 0;
    margin: 0;
}

    .features-grid2 li {
        display: flex;
        align-items: flex-start;
        gap: 10px;
        font-size: 14px;
        color: var(--text-secondary);
        font-weight: 500;
    }

    .features-grid2 svg {
        width: 18px;
        height: 18px;
        stroke: var(--accent-primary);
        stroke-width: 3;
        fill: none;
        flex-shrink: 0;
        margin-top: 2px;
    }

/* Mobile responsive */
@media (max-width: 640px) {
    .features-grid2 {
        grid-template-columns: 1fr;
    }
}

/* Credit box */
.credit-cost {
    display: flex;
    justify-content: space-around;
    background: var(--bg-tertiary);
    padding: 20px;
    border-radius: 15px;
    margin-bottom: 30px;
    text-align: center;
    border: 1px solid var(--accent-primary);
    margin-top: 40px;
    box-shadow: var(--glow-purple);
    color: var(--accent-primary);
    font-size: 18px;
}

    .credit-cost div {
        font-weight: bold;
    }

    .credit-cost span {
        font-size: 10px;
        color: var(--text-secondary);
    }

/* Packs */
.packs {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.pack {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px;
    border-radius: 15px;
    border: 1px solid var(--surface-border);
    cursor: pointer;
    transition: 0.2s;
    background: var(--bg-tertiary);
}

    .pack.active strong {
        color: var(--text-primary);
        font-weight: 800;
    }

    .pack:has(input:checked) {
        border-color: var(--accent-primary);
        color: var(--text-primary);
        border: 1px solid var(--accent-primary);
        background: var(--active-teriary);
    }

    .pack input:checked + div strong {
        color: var(--text-primary);
        font-weight: 800;
    }


    .pack:hover {
        border-color: var(--accent-hover);
    }

    .pack input {
        margin-right: 10px;
    }

    .pack div {
        flex: 1;
    }

    .pack strong {
        display: block;
        font-weight: 700;
        color: var(--text-secondary);
    }

    .pack small {
        color: var(--text-muted);
        font-size: 11px;
        font-weight: 500;
    }

    .pack span {
        font-weight: 700;
        color: var(--accent-primary);
        font-size: 18px;
    }

    .pack.active,
    .pack input:checked + div {
        border-color: var(--accent-primary);
        color: var(--text-primary);
    }

/* Button */
.purchase-btn {
    margin-top: 20px;
    padding: 15px;
    background: var(--button-primary);
    color: var(--button-text);
    border: none;
    border-radius: 12px;
    font-weight: bold;
    cursor: pointer;
    font-size: 20px;
    box-shadow: var(--glow-purpleUnder);
}

/* Custom Pack */
.custom-pack {
    margin-top: 40px;
    padding: 20px;
    border-radius: 20px;
    border: 2px dashed var(--upload-border);
    background: var(--bg-tertiary);
}

.custom-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 20px;
}

#discount {
    color: var(--accent-primary);
    font-size: 14px;
    font-weight: 700;
}

.slider-info {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
}

.slider-info small {
    font-weight: 500;
    color: var(--text-secondary);
}


#credits {
    font-size: 32px;
    color: var(--accent-primary);
    font-weight: bold;
}

#perCredit {
    font-size: 12px;
    color: var(--text-secondary);
    font-weight: 500;
}

input[type=range] {
    width: 100%;
    margin: 10px 0;
}

.slider-labels {
    display: flex;
    justify-content: space-between;
    font-size: 10px;
    color: var(--text-muted);
}

/* Footer */
.custom-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 20px;
}

.buy-btn {
    padding: 13px 26px;
    background: var(--button-primary);
    color: var(--button-text);
    border: none;
    border-radius: 10px;
    cursor: pointer;
    font-weight: 600;
    font-size: 16px;
    box-shadow: var(--glow-purpleUnder);
}

.about-page {
    /*    background: var(--bg-primary);*/
    min-height: 100vh;
    padding-bottom: 80px;
}

/* Target links inside the .about-page container */
.about-page a {
    text-decoration: none;
    color: var(--link-color);
}

/* Header */
.about-header {
    text-align: center;
    padding-top: 80px;
    padding-bottom: 40px;
}

.badge4 {
    display: inline-block;
    background: rgba(139, 92, 246, 0.1);
    color: #8b5cf6;
    border: 1px solid rgba(139, 92, 246, 0.2);
    padding: 6px 14px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: bold;
    margin-bottom: 20px;
}

.about-header h1 {
    font-size: 48px;
    font-weight: 900;
    color: var(--text-primary);
}

/* Container */
.about-container {
    max-width: 900px;
    margin: auto;
    padding: 0 20px;
}

/* Text */
.about-text {
    font-size: 18px;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 30px;
}

/* Image */
.about-image {
    width: 100%;
    border-radius: 30px;
    margin: 30px 0;
    box-shadow: var(--shadow-md);
}

/* Cards */
.about-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-top: 50px;
}

.card {
    background: var(--bg-tertiary);
    padding: 25px;
    border-radius: 25px;
    border: 1px solid var(--surface-border);
}

    .card h3 {
        font-size: 20px;
        margin-bottom: 10px;
        color: var(--text-primary);
    }

    .card p {
        font-size: 14px;
        color: var(--text-secondary);
    }

/* Responsive */
@media (max-width: 768px) {
    .about-header h1 {
        font-size: 32px;
    }

    .about-cards {
        grid-template-columns: 1fr;
    }

    .about-text {
        font-size: 16px;
    }
}

/* =================================== */
/* Signup Page Styles (prefixed with sp-) */
/* =================================== */

.sp-container {
    background: var(--bg-tertiary);
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    width: 100%;
    max-width: 400px;
    overflow: hidden;
    margin: 40px auto;
    /* Helps center in the content block */
    border: 1px solid var(--surface-border);
}

.sp-header {
    background: linear-gradient(135deg, #7c3aed, #8b5cf6);
    color: var(--button-text);
    padding: 40px 30px;
    text-align: center;
}

.sp-title {
    font-weight: 900;
    font-size: 1.9rem;
    letter-spacing: -0.02em;
    margin: 0;
}

.sp-subtitle {
    font-weight: 500;
    font-size: 0.9rem;
    opacity: 0.9;
    margin: 8px 0 0;
}

.sp-form {
    padding: 30px;
    display: flex;
    flex-direction: column;
}

.sp-form-group {
    margin-bottom: 20px;
}

.sp-label {
    display: block;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 8px;
}

.sp-error {
    color: red;
    margin-bottom: 15px;
    font-weight: bold;
}

.sp-input {
    width: 100%;
    padding: 14px 16px;
    border: 1.5px solid var(--surface-border);
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 500;
    color: var(--button-text);
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    box-sizing: border-box;
    background: var(--bg-secondary);
    color: var(--text-primary);
}

    .sp-input:focus {
        outline: none;
        border-color: #7c3aed;
        box-shadow: 0 0 0 3px rgba(167, 139, 250, 0.4);
    }

.sp-submit-btn {
    background: #7c3aed;
    color: var(--button-text);
    font-weight: 900;
    font-size: 1.1rem;
    padding: 16px;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    box-shadow: 0 8px 15px rgba(124, 58, 237, 0.3);
    transition: all 0.2s ease;
    margin-top: 10px;
}

    .sp-submit-btn:hover {
        background: #6d28d9;
        box-shadow: 0 10px 20px rgba(124, 58, 237, 0.4);
    }

    .sp-submit-btn:active {
        transform: scale(0.97);
        box-shadow: 0 4px 10px rgba(124, 58, 237, 0.3);
    }

.sp-divider {
    text-align: center;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--text-muted);
    position: relative;
    margin: 25px 0;
}

    .sp-divider::before,
    .sp-divider::after {
        content: "";
        position: absolute;
        top: 50%;
        width: calc(50% - 30px);
        height: 1px;
        background: #e5e7eb;
    }

    .sp-divider::before {
        left: 0;
    }

    .sp-divider::after {
        right: 0;
    }

.sp-google-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 14px;
    border: 1.5px solid var(--surface-border);
    border-radius: 12px;
    background: var(--bg-tertiary);
    font-weight: 700;
    color: var(--text-secondary);
    cursor: pointer;
    transition: background-color 0.3s ease;
    font-size: 1rem;
    text-decoration: none;
}

    .sp-google-btn:hover {
        background: var(--surface-hover);
    }

.sp-google-icon {
    width: 20px;
    height: 20px;
}

.sp-footer {
    padding: 0 30px 25px;
    text-align: center;
}

.sp-footer-text {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin: 0 0 20px;
}

.sp-footer-link {
    color: #7c3aed;
    font-weight: 700;
    text-decoration: none;
}

    .sp-footer-link:hover {
        text-decoration: underline;
    }

.sp-terms {
    font-size: 0.7rem;
    color: var(--text-muted);
    line-height: 1.4;
    margin: 0;
}

/* =================================== */
/* End of Signup Page Styles           */
/* =================================== */


.profile-page {
    /*    background: #f8fafc;*/
    min-height: 100vh;
    padding: 40px 20px;
}

.profile-container {
    max-width: 1100px;
    margin: auto;
}

/* HEADER */
.profile-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
}

.profile-left {
    display: flex;
    align-items: center;
    gap: 15px;
    overflow: hidden;
}

    .profile-left img {
        width: 60px;
        height: 60px;
        border-radius: 18px;
        object-fit: cover;
    }

.profile-avatar {
    width: 60px;
    height: 60px;
    background: var(--button-primary);
    color: var(--button-text);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 18px;
    font-weight: bold;
    font-size: 22px;
}

.profile-name {
    margin: 0;
    font-size: 22px;
}

.profile-email {
    margin: 0;
    color: var(--text-secondary);
}

/* BUTTON */
.profile-btn-outline {
    border: 1px solid var(--surface-border);
    padding: 10px 18px;
    border-radius: 10px;
    text-decoration: none;
    color: var(--text-secondary);
    background: var(--bg-tertiary);
    font-weight: bold;
    min-width: 51px;
}

/* GRID */
.profile-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 40px;
    font-family: 'Inter', sans-serif;
    font-weight: 500;
}

/* CARD */
.profile-card {
    background: var(--bg-tertiary);
    padding: 25px;
    border-radius: 35px;
    border: 1px solid var(--surface-border);
    box-shadow: var(--shadow-th);
}

/* Make card a positioning context */
.profile-card {
    position: relative;
    overflow: hidden;
}

/* SVG container */
.profile-card-icon {
    position: absolute;
    top: 0;
    right: 0;
    padding: 20px;
    opacity: 0.3;
    pointer-events: none;
    transition: transform 0.3s ease;
}

    /* SVG itself */
    .profile-card-icon svg {
        width: 90px;
        height: 90px;
        fill: #7c5cff;
    }

/* White version for purple card */
.profile-card-icon-light svg {
    fill: white;
    opacity: 0.7;
}

/* Hover effect (like your React UI) */
.profile-card:hover .profile-card-icon {
    transform: scale(1.1);
}


.profile-card-purple {
    background: linear-gradient(135deg, #7c5cff, #6d28d9);
    color: var(--text-primary);
    border: none;
    box-shadow: var(--glow-purpleUnder);
}

/* TEXT */
.profile-label {
    font-size: 11px;
    text-transform: uppercase;
    color: var(--text-secondary);
    font-weight: bold;
}

.profile-label-light {
    color: var(--text-primary);
}

.profile-muted {
    color: var(--text-secondary);
    font-size: 13px;
}

.profile-muted-light {
    color: var(--text-primary);
}

.profile-title {
    font-size: 24px;
    margin: 10px 0;
    font-weight: bold;
}

.profile-big {
    font-size: 32px;
    margin: 10px 0;
}

    .profile-big span {
        font-size: 14px;
    }

/* BUTTON WHITE */
.profile-btn-white {
    display: block;
    background: var(--bg-tertiary);
    color: #7c5cff;
    text-align: center;
    padding: 10px;
    border-radius: 10px;
    font-weight: bold;
    text-decoration: none;
    margin-top: 15px;
}

/* LINK */
.profile-link {
    color: #7c5cff;
    text-decoration: none;
    font-weight: bold;
}

/* STATS */
.profile-stats {
    display: flex;
    justify-content: space-between;
    margin: 20px 0;
}

    .profile-stats strong {
        display: block;
        font-size: 20px;
    }

    .profile-stats span {
        font-size: 12px;
        color: var(--text-secondary);
    }

/* PROGRESS */
.profile-progress-top {
    display: flex;
    justify-content: space-between;
    font-size: 12px;
}

.profile-progress-bar {
    height: 6px;
    background: var(--bg-secondary);
    border-radius: 10px;
    margin-top: 5px;
}

    .profile-progress-bar div {
        height: 100%;
        background: #7c5cff;
        border-radius: 10px;
    }

/* HISTORY */
.profile-history {
    background: var(--bg-tertiary);
    padding: 25px;
    border-radius: 35px;
    border: 1px solid var(--surface-border);
    box-shadow: var(--shadow-th);
}

.profile-history-header p {
    color: var(--text-secondary);
    font-size: 13px;
}

/* TABLE */
.profile-table {
    margin-top: 20px;
}

.profile-row {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
    padding: 12px;
    align-items: center;
    border-bottom: 1px solid var(--surface-border);
}

.profile-row-header {
    font-weight: bold;
    color: var(--text-muted);
}

/* PROJECT */
.profile-project {
    display: flex;
    gap: 10px;
    align-items: center;
}

    .profile-project img {
        width: 50px;
        height: 50px;
        border-radius: 10px;
        object-fit: cover;
    }

/* STATUS */
.profile-status {
    padding: 4px 10px;
    border-radius: 10px;
    font-size: 11px;
    font-weight: bold;
    text-transform: uppercase;
}

.profile-row small {
    color: var(--text-secondary);
}

.profile-row-res {
    font-size: 12px;
    font-weight: bold;
}

.profile-status-done {
    background: var(--success-bg);
    color: var(--success-text);
}

.profile-status-pending {
    background: #1d4ed845;
    color: #3d70ff;
}

.profile-status-error {
    background: #ff000029;
    color: #b91c1c;
}

/* COST */
.profile-cost {
    font-weight: bold;
    color: #7c5cff;
}

/* EMPTY */
.profile-empty {
    text-align: center;
    padding: 40px;
    color: #94a3b8;
}

    .profile-empty a {
        display: inline-block;
        margin-top: 10px;
        color: #7c5cff;
        font-weight: bold;
    }

/* SUPPORT */
.profile-support {
    text-align: center;
    margin-top: 30px;
    color: #94a3b8;
}

    .profile-support a {
        color: #7c5cff;
        font-weight: bold;
    }


/* MOBILE SIDEBAR */
.mobile-sidebar {
    position: fixed;
    top: 0;
    left: -280px;
    width: 270px;
    height: 100%;
    background: var(--bg-tertiary);
    z-index: 9999;
    transition: left 0.3s ease;
    display: flex;
    border: 1px solid var(--surface-border);
}

    .mobile-sidebar.active {
        left: 0;
    }

.sidebar-inner {
    display: flex;
    flex-direction: column;
    width: 100%;
    /*    padding: 20px;*/
    padding-left: 20px;
    padding-top: 0px;
}

/* LINKS */
.sidebar-links {
    display: flex;
    flex-direction: column;
    gap: 30px;
    margin-top: 10px;
    padding-left: 10px;
}

    .sidebar-links a {
        text-decoration: none;
        color: var(--text-primary);
        font-family: 'Inter', sans-serif;
        font-weight: 700;
        font-size: 20px;
        /*        text-transform: uppercase;*/
        /*        border-bottom: 1px solid var(--surface-border)*/
    }

/* FOOTER */
.sidebar-footer {
    margin-top: auto;
    padding-top: 10px;
    width: 85%;
    margin-bottom: 20px;
}

.launchpad {
    font-size: 11px;
    letter-spacing: 1px;
    color: #9ca3af;
    margin-bottom: 10px;
}

.upscale-btnn {
    display: block;
    text-align: center;
    padding: 23px;
    border-radius: 10px;
    background: linear-gradient(135deg, #7c5cff, #6d4aff);
    color: white;
    text-decoration: none;
    font-weight: 600;
    font-size: 20px;
    box-shadow: var(--glow-purpleUnder);
}

/* OVERLAY */
.sidebar-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.3);
    opacity: 0;
    pointer-events: none;
    transition: 0.3s;
    z-index: 9998;
}

    .sidebar-overlay.active {
        opacity: 1;
        pointer-events: all;
    }

/* MOBILE ONLY */
@media (min-width: 768px) {

    .mobile-sidebar,
    .sidebar-overlay {
        display: none;
    }
}


.lumina-cta-section {
    max-width: 700px;
    margin: 3rem auto 0;
    padding: 2rem 1.5rem;
    padding-top: 1rem;
    background: var(--bg-tertiary);
    border-radius: 1rem;
    box-shadow: var(--shadow-th);
    font-family: 'Inter', sans-serif;
    text-align: center;
    color: var(--text-primary);
    border: 1px solid var(--surface-border);
}

.lumina-cta-title {
    font-weight: 700;
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

.lumina-cta-subtitle {
    font-weight: 400;
    font-size: 1rem;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}

.lumina-cta-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.lumina-btn-primary,
.lumina-btn-secondary {
    padding: 0.6rem 1.5rem;
    font-weight: 600;
    font-size: 1rem;
    border-radius: 0.5rem;
    border: none;
    cursor: pointer;
    min-width: 140px;
    transition: all 0.3s ease;
    text-decoration: none;
}

.lumina-btn-primary {
    background: var(--button-primary);
    color: var(--button-text);
    box-shadow: var(--glow-purpleUnder);
    padding: 0.75rem 1.75rem;
    transition: box-shadow 0.3s ease;
}

    .lumina-btn-primary:hover {
        /*        background: var(--accent-hover);*/
        box-shadow: var(--shadow-th);
    }

.lumina-btn-secondary {
    background: #1e293b;
    color: var(--button-text);
    transition: box-shadow 0.3s ease;
}

    .lumina-btn-secondary:hover {
        background: #111827;
    }

.lumina-steps-section {
    max-width: 700px;
    margin: 0 auto;
    padding: 2rem 1rem;
    text-align: center;
    font-family: 'Inter', sans-serif;
    color: var(--text-primary);
    /* dark text */
}

.lumina-steps-title {
    font-weight: 700;
    font-size: 1.75rem;
    margin-bottom: 0.25rem;
}

.lumina-steps-subtitle {
    font-weight: 400;
    font-size: 1rem;
    color: var(--text-secondary);
    /* gray text */
    margin-bottom: 2rem;
}

.lumina-steps-container {
    display: flex;
    justify-content: space-between;
    flex-direction: column;
    gap: 2rem;
    flex-wrap: wrap;
}

.lumina-step {
    display: flex;
    align-items: flex-start;
    width: auto;
    min-width: 220px;
    text-align: left;
}

.lumina-icon-wrapper {
    background: linear-gradient(135deg, #7c3aed, #a78bfa);
    /* purple gradient */
    border-radius: 0.5rem;
    padding: 0.75rem;
    margin-right: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 4px 8px rgba(124, 58, 237, 0.3);
}

.lumina-icon {
    width: 24px;
    height: 24px;
    stroke: white;
}

.lumina-step-text {
    flex: 1;
}

.lumina-step-number {
    font-weight: 700;
    color: #7c3aed;
    margin-right: 0.5rem;
    font-size: 1rem;
}

.lumina-step-text strong {
    font-weight: 700;
    font-size: 1rem;
    vertical-align: middle;
}

.lumina-step-description {
    font-weight: 400;
    font-size: 0.875rem;
    color: var(--text-secondary);
    margin-top: 0.25rem;
}


/* Container and layout */
.batch-container {
    max-width: 900px;
    margin: 2rem auto 4rem;
    padding: 0 1rem;
    font-family: 'Inter', sans-serif;
    color: var(--text-primary);
}

/* Back link */
.batch-back-link {
    display: inline-block;
    margin-bottom: 1rem;
    color: var(--accent-primary);
    font-weight: 600;
    text-decoration: none;
    font-size: 0.9rem;
}

    .batch-back-link:hover {
        text-decoration: underline;
    }

/* Title */
.batch-title {
    font-weight: 900;
    font-size: 2.25rem;
    margin-bottom: 2rem;
}

.batch-highlight {
    color: var(--accent-primary);
}

/* Actions */
.batch-actions {
    display: flex;
    justify-content: flex-end;
    gap: 1rem;
    margin-bottom: 2rem;
}

.batch-btn {
    font-weight: 700;
    font-size: 1rem;
    padding: 1.1rem 1rem;
    border-radius: 1rem;
    cursor: pointer;
    border: none;
    transition: background-color 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.2s ease;
}

.batch-btn-primary {
    background: var(--button-primary);
    color: var(--button-text);
    box-shadow: var(--glow-purpleUnder);
}

    .batch-btn-primary:hover {
        /*        background: var(--accent-hover);*/
        box-shadow: var(--shadow-th);
    }


.batch-btn-download-all {
    background: #1e293b;
    color: var(--button-text);
    font-weight: 700;
    font-size: 1rem;
    padding: 1.1rem 1rem;
    border-radius: 1rem;
}

    .batch-btn-download-all:hover {
        background: #111827;
    }

/* Result card */
.batch-result-card {
    background: var(--bg-tertiary);
    border-radius: 3rem;
    box-shadow: var(--shadow-th);
    display: flex;
    gap: 1rem;
    padding: 1.5rem;
    padding-bottom: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
    border: 1px solid var(--surface-border);
}

.batch-image-compare-wrapper {
    flex: 1 1 500px;
    min-width: 280px;
}

/* 1. Update the base container to ensure it doesn't collapse */
.batch-image-compare {
    position: relative;
    width: 500px;
    max-width: 500px;
    /* This ensures the box has height even when children are absolute */
    overflow: hidden;
    border-radius: 0.75rem;
    /* Added this to prevent overflow issues */
    display: block;
}

/* Both sides */
/*.batch-img-orig-box,
.batch-img-uscal-box {
    position: absolute;
    top: 0;
    height: 100%;
    overflow: hidden;
}*/

/* Left side (original) */
/*.batch-img-orig-box {
    left: 0;
    width: 50%;
    z-index: 1;
}*/

/* Right side (upscaled) */
/*.batch-img-uscal-box {
    right: 0;
    width: 50%;
    z-index: 2;
}*/

    /* Images fill container fully */
    /*.batch-img-orig-box img,
    .batch-img-uscal-box img {
        position: absolute;
        top: 0;
        left: 0;
        width: 50%;
        height: 100%;
        object-fit: cover;
    }*/

/* Slider line */
/*.batch-slider-handle {
    position: absolute;
    top: 0;
    left: 50%;
    width: 4px;
    height: 100%;
    background: var(--bg-tertiary);
    border-left: 1px solid #7c3aed;
    border-right: 1px solid #7c3aed;
    transform: translateX(-50%);
    cursor: ew-resize;
    z-index: 10;
}

    .batch-slider-handle::after {
        content: "";
        position: absolute;
        top: 50%;
        left: 50%;
        width: 18px;
        height: 18px;
        background: #7c3aed;
        border-radius: 50%;
        transform: translate(-50%, -50%);
    }*/

.batch-image-labels {
    display: flex;
    justify-content: space-between;
    margin-top: 0.25rem;
    font-size: 0.75rem;
    font-weight: 700;
    width: 100%;
}

.batch-label-original {
    color: var(--text-primary);
}

.batch-label-upscaled {
    color: #7c3aed;
}

/* Details section */
.batch-details {
    flex: 1 1 300px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-width: 230px;
}

.batch-status-tag {
    background: var(--success-bg);
    color: var(--success-text);
    font-weight: 700;
    font-size: 0.75rem;
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    width: fit-content;
    margin-bottom: 1rem;
    letter-spacing: 0.05em;
}

.batch-resolution-info > div {
    margin-bottom: 1rem;
}

.batch-label {
    font-size: 0.75rem;
    font-weight: 600;
    color: #6b7280;
    text-transform: uppercase;
    margin-bottom: 0.25rem;
}

.batch-label-up {
    color: var(--accent-primary);
    margin-bottom: -0.9rem;
    margin-top: 2.25rem;
}

.batch-value {
    font-weight: 700;
    font-size: 1rem;
    color: var(--text-primary);
}

.batch-value-up {
    font-size: 1.5rem;
}

.batch-metrics {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.batch-metric {
    background: var(--bg-tertiary);
    border-radius: 0.5rem;
    padding: 0rem 0.5rem;
    flex: 1;
    text-align: center;
    border: 1px dashed var(--surface-border);
}

.batch-metric-value {
    font-weight: 700;
    font-size: 1rem;
    color: var(--text-secondary);
}

.batch-metric-label {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-muted);
    margin-top: 0.25rem;
}

/* Download button */
.batch-btn-download {
    background: #1e293b;
    color: var(--button-text);
    font-weight: 700;
    font-size: 1rem;
    padding: 1.1rem 1.5rem;
    border-radius: 0.5rem;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    border: none;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

    .batch-btn-download:hover {
        background: #111827;
    }

.batch-download-icon {
    width: 20px;
    height: 20px;
}

/* Footer note */
.batch-footer-note {
    font-size: 0.75rem;
    color: #6b7280;
    margin-top: 1rem;
    font-style: italic;
}

/* 2. Fix the Responsive Breakpoint */
@media (max-width: 900px) {
    .batch-result-card {
        flex-direction: column;
        /* Remove the massive 9rem gap which was likely a 'band-aid' fix */
        gap: 2rem;
        padding-bottom: 2rem;
    }

    .batch-image-compare-wrapper {
        flex: 1 1 auto;
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center; /* Centers the compare box on mobile */
    }

    .batch-image-compare {
        max-width: 100%; /* Allows it to take full width on smaller screens */
        height: auto;
    }

    .batch-details {
        flex: 1 1 auto;
        width: 100%;
        min-width: auto;
        /* Ensures details start AFTER the image labels */
        margin-top: 1rem;
    }

    .batch-actions {
        justify-content: center;
        margin-bottom: 1.5rem;
    }
}


.hc-wrap {
    min-height: 100%;
    position: relative;
}

.hc-container {
    width: min(var(--hc-max), calc(100% - 40px));
    margin-inline: auto;
    padding: 34px 0 48px;
}

/* Top badge */
.hc-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    border-radius: 999px;
    background: var(--badge-bg);
    /*    border: 1px solid rgba(139,92,246,.22);*/
    color: var(--badge-text);
    font-weight: 600;
    font-size: 12px;
    letter-spacing: .01em;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

    .hc-badge svg {
        width: 14px;
        height: 14px;
        opacity: .95;
    }

/* Hero */
.hc-hero {
    text-align: center;
    padding: 10px 0 26px;
}

    .hc-hero h1 {
        margin: 14px 0 10px;
        font-size: 58px;
        line-height: 1.08;
        letter-spacing: -.03em;
        font-weight: 900;
        /*        text-shadow: 0 14px 44px rgba(0,0,0,.55);*/
    }

    .hc-hero .hc-grad {
        /*        background: var(--accent-primary);*/
        color: var(--accent-primary);
    }

    .hc-hero p {
        margin: 0 auto;
        max-width: 620px;
        color: var(--text-secondary);
        font-size: 14px;
        line-height: 1.7;
    }

/* Main layout */
.hc-grid {
    display: grid;
    grid-template-columns: 1.65fr 0.95fr;
    gap: 28px;
    align-items: start;
    padding-top: 16px;
}

/* Section headings (left) */
.hc-section {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.hc-sectionTitle {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 20px;
    letter-spacing: -.01em;
    font-weight: 800;
    margin: 0;
    color: var(--text-primary);
}

    .hc-sectionTitle .hc-titleDot {
        width: 30px;
        height: 30px;
        border-radius: 999px;
        background: rgba(139, 92, 246, .12);
        border: 1px solid rgba(139, 92, 246, .22);
        display: grid;
        place-items: center;
    }

        .hc-sectionTitle .hc-titleDot svg {
            width: 16px;
            height: 16px;
            opacity: .95;
            color: var(--accent-primary);
        }

/* Getting started list - NOT cards grid, but stacked panels like screenshot */
.hc-steps {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.hc-step {
    position: relative;
    border-radius: var(--hc-border-radius);
    background: var(--bg-tertiary);
    border: 1px solid var(--surface-border);
    overflow: hidden;
    padding: 16px 18px;
}


.hc-stepInner {
    position: relative;
    display: grid;
    grid-template-columns: 44px 1fr;
    gap: 14px;
    align-items: start;
}

.hc-stepIcon {
    width: 44px;
    height: 44px;
    border-radius: 14px;
    background: var(--accent-primary);
    /*    border: 1px solid rgba(167,139,250,.35);*/
    display: grid;
    place-items: center;
    color: white;
}

    .hc-stepIcon svg {
        width: 20px;
        height: 20px;
        fill: white;
        border-radius: 0;
    }

.hc-stepKicker {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 6px;
}

.hc-stepNum {
    font-size: 11px;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--accent-primary);
    font-weight: 700;
}

.hc-stepTitle {
    margin: 0;
    font-size: 16px;
    letter-spacing: -.01em;
}

.hc-stepDesc {
    margin: 0;
    color: var(--text-secondary);
    font-size: 13px;
    line-height: 1.65;
}

/* FAQ accordion */
.hc-faq {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.hc-acc {
    border-radius: var(--hc-border-radius);
    border: 1px solid var(--surface-border);
    background: var(--bg-tertiary);
    /*    box-shadow: var(--hc-shadow2);*/
    overflow: hidden;
}

.hc-accBtn {
    all: unset;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    width: 100%;
    padding: 14px 16px;
    box-sizing: border-box;
}

.hc-accQ {
    /*    font-family: "Space Grotesk", Inter, sans-serif;*/
    font-weight: 600;
    letter-spacing: -.01em;
    font-size: 14px;
    color: var(--text-primary);
}

.hc-accChevron {
    width: 34px;
    height: 34px;
    border-radius: 12px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, .08);
    background: transparent;
    transition: transform .22s ease, background .22s ease, border-color .22s ease;
}

    .hc-accChevron svg {
        width: 16px;
        height: 16px;
        opacity: .9;
    }

.hc-accPanel {
    max-height: 0;
    overflow: hidden;
    transition: max-height .28s ease;
    border-top: 1px solid rgba(255, 255, 255, .06);
}

.hc-accPanelInner {
    padding: 12px 16px 16px;
    color: var(--text-secondary);
    font-size: 13px;
    line-height: 1.7;
}

.hc-acc[data-open="true"] .hc-accChevron {
    transform: rotate(180deg);
    background: rgba(139, 92, 246, .12);
    border-color: rgba(139, 92, 246, .22);
}

/* Right column: Ticket panel */
.hc-aside {
    position: relative;
}

.hc-ticket {
    border-radius: var(--hc-border-radius);
    background: var(--bg-tertiary);
    border: 1px solid var(--surface-border);
    /*    box-shadow: var(--hc-shadow);*/
    padding: 18px;
}

.hc-ticketHead {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 10px 14px;
}

.hc-ticketIcon {
    width: 44px;
    height: 44px;
    border-radius: 14px;
    background: var(--accent-primary);
    /*    border: 1px solid rgba(139,92,246,.22);*/
    display: grid;
    place-items: center;
    color: white;
}

    .hc-ticketIcon svg {
        width: 20px;
        height: 20px;
    }

.hc-ticketTitle {
    margin: 0;
    font-family: "Space Grotesk", Inter, sans-serif;
    font-size: 18px;
    letter-spacing: -.02em;
    line-height: 1.1;
}

.hc-form {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 6px 10px 10px;
}

.hc-field label {
    display: block;
    font-size: 11px;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--text-secondary);
    margin: 0 0 8px;
    font-weight: 700;
}

.hc-input,
.hc-textarea,
.hc-select {
    width: 100%;
    padding: 12px 12px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, .10);
    background: var(--bg-secondary);
    color: var(--text-primary);
    outline: none;
    /*    box-shadow: 0 10px 26px rgba(0,0,0,.35) inset;*/
    transition: border-color .18s ease, transform .18s ease, box-shadow .18s ease;
    font-size: 13px;
    font-weight: 500;
}

    .hc-input::placeholder,
    .hc-textarea::placeholder {
        color: var(--text-muted);
    }


.hc-textarea {
    min-height: 104px;
    resize: vertical;
}

.hc-btn {
    margin-top: 6px;
    border: 0;
    cursor: pointer;
    border-radius: 14px;
    padding: 12px 14px;
    font-weight: 700;
    letter-spacing: -.01em;
    color: var(--button-text);
    background: var(--button-primary);
    /*    box-shadow: 0 18px 48px rgba(139,92,246,.28), 0 10px 28px rgba(0,0,0,.45);*/
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: transform .16s ease, filter .16s ease, box-shadow .16s ease;
}

    .hc-btn svg {
        width: 16px;
        height: 16px;
    }

    .hc-btn:hover {
        transform: translateY(-1px);
        filter: saturate(1.08) contrast(1.02);
        box-shadow: 0 22px 58px rgba(139, 92, 246, .34), 0 14px 34px rgba(0, 0, 0, .52);
    }

    .hc-btn:active {
        transform: translateY(0px) scale(.99);
    }

.hc-emailPanel {
    margin-top: 14px;
    border-radius: 18px;
    border: 1px solid var(--accent-primary);
    background: var(--active-teriary);
    padding: 12px 14px;
    text-align: center;
    color: var(--text-secondary);
    font-size: 12px;
/*     box-shadow: 0 14px 36px rgba(0, 0, 0, .45);*/
}

    .hc-emailPanel a {
        color: var(--accent-primary);
        text-decoration: none;
        font-weight: 700;
    }
        .hc-emailPanel a:hover {
            text-decoration: underline;
        }

    /*.hc-emailPanel a {
        color: rgba(167, 139, 250, .95);
        text-decoration: none;
        font-weight: 700;
    }

        .hc-emailPanel a:hover {
            text-decoration: underline;
        }

/* reveal animation */
    /*.hc-reveal {
    opacity: 0;
    transform: translateY(10px);
    animation: hcIn .7s cubic-bezier(.2, .8, .2, 1) forwards;
}*/





































/* Container: Floating on top of everything */
#sp-notify-wrapper {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 9999; /* Higher than any other element */
    width: 90%;
    max-width: 400px;
    background: #1a1a1a;
    color: white;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    overflow: hidden;
    animation: sp-slide-down 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid rgba(255,255,255,0.1);
}

/* Slide-in animation */
@keyframes sp-slide-down {
    from {
        top: -100px;
        opacity: 0;
    }

    to {
        top: 20px;
        opacity: 1;
    }
}

.sp-notify-content {
    display: flex;
    align-items: center;
    padding: 16px;
    gap: 12px;
}

.sp-notify-message {
    margin: 0;
    flex-grow: 1;
    font-size: 14px;
    font-weight: 500;
    font-family: 'Inter', sans-serif;
}

.sp-notify-close {
    background: none;
    border: none;
    color: rgba(255,255,255,0.5);
    font-size: 20px;
    cursor: pointer;
    transition: color 0.2s;
}

    .sp-notify-close:hover {
        color: white;
    }

/* Colors based on Type */
.sp-notify-success {
    border-left: 4px solid #00ff88 !important;
}

.sp-notify-failure {
    border-left: 4px solid #ff4444 !important;
}

.sp-notify-info {
    border-left: 4px solid #00d9ff !important;
}

/* Progress Bar at the bottom */
.sp-notify-progress {
    height: 3px;
    background: rgba(255,255,255,0.2);
    width: 100%;
    transform-origin: left;
    animation: sp-progress-drain linear forwards;
}

@keyframes sp-progress-drain {
    from {
        transform: scaleX(1);
    }

    to {
        transform: scaleX(0);
    }
}






.sp-msg {
    /* ... your other styles ... */
    white-space: pre-line; /* This forces the browser to show the line breaks the AI sends */
    line-height: 1.5; /* Adds a bit of vertical space between lines of text */
}







/* FAB Button */
.sp-chat-fab {
    position: fixed;
    bottom: 25px;
    right: 25px;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--button-primary);
    border: none;
    color: white;
    font-size: 24px;
    cursor: pointer;
    z-index: 10000;
    box-shadow: var(--glow-purpleUnder);
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

    .sp-chat-fab:hover {
        transform: scale(1.1);
    }

/* Chat Container */
.sp-chat-container {
    position: fixed;
    bottom: 95px;
    right: 25px;
    width: 350px;
    height: 500px;
    background: var(--bg-secondary);
    border: 1px solid var(--surface-border);
    border-radius: 16px;
    display: flex;
    flex-direction: column;
    z-index: 10000;
    box-shadow: var(--shadow-lg);
    overflow: hidden;
    transition: all 0.3s ease;
}

/* Mobile Responsiveness */
@media (max-width: 480px) {
    .sp-chat-container {
        width: calc(100% - 40px);
        height: 60vh;
        bottom: 90px;
        right: 20px;
    }

    .sp-chat-fab {
        bottom: 20px;
        right: 20px;
        width: 48px;
        height: 48px;
        font-size: 21px;
    }
}

.sp-hidden {
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
}

/* Header */
.sp-chat-header {
    background: var(--bg-tertiary);
    padding: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--surface-border);
}

.sp-chat-header-info {
    display: flex;
    align-items: center;
    gap: 8px;
}

    .sp-chat-header-info p {
        margin: 0;
        font-weight: 600;
        color: var(--text-primary);
        font-size: 14px;
    }

.sp-online-dot {
    width: 8px;
    height: 8px;
    background: var(--success-dot);
    border-radius: 50%;
}

/* Messages Area */
.sp-chat-body {
    flex-grow: 1;
    padding: 15px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

/* Bubble Styling */
.sp-msg {
    max-width: 80%;
    padding: 10px 14px;
    border-radius: 12px;
    font-size: 14px;
    line-height: 1.4;
    word-wrap: break-word;
}

.sp-msg-user {
    align-self: flex-end;
    background: var(--brand-500);
    color: white;
    border-bottom-right-radius: 2px;
}

.sp-msg-ai {
    align-self: flex-start;
    background: var(--bg-tertiary);
    color: var(--text-primary);
    border-bottom-left-radius: 2px;
}

/* Footer Input */
.sp-chat-footer {
    padding: 15px;
    display: flex;
    gap: 8px;
    border-top: 1px solid var(--surface-border);
}

    .sp-chat-footer input {
        flex-grow: 1;
        background: var(--bg-tertiary);
        border: 1px solid var(--surface-border);
        border-radius: 20px;
        padding: 8px 15px;
        color: var(--text-primary);
        outline: none;
    }

#sp-chat-send {
    background: var(--brand-500);
    color: white;
    border: none;
    border-radius: 50%;
    width: 36px;
    height: 36px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.sp-chat-close {
background: none;
    border: none;
    color: var(--text-primary);
    font-size: 20px;
    cursor: pointer;
    transition: color 0.2s;
}
    .sp-chat-close:hover {
        color: white;
    }


















@keyframes hcIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

    /* Responsive */
    @media (max-width: 980px) {
        .hc-grid {
            grid-template-columns: 1fr;
        }

        .hc-aside {
            order: 2;
            padding: 20px;
        }

        .hc-section {
            order: 1;
            padding: 20px;
        }
    }

    @media (max-width: 520px) {
        .hc-container {
            width: min(var(--hc-max), calc(100% - 28px));
        }

        .hc-stepInner {
            grid-template-columns: 40px 1fr;
        }

        .hc-stepIcon {
            width: 40px;
            height: 40px;
            border-radius: 13px;
        }

        .hc-ticket {
            padding: 14px;
        }

        .hc-ticketHead {
            padding: 8px 8px 12px;
        }

        .hc-form {
            padding: 6px 8px 8px;
        }
    }
    /* Reduced motion */
    @media (prefers-reduced-motion: reduce) {
        .hc-reveal {
            animation: none;
            opacity: 1;
            transform: none;
        }

        .hc-accPanel {
            transition: none;
        }

        .hc-accChevron {
            transition: none;
        }

        .hc-btn {
            transition: none;
        }
    }


    :root {
        --ap-bg: #090B10;
        --ap-surface: #131720;
        --ap-surface-hover: #1A1F2B;
        --ap-border: #222834;
        --ap-text-main: #FFFFFF;
        --ap-text-muted: #828B9C;
        --ap-accent-purple: #7C4DFF;
        --ap-accent-purple-dim: rgba(124, 77, 255, 0.15);
        --ap-success: #00E676;
        --ap-success-dim: rgba(0, 230, 118, 0.1);
        --ap-danger: #FF1744;
        --ap-danger-dim: rgba(255, 23, 68, 0.1);
        --ap-font: 'Inter', system-ui, -apple-system, sans-serif;
    }


    .admin-panel-wrapper {
        /*    background-color: var(--ap-bg);*/
        color: var(--text-primary);
        /*    font-family: var(--ap-font);*/
        min-height: 100vh;
        padding: 2rem;
        box-sizing: border-box;
        max-width: 1100px
    }

        .admin-panel-wrapper * {
            box-sizing: border-box;
            margin: 0;
            padding: 0;
        }
    /* --- HEADER --- */
    .admin-panel-header {
        display: flex;
        justify-content: space-between;
        align-items: flex-start;
        margin-bottom: 2rem;
        flex-wrap: wrap;
        gap: 1.5rem;
    }

    .admin-panel-title-area {
        display: flex;
        flex-direction: column;
        gap: 0.5rem;
    }

    .admin-panel-badge {
        display: flex;
        align-items: center;
        gap: 0.5rem;
        color: var(--accent-primary);
        font-size: 0.75rem;
        font-weight: 600;
        letter-spacing: 0.05em;
        text-transform: uppercase;
    }

        .admin-panel-badge svg {
            width: 14px;
            height: 14px;
            fill: currentColor;
        }

    .admin-panel-title {
        font-size: 2rem;
        font-weight: 700;
        letter-spacing: -0.02em;
    }

    .admin-panel-controls {
        display: flex;
        align-items: center;
        gap: 1rem;
        flex-wrap: wrap;
    }

    .admin-panel-time-filters {
        display: flex;
        background-color: var(--bg-tertiary);
        border-radius: 6px;
        padding: 4px;
        border: 1px solid var(--surface-border);
    }

    .admin-panel-filter-btn {
        background: transparent;
        border: none;
        color: var(--text-muted);
        padding: 6px 16px;
        font-size: 0.75rem;
        font-weight: 600;
        border-radius: 4px;
        cursor: pointer;
        transition: all 0.2s;
    }

        .admin-panel-filter-btn.active {
            background-color: var(--accent-primary);
            color: var(--button-text);
        }

    .admin-panel-search {
        position: relative;
    }

        .admin-panel-search svg {
            position: absolute;
            left: 12px;
            top: 50%;
            transform: translateY(-50%);
            width: 14px;
            height: 14px;
            fill: var(--text-muted);
        }

    .admin-panel-search-input {
        background-color: var(--bg-tertiary);
        border: 1px solid var(--surface-border);
        color: var(--text-primary);
        padding: 10px 10px 10px 36px;
        border-radius: 6px;
        font-size: 0.875rem;
        width: 200px;
        transition: border-color 0.2s;
    }

        .admin-panel-search-input:focus {
            outline: none;
            border-color: var(--accent-primary);
        }
    /* --- STATS GRID --- */
    .admin-panel-stats {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
        gap: 1.5rem;
        margin-bottom: 2.5rem;
    }

    .admin-panel-stat-card {
        background-color: var(--bg-tertiary);
        border: 1px solid var(--surface-border);
        border-radius: 8px;
        padding: 1.5rem;
        display: flex;
        flex-direction: column;
        gap: 1rem;
    }

    .admin-panel-stat-header {
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    .admin-panel-stat-icon {
        background-color: rgba(255, 255, 255, 0.05);
        padding: 8px;
        border-radius: 6px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

        .admin-panel-stat-icon svg {
            width: 16px;
            height: 16px;
            fill: var(--text-muted);
        }

    .admin-panel-trend {
        font-size: 0.75rem;
        font-weight: 600;
        display: flex;
        align-items: center;
        gap: 4px;
    }

        .admin-panel-trend.up {
            color: var(--ap-success);
        }

        .admin-panel-trend.down {
            color: var(--ap-danger);
        }

    .admin-panel-stat-body {
        display: flex;
        flex-direction: column;
        gap: 0.25rem;
    }

    .admin-panel-stat-label {
        color: var(--text-muted);
        font-size: 0.65rem;
        text-transform: uppercase;
        font-weight: 600;
        letter-spacing: 0.05em;
    }

    .admin-panel-stat-value {
        font-size: 1.75rem;
        font-weight: 700;
    }
    /* --- TABS --- */
    .admin-panel-tabs {
        display: flex;
        gap: 0.5rem;
        margin-bottom: 1.5rem;
        background-color: var(--bg-tertiary);
        padding: 6px;
        border-radius: 8px;
        border: 1px solid var(--surface-border);
        width: fit-content;
    }

    .admin-panel-tab-btn {
        background: transparent;
        border: none;
        color: var(--text-muted);
        padding: 8px 16px;
        font-size: 0.75rem;
        font-weight: 600;
        border-radius: 4px;
        cursor: pointer;
        text-transform: uppercase;
        letter-spacing: 0.05em;
        transition: all 0.2s;
    }

        .admin-panel-tab-btn:hover {
            color: var(--text-primary);
        }

        .admin-panel-tab-btn.active {
            background-color: var(--surface-hover);
            color: var(--accent-primary);
        }
    /* --- TAB CONTENT & TABLES --- */
    .admin-panel-tab-content {
        display: none;
    }

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

    .admin-panel-table-wrapper {
        background-color: var(--bg-tertiary);
        border: 1px solid var(--surface-border);
        border-radius: 8px;
        overflow-x: auto;
        /* Responsive horizontal scroll */
    }

    .admin-panel-table {
        width: 100%;
        border-collapse: collapse;
        text-align: left;
        min-width: 800px;
    }

        .admin-panel-table th,
        .admin-panel-table td {
            padding: 1.25rem 1.5rem;
            border-bottom: 1px solid var(--surface-border);
        }

        .admin-panel-table th {
            color: var(--text-muted);
            font-size: 0.65rem;
            font-weight: 600;
            text-transform: uppercase;
            letter-spacing: 0.05em;
        }

        .admin-panel-table tr:last-child td {
            border-bottom: none;
        }

        .admin-panel-table tbody tr:hover {
            background-color: var(--surface-hover);
        }

    .admin-panel-td-id {
        font-weight: 600;
        font-size: 0.75rem;
    }

    .admin-panel-user {
        display: flex;
        flex-direction: column;
        gap: 2px;
    }

    .admin-panel-user-name {
        font-weight: 600;
        font-size: 0.75rem;
    }

    .admin-panel-user-email {
        color: var(--text-muted);
        font-size: 0.75rem;
    }

    .admin-panel-type {
        display: inline-flex;
        align-items: center;
        gap: 6px;
        font-size: 0.75rem;
        color: var(--text-muted);
        text-transform: uppercase;
        font-weight: 600;
    }

        .admin-panel-type svg {
            width: 14px;
            height: 14px;
            fill: var(--accent-primary);
        }

    .admin-panel-credits {
        font-weight: 600;
        font-size: 0.75rem;
    }

    .admin-panel-amount {
        color: var(--ap-success);
        font-weight: 600;
        font-size: 0.875rem;
    }

    .admin-panel-date {
        color: var(--text-muted);
        font-size: 0.7rem;
    }

    .admin-panel-status {
        display: inline-flex;
        padding: 4px 8px;
        border-radius: 4px;
        font-size: 0.65rem;
        font-weight: 700;
        text-transform: uppercase;
        letter-spacing: 0.05em;
    }

        .admin-panel-status.completed {
            background-color: var(--ap-success-dim);
            color: var(--ap-success);
        }

        .admin-panel-status.failed {
            background-color: var(--ap-danger-dim);
            color: var(--ap-danger);
        }


    .admin-panel-page-selector {
        display: flex;
        gap: 0.5rem;
        justify-content: flex-end;
        margin-top: 1rem;
    }

    .admin-panel-page-btn {
        background: transparent;
        border: 1px solid var(--surface-border);
        color: var(--text-primary);
        padding: 6px 12px;
        font-size: 0.75rem;
        font-weight: 600;
        border-radius: 4px;
        cursor: pointer;
        transition: all 0.2s;
    }

        .admin-panel-page-btn:hover {
            background-color: var(--surface-hover);
            border-color: var(--accent-primary);
            color: var(--accent-primary);
        }

        .admin-panel-page-btn.active {
            background-color: var(--accent-primary);
            border-color: var(--accent-primary);
            color: var(--button-text);
        }
    /* --- MOBILE RESPONSIVENESS --- */
    @media (max-width: 768px) {
        .admin-panel-wrapper {
            padding: 1rem;
        }

        .admin-panel-header {
            flex-direction: column;
            gap: 1rem;
        }

        .admin-panel-controls {
            width: 100%;
            justify-content: space-between;
        }

        .admin-panel-search-input {
            width: 100%;
        }

        .admin-panel-tabs {
            width: 100%;
            overflow-x: auto;
        }

        .admin-panel-tab-btn {
            white-space: nowrap;
        }
    }
    /* Responsive for mobile */
    @media (max-width: 640px) {
        .lumina-steps-container {
            flex-direction: column;
            gap: 1.5rem;
        }

        .lumina-step {
            width: 100%;
        }
    }


    @media (max-width: 768px) {

        .profile-header {
            flex-direction: row;
            gap: 15px;
        }

        .profile-grid {
            grid-template-columns: 1fr;
        }
        /*.profile-row {*/
        /*        grid-template-columns: 1fr;
        text-align: left;
        gap: 8px;*/
        /*}*/

        .profile-row {
            display: grid;
            grid-template-columns: 4fr 1fr 1.2fr;
            padding: 5px 2px;
            align-items: center;
            border-bottom: 1px solid var(--surface-border);
        }

        .profile-container {
            font-size: 12px;
        }

        .profile-cost {
            font-size: 10px;
        }

        .profile-row-res {
            display: none;
        }

        .profile-row-header {
            display: none;
        }

    }


    @media (max-width: 500px) {
        .navbar.container {
            transform: scale(0.9);
        }

        .phone-only {
            display: block;
        }

        .pc-only {
            display: none;
        }

        .navbar-left {
            gap: 4px;
        }

        .title {
            font-size: 36px;
            max-width: 100%;
            padding: 0 10px;
        }

        .uu-user-pill {
            padding: 2px 2px;
            font-size: 12px;
            gap: 4px;
            border: 1px dashed var(--accent-primary);
        }

        .uu-arrow {
            margin-left: 0px;
            margin-right: 0px;
        }

        .uu-plan {
            display: none;
        }

        .uu-cred {
            display: none;
        }

        .uu-cred-mob {
            display: block;
        }

        .upload-box {
            padding: 60px 15px;
        }

            .upload-box h2 {
                font-size: 28px;
            }

        .scale-btn {
            width: auto;
            height: 70px;
            padding: 20px 25px;
            font-size: 18px;
        }

            .scale-btn:hover {
                font-size: 18px;
            }

            .scale-btn.active {
                width: auto;
                height: 70px;
                font-size: 18px;
            }

            .scale-btn span {
                font-size: 9px;
            }

        .vision {
            padding: 35px 0px;
        }

        .vision-title {
            font-size: 32px;
        }

        .vision-tag {
            /*        font-size: 8px;*/
            /*        padding: 4px 10px;*/
            margin-bottom: 0px;
        }

        .vision-divider {
            margin: 10px 0;
        }

        .vision-text {
            font-size: 12px;
        }

        .vision-quote {
            font-size: 14px;
        }

        .vision-card {
            padding: 40px 20px;
            padding-top: 20px;
        }

        body {
            padding: 0 0px;
        }

        .features {
            padding: 0 0px;
        }

        .faq {
            padding: 0 0px;
        }


        .sp-container {
            margin: 20px;
            max-width: fit-content;
        }

        .sp-header {
            padding: 30px 20px;
        }

        .sp-title {
            font-size: 1.5rem;
        }

        .sp-label {
            font-size: 0.65rem;
        }

        .sp-subtitle {
            font-size: 0.8rem;
        }

        .sp-input {
            padding: 12px 14px;
            font-size: 0.9rem;
            color: var(--text-primary);
        }

        .sp-submit-btn {
            padding: 12px;
            font-size: 0.95rem;
        }

        .sp-google-btn {
            padding: 12px;
            font-size: 0.9rem;
        }

        .sp-google-icon {
            width: 18px;
            height: 18px;
        }


        .foot-heading {
            font-size: 14px;
        }

        .foot-link {
            font-size: 12px;
        }

        .footer-inner {
            padding-right: 25px;
            padding-left: 25px;
        }

        .footer-brand-logo {
            aspect-ratio: 1 / 1;
        }

        .footer-tagline {
            font-size: 14px;
        }


        .pricing-header h1 {
            font-size: 36px;
        }

        .pricing-header p {
            font-size: 14px;
        }

        .lumina-cta-section {
            margin: 1.5rem 1rem;
        }

        .lumina-cta-buttons {
            flex-direction: column;
        }

        .lumina-btn-primary,
        .lumina-btn-secondary {
            width: auto;
            min-width: unset;
        }


        .profile-btn-outline {
            padding: 10px 10px;
        }

        .hc-hero h1 {
            font-size: 39px;
            /* text-shadow: 0 14px 44px rgba(0, 0, 0, .55); */
        }


        .batch-btn {
            font-weight: 600;
            font-size: 0.9rem;
            padding: 1.1rem 0.8rem;
        }

        .batch-btn-download-all {
            font-weight: 700;
            font-size: 0.9rem;
            padding: 1.1rem 0.8rem;
        }
    }


    #sp-notify-wrapper {
  position: fixed;
  top: 1rem;
  right: 1rem;
  max-width: 320px;
  padding: 1rem 1.25rem;
  border-radius: var(--hc-border-radius, 15px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 1rem;
  cursor: default;
  user-select: none;
  background-color: var(--surface-card);
  color: var(--text-primary);
  border: 1px solid var(--surface-border);
  transition: background-color 0.3s ease, color 0.3s ease;
  z-index: 9999;
  position: fixed;
}

.sp-notify-icon {
  flex-shrink: 0;
  font-size: 1.5rem;
  line-height: 1;
  /* color is set dynamically via classes below */
  aria-hidden: true;
}

.sp-notify-icon.success {
  color: var(--success-dot);
}

.sp-notify-icon.failure {
  color: #E02424;
}

.sp-notify-icon.info {
  color: var(--accent-primary);
}

.sp-notify-message {
  flex-grow: 1;
  margin: 0;
  color: var(--text-primary);
  line-height: 1.3;
  user-select: text;
}

.sp-notify-close {
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-size: 1.25rem;
  line-height: 1;
  cursor: pointer;
  padding: 0;
  margin-left: 0.5rem;
  transition: color 0.2s ease;
}

.sp-notify-close:hover {
  color: var(--accent-hover);
}

.sp-notify-progress {
  position: absolute;
  bottom: 0;
  left: 0;
  height: 4px;
  width: 100%;
  background: var(--accent-soft);
  border-radius: 0 0 var(--hc-border-radius, 15px) var(--hc-border-radius, 15px);
  animation: progressBar 10s linear forwards;
  pointer-events: none;
}

@keyframes progressBar {
  from {
    width: 100%;
  }
  to {
    width: 0%;
  }
}

/* Dark mode support using data-theme attribute */
[data-theme="dark"] #sp-notify-wrapper {
  background-color: var(--surface-card);
  color: var(--text-primary);
  border-color: var(--surface-border);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
}

[data-theme="dark"] #sp-notify-wrapper .sp-notify-icon {
  color: inherit;
}

[data-theme="dark"] #sp-notify-wrapper .sp-notify-close {
  color: var(--text-muted);
}

[data-theme="dark"] #sp-notify-wrapper .sp-notify-close:hover {
  color: var(--accent-hover);
}
