:root {
    --bg-color: #030304;
    --workspace-bg: #050507;
    --panel-bg: #0A0A0C;
    --settings-bg: #0D0D11;
    --card-bg: #121216;
    --text-primary: #FFFFFF;
    --text-secondary: #9999AA;
    --accent-solid: #FF8800;
    --bevel-border: rgba(255, 255, 255, 0.08);
    --bevel-highlight: rgba(255, 255, 255, 0.25);
    --bevel-shadow: rgba(0, 0, 0, 0.9);
    --bevel-bg: rgba(18, 18, 22, 0.85);
    --font-main: 'Urbanist', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    outline: none;
    text-decoration: none;
}

::selection {
    background: var(--accent-solid);
    color: #000;
}

::-moz-selection {
    background: var(--accent-solid);
    color: #000;
}

html.lenis,
html.lenis body {
    height: auto;
    overscroll-behavior: none;
}

.lenis.lenis-smooth {
    scroll-behavior: auto !important;
}

.lenis.lenis-stopped {
    overflow: hidden;
}

body {
    background-color: var(--bg-color);
    color: var(--text-primary);
    font-family: var(--font-main);
    font-weight: 500;
    overflow-x: hidden;
    min-height: 100vh;
    position: relative;
}

/* ═══════════════════════════════════════════
           THE LUXURY GLASS NAVBAR
           ═══════════════════════════════════════════ */
.glass-nav-container {
    position: fixed;
    top: 40px;
    left: 50%;
    z-index: 9999;
    opacity: 0;
    transform: translateX(-50%) translateY(-30px);
    transition: top 0.85s cubic-bezier(0.25, 1, 0.3, 1), opacity 0.6s ease;
    will-change: transform, top, opacity;
}

body.site-loaded .glass-nav-container {
    animation: navFadeDown 1.2s cubic-bezier(0.16, 1, 0.3, 1) forwards 0.1s;
}

@keyframes navFadeDown {
    to {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
}

.glass-nav {
    display: flex;
    align-items: center;
    gap: 50px;
    padding: 20px 60px;
    border-radius: 100px;
    background: rgba(20, 20, 25, 0.4);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.1);
    transition: all 0.85s cubic-bezier(0.25, 1, 0.3, 1);
}

.glass-nav-container.scrolled {
    top: 20px;
}

.glass-nav-container.scrolled .glass-nav {
    gap: 30px;
    padding: 12px 35px;
    background: rgba(10, 10, 12, 0.85);
    border-color: rgba(255, 255, 255, 0.12);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.8), inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

.nav-link {
    color: var(--text-secondary);
    font-size: 1.05rem;
    font-weight: 600;
    transition: color 0.3s ease;
    cursor: pointer;
    white-space: nowrap;
}

.nav-link:hover {
    color: #FFFFFF;
}

.nav-divider {
    width: 1px;
    height: 20px;
    background: rgba(255, 255, 255, 0.15);
    margin: 0 10px;
}

.sign-in-nav {
    color: #FFFFFF;
    font-weight: 800;
    display: flex;
    align-items: center;
    gap: 8px;
}

.sign-in-nav .nav-arrow {
    width: 16px;
    height: 16px;
    stroke: var(--accent-solid);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.sign-in-nav:hover .nav-arrow {
    transform: translateX(5px);
}

/* ═══════════════════════════════════════════
           MAIN SITE ENTRANCE 
           ═══════════════════════════════════════════ */
#landing-page {
    width: 100%;
    animation: siteReveal 1.2s cubic-bezier(0.25, 1, 0.5, 1) forwards;
    transform-origin: center center;
    transition: transform 1.2s cubic-bezier(0.85, 0, 0.15, 1), filter 1.2s ease, opacity 0.8s ease;
}

@keyframes siteReveal {
    0% {
        opacity: 0;
        transform: scale(1.05);
        filter: blur(20px);
    }

    100% {
        opacity: 1;
        transform: scale(1);
        filter: blur(0px);
    }
}

body.auth-active .glass-nav-container {
    opacity: 0 !important;
    pointer-events: none !important;
    transition: opacity 0.4s ease !important;
}

body.auth-active #landing-page,
body.workspace-active #landing-page {
    transform: scale(0.95);
    filter: blur(15px) brightness(0.5);
    pointer-events: none;
}

/* ── HERO SECTION ── */
.hero-section {
    position: relative;
    z-index: 20;
    /* Elevated to 20 to ensure absolute elements never get clipped by the features section below */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    width: 100%;
    padding-top: 80px;
}

/* ── HERO STATS ── */
.hero-stats-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 80px;
    margin-top: 40px;
    margin-bottom: -140px;
    /* Crucial: Cancels out its own height so the Prompt block stays perfectly centered just like before */
    position: relative;
    z-index: 20;
}

.hero-stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.stat-number {
    font-family: 'Urbanist', sans-serif;
    font-size: 5.25rem;
    /* 1.5x larger */
    font-weight: 800;
    color: #ffffff;
    line-height: 1.1;
    margin-bottom: 4px;
}

.stat-accent {
    color: #FF8800;
    /* Signature Vibely orange */
}

.stat-label {
    font-family: 'Urbanist', sans-serif;
    font-size: 0.95rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.5);
    text-transform: capitalize;
    letter-spacing: 0.5px;
}

@media (max-width: 600px) {
    .stat-number {
        font-size: 2.8rem;
    }

    .hero-stats-row {
        gap: 25px;
        margin-top: 40px;
    }
}

.marquee-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 35px;
    z-index: 0;
    opacity: 0.3;
    pointer-events: none;
    -webkit-mask-image: linear-gradient(to right, transparent 0%, black 30%, black 70%, transparent 100%);
    mask-image: linear-gradient(to right, transparent 0%, black 30%, black 70%, transparent 100%);
}

.marquee-row {
    display: flex;
    width: max-content;
    gap: 30px;
    will-change: transform;
}

.scroll-left {
    animation: scrollLeft 240s linear infinite;
}

.scroll-right {
    animation: scrollRight 240s linear infinite;
}

@keyframes scrollLeft {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

@keyframes scrollRight {
    0% {
        transform: translateX(-50%);
    }

    100% {
        transform: translateX(0);
    }
}

.yt-card {
    width: 300px;
    flex-shrink: 0;
    background: rgba(20, 20, 25, 0.8);
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
}

.yt-thumb {
    width: 100%;
    height: 170px;
    background: #111;
}

.yt-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.7;
}

.yt-details {
    padding: 12px;
}

.yt-title {
    font-size: 0.85rem;
    font-weight: 700;
    color: #ddd;
    line-height: 1.4;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

h1 {
    font-size: clamp(3rem, 6vw, 6.5rem);
    line-height: 1.15;
    text-align: center;
    letter-spacing: -0.03em;
    margin-bottom: 60px;
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    min-height: 160px;
}

.hero-line {
    display: block;
    font-weight: 800;
    white-space: nowrap;
    opacity: 0;
    transform: translateY(40px);
    filter: blur(10px);
    animation: siteTextReveal 1.5s cubic-bezier(0.22, 1, 0.36, 1) forwards 0.3s;
}

.hero-line.line-2 {
    background: linear-gradient(180deg, #FFB347 0%, #FF8800 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation-delay: 0.5s;
}

.hero-line.line-1 {
    background: linear-gradient(180deg, #FFFFFF 20%, #888899 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.fw-light {
    font-weight: 400;
}

@keyframes siteTextReveal {
    to {
        opacity: 1;
        transform: translateY(0);
        filter: blur(0px);
    }
}

.input-wrapper-outer {
    position: relative;
    width: 100%;
    max-width: 780px;
    border-radius: 35px;
    padding: 2px;
    background: rgba(255, 255, 255, 0.08);
    overflow: hidden;
    box-shadow: 0 30px 60px -10px rgba(0, 0, 0, 0.8), inset 0 1px 0 rgba(255, 255, 255, 0.1);
    z-index: 5;
    backdrop-filter: blur(20px);
    opacity: 0;
    transform: translateY(30px);
    animation: fadeUpInput 1.5s cubic-bezier(0.16, 1, 0.3, 1) forwards 0.7s;
}

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

.input-wrapper-outer::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: conic-gradient(transparent 0deg, transparent 80deg, rgba(255, 154, 32, 0.2) 90deg, #FF9A20 120deg, transparent 150deg);
    animation: borderRotate 5s linear infinite;
    z-index: 0;
}

@keyframes borderRotate {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

.input-container {
    position: relative;
    background: #08080A;
    width: 100%;
    min-height: 160px;
    border-radius: 33px;
    padding: 35px;
    padding-bottom: 90px;
    z-index: 1;
}

.text-area-wrapper {
    position: relative;
    width: 100%;
    display: grid;
}

.real-input {
    grid-area: 1 / 1;
    width: 100%;
    background: transparent;
    border: none;
    color: #FFF;
    font-size: 1.6rem;
    font-weight: 600;
    font-family: inherit;
    padding: 0;
    padding-right: 80px;
    line-height: 1.4;
    caret-color: #FFFFFF;
    z-index: 5;
    resize: none;
    max-height: 4.5em;
    overflow-y: auto;
}

.real-input::-webkit-scrollbar {
    width: 6px;
    cursor: default;
}

.real-input::-webkit-scrollbar-track {
    background: transparent;
    cursor: default;
}

.real-input::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.2);
    border-radius: 3px;
    cursor: default;
}

.animated-placeholder {
    grid-area: 1 / 1;
    font-size: 1.6rem;
    font-weight: 500;
    color: #444;
    pointer-events: none;
    line-height: 1.4;
    z-index: 1;
    font-family: var(--font-main);
}

.ph-out {
    animation: phOut 0.4s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.ph-in {
    animation: phIn 0.5s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes phOut {
    to {
        opacity: 0;
        transform: translateY(-15px);
        filter: blur(4px);
    }
}

@keyframes phIn {
    from {
        opacity: 0;
        transform: translateY(15px);
        filter: blur(4px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
        filter: blur(0px);
    }
}

.generate-btn {
    position: absolute;
    bottom: 25px;
    right: 25px;
    width: 65px;
    height: 65px;
    border-radius: 50%;
    background: linear-gradient(145deg, #FFAA40, #FF7700);
    border: 1px solid rgba(255, 255, 255, 0.2);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 30px rgba(255, 140, 0, 0.3);
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    z-index: 10;
    overflow: hidden;
}

.generate-btn:hover {
    transform: scale(1.08);
}

.arrow-icon {
    width: 32px;
    height: 32px;
    fill: none;
    stroke: #fff;
    stroke-width: 3.5px;
    stroke-linecap: round;
    stroke-linejoin: round;
    animation: arrowCycleSmooth 2.5s infinite;
}

@keyframes arrowCycleSmooth {

    0%,
    60% {
        transform: translateY(0);
        animation-timing-function: cubic-bezier(0.5, 0, 1, 1);
    }

    75% {
        transform: translateY(-250%);
    }

    75.001% {
        transform: translateY(250%);
        animation-timing-function: cubic-bezier(0, 0, 0.2, 1);
    }

    90%,
    100% {
        transform: translateY(0);
    }
}

/* ── SECTION 2 (Features) ── */
.features-section {
    position: relative;
    width: 100%;
    background: var(--bg-color);
    overflow: hidden;
    padding: 44px 16px 36px;
}

.features-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        repeating-linear-gradient(0deg, rgba(255,255,255,0.09) 0px, rgba(255,255,255,0.09) 1px, transparent 1px, transparent 100px),
        repeating-linear-gradient(90deg, rgba(255,255,255,0.09) 0px, rgba(255,255,255,0.09) 1px, transparent 1px, transparent 100px);
    -webkit-mask-image: radial-gradient(ellipse 60% 50% at 50% 50%, rgba(0,0,0,0.6) 0%, transparent 100%);
    mask-image: radial-gradient(ellipse 60% 50% at 50% 50%, rgba(0,0,0,0.6) 0%, transparent 100%);
    z-index: 1;
    pointer-events: none;
}

.features-section::after {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 10;
    pointer-events: none;
    opacity: 0.3;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 512 512' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
    background-repeat: repeat;
    background-size: 256px 256px;
    mix-blend-mode: soft-light;
}

.features-container {
    position: relative;
    width: 100%;
    max-width: 500px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    row-gap: 40px;
    align-items: center;
    z-index: 5;
}

.satellite-wrapper {
    display: flex;
    position: static;
    transform: none;
    margin: 0;
    width: auto;
}

.satellite-body {
    display: flex;
    align-items: center;
    gap: clamp(6px, 2vw, 12px);
    padding: clamp(10px, 3vw, 18px) clamp(12px, 4vw, 20px);
    border-radius: 16px;
    background: var(--bevel-bg);
    border: 1px solid var(--bevel-border);
    box-shadow: inset 0 1px 0 var(--bevel-highlight), inset 0 -1px 0 rgba(0,0,0,0.5), 0 8px 24px rgba(0,0,0,0.4);
    backdrop-filter: blur(15px);
    width: 100%;
    justify-content: flex-start;
    transition: all 0.3s ease;
}

.satellite-body:hover {
    border-color: rgba(255,255,255,0.25);
    background: rgba(30,30,35,0.95);
}

.sat-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: clamp(30px, 8vw, 40px);
    height: clamp(30px, 8vw, 40px);
    border-radius: clamp(8px, 2vw, 12px);
    font-size: clamp(0.9rem, 2.5vw, 1.1rem);
    background: rgba(255, 136, 0, 0.1);
    color: var(--accent-solid);
    box-shadow: 0 0 15px rgba(255,136,0,0.1);
    border: 1px solid rgba(255,136,0,0.1);
    flex-shrink: 0;
}

.sat-text {
    color: #fff;
    font-weight: 700;
    font-size: clamp(0.75rem, 3vw, 1rem);
    white-space: normal;
    line-height: 1.2;
    letter-spacing: 0.02em;
}

.pos-center {
    grid-column: 1 / -1;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    margin: 8px 0;
    order: 3;
}

.center-logo-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
}

.center-logo-img {
    height: clamp(5rem, 15vw, 7.5rem);
    width: auto;
    object-fit: contain;
}

.pos-circle-1 { order: 1; justify-self: start; }
.pos-circle-2 { order: 2; justify-self: end; }
.pos-center   { order: 3; }
.pos-circle-4 { order: 4; justify-self: start; }
.pos-circle-3 { order: 5; justify-self: end; }

/* ── SECTION: MASSIVE SCROLL TEXT ── */
.scroll-text-section {
    position: relative;
    width: 100%;
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-color);
    z-index: 25;
    overflow: hidden;
    padding: 50px 0;
}

.scroll-text-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    gap: 5px;
}

.st-line {
    font-size: clamp(5rem, 16vw, 16rem);
    font-weight: 900;
    line-height: 0.85;
    letter-spacing: -0.03em;
    white-space: nowrap;
    will-change: transform;
    text-transform: uppercase;
}

#stLine1 {
    color: transparent;
    -webkit-text-stroke: 6px rgba(255, 255, 255, 0.15);
}

#stLine2 {
    background: linear-gradient(180deg, #FFB347 0%, #FF8800 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

#stLine3 {
    color: #FFFFFF;
}

/* ── SECTION 3: PRICING ── */
.pricing-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding: 80px 20px 150px;
    position: relative;
    background: var(--bg-color);
    z-index: 20;
    overflow: hidden;
}

.pricing-bg-text {
    position: relative;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    text-align: center;
    font-size: clamp(10rem, 28vw, 35rem);
    font-weight: 900;
    line-height: 0.85;
    letter-spacing: -0.04em;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.07) 0%, rgba(255, 255, 255, 0.04) 60%, transparent 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    z-index: 1;
    pointer-events: none;
    will-change: transform;
    margin-bottom: -140px;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    width: 100%;
    max-width: 1200px;
    position: relative;
    z-index: 2;
    margin-top: 0px;
}

.pricing-card {
    background: var(--bevel-bg);
    border: 1px solid var(--bevel-border);
    box-shadow: inset 0 1px 0 var(--bevel-highlight), inset 0 -1px 0 rgba(0, 0, 0, 0.5), 0 25px 50px rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(20px);
    border-radius: 30px;
    padding: 40px;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
    opacity: 0;
    filter: blur(10px);
    transform: translateY(100px) scale(0.95);
    transition: all 1.2s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: transform, opacity, filter;
}

.pricing-card.popular-wrapper {
    padding: 2px;
    background: rgba(255, 255, 255, 0.08);
    border: none;
    box-shadow: 0 30px 60px -10px rgba(0, 0, 0, 0.8), inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.pricing-card.popular-wrapper::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: conic-gradient(transparent 0deg, transparent 80deg, rgba(255, 154, 32, 0.2) 90deg, #FF9A20 120deg, transparent 150deg);
    animation: borderRotate 5s linear infinite;
    z-index: 0;
    pointer-events: none;
}

.pricing-card-inner {
    background: #08080A;
    border-radius: 28px;
    padding: 38px;
    display: flex;
    flex-direction: column;
    position: relative;
    z-index: 1;
    height: 100%;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.pc-label {
    font-size: 0.9rem;
    font-weight: 700;
    color: #FFF;
    text-transform: capitalize;
    letter-spacing: 0.1em;
    margin-bottom: 15px;
    display: block;
}

.pc-price {
    font-size: 3.5rem;
    font-weight: 800;
    color: #FFF;
    line-height: 1;
    margin-bottom: 20px;
}

.pc-desc {
    font-size: 1rem;
    color: var(--text-secondary);
    line-height: 1.5;
    margin-bottom: 30px;
    min-height: 50px;
}

.pc-features {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 40px;
    flex-grow: 1;
}

.pc-features li {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #DDD;
    font-size: 1rem;
    font-weight: 500;
}

.pc-features li i {
    color: var(--accent-solid);
    font-size: 1.1rem;
}

.bonus-text {
    color: var(--accent-light);
    font-weight: 700;
}

.slide-btn {
    position: relative;
    width: 100%;
    height: 54px;
    border-radius: 100px;
    cursor: pointer;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: box-shadow 0.5s ease;
    isolation: isolate;
    border: none;
}

.slide-btn-fill {
    position: absolute;
    bottom: -10px;
    left: 50%;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    transform: translateX(-50%) scale(0);
    transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 1;
    pointer-events: none;
}

.slide-btn:hover .slide-btn-fill {
    transform: translateX(-50%) scale(25);
}

.slide-btn-text {
    position: relative;
    z-index: 2;
    font-family: inherit;
    font-weight: 800;
    font-size: 1.05rem;
    letter-spacing: 0.01em;
    transition: color 0.55s ease, transform 0.65s cubic-bezier(0.16, 1, 0.3, 1);
    white-space: nowrap;
}

.slide-btn:hover .slide-btn-text {
    transform: translateX(-12px);
}

.slide-btn-arrow {
    position: relative;
    z-index: 2;
    width: 20px;
    height: 20px;
    stroke-width: 2.5;
    stroke-linecap: round;
    stroke-linejoin: round;
    fill: none;
    opacity: 0;
    transform: translateX(-15px);
    transition: opacity 0.4s ease 0.1s, transform 0.65s cubic-bezier(0.16, 1, 0.3, 1);
    flex-shrink: 0;
}

.slide-btn:hover .slide-btn-arrow {
    opacity: 1;
    transform: translateX(6px);
}

.slide-btn.secondary {
    background: rgba(255, 255, 255, 0.06);
    box-shadow: inset 0 1px 1px 0 rgba(255, 255, 255, 0.15), inset 0 -1px 1px 0 rgba(0, 0, 0, 0.3), inset 1px 0 1px 0 rgba(255, 255, 255, 0.06), inset -1px 0 1px 0 rgba(255, 255, 255, 0.06), 0 2px 8px rgba(0, 0, 0, 0.3);
}

.slide-btn.secondary .slide-btn-fill {
    background: var(--accent-solid);
}

.slide-btn.secondary .slide-btn-text {
    color: #FFF;
}

.slide-btn.secondary:hover .slide-btn-text {
    color: #000;
}

.slide-btn.secondary .slide-btn-arrow {
    stroke: #000;
}

.slide-btn.secondary:hover {
    box-shadow: inset 0 2px 2px 0 rgba(255, 200, 100, 0.35), inset 0 -2px 2px 0 rgba(0, 0, 0, 0.25), inset 1px 0 1px 0 rgba(255, 180, 50, 0.15), inset -1px 0 1px 0 rgba(255, 180, 50, 0.15), 0 8px 30px rgba(255, 136, 0, 0.3);
}

.slide-btn.primary {
    background: var(--accent-solid);
    box-shadow: inset 0 2px 2px 0 rgba(255, 220, 150, 0.5), inset 0 -2px 2px 0 rgba(0, 0, 0, 0.2), inset 1px 0 1px 0 rgba(255, 200, 100, 0.2), inset -1px 0 1px 0 rgba(255, 200, 100, 0.2), 0 4px 15px rgba(255, 136, 0, 0.3);
}

.slide-btn.primary .slide-btn-fill {
    background: #000;
}

.slide-btn.primary .slide-btn-text {
    color: #000;
}

.slide-btn.primary:hover .slide-btn-text {
    color: #FFF;
}

.slide-btn.primary .slide-btn-arrow {
    stroke: #FFF;
}

.slide-btn.primary:hover {
    box-shadow: inset 0 2px 2px 0 rgba(255, 255, 255, 0.1), inset 0 -2px 2px 0 rgba(0, 0, 0, 0.4), inset 1px 0 1px 0 rgba(255, 255, 255, 0.05), inset -1px 0 1px 0 rgba(255, 255, 255, 0.05), 0 8px 30px rgba(0, 0, 0, 0.5);
}

.pricing-section.active .pricing-card {
    opacity: 1;
    filter: blur(0px);
    transform: translateY(0) scale(1) rotateX(0deg);
}

.pricing-section.active .pricing-card:nth-child(1) {
    transition-delay: 0.1s;
}

.pricing-section.active .pricing-card:nth-child(2) {
    transition-delay: 0.2s;
}

.pricing-section.active .pricing-card:nth-child(3) {
    transition-delay: 0.3s;
}

@media (max-width: 968px) {
    .pricing-grid {
        grid-template-columns: 1fr;
        max-width: 500px;
    }

    .pricing-bg-text {
        font-size: 6rem;
        top: 0%;
    }
}

/* ═══════════════════════════════════════════
           LUXURY FAQ SECTION 
           ═══════════════════════════════════════════ */
.faq-section {
    position: relative;
    width: 100%;
    padding: 150px 20px 200px;
    background: var(--bg-color);
    z-index: 30;
    display: flex;
    flex-direction: column;
    align-items: center;
    overflow: hidden;
}

.faq-bg-text {
    position: relative;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    text-align: center;
    font-size: clamp(10rem, 28vw, 35rem);
    font-weight: 900;
    line-height: 0.85;
    letter-spacing: -0.04em;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.07) 0%, rgba(255, 255, 255, 0.04) 60%, transparent 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    z-index: 1;
    pointer-events: none;
    will-change: transform;
    margin-bottom: -140px;
}

.faq-container {
    width: 100%;
    max-width: 1000px;
    position: relative;
    z-index: 2;
    margin-top: 50px;
}

.faq-list {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.faq-item {
    position: relative;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding: 40px 30px;
    display: grid;
    grid-template-columns: 60px 1fr 60px;
    align-items: start;
    gap: 20px;
    cursor: pointer;
    border-radius: 20px;
    background-color: transparent;
    transition: background-color 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease, opacity 0.6s ease;
    opacity: 0;
    transform: translateY(30px);
}

.faq-section.active .faq-item {
    opacity: 1;
    transform: translateY(0);
}

.faq-section.active .faq-item:nth-child(1) {
    transition-delay: 0.1s;
}

.faq-section.active .faq-item:nth-child(2) {
    transition-delay: 0.2s;
}

.faq-section.active .faq-item:nth-child(3) {
    transition-delay: 0.3s;
}

.faq-section.active .faq-item:nth-child(4) {
    transition-delay: 0.4s;
}

.faq-section.active .faq-item:nth-child(5) {
    transition-delay: 0.5s;
}

.faq-num {
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--text-secondary);
    transition: color 0.3s ease;
    padding-top: 5px;
}

.faq-content {
    display: flex;
    flex-direction: column;
}

.faq-title {
    font-size: clamp(1.5rem, 2.5vw, 2.2rem);
    font-weight: 700;
    color: #FFF;
    transition: color 0.3s ease;
    line-height: 1.2;
    letter-spacing: -0.01em;
}

.faq-answer-wrapper {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows 0.6s cubic-bezier(0.2, 1, 0.3, 1);
}

.faq-answer {
    overflow: hidden;
    opacity: 0;
    transform: translateY(-5px);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.faq-answer p {
    font-size: 1.15rem;
    color: rgba(0, 0, 0, 0.8);
    line-height: 1.6;
    padding-top: 20px;
    font-weight: 600;
}

.faq-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.4s cubic-bezier(0.2, 1, 0.3, 1), border-color 0.4s ease;
}

.faq-icon svg {
    width: 24px;
    height: 24px;
    stroke: #FFF;
    stroke-width: 2;
    fill: none;
    transition: stroke 0.4s ease;
}

.faq-item:hover {
    background-color: var(--accent-solid);
    border-bottom-color: transparent;
    box-shadow: 0 20px 40px rgba(255, 136, 0, 0.2);
    transform: scale(1.02);
    z-index: 2;
}

.faq-item:hover .faq-num,
.faq-item:hover .faq-title {
    color: #000;
}

.faq-item:hover .faq-answer-wrapper {
    grid-template-rows: 1fr;
}

.faq-item:hover .faq-answer {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.5s ease 0.15s, transform 0.5s ease 0.15s;
}

.faq-item:hover .faq-icon {
    transform: rotate(-45deg);
    border-color: #000;
}

.faq-item:hover .faq-icon svg {
    stroke: #000;
}

@media (max-width: 768px) {
    .faq-item {
        grid-template-columns: 40px 1fr 40px;
        padding: 30px 15px;
        gap: 15px;
    }

    .faq-icon {
        width: 40px;
        height: 40px;
    }

    .faq-icon svg {
        width: 20px;
        height: 20px;
    }

    .faq-item:hover {
        transform: scale(1);
    }
}

/* ── FOOTER ── */
.vibely-footer {
    background: var(--bg-color);
    width: 100%;
    position: relative;
    z-index: 40;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.footer-content {
    padding: 80px 60px 0 60px;
    max-width: 1400px;
    width: 100%;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.footer-top {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding-bottom: 40px;
    opacity: 0;
    transform: translateY(40px);
    transition: all 1s cubic-bezier(0.25, 1, 0.5, 1);
}

.ft-email {
    font-size: clamp(2rem, 4.5vw, 4.5rem);
    font-weight: 700;
    color: #FFF;
    text-decoration: none;
    display: inline-block;
    padding-bottom: 5px;
    border-bottom: 2px solid rgba(255, 255, 255, 0.2);
    transition: 0.3s;
}

.ft-email:hover {
    border-color: var(--accent-solid);
    color: var(--accent-solid);
}

.action-box-wrapper {
    position: relative;
    width: 240px;
    height: 160px;
    border-radius: 24px;
    padding: 2px;
    background: rgba(255, 255, 255, 0.08);
    overflow: hidden;
    box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.8);
    transition: 0.3s;
}

.action-box-wrapper::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: conic-gradient(transparent 0deg, transparent 80deg, rgba(255, 154, 32, 0.2) 90deg, #FF9A20 120deg, transparent 150deg);
    animation: borderRotate 5s linear infinite;
    z-index: 0;
}

.action-box-wrapper:hover {
    transform: scale(1.02);
}

.action-box {
    position: relative;
    background: #08080A;
    border-radius: 22px;
    width: 100%;
    height: 100%;
    padding: 30px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    z-index: 1;
}

.ab-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #FFF;
}

.ab-btn {
    background: #000;
    color: #FFF;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 100px;
    padding: 12px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
    cursor: pointer;
    transition: 0.3s;
    font-family: inherit;
    font-size: 1rem;
}

.ab-btn:hover {
    background: var(--accent-solid);
    color: #000;
    border-color: var(--accent-solid);
}

.footer-middle {
    width: 100%;
    display: flex;
    justify-content: flex-start;
    padding: 20px 0 40px 0;
    opacity: 0;
    transform: translateY(40px);
    transition: all 1s cubic-bezier(0.25, 1, 0.5, 1);
    position: relative;
    z-index: 50;
}

.fm-links {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.fm-links a {
    color: #FFF;
    font-size: 1.2rem;
    font-weight: 700;
    transition: 0.3s;
    text-decoration: none;
    display: inline-block;
}

.fm-links a:hover {
    color: var(--accent-solid);
    transform: translateX(5px);
}

.footer-huge {
    font-size: clamp(5rem, 12.5vw, 15rem);
    font-weight: 900;
    color: #FFF;
    text-align: center;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    line-height: 0.75;
    letter-spacing: -0.05em;
    margin-top: 40px;
    opacity: 0;
    filter: blur(8px);
    transform: translateY(80px) scale(0.95);
    transition: all 1.2s cubic-bezier(0.19, 1, 0.22, 1);
    will-change: transform, opacity;
    pointer-events: none;
}

.footer-bottom-bar {
    background: var(--accent-solid);
    color: #000;
    padding: 75px 60px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 800;
    font-size: clamp(1.8rem, 3.5vw, 2.8rem);
    width: 100%;
    position: relative;
    z-index: 60;
    letter-spacing: -0.02em;
}

.fbb-links {
    display: flex;
    gap: 40px;
}

.fbb-links a,
.fbb-center a {
    color: #000;
    transition: 0.3s;
    text-decoration: none;
}

.fbb-links a:hover,
.fbb-center a:hover {
    opacity: 0.6;
}

.vibely-footer.active .footer-top {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.1s;
}

.vibely-footer.active .footer-middle {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.2s;
}

.vibely-footer.active .footer-huge {
    opacity: 1;
    filter: blur(0px);
    transform: translateY(8px) scale(1);
    transition-delay: 0.3s;
}

@media (max-width: 968px) {
    .footer-content {
        padding: 60px 20px 0 20px;
    }

    .footer-top {
        flex-direction: column;
        gap: 40px;
    }

    .ft-email {
        font-size: 2.2rem;
    }

    .action-box-wrapper {
        width: 100%;
        height: auto;
    }

    .action-box {
        flex-direction: row;
        align-items: center;
        gap: 20px;
        padding: 20px;
    }

    .footer-middle {
        justify-content: center;
        text-align: center;
    }

    .fm-links {
        align-items: center;
    }

    .footer-bottom-bar {
        flex-direction: column;
        gap: 30px;
        text-align: center;
        padding: 50px 20px;
        font-size: 1.5rem;
    }
}

/* ═══════════════════════════════════════════
           MODALS BASE (NO FADE EVER - PURE SLIDE)
           ═══════════════════════════════════════════ */
#auth-page,
#workspace-page,
#settingsModal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    opacity: 1 !important;
    /* NO FADE EVER */
    visibility: hidden;
    transform: translateY(-100%);
    /* Start from Top */
    transition: transform 1.2s cubic-bezier(0.85, 0, 0.15, 1), visibility 0s 1.2s;
    filter: blur(0px) !important;
}

#auth-page {
    z-index: 9999;
    background: var(--bg-color);
    display: flex;
}

#workspace-page {
    z-index: 10000;
    background: var(--workspace-bg);
    display: flex;
}

#settingsModal {
    z-index: 20000;
    background: var(--bg-color);
    display: flex;
    overflow: hidden;
}

/* ACTIVE STATE (CENTER) */
#auth-page.active,
#workspace-page.active,
#settingsModal.active {
    transform: translateY(0);
    visibility: visible;
    transition: transform 1.2s cubic-bezier(0.85, 0, 0.15, 1);
}

/* EXIT DOWN STATE (BOTTOM) */
#auth-page.exit-down,
#workspace-page.exit-down,
#settingsModal.exit-down {
    transform: translateY(100%);
    visibility: hidden;
    transition: transform 1.2s cubic-bezier(0.85, 0, 0.15, 1), visibility 0s 1.2s;
}

/* INSTANT RESET TO TOP BACKGROUND HACK */
.instant-reset {
    transition: none !important;
    transform: translateY(-100%) !important;
}


/* AUTH SPECIFIC ITEMS */
.auth-split-container {
    display: flex;
    height: 100vh;
    width: 100%;
    font-family: var(--font-main);
}

.anim-item-wrap {
    transform: translateY(40px);
    opacity: 1;
    /* removed fade here too as per instructions */
    transition: transform 1s cubic-bezier(0.16, 1, 0.3, 1);
    width: 100%;
}

#auth-page.show-content .anim-item-wrap {
    transform: translateY(0);
}

.anim-item {
    transform: translateY(40px);
    opacity: 1;
    transition: transform 1s cubic-bezier(0.16, 1, 0.3, 1);
}

#auth-page.show-content .anim-item {
    transform: translateY(0);
}

.delay-1 {
    transition-delay: 0.4s;
}

.delay-2 {
    transition-delay: 0.5s;
}

.delay-3 {
    transition-delay: 0.6s;
}

.delay-4 {
    transition-delay: 0.7s;
}

.delay-5 {
    transition-delay: 0.8s;
}

.delay-6 {
    transition-delay: 0.9s;
}

.auth-left {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 40px;
    position: relative;
    background: #030304;
    z-index: 5;
}

.auth-left::after {
    content: '';
    position: absolute;
    right: -1px;
    top: 0;
    width: 3px;
    height: 100%;
    background: rgba(255, 255, 255, 0.06);
    z-index: 10;
    overflow: hidden;
    box-shadow: 0 0 8px 2px rgba(255, 136, 0, 0.25), 0 0 20px 4px rgba(255, 136, 0, 0.1);
    -webkit-mask-image: linear-gradient(to bottom, transparent 0%, black 10%, black 90%, transparent 100%);
    mask-image: linear-gradient(to bottom, transparent 0%, black 10%, black 90%, transparent 100%);
}

.auth-left::before {
    content: '';
    position: absolute;
    right: -1px;
    top: 0;
    width: 3px;
    height: 100%;
    z-index: 11;
    overflow: hidden;
    -webkit-mask-image: linear-gradient(to bottom, transparent 0%, black 10%, black 90%, transparent 100%);
    mask-image: linear-gradient(to bottom, transparent 0%, black 10%, black 90%, transparent 100%);
    background: linear-gradient(180deg, rgba(255, 154, 32, 0.03) 0%, rgba(255, 154, 32, 0.06) 20%, rgba(255, 154, 32, 0.15) 35%, rgba(255, 154, 32, 0.4) 42%, #FF9A20 47%, var(--accent-solid) 50%, #FF9A20 53%, rgba(255, 154, 32, 0.4) 58%, rgba(255, 154, 32, 0.15) 65%, rgba(255, 154, 32, 0.06) 80%, rgba(255, 154, 32, 0.03) 100%);
    background-size: 100% 200%;
    animation: dividerFlow 6s ease-in-out infinite alternate;
    box-shadow: 0 0 6px 2px rgba(255, 136, 0, 0.7), 0 0 15px 4px rgba(255, 136, 0, 0.45), 0 0 35px 8px rgba(255, 136, 0, 0.2), 0 0 60px 15px rgba(255, 136, 0, 0.08);
}

@keyframes dividerFlow {
    0% {
        background-position: 0% 0%;
    }

    100% {
        background-position: 0% 100%;
    }
}

.back-btn {
    position: absolute;
    top: 40px;
    left: 40px;
    color: var(--text-secondary);
    font-weight: 600;
    font-size: 1rem;
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    transition: 0.3s;
    font-family: var(--font-main);
}

.back-btn:hover {
    color: #FFF;
    transform: translateX(-5px);
}

.auth-card {
    width: 100%;
    max-width: 420px;
    text-align: center;
}

.auth-logo {
    font-size: 4.5rem;
    font-weight: 900;
    color: #FFF;
    margin-bottom: 30px;
    letter-spacing: -0.05em;
    font-family: var(--font-main);
}

.auth-card h2 {
    font-size: 1.8rem;
    font-weight: 700;
    color: #FFF;
    margin-bottom: 40px;
    line-height: 1.3;
    font-family: var(--font-main);
}

.neo-btn {
    width: 100%;
    padding: 16px 20px;
    border-radius: 12px;
    background-color: #0A0A0A;
    color: #FFF;
    font-family: var(--font-main);
    font-size: 1.1rem;
    font-weight: 800;
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.neo-btn:hover {
    transform: translateY(-2px);
    background-color: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.2);
}

.neo-btn:active {
    transform: translateY(0);
}

.neo-btn svg {
    width: 24px;
    height: 24px;
    min-width: 24px;
}

.submit-arrow-wrapper {
    overflow: hidden;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.submit-arrow-icon {
    width: 20px;
    height: 20px;
    stroke: #FFF;
    stroke-width: 3px;
    fill: none;
    stroke-linecap: round;
    stroke-linejoin: round;
    will-change: transform;
    animation: arrowCycleSmooth 2.5s infinite;
}

.auth-divider {
    display: flex;
    align-items: center;
    margin: 30px 0;
    color: #666;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-family: var(--font-main);
}

.auth-divider::before,
.auth-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: rgba(255, 255, 255, 0.08);
}

.auth-divider span {
    padding: 0 15px;
}

.auth-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
    width: 100%;
}

.input-group input {
    width: 100%;
    padding: 18px 20px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #FFF;
    font-size: 1.05rem;
    font-family: var(--font-main);
    font-weight: 500;
    transition: 0.3s;
}

.input-group input:focus {
    border-color: var(--accent-solid);
    background: rgba(255, 136, 0, 0.05);
    box-shadow: 0 0 15px rgba(255, 136, 0, 0.1);
}

.auth-submit-btn {
    margin-top: 5px;
}

/* ═══════════════════════════════════════════
        AUTH RIGHT PANEL (2-COLUMN MARQUEE)
   ═══════════════════════════════════════════ */
.auth-marquee-grid {
    display: flex;
    justify-content: center;
    gap: 20px;
    height: max-content;
    width: 100%;
    z-index: 2;
}

.auth-col {
    display: flex;
    flex-direction: column;
    gap: 20px;
    width: 50%;
    animation: 50s linear infinite;
    will-change: transform;
}

.auth-col img {
    width: 100%;
    border-radius: 16px;
    object-fit: cover;
    aspect-ratio: 16/9;
    border: none;
    background: #020202;
    opacity: 1;
    pointer-events: none;
    user-select: none;
}

.auth-right {
    flex: 1.2;
    position: relative;
    display: flex;
    flex-direction: row;
    align-items: stretch;
    justify-content: center;
    overflow: hidden;
    background: #020202;
    z-index: 1;
    cursor: grab;
    height: 100vh;
}

.auth-right.is-dragging {
    cursor: grabbing;
}

.auth-right.is-dragging .auth-col {
    animation-play-state: paused !important;
}

.col-up {
    animation-name: marqueeUp;
}

.col-down {
    animation-name: marqueeDown;
}

@keyframes marqueeUp {
    0% {
        transform: translateY(0);
    }

    100% {
        transform: translateY(-50%);
    }
}

@keyframes marqueeDown {
    0% {
        transform: translateY(-50%);
    }

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

.auth-marquee-overlay {
    position: absolute;
    inset: -2px;
    background: linear-gradient(to bottom, #020202 0%, rgba(2, 2, 2, 0.35) 20%, rgba(2, 2, 2, 0.35) 80%, #020202 100%);
    pointer-events: none;
    z-index: 3;
}

/* ── STATS OVERLAY ON RIGHT PANEL ── */
.auth-stats-overlay {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 80px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 10;
    width: 100%;
}

.auth-stats-overlay .stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.auth-stats-overlay .stat-value {
    font-family: var(--font-main);
    font-size: clamp(3rem, 5vw, 4.5rem);
    font-weight: 900;
    line-height: 1;
    color: #FFFFFF;
    font-variant-numeric: tabular-nums;
    display: flex;
    align-items: baseline;
    text-shadow: 0 10px 30px rgba(0, 0, 0, 0.8);
}

.auth-stats-overlay .stat-accent {
    color: var(--accent-solid);
}

.auth-stats-overlay .stat-label {
    color: #DDDDDD;
    font-size: 1.1rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    font-family: var(--font-main);
    margin-top: 10px;
    text-shadow: 0 5px 15px rgba(0, 0, 0, 0.8);
}

@media (max-width: 1024px) {
    .auth-split-container {
        flex-direction: column;
        height: auto;
        min-height: 100vh;
        position: relative;
    }

    .auth-right {
        display: flex;
        position: absolute;
        inset: 0;
        width: 100%;
        height: 100%;
        flex: none;
        z-index: 0;
        opacity: 0.18;
        pointer-events: none;
    }

    .auth-right .auth-stats-overlay {
        display: none;
    }

    .auth-right .auth-marquee-overlay {
        background: linear-gradient(to bottom, #020202 0%, rgba(2, 2, 2, 0.4) 25%, rgba(2, 2, 2, 0.3) 75%, #020202 100%);
    }

    .auth-left::before,
    .auth-left::after {
        display: none;
    }

    .auth-left {
        position: relative;
        z-index: 2;
        background: transparent;
    }
}

/* ═══════════════════════════════════════════
           WORKSPACE / DASHBOARD (ULTIMATE ORANGE THEME)
           ═══════════════════════════════════════════ */

/* ── NEW SIDEBAR ── */
.ws-sidebar {
    width: 280px;
    height: 100%;
    background: #0A0A0C;
    border-right: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    flex-direction: column;
    padding: 25px 20px;
    z-index: 10;
    border-top-right-radius: 20px;
    border-bottom-right-radius: 20px;
}

.ws-logo-wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 35px;
    padding-left: 5px;
}

.ws-logo {
    font-size: 2rem;
    font-weight: 900;
    color: #FFF;
    display: flex;
    align-items: center;
    gap: 5px;
}

.ws-logo span {
    color: var(--accent-solid);
}

/* New Chat Button (Normal Version) */
.ws-new-chat-wrap {
    position: relative;
    width: 100%;
    height: 46px;
    border-radius: 100px;
    padding: 2px;
    background: rgba(255, 255, 255, 0.08);
    cursor: pointer;
    margin-bottom: 25px;
    transition: transform 0.3s ease, background 0.3s ease;
}

.ws-new-chat-wrap:hover {
    transform: scale(1.02);
    background: rgba(255, 255, 255, 0.15);
}

.ws-new-chat-inner {
    position: relative;
    background: #08080A;
    border-radius: 100px;
    color: #FFF;
    font-weight: 700;
    font-family: inherit;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    height: 100%;
    width: 100%;
    z-index: 1;
    transition: color 0.3s ease;
}

.ws-new-chat-wrap:hover .ws-new-chat-inner {
    color: var(--accent-solid);
}

.ws-sidebar-search {
    display: flex;
    align-items: center;
    gap: 12px;
    background: transparent;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding: 12px 5px;
    margin-bottom: 25px;
}

.ws-sidebar-search i {
    color: #888;
    font-size: 0.95rem;
}

.ws-sidebar-search input {
    background: transparent;
    border: none;
    color: #FFF;
    font-family: var(--font-main);
    font-size: 0.95rem;
    width: 100%;
    outline: none;
}

.ws-sidebar-search input::placeholder {
    color: #666;
    font-weight: 600;
}

.ws-nav-section {
    flex: 1;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.ws-nav-section::-webkit-scrollbar {
    display: none;
}

.ws-nav-label {
    font-size: 0.85rem;
    font-weight: 700;
    color: #666;
    margin-bottom: 10px;
    padding-left: 5px;
}

.ws-recent-projects {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 15px;
    margin-bottom: 25px;
    padding: 0 5px;
}

.ws-recent-heading {
    font-size: 0.85rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.5);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 4px;
}

.ws-recent-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.ws-recent-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.2s;
    border: 1px solid transparent;
}

.ws-recent-item:hover {
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(255, 255, 255, 0.06);
}

.ws-recent-thumb img {
    width: 42px;
    height: 42px;
    border-radius: 8px;
    object-fit: cover;
}

.ws-recent-info {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.ws-recent-title {
    color: #DDD;
    font-size: 0.85rem;
    font-weight: 700;
    line-height: 1.2;
}

.ws-recent-time {
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.7rem;
    font-weight: 600;
}

.ws-history-item {
    width: 100%;
    padding: 12px 10px;
    border-radius: 8px;
    color: #CCC;
    font-weight: 700;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    cursor: pointer;
    transition: 0.2s;
    border: none;
    background: transparent;
    text-align: left;
    font-family: var(--font-main);
}

.ws-history-item:hover {
    background: rgba(255, 255, 255, 0.04);
    color: #FFF;
}

.ws-history-item.active {
    color: var(--accent-solid);
}

.ws-sidebar-bottom {
    margin-top: auto;
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding-top: 15px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

/* Updated Sidebar Profile Link */
.ws-user-profile {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 10px;
    margin-top: 5px;
    cursor: pointer;
    border-radius: 12px;
    transition: 0.3s;
    border: 1px solid rgba(255, 255, 255, 0.05);
    background: rgba(255, 255, 255, 0.02);
    position: relative;
    z-index: 50;
}

.ws-user-profile:hover {
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(255, 255, 255, 0.08);
}

.ws-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--accent-solid);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #000;
    font-weight: 800;
    font-size: 1.1rem;
}

.ws-user-info {
    display: flex;
    flex-direction: column;
    pointer-events: none;
}

.ws-user-name {
    color: #FFF;
    font-size: 0.95rem;
    font-weight: 700;
}

.ws-user-email {
    color: var(--text-secondary);
    font-size: 0.8rem;
}

/* ── MAIN CONTENT ── */
.ws-main {
    flex: 1;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
    background-color: var(--workspace-bg);
}

.ws-main::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 40px 40px;
    -webkit-mask-image: radial-gradient(ellipse at center, rgba(0, 0, 0, 1) 10%, rgba(0, 0, 0, 0.1) 80%, transparent 100%);
    mask-image: radial-gradient(ellipse at center, rgba(0, 0, 0, 1) 10%, rgba(0, 0, 0, 0.1) 80%, transparent 100%);
    z-index: 0;
    pointer-events: none;
    box-shadow: inset 0 0 100px rgba(0, 0, 0, 0.9);
}

.ws-main::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image: linear-gradient(rgba(255, 136, 0, 0.03) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 136, 0, 0.03) 1px, transparent 1px);
    background-size: 200px 200px;
    -webkit-mask-image: radial-gradient(ellipse at center, rgba(0, 0, 0, 1) 0%, transparent 70%);
    mask-image: radial-gradient(ellipse at center, rgba(0, 0, 0, 1) 0%, transparent 70%);
    z-index: 0;
    pointer-events: none;
    transform: scale(1.05) perspective(500px) rotateX(10deg);
    transform-origin: top center;
}

.ws-topbar {
    width: 100%;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding: 0 40px;
    position: relative;
    z-index: 10;
}

.ws-plan-badge {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #FFF;
    padding: 6px 14px;
    border-radius: 100px;
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.ws-plan-badge i {
    color: var(--accent-solid);
    font-size: 0.85rem;
}

.ws-credits {
    display: flex;
    align-items: center;
    gap: 10px;
    background: transparent;
    padding: 0;
    cursor: pointer;
}

.v-coin {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: linear-gradient(135deg, #FFFFFF 0%, #A0A0A0 100%);
    color: #0A0A0C;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    font-size: 0.95rem;
    box-shadow: inset 0 2px 4px rgba(255, 255, 255, 0.8), 0 2px 10px rgba(0, 0, 0, 0.5);
    font-family: var(--font-main);
}

.credits-val {
    color: #E0E0E0;
    font-weight: 800;
    font-size: 1.15rem;
    letter-spacing: 0.02em;
    transition: color 0.3s;
}

.ws-credits:hover .credits-val {
    color: #FFF;
}

.ws-generator-area {
    flex: 1;
    position: relative;
    z-index: 5;
    overflow-y: auto;
    height: 100%;
    width: 100%;
}

.ws-generator-area::-webkit-scrollbar {
    display: none;
}

.ws-gen-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 40px;
    min-height: 100%;
}

.ws-tabs {
    display: flex;
    gap: 10px;
    margin-bottom: 25px;
    background: #0A0A0C;
    padding: 6px;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    position: relative;
    z-index: 10;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    transition: all 0.5s ease;
}

.ws-generator-area.is-generating .ws-tabs {
    opacity: 0;
    transform: translateY(-20px);
    pointer-events: none;
    position: absolute;
}

.ws-tab {
    padding: 10px 24px;
    border-radius: 10px;
    color: var(--text-secondary);
    font-weight: 700;
    font-family: inherit;
    font-size: 0.95rem;
    cursor: pointer;
    border: none;
    background: transparent;
    transition: 0.3s;
    display: flex;
    align-items: center;
    gap: 8px;
}

.ws-tab i {
    font-size: 1rem;
}

.ws-tab:hover {
    color: #FFF;
}

.ws-tab.active {
    background: rgba(255, 255, 255, 0.05);
    color: #FFF;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.ws-tab.active i {
    color: var(--accent-solid);
}

.soon-badge {
    background: var(--accent-solid);
    color: #000;
    font-size: 0.6rem;
    font-weight: 900;
    padding: 2px 6px;
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-left: 5px;
}

.ws-audio-wave {
    width: 100%;
    max-width: 600px;
    height: 0;
    margin: 0 auto;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.4s ease, height 0.4s cubic-bezier(0.16, 1, 0.3, 1), margin 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 20;
}

.ws-audio-wave.active {
    height: 130px;
    margin-bottom: 25px;
    opacity: 1;
}

/* ── NEW TECH LOADING ANIMATION ── */
.ws-dynamic-results {
    display: grid;
    gap: 30px;
    width: 100%;
    max-width: 850px;
    opacity: 0;
    visibility: hidden;
    height: 0;
    transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
    margin-bottom: 0;
    position: relative;
    z-index: 50;
}

.ws-generator-area.is-generating .ws-dynamic-results,
.ws-generator-area.has-results .ws-dynamic-results {
    opacity: 1;
    visibility: visible;
    height: auto;
    margin-bottom: 40px;
}

.new-gen-loader {
    width: 100%;
    aspect-ratio: 16/9;
    background: #030304;
    border-radius: 16px;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.9);
}

.new-gen-loader::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 16px;
    border: 2px solid rgba(255, 255, 255, 0.05);
    pointer-events: none;
}

.loader-border-fill {
    position: absolute;
    inset: 0;
    border-radius: 16px;
    border: 3px solid var(--accent-solid);
    clip-path: polygon(0 0, 0% 0, 0% 100%, 0 100%);
    z-index: 5;
    transition: clip-path 0.1s linear;
}

.loader-scan-line {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0%;
    width: 2px;
    background: #FFF;
    box-shadow: 0 0 20px 10px rgba(255, 136, 0, 0.6);
    z-index: 6;
    transition: left 0.1s linear;
}

.loader-scan-glow {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    width: 0%;
    background: linear-gradient(90deg, transparent 0%, rgba(255, 136, 0, 0.15) 100%);
    z-index: 1;
    transition: width 0.1s linear;
}

.loader-pct-text {
    font-size: 5rem;
    font-weight: 900;
    color: #FFF;
    text-shadow: 0 0 20px rgba(255, 136, 0, 0.8);
    z-index: 10;
    font-variant-numeric: tabular-nums;
    letter-spacing: -2px;
    font-family: var(--font-main);
}

/* Final Image Card */
.ws-result-card {
    position: relative;
    width: 100%;
    aspect-ratio: 16/9;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.8), 0 0 40px rgba(255, 136, 0, 0.15);
    opacity: 0;
    transform: scale(0.95) translateY(20px);
    filter: blur(10px);
    transition: all 1s cubic-bezier(0.16, 1, 0.3, 1);
}

.ws-result-card.show-img {
    opacity: 1;
    transform: scale(1) translateY(0);
    filter: blur(0px);
}

.ws-result-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.img-actions {
    position: absolute;
    bottom: 15px;
    right: 15px;
    display: flex;
    gap: 8px;
}

.img-actions .ws-tool-pill {
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(10px);
    color: #FFF;
    border-color: rgba(255, 255, 255, 0.2);
    padding: 6px 12px;
    font-size: 0.8rem;
}

.img-actions .ws-tool-pill:hover {
    background: var(--accent-solid);
    color: #000;
    border-color: var(--accent-solid);
}

/* INPUT BOX */
.ws-input-wrapper-outer {
    position: relative;
    width: 100%;
    max-width: 850px;
    z-index: 50;
    display: flex;
    transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
    margin-bottom: 50px;
}

.ws-generator-area.is-generating .ws-input-wrapper-outer,
.ws-generator-area.has-results .ws-input-wrapper-outer {
    transform: scale(0.95);
}

.ws-input-border-anim {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 35px;
    background: rgba(255, 255, 255, 0.08);
    overflow: hidden;
    box-shadow: 0 30px 60px -10px rgba(0, 0, 0, 0.8), inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.ws-input-border-anim::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: conic-gradient(transparent 0deg, transparent 80deg, rgba(255, 154, 32, 0.2) 90deg, #FF9A20 120deg, transparent 150deg);
    animation: borderRotate 5s linear infinite;
    z-index: 0;
}

.ws-input-container-inner {
    position: relative;
    background: #08080A;
    width: calc(100% - 4px);
    min-height: 220px;
    border-radius: 33px;
    margin: 2px;
    padding: 25px;
    padding-bottom: 100px;
    z-index: 1;
    display: flex;
    flex-direction: column;
}

/* UPLOAD SLOTS INSIDE CHAT BOX */
.ws-upload-area {
    display: flex;
    gap: 15px;
    margin-bottom: 25px;
    width: 100%;
}

.ws-upload-slot {
    flex: 1;
    background: rgba(255, 255, 255, 0.02);
    border: 1px dashed rgba(255, 255, 255, 0.15);
    border-radius: 16px;
    height: 80px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: #888;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: inset 0 0 20px rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px);
    position: relative;
    overflow: visible;
}

.ws-upload-slot input[type="file"] {
    display: none;
}

.ws-upload-slot:hover,
.ws-upload-slot.dragover {
    border-color: var(--accent-solid);
    background: rgba(255, 136, 0, 0.08);
    color: #FFF;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255, 136, 0, 0.15), inset 0 0 20px rgba(0, 0, 0, 0.5);
}

/* ── Hover Popup ── */
.hover-popup {
    position: absolute;
    bottom: calc(100% + 14px);
    left: 50%;
    transform: translateX(-50%) translateY(8px);
    width: 290px;
    background: #0E0C09;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 14px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s ease, transform 0.25s ease;
    z-index: 1000;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.8), 0 0 0 1px rgba(255, 255, 255, 0.03);
    cursor: default;
}

/* Trigger popup internally on slot hover, EXCEPT when slot has file */
.ws-upload-slot:not(.has-file):hover .hover-popup {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
    pointer-events: auto;
}

/* Arrow */
.hover-popup::after {
    content: '';
    position: absolute;
    bottom: -7px;
    left: 50%;
    transform: translateX(-50%) rotate(45deg);
    width: 12px;
    height: 12px;
    background: #0E0C09;
    border-right: 1px solid rgba(255, 255, 255, 0.08);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 0 0 3px 0;
}

.popup-label {
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    color: var(--accent-solid);
    text-transform: uppercase;
    margin-bottom: 12px;
}

.popup-examples {
    display: flex;
    gap: 8px;
}

.example-card {
    flex: 1;
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: border-color 0.2s, transform 0.2s;
    cursor: pointer;
    background: #111;
}

.example-card:hover {
    border-color: var(--accent-solid);
    transform: scale(1.05);
}

.example-card .ex-img {
    width: 100%;
    aspect-ratio: 1/1;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
}

.example-card .ex-caption {
    padding: 6px 4px;
    font-size: 0.55rem;
    font-weight: 600;
    color: #AAA;
    letter-spacing: 0.04em;
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Gradients matching user example */
.face-ex-1 .ex-img {
    background: linear-gradient(160deg, #2a1a0e 0%, #5c3317 60%, #c47a3a 100%);
    font-size: 32px;
}

.face-ex-2 .ex-img {
    background: linear-gradient(160deg, #0d1a2a 0%, #1a3a5c 60%, #3a7ab0 100%);
    font-size: 32px;
}

.face-ex-3 .ex-img {
    background: linear-gradient(160deg, #1a0d0d 0%, #5c1717 60%, #b03a3a 100%);
    font-size: 32px;
}

.prop-ex-1 .ex-img {
    background: linear-gradient(145deg, #111 30%, #222);
    font-size: 30px;
}

.prop-ex-2 .ex-img {
    background: linear-gradient(145deg, #0e1a12 30%, #1a3020);
    font-size: 30px;
}

.prop-ex-3 .ex-img {
    background: linear-gradient(145deg, #1a1500 30%, #2e2500);
    font-size: 30px;
}

.bg-ex-1 {
    background: linear-gradient(180deg, #f5a03a 0%, #d45f00 35%, #8b3a00 70%, #1a0800 100%);
}

.bg-ex-2 {
    background: linear-gradient(180deg, #0a1628 0%, #0d2a4a 40%, #0a4a7a 70%, #0d6ea8 100%);
}

.bg-ex-3 {
    background: linear-gradient(180deg, #1a1a2e 0%, #16213e 40%, #0f3460 70%, #533483 100%);
}

.popup-hint {
    margin-top: 12px;
    font-size: 0.6rem;
    color: #777;
    text-align: center;
    letter-spacing: 0.05em;
}

.ws-upload-slot i {
    font-size: 1.3rem;
    color: rgba(255, 255, 255, 0.5);
    transition: 0.3s;
    position: relative;
    z-index: 2;
}

.ws-upload-slot:hover i {
    color: var(--accent-solid);
}

.ws-upload-slot span {
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    position: relative;
    z-index: 2;
}

.ws-upload-slot.has-file {
    border-style: solid;
    border-color: rgba(255, 136, 0, 0.4);
    background-color: transparent;
}

.ws-upload-slot.has-file::before {
    content: '';
    position: absolute;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.6);
    z-index: 1;
    transition: 0.3s;
}

.ws-upload-slot.has-file:hover::before {
    background-color: rgba(0, 0, 0, 0.4);
}

.ws-upload-slot.has-file i {
    color: #FFF;
}

.ws-upload-slot.has-file span {
    color: #FFF;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.8);
}

/* ── NEW REMOVE UPLOAD BUTTON ── */
.remove-btn {
    position: absolute;
    top: 8px;
    right: 8px;
    width: 26px;
    height: 26px;
    background: var(--accent-solid);
    color: #000;
    border-radius: 50%;
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 10;
    cursor: pointer;
    font-size: 0.9rem;
    font-weight: 900;
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), background 0.2s;
    box-shadow: 0 2px 8px rgba(255, 136, 0, 0.4);
}

.remove-btn:hover {
    transform: scale(1.15) rotate(90deg);
    background: #FF9A20;
    box-shadow: 0 4px 12px rgba(255, 136, 0, 0.6);
}

.ws-upload-slot.has-file .remove-btn {
    display: flex;
}

.text-area-wrapper {
    position: relative;
    width: 100%;
    display: grid;
}

.ws-textarea {
    position: relative;
    width: 100%;
    background: transparent;
    border: none;
    color: #FFF;
    font-size: 1.4rem;
    font-weight: 600;
    font-family: var(--font-main);
    resize: none;
    line-height: 1.5;
    z-index: 5;
}

.ws-textarea::placeholder {
    color: transparent;
}

.ws-tools-row {
    position: absolute;
    bottom: 25px;
    left: 25px;
    display: flex;
    align-items: center;
    gap: 10px;
    z-index: 100;
}

.ws-tool-pill {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #DDD;
    font-size: 0.85rem;
    font-weight: 600;
    padding: 8px 16px;
    border-radius: 100px;
    cursor: pointer;
    transition: 0.3s;
    display: flex;
    align-items: center;
    gap: 6px;
    font-family: inherit;
}

.ws-tool-pill:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #FFF;
}

.ws-tool-pill.active {
    background: rgba(255, 136, 0, 0.15);
    color: var(--accent-solid);
    border-color: var(--accent-solid);
}

/* ── DROPDOWN SYSTEM ── */
.ws-dropdown-wrap {
    position: relative;
    display: inline-block;
}

.ws-dropdown-menu {
    position: absolute;
    bottom: calc(100% + 12px);
    left: 50%;
    transform: translateX(-50%) translateY(10px) scale(0.95);
    background: #101014;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 10px;
    display: flex;
    flex-direction: column;
    min-width: 180px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.9), inset 0 1px 0 rgba(255, 255, 255, 0.05);
    z-index: 100;
}

.ws-dropdown-wrap.open .ws-dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0) scale(1);
}

.dd-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-weight: 700;
    color: #FFF;
    font-size: 0.95rem;
    padding: 5px 10px 15px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    margin-bottom: 10px;
}

.dd-header i.fa-times {
    color: #888;
    cursor: pointer;
    transition: 0.2s;
}

.dd-header i.fa-times:hover {
    color: #FFF;
}

.ws-dropdown-item {
    background: transparent;
    border: none;
    color: #BBB;
    padding: 12px 15px;
    border-radius: 10px;
    text-align: left;
    font-family: var(--font-main);
    font-weight: 700;
    font-size: 0.95rem;
    cursor: pointer;
    transition: 0.2s;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
}

.ws-dropdown-item:hover:not(:disabled) {
    background: rgba(255, 255, 255, 0.05);
    color: #FFF;
}

.ws-dropdown-item.active {
    color: var(--accent-solid);
    background: rgba(255, 136, 0, 0.08);
    border: 1px solid rgba(255, 136, 0, 0.2);
}

.disabled-pill {
    opacity: 0.5;
    cursor: not-allowed !important;
    color: #777 !important;
}

.ws-right-tools {
    position: absolute;
    bottom: 25px;
    right: 25px;
    display: flex;
    align-items: center;
    gap: 10px;
    z-index: 100;
}

.ws-icon-btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #999;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: 0.3s;
}

.ws-icon-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #FFF;
}

/* ── PREMIUM ORANGE GENERATE BUTTON ── */
.ws-generate-btn-container {
    position: absolute;
    bottom: -65px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 200;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.ws-generate-bg-cutout {
    padding: 4px;
    background: var(--workspace-bg);
    border-radius: 100px;
    border: 1px solid rgba(255, 136, 0, 0.15);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.8);
}

.ws-gen-btn-premium {
    width: 170px;
    height: 48px;
    border-radius: 100px;
    border: none;
    font-size: 1.05rem;
    font-weight: 800;
    font-family: var(--font-main);
    background: linear-gradient(135deg, #FFAA40, var(--accent-solid));
    color: #000;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    box-shadow: 0 0 20px rgba(255, 136, 0, 0.3), inset 0 2px 2px rgba(255, 255, 255, 0.3);
    transition: transform 0.3s cubic-bezier(0.25, 1, 0.5, 1), box-shadow 0.3s;
}

.ws-gen-btn-premium:hover {
    transform: translateY(-3px);
    box-shadow: 0 0 35px rgba(255, 136, 0, 0.5), inset 0 2px 2px rgba(255, 255, 255, 0.4);
}

.ws-gen-btn-premium:active {
    transform: translateY(1px);
}

.btn-text-default,
.btn-text-hover {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: transform 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.btn-text-hover {
    transform: translateY(100%);
    color: #000;
}

.ws-gen-btn-premium:hover .btn-text-default {
    transform: translateY(-100%);
}

.ws-gen-btn-premium:hover .btn-text-hover {
    transform: translateY(0);
}

/* ═══════════════════════════════════════════
           SETTINGS MODAL SIDEBAR & CONTENT 
           ═══════════════════════════════════════════ */

.sm-sidebar {
    width: 280px;
    background: #0A0A0C;
    padding: 30px 20px;
    border-right: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    flex-direction: column;
    height: 100vh;
    z-index: 10;
}

.sm-logo-wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 40px;
    padding-left: 5px;
}

.sm-nav {
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex: 1;
}

.sm-nav-btn {
    width: 100%;
    padding: 12px 15px;
    border-radius: 12px;
    color: var(--text-secondary);
    font-weight: 700;
    font-family: inherit;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    transition: 0.3s;
    border: none;
    background: transparent;
    text-align: left;
}

.sm-nav-btn:hover {
    background: rgba(255, 255, 255, 0.03);
    color: #FFF;
}

.sm-nav-btn.active {
    background: rgba(255, 136, 0, 0.08);
    color: var(--accent-solid);
}

.sm-nav-btn i {
    width: 20px;
    text-align: center;
    font-size: 1.1rem;
}

.sm-user-wrap {
    margin-top: auto;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px;
}

.sm-back-btn {
    width: 100%;
    padding: 14px;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    color: #FFF;
    font-weight: 700;
    font-family: inherit;
    font-size: 0.9rem;
    cursor: pointer;
    transition: 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 20px;
}

.sm-back-btn:hover {
    background: rgba(255, 255, 255, 0.05);
}

.sm-content {
    flex: 1;
    background: var(--settings-bg);
    height: 100vh;
    position: relative;
    overflow-y: auto;
    overflow-x: hidden;
}

.sm-inner {
    padding: 50px 80px;
    min-height: 100%;
    width: 100%;
    display: flex;
    flex-direction: column;
}

.sm-header {
    text-align: center;
    margin-bottom: 50px;
}

.sm-header i {
    font-size: 1.5rem;
    color: var(--accent-solid);
    margin-bottom: 15px;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 45px;
    height: 45px;
    background: rgba(255, 136, 0, 0.1);
    border-radius: 14px;
    border: 1px solid rgba(255, 136, 0, 0.2);
}

.sm-header h2 {
    font-size: 2.2rem;
    font-weight: 800;
    color: #FFF;
    margin-bottom: 10px;
}

.sm-header p {
    color: var(--text-secondary);
    font-size: 1.05rem;
}

.sm-tab-pane {
    display: none;
    max-width: 900px;
    width: 100%;
    margin: 0 auto;
    padding-bottom: 80px;
}

.sm-tab-pane.active {
    display: block;
}

.sm-card {
    background: var(--card-bg);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    padding: 30px;
    margin-bottom: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.sm-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
}

.sm-card-title {
    font-size: 1.2rem;
    font-weight: 800;
    color: #FFF;
}

.sm-btn-small {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #FFF;
    padding: 6px 14px;
    border-radius: 100px;
    font-family: inherit;
    font-weight: 600;
    cursor: pointer;
    transition: 0.3s;
    font-size: 0.85rem;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.sm-btn-small:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.2);
}

.sm-profile-pic {
    display: flex;
    justify-content: center;
    margin-bottom: 30px;
}

.sm-avatar-large {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: #000;
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: 900;
    color: #FFF;
    position: relative;
}

.sm-avatar-cam {
    position: absolute;
    bottom: 0;
    right: 0;
    background: #222;
    border-radius: 50%;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    border: 2px solid var(--card-bg);
    cursor: pointer;
    color: #AAA;
}

.sm-row {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
}

.sm-col {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.sm-label {
    font-size: 0.8rem;
    font-weight: 700;
    color: #888;
}

.sm-input {
    background: #15151A;
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 12px 15px;
    border-radius: 8px;
    color: #FFF;
    font-family: inherit;
    font-size: 1rem;
    font-weight: 600;
    width: 100%;
}

.sm-value-text {
    font-size: 1rem;
    font-weight: 700;
    color: #FFF;
}

.pref-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.pref-row:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

/* ── WORKSPACE TOOLS (RIGHT) ── */
.ws-right-tools {
    position: absolute;
    bottom: 25px;
    right: 25px;
    display: flex;
    align-items: center;
    gap: 12px;
    z-index: 100;
}

.ws-icon-btn {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #BBB;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s;
    font-size: 0.95rem;
}

.ws-icon-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #FFF;
    transform: scale(1.05);
}

.ws-icon-btn.recording {
    animation: micPulse 1.5s infinite;
    background: rgba(255, 136, 0, 0.15) !important;
    border-color: rgba(255, 136, 0, 0.4) !important;
    color: var(--accent-solid) !important;
}

@keyframes micPulse {
    0% {
        box-shadow: 0 0 0 0 rgba(255, 136, 0, 0.4);
    }

    70% {
        box-shadow: 0 0 0 10px rgba(255, 136, 0, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(255, 136, 0, 0);
    }
}

/* ── TOAST NOTIFICATIONS ── */
.toast-container {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 999999 !important;
    display: flex;
    flex-direction: column;
    gap: 10px;
    pointer-events: none;
    width: 100%;
    max-width: 400px;
    padding: 0 20px;
}

.toast-item {
    width: 100%;
    background: #16161D;
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #FFF;
    padding: 14px 18px;
    border-radius: 14px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    gap: 12px;
    pointer-events: all;
    animation: toastIn 0.4s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    position: relative;
    overflow: hidden;
}

.toast-item.exit {
    animation: toastOut 0.4s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.toast-item.error {
    border-left: 4px solid var(--v-fire);
}

.toast-item.success {
    border-left: 4px solid #00DD88;
}

.toast-item.warning {
    border-left: 4px solid #FFBB00;
}

.toast-icon {
    font-size: 1.1rem;
    flex-shrink: 0;
}

.toast-item.error .toast-icon {
    color: var(--v-fire);
}

.toast-item.success .toast-icon {
    color: #00DD88;
}

.toast-item.warning .toast-icon {
    color: #FFBB00;
}

.toast-content {
    flex: 1;
    font-size: 0.9rem;
    font-weight: 700;
    line-height: 1.4;
    color: #eee;
}

.toast-progress {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 2px;
    background: rgba(255, 255, 255, 0.1);
    width: 100%;
}

.toast-progress-bar {
    height: 100%;
    background: currentColor;
    width: 100%;
    transform-origin: left;
    animation: progressLinear var(--duration) linear forwards;
}

@keyframes toastIn {
    from {
        transform: translateY(-20px) scale(0.95);
        opacity: 0;
    }

    to {
        transform: translateY(0) scale(1);
        opacity: 1;
    }
}

@keyframes toastOut {
    from {
        transform: translateY(0);
        opacity: 1;
    }

    to {
        transform: translateY(-20px);
        opacity: 0;
    }
}

@keyframes progressLinear {
    from {
        transform: scaleX(1);
    }

    to {
        transform: scaleX(0);
    }
}

/* ── INVOICE STYLES ── */
.invoice-item-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #15151A;
    padding: 15px 20px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
}

.invoice-item-row:hover {
    background: #1A1A22;
    border-color: rgba(255, 255, 255, 0.1);
}

.invoice-left-side {
    display: flex;
    align-items: center;
    gap: 15px;
}

.invoice-icon {
    background: rgba(255, 136, 0, 0.1);
    color: var(--accent-solid);
    width: 40px;
    height: 40px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.invoice-details {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.invoice-plan-name {
    font-weight: 700;
    color: #FFF;
    font-size: 1rem;
}

.invoice-plan-credits {
    font-size: 0.8rem;
    color: #888;
    font-weight: 600;
    margin-left: 5px;
}

.invoice-timestamp {
    font-size: 0.82rem;
    color: #777;
}

.invoice-right-side {
    display: flex;
    align-items: center;
    gap: 20px;
}

.invoice-total-price {
    color: #FFF;
    font-weight: 800;
    font-size: 1.1rem;
}

.invoice-pdf-btn {
    background: rgba(255, 255, 255, 0.05);
    border: none;
    color: #FFF;
    padding: 6px 14px;
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.invoice-pdf-btn:hover {
    background: rgba(255, 255, 255, 0.12);
}

.invoice-empty-state {
    padding: 20px;
    text-align: center;
    color: #555;
    font-size: 0.9rem;
    font-style: italic;
}


@keyframes skeleton-pulse {
    0% {
        background-color: rgba(255, 255, 255, 0.05);
    }

    100% {
        background-color: rgba(255, 255, 255, 0.15);
    }
}

.skeleton-loader {
    animation: skeleton-pulse 1.5s infinite alternate;
    border-radius: 6px;
    color: transparent !important;
    user-select: none;
    pointer-events: none;
}

.skeleton-loader * {
    visibility: hidden;
}

/* --- V-FORGE LOADER STYLES --- */
:root {
    --v-fire: #FF7A1A;
    --v-fire-bright: #FFB84D;
    --v-fire-gold: #FFD166;
    --v-card-bg: #0A0400;
    --v-border: rgba(255, 122, 26, 0.09);
    --v-muted: rgba(255, 140, 30, 0.45);
    --v-text-dim: rgba(255, 255, 255, 0.28);
    --v-text-mid: rgba(255, 255, 255, 0.55);
}

.v-forge-card {
    width: 100%;
    aspect-ratio: 16/9;
    background: var(--v-card-bg);
    border-radius: 16px;
    border: 1px solid var(--v-border);
    overflow: hidden;
    box-shadow: 0 0 0 1px rgba(255, 100, 0, 0.03), 0 24px 70px rgba(0, 0, 0, 0.85), 0 0 100px rgba(255, 50, 0, 0.04);
    position: relative;
    display: flex;
    flex-direction: column;
}

.canvas-zone {
    position: relative;
    flex: 1;
    background: #030100;
    overflow: hidden;
    min-height: 250px;
}

.canvas-zone canvas {
    width: 100%;
    height: 100%;
    display: block;
}

.v-forge-card .burst-canvas {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 5;
}

.hc {
    position: absolute;
    width: 14px;
    height: 14px;
    pointer-events: none;
    z-index: 6;
    opacity: 0.3;
    transition: opacity 0.6s, border-color 0.6s;
}

.hc.tl {
    top: 10px;
    left: 10px;
    border-top: 1.5px solid var(--v-fire);
    border-left: 1.5px solid var(--v-fire);
}

.hc.tr {
    top: 10px;
    right: 10px;
    border-top: 1.5px solid var(--v-fire);
    border-right: 1.5px solid var(--v-fire);
}

.hc.bl {
    bottom: 10px;
    left: 10px;
    border-bottom: 1.5px solid var(--v-fire);
    border-left: 1.5px solid var(--v-fire);
}

.hc.br {
    bottom: 10px;
    right: 10px;
    border-bottom: 1.5px solid var(--v-fire);
    border-right: 1.5px solid var(--v-fire);
}

.hc.lit {
    opacity: 1;
    border-color: var(--v-fire-gold) !important;
}

.v-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    display: flex;
    align-items: center;
    gap: 7px;
    background: rgba(3, 1, 0, 0.72);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 122, 26, 0.13);
    border-radius: 20px;
    padding: 5px 12px;
    z-index: 10;
}

.pdot {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--v-fire);
    box-shadow: 0 0 6px var(--v-fire);
    animation: pdot 1.5s ease-in-out infinite;
}

@keyframes pdot {

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

    50% {
        opacity: 0.18;
        transform: scale(0.45)
    }
}

.badge-txt {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 9px;
    font-weight: 600;
    color: var(--v-muted);
    letter-spacing: 2px;
}

.result-layer {
    position: absolute;
    inset: 0;
    z-index: 15;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.2s;
}

.result-layer.reveal {
    opacity: 1;
    pointer-events: all;
}

.result-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transform: scale(1.06);
    transition: transform 1.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.result-layer.reveal .result-img {
    transform: scale(1);
}

.result-layer::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.12) 0%, transparent 28%, transparent 72%, rgba(0, 0, 0, 0.35) 100%);
    pointer-events: none;
}

.v-card-body {
    padding: 15px 20px 20px;
    border-top: 1px solid rgba(255, 122, 26, 0.055);
    display: flex;
    flex-direction: column;
    background: var(--v-card-bg);
    position: relative;
    z-index: 10;
    margin-bottom: 0;
}

.phase-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.phase-name {
    font-size: 12px;
    font-weight: 400;
    color: var(--v-text-mid);
    letter-spacing: 0.15px;
    transition: color 0.5s;
}

.phase-name.done {
    color: var(--v-fire-gold);
    font-weight: 500;
}

.timeline-wrap {
    margin-bottom: 15px;
    position: relative;
}

.timeline-track {
    height: 3px;
    background: rgba(255, 255, 255, 0.04);
    border-radius: 4px;
    position: relative;
    overflow: visible;
}

.timeline-fill {
    height: 100%;
    width: 0%;
    border-radius: 4px;
    background: linear-gradient(90deg, rgba(180, 40, 0, 0.5) 0%, #FF5500 30%, #FF8800 65%, #FFD166 100%);
    transition: width 0.08s linear;
    position: relative;
    box-shadow: 0 0 4px rgba(255, 136, 0, 0.6), 0 0 12px rgba(255, 100, 0, 0.35), 0 0 28px rgba(255, 60, 0, 0.15);
}

.timeline-dots {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    transform: translateY(-50%);
    pointer-events: none;
}

.tdot {
    position: absolute;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 122, 26, 0.18);
    transform: translate(-50%, -50%);
    top: 50%;
    transition: background 0.3s, border-color 0.3s, box-shadow 0.3s;
}

.tdot.lit {
    background: var(--v-fire-bright);
    border-color: var(--v-fire-bright);
    box-shadow: 0 0 6px var(--v-fire), 0 0 14px rgba(255, 136, 0, 0.5);
}

.timeline-head {
    position: absolute;
    right: -6px;
    top: 50%;
    transform: translateY(-50%);
    width: 13px;
    height: 13px;
    border-radius: 50%;
    background: radial-gradient(circle, #fff 10%, #FFD166 45%, rgba(255, 136, 0, 0) 100%);
    box-shadow: 0 0 6px #FFD166, 0 0 16px rgba(255, 180, 0, 0.7), 0 0 30px rgba(255, 100, 0, 0.3);
    transition: opacity 0.3s;
}

.timeline-fill.done .timeline-head {
    opacity: 0;
}

.numbers-row {
    display: flex;
    align-items: stretch;
    gap: 0;
    margin-bottom: 0;
}

.pct-block {
    display: flex;
    align-items: flex-end;
    gap: 4px;
    padding-right: 24px;
    border-right: 1px solid rgba(255, 122, 26, 0.08);
}

.pct-num {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 62px;
    line-height: 0.82;
    letter-spacing: -2px;
    color: var(--v-fire-bright);
    filter: drop-shadow(0 0 12px rgba(255, 136, 0, 0.22));
    transition: color 0.5s, filter 0.5s;
    font-variant-numeric: tabular-nums;
}

.pct-num.done {
    color: var(--v-fire-gold);
    filter: drop-shadow(0 0 20px rgba(255, 210, 80, 0.4));
}

.pct-sym {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 24px;
    color: rgba(255, 122, 26, 0.35);
    padding-bottom: 5px;
    letter-spacing: -1px;
}

.stats-block {
    flex: 1;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-around;
    padding-left: 20px;
}

.sitem {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    padding: 0 15px;
    border-left: 1px solid rgba(255, 122, 26, 0.06);
}

.sitem:first-child {
    border-left: none;
    padding-left: 0;
}

.s-val {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 20px;
    line-height: 1;
    color: var(--v-fire);
    transition: color 0.4s;
    font-variant-numeric: tabular-nums;
}

.s-val.done {
    color: var(--v-fire-gold);
}

.s-key {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 7.5px;
    color: var(--v-text-dim);
    letter-spacing: 1px;
    margin-top: 2px;
    text-transform: uppercase;
}

.v-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    opacity: 0;
    transform: translateY(8px);
    transition: opacity 0.45s, transform 0.45s;
    pointer-events: none;
    position: absolute;
    inset: 0;
    background: var(--v-card-bg);
    padding: 15px;
    padding-top: 20px;
    z-index: 20;
}

.v-actions.show {
    opacity: 1;
    transform: translateY(0);
    pointer-events: all;
}

.v-btn-wrapper {
    position: relative;
    border-radius: 14px;
    padding: 2px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.06);
}

.v-btn-stroke-anim {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: conic-gradient(transparent 0deg, transparent 80deg, rgba(255, 154, 32, 0.2) 90deg, #FF9A20 120deg, transparent 150deg);
    animation: borderRotate 5s linear infinite;
    z-index: 0;
    pointer-events: none;
}

.v-btn {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 13px 0;
    border-radius: 12px;
    font-family: 'Urbanist', sans-serif;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.3px;
    cursor: pointer;
    transition: all 0.2s;
    outline: none;
    width: 100%;
    height: 100%;
}

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

.v-btn-view {
    background: var(--v-card-bg);
    border: none;
    color: var(--v-fire);
}

.v-btn-view:hover {
    background: #120C02;
    color: var(--v-fire-bright);
}

.v-btn-dl {
    background: var(--v-card-bg);
    border: none;
    color: var(--v-fire);
}

.v-btn-dl:hover {
    background: #120C02;
    color: var(--v-fire-bright);
}

/* ═══ YouTube-Style Lightbox ═══ */
.lightbox {
    position: fixed;
    inset: 0;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.35s;
}

.lightbox.open {
    opacity: 1;
    pointer-events: all;
}

.lb-bg {
    position: absolute;
    inset: 0;
    background: rgba(2, 1, 0, 0.96);
    backdrop-filter: blur(28px) saturate(0.3);
}

.lb-yt-layout {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 24px;
    width: 92vw;
    max-width: 1400px;
    max-height: 92vh;
    overflow-y: auto;
    overflow-x: hidden;
    padding: 30px;
    transform: scale(0.9) translateY(30px);
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    scrollbar-width: thin;
    scrollbar-color: rgba(255, 136, 0, 0.2) transparent;
}

.lb-yt-layout::-webkit-scrollbar {
    width: 6px;
}

.lb-yt-layout::-webkit-scrollbar-track {
    background: transparent;
}

.lb-yt-layout::-webkit-scrollbar-thumb {
    background: rgba(255, 136, 0, 0.2);
    border-radius: 3px;
}

.lightbox.open .lb-yt-layout {
    transform: scale(1) translateY(0);
}

.lb-close {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(20, 16, 8, 0.9);
    border: 1px solid rgba(255, 122, 26, 0.2);
    color: #aaa;
    font-size: 16px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
    z-index: 50;
    backdrop-filter: blur(10px);
}

.lb-close:hover {
    background: rgba(255, 122, 26, 0.15);
    color: var(--accent-solid);
    border-color: var(--accent-solid);
    transform: scale(1.1) rotate(90deg);
}

.lb-yt-main {
    display: flex;
    flex-direction: column;
    gap: 16px;
    min-width: 0;
}

.lb-yt-player {
    position: relative;
    width: 100%;
    border-radius: 16px;
    overflow: hidden;
    background: #080602;
    border: 1px solid rgba(255, 122, 26, 0.1);
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.6);
    aspect-ratio: 16/9;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lb-yt-player img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.lb-sweep-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 2;
    background: linear-gradient(105deg, transparent 40%, rgba(255, 255, 255, 0.08) 45%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.08) 55%, transparent 60%);
    background-size: 250% 100%;
    animation: lightSweep 4s ease-in-out infinite;
}

@keyframes lightSweep {
    0% {
        background-position: 150% center;
    }

    100% {
        background-position: -50% center;
    }
}

.lb-yt-info {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.lb-yt-title {
    font-family: 'Urbanist', sans-serif;
    font-size: 1.25rem;
    font-weight: 700;
    color: #fff;
    line-height: 1.35;
    margin: 0;
}

.lb-yt-meta-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
}

.lb-yt-channel {
    display: flex;
    align-items: center;
    gap: 12px;
}

.lb-yt-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lb-yt-avatar img {
    width: 80%;
    height: 80%;
    object-fit: contain;
    display: block;
}

.lb-yt-channel-info {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.lb-yt-channel-name {
    font-weight: 700;
    font-size: 0.95rem;
    color: #fff;
}

.lb-yt-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.lb-yt-stats {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 9px 18px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.04);
    color: #ddd;
    font-family: 'Urbanist', sans-serif;
    font-size: 0.85rem;
    font-weight: 700;
}

.lb-yt-stats i {
    font-size: 0.8rem;
    color: #aaa;
    margin-right: 4px;
}

.lb-yt-action-btn {
    display: flex;
    align-items: center;
    gap: 7px;
    padding: 9px 18px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: #ccc;
    font-family: 'Urbanist', sans-serif;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    white-space: nowrap;
}

.lb-yt-action-btn:hover {
    background: rgba(255, 136, 0, 0.12);
    border-color: rgba(255, 136, 0, 0.3);
    color: var(--accent-solid);
}

.lb-yt-action-btn i {
    font-size: 0.8rem;
}

/* Sidebar */
.lb-yt-sidebar {
    display: flex;
    flex-direction: column;
    gap: 12px;
    min-width: 0;
    max-height: calc(92vh - 60px);
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: rgba(255, 136, 0, 0.15) transparent;
}

.lb-yt-sidebar::-webkit-scrollbar {
    width: 4px;
}

.lb-yt-sidebar::-webkit-scrollbar-track {
    background: transparent;
}

.lb-yt-sidebar::-webkit-scrollbar-thumb {
    background: rgba(255, 136, 0, 0.15);
    border-radius: 2px;
}

.lb-yt-sidebar-header {
    font-size: 0.85rem;
    font-weight: 700;
    color: #888;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    padding-bottom: 8px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.lb-yt-suggestion {
    display: flex;
    flex-direction: column;
    gap: 4px;
    cursor: pointer;
    border-radius: 8px;
    padding: 12px;
    transition: background 0.2s;
    flex-shrink: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.lb-yt-suggestion:hover {
    background: rgba(255, 255, 255, 0.06);
}

.lb-yt-suggestion:last-child {
    border-bottom: none;
}

.lb-yt-sug-info {
    display: flex;
    flex-direction: column;
    gap: 3px;
    min-width: 0;
}

.lb-yt-sug-title {
    font-size: 0.82rem;
    font-weight: 600;
    color: #ddd;
    line-height: 1.35;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.lb-yt-sug-channel {
    font-size: 0.72rem;
    color: #666;
    font-weight: 500;
}

.lb-yt-sug-views {
    font-size: 0.7rem;
    color: #555;
    font-weight: 500;
}

@media (max-width:900px) {
    .lb-yt-layout {
        grid-template-columns: 1fr;
        max-height: 95vh;
        padding: 16px;
        gap: 20px;
    }

    .lb-yt-sidebar {
        max-height: 300px;
    }

    .lb-close {
        top: 6px;
        right: 6px;
    }
}

/* Prevent image dragging globally */
img {
    -webkit-user-drag: none;
    -khtml-user-drag: none;
    -moz-user-drag: none;
    -o-user-drag: none;
    user-select: none;
}

/* Sidebar Free Plan Badge */
.ws-plan-badge-sidebar {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 800;
    color: #fff;
    letter-spacing: 0.5px;
}

.ws-plan-badge-sidebar i {
    color: var(--v-fire);
    font-size: 0.8rem;
}

/* Sidebar Recent Projects */
.ws-recent-projects {
    margin-top: 30px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.ws-recent-heading {
    font-size: 0.75rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.4);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 12px;
    padding-left: 4px;
}

.ws-recent-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.ws-recent-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.2s;
    border: 1px solid transparent;
}

.ws-recent-item:hover {
    background: rgba(255, 255, 255, 0.03);
    border-color: rgba(255, 255, 255, 0.05);
}

.ws-recent-thumb {
    width: 44px;
    height: 44px;
    border-radius: 8px;
    overflow: hidden;
    background: #111;
    flex-shrink: 0;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.ws-recent-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.ws-recent-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
    overflow: hidden;
}

.ws-recent-title {
    font-size: 0.85rem;
    font-weight: 600;
    color: #eee;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.ws-recent-time {
    font-size: 0.7rem;
    color: #777;
    font-weight: 500;
}

/* ============================================
   iPad Responsive Fixes — antigravity
   Covers: 744px – 1366px (portrait + landscape)
   ============================================ */

@media only screen and (min-width: 744px) and (max-width: 1366px) {

    /* ─────────────────────────────────────────
     1. NAVBAR — Force visible, sized for iPad
     Kills the entrance animation that can leave
     the nav invisible if body.site-loaded fires
     before compositing is ready on iOS Safari.
     ───────────────────────────────────────── */
    .glass-nav-container {
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
        transform: translateX(-50%) translateY(0) !important;
        -webkit-transform: translateX(-50%) translateY(0) !important;
        animation: none !important;
        pointer-events: auto !important;
        -webkit-backface-visibility: hidden;
        backface-visibility: hidden;
        top: 30px !important;
        z-index: 99999 !important;
    }

    /* Compact the nav pill so it fits on any iPad width */
    .glass-nav {
        display: flex !important;
        visibility: visible !important;
        gap: 20px !important;
        padding: 12px 28px !important;
        max-width: 92vw !important;
        width: max-content !important;
        pointer-events: auto !important;
    }

    .nav-link {
        font-size: 0.95rem !important;
    }

    .glass-nav-container.scrolled {
        top: 16px !important;
    }

    .glass-nav-container.scrolled .glass-nav {
        gap: 18px !important;
        padding: 10px 24px !important;
    }

    /* ─────────────────────────────────────────
     2. HERO MARQUEE — Both rows must show
     The wrapper is position:absolute height:100vh
     with flex + gap. On iPad the second marquee
     row can be pushed below the viewport because
     justify-content:center stacks them tightly
     against the middle. We spread them to the
     top/bottom thirds of the hero instead.
     ───────────────────────────────────────── */
    .marquee-wrapper {
        height: 100vh !important;
        display: flex !important;
        flex-direction: column !important;
        /* Rows pushed up — behind hero headline, not behind input box */
        justify-content: flex-start !important;
        align-items: flex-start !important;
        padding-top: 18vh !important;
        padding-bottom: 0 !important;
        gap: 28px !important;
        overflow: hidden !important;
        -webkit-mask-image: linear-gradient(to right, transparent 0%, black 20%, black 80%, transparent 100%) !important;
        mask-image: linear-gradient(to right, transparent 0%, black 20%, black 80%, transparent 100%) !important;
    }

    .marquee-row {
        flex-shrink: 0 !important;
    }

    /* ─────────────────────────────────────────
     3. HERO TEXT + INPUT
     ───────────────────────────────────────── */
    h1 {
        font-size: clamp(2.8rem, 5.5vw, 5.5rem) !important;
        min-height: auto !important;
        margin-bottom: 40px !important;
    }

    .input-wrapper-outer {
        max-width: 88% !important;
    }

    /* ─────────────────────────────────────────
     5. SCROLL TEXT — ONE DOLLAR / ONE PROMPT / ONE THUMBNAIL
     The clamp() lower bound of 5rem is fine on desktop
     but on iPad portrait (744px) the words overflow the
     viewport width because white-space:nowrap + translateX
     JS offsets can push lines off the screen on first render.
     We reduce font-size and let the JS animation still work
     for the parallax sliding — we only fix the base size.
     ───────────────────────────────────────── */
    .scroll-text-section {
        overflow: hidden !important;
        padding: 40px 0 !important;
    }

    .st-line {
        /* Tighter vw so the full word fits even at 744px */
        font-size: clamp(4rem, 10vw, 12rem) !important;
        /* Ensure lines can slide without causing horizontal scroll */
        max-width: 100vw !important;
    }

    /* ─────────────────────────────────────────
     6. PRICING BG TEXT — "Pricing" watermark
     The problem: font-size uses clamp(10rem,28vw,35rem).
     At 820px (iPad 10th gen portrait) 28vw = 229px ≈ 14.3rem,
     which hits the 10rem floor — fine in theory. But the
     JS parallax sets `transform: translateX(-50%) translateY(Xpx)`
     which overrides our CSS. The REAL issue is that
     `overflow: hidden` on .pricing-section clips the text
     when the JS translateY pushes it too far up/down.
     Fix: contain the overflow with explicit sizing + adjust
     the negative margin that overlaps the grid.
     ───────────────────────────────────────── */
    .pricing-section {
        overflow: visible !important;
        padding: 60px 15px 120px !important;
    }

    .pricing-bg-text {
        /* Scale down the massive watermark proportionally */
        font-size: clamp(8rem, 22vw, 28rem) !important;
        /* Proportional negative margin so it still peeks behind cards */
        margin-bottom: -6vw !important;
        /* Guarantee it isn't clipped by ancestor overflow:hidden */
        position: relative !important;
        z-index: 1 !important;
        /* Safari -webkit-text-fill-color + background-clip fix */
        -webkit-background-clip: text !important;
        background-clip: text !important;
        -webkit-text-fill-color: transparent !important;
    }

    /* ─────────────────────────────────────────
     7. PRICING GRID — Keep 3 columns on iPad
     The existing breakpoint at 968px converts to
     1-column. We override that for iPad range.
     ───────────────────────────────────────── */
    .pricing-grid {
        grid-template-columns: repeat(3, 1fr) !important;
        gap: 14px !important;
        max-width: 96% !important;
        margin: 0 auto !important;
        padding: 0 !important;
    }

    .pricing-card {
        padding: 24px 18px !important;
    }

    .pricing-card.popular-wrapper {
        padding: 2px !important;
    }

    .pricing-card-inner {
        padding: 22px 16px !important;
    }

    .pc-price {
        font-size: clamp(2.2rem, 3.5vw, 3rem) !important;
    }

    .pc-desc {
        font-size: 0.9rem !important;
        min-height: auto !important;
        margin-bottom: 20px !important;
    }

    .pc-features {
        gap: 10px !important;
        margin-bottom: 24px !important;
    }

    .pc-features li {
        font-size: 0.88rem !important;
    }

    .slide-btn {
        height: 46px !important;
    }

    .slide-btn-text {
        font-size: 0.92rem !important;
    }

    /* ─────────────────────────────────────────
     7b. SETTINGS SIDEBAR — Icon-only on iPad
     ───────────────────────────────────────── */
    .sm-sidebar {
        width: 64px !important;
        padding: 20px 0 !important;
        align-items: center !important;
        gap: 0 !important;
    }

    .sm-logo-wrap {
        display: none !important;
    }

    .sm-nav {
        align-items: center !important;
        gap: 4px !important;
        width: 100% !important;
    }

    .sm-nav-btn {
        width: 48px !important;
        height: 48px !important;
        padding: 0 !important;
        justify-content: center !important;
        border-radius: 14px !important;
        gap: 0 !important;
        font-size: 0 !important;
    }

    .sm-nav-btn span,
    .sm-nav-btn> :not(i) {
        display: none !important;
    }

    .sm-nav-btn i {
        font-size: 1.1rem !important;
        width: auto !important;
    }

    .sm-user-wrap {
        display: none !important;
    }

    .sm-back-btn {
        width: 48px !important;
        height: 48px !important;
        padding: 0 !important;
        justify-content: center !important;
        border-radius: 14px !important;
        margin-top: auto !important;
        font-size: 0 !important;
        gap: 0 !important;
    }

    .sm-back-btn i {
        font-size: 1rem !important;
    }

    .sm-content {
        flex: 1 !important;
        width: calc(100% - 64px) !important;
    }

    .sm-inner {
        padding: 30px 24px !important;
    }

    /* ─────────────────────────────────────────
     7c. BILLING — Manage Plan & Invoices fix
     ───────────────────────────────────────── */
    .sm-btn-small {
        white-space: nowrap !important;
        padding: 6px 12px !important;
        font-size: 0.8rem !important;
    }

    .invoice-item-row {
        padding: 12px 14px !important;
        gap: 10px !important;
    }

    .invoice-icon {
        width: 34px !important;
        height: 34px !important;
        font-size: 1rem !important;
        border-radius: 8px !important;
    }

    .invoice-left-side {
        gap: 10px !important;
    }

    .invoice-plan-name {
        font-size: 0.88rem !important;
    }

    .invoice-plan-credits {
        font-size: 0.72rem !important;
    }

    .invoice-timestamp {
        font-size: 0.75rem !important;
    }

    .invoice-total-price {
        font-size: 0.95rem !important;
    }

    .invoice-right-side {
        gap: 12px !important;
    }

    .invoice-pdf-btn {
        padding: 5px 10px !important;
        font-size: 0.78rem !important;
    }

    /* ─────────────────────────────────────────
     7d. PRICING GRID — 3 columns on iPad
     ───────────────────────────────────────── */

    /* ─────────────────────────────────────────
     8. FAQ BG TEXT — "FAQ" watermark
     Same overflow clipping issue as Pricing.
     The word "FAQ" is short so it renders at
     the clamp max (35rem) on wide iPads — that's
     too large and the JS translateY can push it
     out of the visible area.
     ───────────────────────────────────────── */
    .faq-section {
        overflow: visible !important;
        padding: 100px 15px 150px !important;
    }

    .faq-bg-text {
        font-size: clamp(8rem, 22vw, 28rem) !important;
        margin-bottom: -6vw !important;
        position: relative !important;
        z-index: 1 !important;
        -webkit-background-clip: text !important;
        background-clip: text !important;
        -webkit-text-fill-color: transparent !important;
    }

    /* ─────────────────────────────────────────
     9. FAQ ITEM — smaller columns on iPad
     ───────────────────────────────────────── */
    .faq-container {
        max-width: 95% !important;
        margin-top: 30px !important;
    }

    .faq-item {
        grid-template-columns: 48px 1fr 50px !important;
        padding: 30px 20px !important;
        gap: 15px !important;
    }

    .faq-title {
        font-size: clamp(1.2rem, 2vw, 1.8rem) !important;
    }

    /* ─────────────────────────────────────────
     10. FOOTER — horizontal scroll prevention
     ───────────────────────────────────────── */
    .footer-content {
        padding: 60px 30px 0 !important;
    }

    .ft-email {
        font-size: clamp(1.4rem, 3vw, 3rem) !important;
    }

    /* ─────────────────────────────────────────
     11. GLOBAL — prevent any horizontal scroll
     ───────────────────────────────────────── */
    body {
        overflow-x: hidden !important;
    }

    #landing-page {
        overflow-x: hidden !important;
    }

    /* ─────────────────────────────────────────
     12. WORKSPACE ACTIVE — hide navbar
     The iPad !important rules above override the
     JS nav.style.display = 'none'. This rule lets
     the nav disappear correctly when workspace opens.
     ───────────────────────────────────────── */
    body.workspace-active .glass-nav-container {
        display: none !important;
        opacity: 0 !important;
        pointer-events: none !important;
        visibility: hidden !important;
    }

    /* ─────────────────────────────────────────
     13. WORKSPACE TABS — compress to fit iPad width
     Prompt / Recreate / Analyze / Edit / Title
     were overflowing on small iPads (744px-834px).
     Reduce padding, font-size, and gap so all tabs
     fit in one row without horizontal scroll.
     ───────────────────────────────────────── */
    .ws-tabs {
        gap: 4px !important;
        padding: 5px !important;
        flex-wrap: nowrap !important;
        overflow: hidden !important;
    }

    .ws-tab {
        padding: 8px 12px !important;
        font-size: 0.78rem !important;
        gap: 5px !important;
        white-space: nowrap !important;
        flex-shrink: 1 !important;
        min-width: 0 !important;
    }

    .ws-tab i {
        font-size: 0.85rem !important;
        flex-shrink: 0 !important;
    }

    .soon-badge {
        font-size: 0.5rem !important;
        padding: 2px 4px !important;
        margin-left: 2px !important;
    }

    /* On very small iPads (744px–800px) hide the icon to save space */
    @media only screen and (min-width: 744px) and (max-width: 800px) {
        .ws-tab i {
            display: none !important;
        }

        .ws-tab {
            padding: 8px 9px !important;
            font-size: 0.72rem !important;
        }
    }
}

/* --- Responsive Sidebar (Burger Menu & Overlay) for iPad & Mobile --- */
.ws-burger-btn {
    display: none;
    background: transparent;
    border: none;
    color: #FFF;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 8px;
    z-index: 100;
    transition: 0.3s;
}

.ws-burger-btn:hover {
    color: var(--accent-solid);
    transform: scale(1.05);
}

.ws-sidebar-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(4px);
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

body.ws-sidebar-active .ws-sidebar-overlay {
    opacity: 1;
    visibility: visible;
}

@media (max-width: 1366px) {
    .ws-burger-btn {
        display: flex !important;
    }

    .ws-main .ws-topbar {
        padding-left: 20px !important;
    }

    .ws-sidebar {
        position: fixed !important;
        left: -320px !important;
        top: 0 !important;
        height: 100vh !important;
        width: 280px !important;
        z-index: 1005 !important;
        background: #0A0A0C !important;
        border-right: 1px solid rgba(255, 255, 255, 0.05) !important;
        box-shadow: 20px 0 50px rgba(0, 0, 0, 0.8) !important;
        border-radius: 0 !important;
        transition: left 0.45s cubic-bezier(0.16, 1, 0.3, 1) !important;
    }

    body.ws-sidebar-active .ws-sidebar {
        left: 0 !important;
    }

    .ws-mobile-plan-badge {
        display: inline-flex !important;
    }

    .ws-mobile-logo {
        display: flex !important;
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
        align-items: center;
        z-index: 1001;
        /* Above others */
        font-size: 2.3rem !important;
    }
}

.ws-mobile-plan-badge,
.ws-mobile-logo {
    display: none;
}

/* ═══════════════════════════════════════════════════════════
   🔧 WORKSPACE MOBILE FIXES — phones only (max 743px)
   ═══════════════════════════════════════════════════════════ */



/* ── 320px–374px ── */




/* ═══════════════════════════════════════════════════════════
   📱 TOPBAR & TOOLS — تعديلات محددة على الموبايل
   ═══════════════════════════════════════════════════════════ */



/* إخفاء كلمة "Credits" كاملة — الرقم فقط */


/* الـ dropdown يفتح لفوق على موبايل — overflow visible عشان ما يتقطع */


/* Background slot — النص في المنتصف عمودياً */


/* ═══════════════════════════════════════════════════════════
   🏠 HERO SECTION — إصلاحات الموبايل
   ═══════════════════════════════════════════════════════════ */


/* ── NAVBAR: إجبار الظهور على موبايل ── */


/* ── منع الـ horizontal scroll نهائياً ── */


/* ── Navbar: logo يسار / Sign In يمين ── */


/* ═══════════════════════════════════════════════════════════
   ✨ FEATURES SECTION — إظهار الـ satellites على موبايل كـ grid
   ═══════════════════════════════════════════════════════════ */


/* ── Features grid fix: أحجام متساوية ومحاذاة صحيحة ── */




/* ── Footer email size on mobile ── */


/* ── قلل الشادو على الصور — رفع opacity الـ marquee ── */
@media (min-width: 744px) {
    .marquee-wrapper {
        opacity: 0.88 !important;
    }
}

/* ═══════════════════════════════════════════════════════════
   ⚙️ SETTINGS SIDEBAR — أيقونات فقط على موبايل
   ═══════════════════════════════════════════════════════════ */


/* ═══════════════════════════════════════════════════════════
   ⚙️ SETTINGS CONTENT — تنسيق على موبايل
   ═══════════════════════════════════════════════════════════ */


/* ── Invoice icon fix on mobile ── */

/* ═══════════════════════════════════════════════════════════
   📱 MOBILE — max-width: 743px (phones only)
   ═══════════════════════════════════════════════════════════ */
@media (max-width: 743px) {

    /* ── TOPBAR: 3 أعمدة واضحة [burger|badge] [logo] [credits] ── */
    .ws-topbar {
        display: flex !important;
        flex-direction: row !important;
        align-items: center !important;
        justify-content: space-between !important;
        padding: 0 14px !important;
        height: 56px !important;
        position: relative !important;
        z-index: 20 !important;
        gap: 0 !important;
    }

    /* الجانب الأيسر: burger فقط */
    .ws-topbar>div:first-child {
        flex: 1 !important;
        display: flex !important;
        align-items: center !important;
        justify-content: flex-start !important;
        gap: 8px !important;
    }

    /* الـ plan badge صغيرة جانب burger */
    .ws-mobile-plan-badge {
        display: inline-flex !important;
        padding: 4px 8px !important;
        font-size: 0.65rem !important;
    }

    /* المنتصف: logo — نزيل الـ absolute ونخليه static */
    .ws-mobile-logo {
        display: flex !important;
        position: static !important;
        transform: none !important;
        left: auto !important;
        align-items: center !important;
        justify-content: center !important;
        flex-shrink: 0 !important;
    }

    .ws-mobile-logo img {
        height: 1rem !important;
    }

    /* الجانب الأيمن: credits */
    .ws-credits {
        flex: 1 !important;
        justify-content: flex-end !important;
        gap: 6px !important;
    }

    .v-coin {
        width: 20px !important;
        height: 20px !important;
        font-size: 0.75rem !important;
    }

    .credits-val {
        font-size: 0.82rem !important;
    }

    /* ── TABS: scrollable أفقياً، كل الـ tabs مرئية ── */
    .ws-tabs {
        display: flex !important;
        flex-wrap: nowrap !important;
        overflow-x: auto !important;
        overflow-y: hidden !important;
        scrollbar-width: none !important;
        -ms-overflow-style: none !important;
        -webkit-overflow-scrolling: touch !important;
        gap: 2px !important;
        padding: 4px !important;
        border-radius: 12px !important;
        width: 100% !important;
        margin-bottom: 14px !important;
        box-shadow: none !important;
    }

    .ws-tabs::-webkit-scrollbar {
        display: none !important;
    }

    .ws-tab {
        flex-shrink: 0 !important;
        white-space: nowrap !important;
        padding: 8px 12px !important;
        font-size: 0.78rem !important;
        border-radius: 8px !important;
        min-height: 38px !important;
        gap: 4px !important;
    }

    .ws-tab i {
        display: none !important;
    }

    .soon-badge {
        font-size: 0.46rem !important;
        padding: 1px 4px !important;
        margin-left: 2px !important;
    }

    /* ── GEN INNER: محتوى في الوسط عمودياً مع padding مناسب ── */
    .ws-gen-inner {
        padding: 20px 16px 90px !important;
        justify-content: center !important;
        align-items: center !important;
        min-height: calc(100dvh - 56px) !important;
    }

    /* ── INPUT BOX: full width ── */
    .ws-input-wrapper-outer {
        max-width: 100% !important;
        width: 100% !important;
        margin-bottom: 70px !important;
    }

    .ws-input-container-inner {
        min-height: 160px !important;
        padding: 16px 16px 85px !important;
        border-radius: 20px !important;
    }

    .ws-input-border-anim {
        border-radius: 22px !important;
    }

    /* textarea — منع zoom على iOS */
    .ws-textarea {
        font-size: 16px !important;
        line-height: 1.4 !important;
    }

    /* ── UPLOAD SLOTS ── */
    .ws-upload-area {
        gap: 8px !important;
        margin-bottom: 14px !important;
    }

    .ws-upload-slot {
        height: 68px !important;
        border-radius: 12px !important;
        gap: 5px !important;
    }

    .ws-upload-slot i {
        font-size: 1rem !important;
    }

    .ws-upload-slot span {
        font-size: 0.6rem !important;
    }

    .hover-popup {
        display: none !important;
    }

    /* ── TOOLS ROW: scrollable أفقياً ── */
    .ws-tools-row {
        left: 12px !important;
        bottom: 12px !important;
        right: 60px !important;
        gap: 6px !important;
        overflow-x: auto !important;
        scrollbar-width: none !important;
        flex-wrap: nowrap !important;
    }

    .ws-tools-row::-webkit-scrollbar {
        display: none !important;
    }

    .ws-tool-pill {
        flex-shrink: 0 !important;
        padding: 6px 10px !important;
        font-size: 0.73rem !important;
        white-space: nowrap !important;
        height: 34px !important;
    }

    /* ── GENERATE BUTTON ── */
    .ws-generate-btn-container {
        bottom: -52px !important;
    }

    .ws-gen-btn-premium {
        width: 160px !important;
        height: 46px !important;
        font-size: 0.95rem !important;
    }

    /* ── RESULTS ── */
    .ws-dynamic-results {
        max-width: 100% !important;
        gap: 16px !important;
    }

    .ws-main {
        overflow-x: hidden !important;
    }

    .ws-generator-area {
        overflow-x: hidden !important;
    }

    .ws-sidebar {
        width: 260px !important;
    }

    /* 1. إخفاء STARTER badge من الـ topbar — تبقى فقط داخل المنيو */
    .ws-mobile-plan-badge {
        display: none !important;
    }

    /* 2. إخفاء كلمة "Credits" — إبقاء الرقم + V فقط */
    .credits-val::after {
        /* نخفي النص الأصلي ونعرض الرقم فقط عبر JS — لكن CSS نقلّص المساحة */
    }

    /* الحل الأنظف: نخفي الكلمة بـ font-size:0 على الجزء النصي
       لكن credits-val هو span واحد، فنكتفي بتقليص padding */
    .ws-credits {
        gap: 5px !important;
    }

    /* 3. تصغير الـ 3 pills ومحاذاة المايك معهم على نفس الخط */

    /* ws-tools-row + ws-right-tools على نفس السطر */
    .ws-input-container-inner {
        padding-bottom: 60px !important;
    }

    .ws-tools-row {
        bottom: 12px !important;
        left: 12px !important;
        right: 46px !important;
        gap: 5px !important;
        display: flex !important;
        align-items: center !important;
        flex-wrap: nowrap !important;
        /* overflow: visible حتى تفتح الـ dropdowns لفوق بدون قطع */
        overflow: visible !important;
    }

    /* تصغير الـ pills */
    .ws-tool-pill {
        padding: 5px 9px !important;
        font-size: 0.7rem !important;
        height: 30px !important;
        gap: 4px !important;
        border-radius: 100px !important;
        flex-shrink: 0 !important;
        white-space: nowrap !important;
    }

    .ws-tool-pill i {
        font-size: 0.7rem !important;
    }

    /* المايك في نفس مستوى الـ pills — bottom و height متطابقان */
    .ws-right-tools {
        bottom: 12px !important;
        right: 10px !important;
        display: flex !important;
        align-items: center !important;
    }

    .ws-icon-btn {
        width: 30px !important;
        height: 30px !important;
        font-size: 0.75rem !important;
    }

    .credits-val {
        font-size: 0.82rem !important;
        /* نخفي الكلمة بجعل color شفاف بعد الرقم — 
           الحل: word-spacing ضخم يدفع "Credits" خارج الـ container */
        word-spacing: 999px !important;
        max-width: 48px !important;
        overflow: hidden !important;
        white-space: nowrap !important;
    }

    .ws-dropdown-wrap {
        position: relative !important;
    }

    .ws-dropdown-menu {
        bottom: calc(100% + 10px) !important;
        top: auto !important;
        left: 0 !important;
        transform: translateX(0) translateY(10px) scale(0.95) !important;
        z-index: 9999 !important;
    }

    .ws-dropdown-wrap.open .ws-dropdown-menu {
        transform: translateX(0) translateY(0) scale(1) !important;
    }

    .ws-input-container-inner {
        overflow: visible !important;
    }

    .ws-input-wrapper-outer {
        overflow: visible !important;
    }

    /* Generate button — ينزل أكثر للأسفل عشان ما يغطي الـ dropdown */
    .ws-generate-btn-container {
        bottom: -72px !important;
    }

    .ws-input-wrapper-outer {
        margin-bottom: 86px !important;
    }

    #mainFaceSlot,
    #propSlot,
    [for="upload-bg"] {
        flex-direction: column !important;
        justify-content: center !important;
        align-items: center !important;
        text-align: center !important;
        gap: 4px !important;
    }

    /* span داخل background slot يصبح column عشان Soon تنزل تحت */
    [for="upload-bg"]>span {
        display: inline-flex !important;
        flex-direction: column !important;
        align-items: center !important;
        gap: 3px !important;
        line-height: 1.3 !important;
    }

    [for="upload-bg"]>span .soon-badge {
        margin-left: 0 !important;
        display: inline-block !important;
    }

    .hero-section {
        padding-top: 70px !important;
        justify-content: center !important;
        padding-bottom: 40px !important;
        min-height: 100svh !important;
    }

    /* النص — في الأسفل فوق الـ input */
    h1 {
        font-size: clamp(2.2rem, 8.5vw, 3.2rem) !important;
        min-height: auto !important;
        margin-bottom: 24px !important;
        padding: 0 16px !important;
        z-index: 3 !important;
        position: relative !important;
        order: 2 !important;
    }

    .hero-line {
        white-space: normal !important;
        text-align: center !important;
        line-height: 1.15 !important;
    }

    /* الـ input — في الأسفل + تصغير */
    .input-wrapper-outer {
        position: relative !important;
        z-index: 4 !important;
        max-width: calc(100% - 32px) !important;
        order: 3 !important;
        border-radius: 22px !important;
        padding: 1.5px !important;
    }

    .input-container {
        min-height: 90px !important;
        padding: 20px 20px 60px !important;
        border-radius: 21px !important;
    }

    .real-input,
    .animated-placeholder {
        font-size: 1.1rem !important;
        line-height: 1.3 !important;
        padding-right: 50px !important;
    }

    .generate-btn {
        width: 42px !important;
        height: 42px !important;
        bottom: 12px !important;
        right: 14px !important;
    }

    /* ── الـ marquee: صفّان فوق النص متقاربان ── */
    .marquee-wrapper {
        position: absolute !important;
        top: 0 !important;
        left: 0 !important;
        width: 100% !important;
        height: 100% !important;
        display: flex !important;
        flex-direction: column !important;
        justify-content: center !important;
        padding-bottom: 28vh !important;
        gap: 8px !important;
        z-index: 2 !important;
        opacity: 0.6 !important;
    }

    /* تصغير الـ cards */
    .yt-card {
        width: 160px !important;
    }

    .yt-thumb {
        height: 90px !important;
    }

    .marquee-row {
        gap: 12px !important;
    }

    .glass-nav-container {
        opacity: 1 !important;
        transform: translateX(-50%) translateY(0) !important;
        animation: none !important;
        top: 16px !important;
        width: auto !important;
        max-width: calc(100% - 32px) !important;
    }

    .glass-nav {
        width: auto !important;
        justify-content: center !important;
        gap: 20px !important;
        padding: 10px 20px !important;
        border-radius: 100px !important;
    }

    /* إخفاء روابط الوسط — يبقى الشعار وSign In فقط */
    .nav-link:not(.sign-in-nav) {
        display: none !important;
    }

    .nav-divider {
        display: none !important;
    }

    .nav-v-logo {
        margin-right: 0 !important;
    }

    .sign-in-nav {
        font-size: 0.78rem !important;
        font-weight: 700 !important;
        min-height: auto !important;
        padding: 0 !important;
        background: transparent !important;
        border: none !important;
        border-radius: 0 !important;
        color: #fff !important;
        gap: 5px !important;
    }

    html,
    body {
        overflow-x: hidden !important;
        max-width: 100vw !important;
        position: relative !important;
    }

    /* الـ navbar على موبايل — عريض أولاً ويصغر عند السكرول */
    .glass-nav-container {
        left: 60px !important;
        right: 60px !important;
        transform: none !important;
        width: auto !important;
        max-width: none !important;
        transition: left 0.6s cubic-bezier(0.25, 1, 0.3, 1),
                    right 0.6s cubic-bezier(0.25, 1, 0.3, 1),
                    top 0.6s cubic-bezier(0.25, 1, 0.3, 1) !important;
    }

    .glass-nav-container.scrolled {
        left: 25% !important;
        right: 25% !important;
        top: 12px !important;
    }

    .glass-nav {
        justify-content: space-between !important;
        width: 100% !important;
        padding: 8px 20px !important;
        border-radius: 16px !important;
        gap: 20px !important;
        transition: all 0.6s cubic-bezier(0.25, 1, 0.3, 1) !important;
    }

    .glass-nav-container.scrolled .glass-nav {
        padding: 6px 14px !important;
        border-radius: 14px !important;
        background: rgba(10, 10, 12, 0.9) !important;
    }

    .ft-email {
        font-size: 1.2rem !important;
    }

    .sm-sidebar {
        width: 64px !important;
        padding: 20px 0 !important;
        align-items: center !important;
        gap: 0 !important;
    }

    /* إخفاء اللوجو */
    .sm-logo-wrap {
        display: none !important;
    }

    /* الـ nav أيقونات فقط في المنتصف */
    .sm-nav {
        align-items: center !important;
        gap: 4px !important;
        width: 100% !important;
    }

    .sm-nav-btn {
        width: 48px !important;
        height: 48px !important;
        padding: 0 !important;
        justify-content: center !important;
        border-radius: 14px !important;
        gap: 0 !important;
    }

    /* إخفاء النص — الأيقونة فقط */
    .sm-nav-btn span,
    .sm-nav-btn> :not(i) {
        display: none !important;
    }

    /* النص الموجود مباشرة في الـ button بدون span */
    .sm-nav-btn {
        font-size: 0 !important;
    }

    .sm-nav-btn i {
        font-size: 1.1rem !important;
        width: auto !important;
    }

    /* إخفاء user wrap والـ back button */
    .sm-user-wrap {
        display: none !important;
    }

    .sm-back-btn {
        width: 48px !important;
        height: 48px !important;
        padding: 0 !important;
        justify-content: center !important;
        border-radius: 14px !important;
        margin-top: auto !important;
        font-size: 0 !important;
        gap: 0 !important;
    }

    .sm-back-btn i {
        font-size: 1rem !important;
    }

    /* توسيع الـ content ليأخذ باقي المساحة */
    .sm-content {
        flex: 1 !important;
        width: calc(100% - 64px) !important;
    }

    .sm-inner {
        padding: 24px 16px !important;
    }

    .sm-header {
        margin-bottom: 24px !important;
    }

    .sm-header h2 {
        font-size: 1.5rem !important;
    }

    .sm-header p {
        font-size: 0.9rem !important;
    }

    .sm-card {
        padding: 18px !important;
        border-radius: 16px !important;
        margin-bottom: 16px !important;
    }

    .sm-card-title {
        font-size: 1rem !important;
    }

    /* الأعمدة تصبح عمود واحد */
    .sm-row {
        flex-direction: column !important;
        gap: 12px !important;
    }

    /* pref-row */
    .pref-row {
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 6px !important;
        padding: 12px 0 !important;
    }

    /* الأرقام الكبيرة في billing */
    #subAmount {
        font-size: 1.8rem !important;
    }

    /* invoice items */
    .invoice-item {
        flex-wrap: wrap !important;
        gap: 8px !important;
    }

    /* pricing grid داخل settings */
    .pricing-grid {
        grid-template-columns: 1fr !important;
    }

    .sm-btn-small {
        font-size: 0.75rem !important;
        padding: 5px 10px !important;
    }

    .sm-input {
        font-size: 16px !important;
    }

    .invoice-icon {
        width: 44px !important;
        height: 44px !important;
        font-size: 1.3rem !important;
        border-radius: 12px !important;
        flex-shrink: 0 !important;
    }

    .invoice-item-row {
        padding: 12px 14px !important;
        gap: 10px !important;
    }

    .invoice-left-side {
        gap: 10px !important;
        min-width: 0 !important;
    }

    .invoice-plan-name {
        font-size: 0.9rem !important;
    }

    .invoice-right-side {
        flex-direction: column !important;
        align-items: flex-end !important;
        gap: 6px !important;
        flex-shrink: 0 !important;
    }

    .invoice-total-price {
        font-size: 1rem !important;
    }

    /* ═══════════════════════════════════════════
       🔐 AUTH PAGE — تنسيق موبايل
       ═══════════════════════════════════════════ */
    #auth-page {
        overflow-y: auto !important;
        overflow-x: hidden !important;
    }

    .auth-split-container {
        flex-direction: column !important;
        min-height: 100vh !important;
        height: auto !important;
        position: relative !important;
    }

    .auth-right {
        display: flex !important;
        position: absolute !important;
        inset: 0 !important;
        width: 100% !important;
        height: 100% !important;
        flex: none !important;
        z-index: 0 !important;
        opacity: 0.18 !important;
        pointer-events: none !important;
    }

    .auth-right .auth-stats-overlay {
        display: none !important;
    }

    .auth-right .auth-marquee-overlay {
        background: linear-gradient(to bottom, #020202 0%, rgba(2, 2, 2, 0.4) 25%, rgba(2, 2, 2, 0.3) 75%, #020202 100%) !important;
    }

    .auth-left::before,
    .auth-left::after {
        display: none !important;
    }

    .auth-left {
        position: relative !important;
        z-index: 2 !important;
        padding: 24px 20px !important;
        justify-content: flex-start !important;
        padding-top: 70px !important;
        min-height: 100vh !important;
        background: transparent !important;
    }

    .back-btn {
        top: 20px !important;
        left: 20px !important;
        font-size: 0.85rem !important;
        gap: 6px !important;
    }

    .auth-card {
        max-width: 100% !important;
        width: 100% !important;
    }

    .auth-logo {
        font-size: 2.8rem !important;
        margin-bottom: 16px !important;
    }

    .auth-card h2 {
        font-size: 1.2rem !important;
        margin-bottom: 28px !important;
        line-height: 1.4 !important;
    }

    .neo-btn {
        padding: 14px 16px !important;
        font-size: 0.95rem !important;
        border-radius: 12px !important;
        gap: 10px !important;
    }

    .neo-btn svg {
        width: 20px !important;
        height: 20px !important;
        min-width: 20px !important;
    }

    .auth-divider {
        margin: 20px 0 !important;
        font-size: 0.7rem !important;
    }

    .auth-form {
        gap: 12px !important;
    }

    .input-group input {
        padding: 14px 16px !important;
        font-size: 0.95rem !important;
        border-radius: 12px !important;
    }

    .auth-submit-btn {
        margin-top: 4px !important;
    }
}

/* ── 320px–374px ── */
@media (max-width: 374px) {
    .ws-topbar {
        padding: 0 10px !important;
        height: 52px !important;
    }

    .ws-tab {
        padding: 7px 10px !important;
        font-size: 0.72rem !important;
    }

    .ws-upload-slot {
        height: 58px !important;
    }

    .ws-gen-inner {
        padding: 16px 12px 90px !important;
    }

    .ws-input-container-inner {
        padding: 14px 14px 82px !important;
    }
}