body{
    height: 100%;
    width: 100%;
    margin: 0%;
    padding: 0%;
}
:root {
    --navbar-height: 80px;
}

.navbar{

    position:fixed;

    top:0;

    left:0;

    width:100%;
    height: var(--navbar-height);    

    z-index:1000;

    background: black;

    backdrop-filter:blur(10px);

    border-top:2px solid #ff2d2d;

    transition:.3s;

}


.nav-container{

    width:90%;

    max-width:1300px;

    margin:auto;

    display:flex;

    justify-content:space-between;

    align-items:center;

    height:80px;

}


/* ===============================
LOGO
================================ */

.logo{

    display:flex;

    align-items:center;

    gap:12px;

    font-size:1.5rem;

    font-weight:600;

    letter-spacing:.5px;

}

.logo img{

    width:55px;

    height:55px;

    border-radius:50%;

}
.logo .PPT{
    color: #d60606;
    font-family: Impact, Haettenschweiler, 'Arial Narrow Bold', sans-serif;
}

.logo .fusion{

    color:#d60606;

    font-weight:400;

    font-family: Impact, Haettenschweiler, 'Arial Narrow Bold', sans-serif;

}


/* ===============================
NAV LINKS
================================ */

.nav-links{

    display:flex;

    align-items:center;

    gap:35px;

}

.nav-links a{

    position:relative;

    color:white;

    font-size:1rem;

    transition:.3s;

    font-family:Impact, Haettenschweiler, 'Arial Narrow Bold', sans-serif;

}


/* Hover */

.nav-links a:hover{

    color:#ff5555;

}


/* Animated Underline */

.nav-links a::after{

    content:"";

    position:absolute;

    left:0;

    bottom:-6px;

    width:0;

    height:2px;

    background:#ff4444;

    transition:.3s;

}

.nav-links a:hover::after{

    width:100%;

}


/* Active Link */

.nav-links .active{

    color:#ff5555;

}

.nav-links .active::after{

    width:100%;

}


/* ===============================
SIGNUP BUTTON
================================ */

.signup-btn{

    padding:10px 22px;

    background:#a00d18;

    border-radius:30px;

    transition:.3s;

}

.signup-btn:hover{

    background:#d91828;

    color:white !important;

    transform:translateY(-2px);

    box-shadow:0 8px 20px rgba(255,0,0,.35);

}

.signup-btn::after{

    display:none;

}
.main-body {
    min-height: calc(100vh - var(--navbar-height));
    background:
        radial-gradient(
            circle at 70% 40%,
            rgba(93, 92, 255, 0.25),
            transparent 35%
        ),
        radial-gradient(
            circle at 20% 20%,
            rgba(0, 200, 255, 0.15),
            transparent 30%
        ),
        #050505;

    overflow: hidden;
}


.intro-section {

    max-width: 1400px;
    margin: auto;

    padding: 100px 70px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 80px;

}


.intro-content {

    width: 50%;

}


.tag {

    display: inline-block;

    padding: 8px 18px;

    border-radius: 30px;

    background: rgba(255,255,255,0.08);

    border: 1px solid rgba(255,255,255,0.15);

    color: #bcbcbc;

    font-size: 14px;

    margin-bottom: 25px;

}


.intro-content h1 {

    font-size: 70px;

    line-height: 1.05;

    letter-spacing: -2px;

    color: white;

    margin-bottom: 25px;

}


.intro-content p {

    color: #a7a7a7;

    font-size: 20px;

    line-height: 1.6;

    max-width: 560px;

    margin-bottom: 40px;

}



.intro-buttons {

    display: flex;

    gap: 20px;

}



.primary-btn,
.secondary-btn {

    padding: 15px 32px;

    border-radius: 12px;

    text-decoration: none;

    font-weight: 600;

    transition: .3s ease;

}



.primary-btn {

    color:white;

    background:
    linear-gradient(
        135deg,
        #635bff,
        #00c6ff
    );

    box-shadow:
    0 0 30px rgba(99,91,255,.4);

}



.primary-btn:hover {

    transform: translateY(-4px);

}



.secondary-btn {

    color:white;

    border:1px solid rgba(255,255,255,.2);

    background:rgba(255,255,255,.05);

    backdrop-filter:blur(10px);

}



.secondary-btn:hover {

    background:rgba(255,255,255,.12);

}
.presentation-preview {

    width:50%;

    position:relative;

    display:flex;

    justify-content:center;

}



.slide-card {

    width:520px;

    height:330px;

    border-radius:25px;

    background:
    rgba(255,255,255,.08);

    backdrop-filter:
    blur(20px);

    border:
    1px solid rgba(255,255,255,.15);

    padding:25px;

    transform:
    rotate(-5deg);

    box-shadow:
    0 40px 100px rgba(0,0,0,.5);

}



.slide-header {

    display:flex;

    gap:8px;

}


.slide-header span {

    width:10px;

    height:10px;

    border-radius:50%;

    background:#777;

}



.slide-content {

    margin-top:50px;

    color:white;

}


.slide-content h3 {

    font-size:32px;

}



.slide-content p {

    color:#aaa;

}



.chart-box {

    display:flex;

    align-items:flex-end;

    gap:15px;

    height:100px;

    margin-top:30px;

}



.chart-box div {

    width:45px;

    background:white;

    border-radius:10px;

}



.chart-box div:nth-child(1){

    height:50px;

}



.chart-box div:nth-child(2){

    height:90px;

}



.chart-box div:nth-child(3){

    height:70px;

}



.floating-card {

    position:absolute;

    padding:15px 25px;

    border-radius:15px;

    background:
    rgba(255,255,255,.1);

    backdrop-filter:blur(15px);

    color:white;

    border:
    1px solid rgba(255,255,255,.15);

}



.card-one {

    top:40px;

    right:20px;

}



.card-two {

    bottom:50px;

    left:20px;

}
/* CREATION PAGE */


.workspace {

    min-height: calc(100vh - var(--navbar-height));

    background:

    radial-gradient(
        circle at 50% 0%,
        rgba(93,92,255,.18),
        transparent 40%
    ),

    #050505;

    padding:70px;

}



.workspace-header {

    text-align:center;

    margin-bottom:60px;

}



.workspace-header h1 {


    font-family:'Space Grotesk', sans-serif;

    color:white;

    font-size:50px;

}



.workspace-header p {

    color:#aaa;

    font-size:18px;

}





.creation-area {


    display:flex;

    justify-content:center;

    gap:50px;

}




.upload-container,
.preview-container {


    width:45%;

}





.upload-box {


    height:350px;

    border-radius:25px;


    border:

    1px dashed rgba(255,255,255,.25);


    background:

    rgba(255,255,255,.05);


    backdrop-filter:blur(20px);


    display:flex;

    flex-direction:column;

    justify-content:center;

    align-items:center;


    color:white;


}



.upload-icon {


    font-size:45px;

    margin-bottom:20px;

}




.upload-box p {

    color:#aaa;

}



.upload-box span {

    color:#777;

    font-size:14px;

}



.upload-box input {

    margin:20px;

}





.generate-btn {

    display: block;

    margin-left: 30px auto;
    margin-top: 40px;

    width:30%;
    
    
    padding: 15px;


    border:none;


    border-radius:12px;


    color:white;

    font-size:16px;


    font-weight:600;


    background:

    linear-gradient(
        135deg,
        #635bff,
        #00c6ff
    );


    cursor:pointer;


}


.preview-card {


    height:450px;


    border-radius:25px;


    padding:30px;


    background:

    rgba(255,255,255,.06);


    border:

    1px solid rgba(255,255,255,.15);


    backdrop-filter:blur(20px);


    color:white;


}




.empty-slide {


    height:320px;


    margin-top:30px;


    border-radius:15px;


    display:flex;

    justify-content:center;

    align-items:center;


    background:

    rgba(255,255,255,.04);


    color:#777;


}
/* AI PROCESSING PAGE */


.processing-page {
    width: 100%;
    min-height: calc(100vh - var(--navbar-height));

    margin-top: var(--navbar-height);

    display: flex;
    justify-content: center;
    align-items: center;

    background:
        radial-gradient(
            circle at center,
            rgba(99, 91, 255, 0.25),
            transparent 35%
        ),
        #050505;
}



.processing-container {

    text-align:center;

    color:white;

}



.ai-circle {


    width:150px;

    height:150px;

    margin:auto;

    border-radius:50%;


    background:

    rgba(255,255,255,.08);


    border:

    1px solid rgba(255,255,255,.2);


    backdrop-filter:blur(20px);


    display:flex;

    justify-content:center;

    align-items:center;


    font-size:40px;

    font-weight:700;


    position:relative;


}





.pulse {


    position:absolute;

    width:100%;

    height:100%;


    border-radius:50%;


    border:2px solid rgba(99,91,255,.7);


    animation:pulse 2s infinite;


}




@keyframes pulse {


    0% {

        transform:scale(1);

        opacity:1;

    }


    100% {

        transform:scale(1.5);

        opacity:0;

    }


}





.processing-container h1 {


    margin-top:40px;


    font-family:'Space Grotesk',sans-serif;


    font-size:48px;


}




.processing-container p {


    color:#aaa;


    font-size:18px;


    max-width:600px;


    margin:20px auto 50px;


}





.progress-box {


    width:420px;

    margin:auto;


    padding:25px;


    border-radius:20px;


    background:

    rgba(255,255,255,.06);


    border:

    1px solid rgba(255,255,255,.15);


    backdrop-filter:blur(20px);


}





.step {


    display:flex;

    align-items:center;

    gap:15px;


    padding:15px;


    color:#777;


}





.step span {


    width:12px;

    height:12px;


    border-radius:50%;


    background:#555;


}




.step.active {

    color:white;

}



.step.active span {


    background:#635bff;


    box-shadow:

    0 0 15px #635bff;

}

main{
    margin: 0%;
    padding: 0%;
}
.step.complete{

    color:#ffffff;

}

.step.complete span{

    background:#00ff88;

    box-shadow:0 0 15px #00ff88;

}

.step.active span{

    background:#4f7cff;

    box-shadow:0 0 20px #4f7cff;

}
/* ========================================= DOWNLOAD PAGE ========================================= */
.download-page { min-height: calc(100vh - 80px); display: flex; justify-content: center; align-items: center; padding: 40px 20px; }

.download-card { width: 100%; max-width: 600px; text-align: center; padding: 60px 40px; background: #ffffff; border-radius: 16px; box-shadow: 0 10px 35px rgba(0, 0, 0, 0.08); }

.success-icon { width: 70px; height: 70px; margin: 0 auto 25px; display: flex; align-items: center; justify-content: center; border-radius: 50%; background: #e8f5e9; color: #2e7d32; font-size: 36px; font-weight: bold; }

.download-card h1 { margin-bottom: 15px; font-size: 32px; }

.download-card p { margin-bottom: 20px; color: #666; }

#fileName { font-weight: 600; color: #222; margin-bottom: 30px; }

.download-card .generate-btn { display: inline-block; text-decoration: none; cursor: pointer; }
/* ========================================= SHARED FIXES ========================================= */

/* Logo is now a link back to the home page */
a.logo { text-decoration: none; }

/* Remove default list bullets and link underlines in the navbar */
.nav-links { list-style: none; margin: 0; padding: 0; }
.nav-links a { text-decoration: none; }


/* ========================================= SIGN UP / LOGIN PAGES ========================================= */

.auth-page {
    min-height: calc(100vh - var(--navbar-height));
    margin-top: var(--navbar-height);
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 60px 20px;
    box-sizing: border-box;
    background:
        radial-gradient(circle at 70% 30%, rgba(214, 6, 6, 0.18), transparent 35%),
        radial-gradient(circle at 20% 80%, rgba(93, 92, 255, 0.18), transparent 35%),
        #050505;
}

.auth-card {
    width: 100%;
    max-width: 440px;
    padding: 45px 40px;
    border-radius: 25px;
    background: rgba(255, 255, 255, .06);
    border: 1px solid rgba(255, 255, 255, .15);
    backdrop-filter: blur(20px);
    box-shadow: 0 40px 100px rgba(0, 0, 0, .5);
    color: white;
    box-sizing: border-box;
}

.auth-card h1 {
    margin: 0 0 10px;
    font-size: 34px;
    text-align: center;
}

.auth-subtitle {
    margin: 0 0 30px;
    color: #aaa;
    text-align: center;
}

.auth-form {
    display: flex;
    flex-direction: column;
}

.auth-form label {
    margin-bottom: 8px;
    color: #ccc;
    font-size: 14px;
}

.auth-form input[type="text"],
.auth-form input[type="email"],
.auth-form input[type="password"] {
    margin-bottom: 20px;
    padding: 14px 16px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, .2);
    background: rgba(255, 255, 255, .05);
    color: white;
    font-size: 15px;
    outline: none;
    transition: .3s;
}

.auth-form input::placeholder { color: #777; }

.auth-form input:focus {
    border-color: #d60606;
    box-shadow: 0 0 0 3px rgba(214, 6, 6, .25);
}

.auth-check {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #aaa !important;
    cursor: pointer;
}

.auth-check input { accent-color: #d60606; }

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

.auth-link,
.auth-switch a {
    color: #ff5555;
    text-decoration: none;
    font-size: 14px;
}

.auth-link:hover,
.auth-switch a:hover { text-decoration: underline; }

.auth-btn {
    margin-top: 15px;
    padding: 15px;
    border: none;
    border-radius: 12px;
    background: #a00d18;
    color: white;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: .3s;
}

.auth-btn:hover {
    background: #d91828;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(255, 0, 0, .35);
}

.auth-message {
    min-height: 20px;
    margin: 5px 0 0;
    font-size: 14px;
    text-align: center;
}

.auth-message.error { color: #ff5555; }
.auth-message.success { color: #00ff88; }

.auth-switch {
    margin: 25px 0 0;
    text-align: center;
    color: #aaa;
    font-size: 14px;
}


/* ========================================= PRICING PAGE ========================================= */

.pricing-page {
    min-height: calc(100vh - var(--navbar-height));
    margin-top: var(--navbar-height);
    padding: 80px 40px;
    box-sizing: border-box;
    background:
        radial-gradient(circle at 50% 0%, rgba(214, 6, 6, 0.18), transparent 40%),
        #050505;
    color: white;
}

.pricing-header {
    text-align: center;
    margin-bottom: 60px;
}

.pricing-header h1 {
    margin: 0 0 15px;
    font-size: 50px;
    letter-spacing: -1px;
}

.pricing-header p {
    color: #aaa;
    font-size: 18px;
}

.pricing-grid {
    max-width: 1100px;
    margin: auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    align-items: stretch;
}

.price-card {
    position: relative;
    display: flex;
    flex-direction: column;
    padding: 40px 30px;
    border-radius: 25px;
    background: rgba(255, 255, 255, .06);
    border: 1px solid rgba(255, 255, 255, .15);
    backdrop-filter: blur(20px);
    transition: .3s;
}

.price-card:hover { transform: translateY(-6px); }

.price-card.featured {
    border: 2px solid #d60606;
    box-shadow: 0 0 40px rgba(214, 6, 6, .3);
}

.badge {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    padding: 6px 16px;
    border-radius: 30px;
    background: #d60606;
    font-size: 13px;
    font-weight: 600;
    white-space: nowrap;
}

.price-card h2 {
    margin: 0 0 10px;
    font-size: 24px;
}

.price {
    margin: 0 0 10px;
    color: #aaa;
}

.price .amount {
    font-size: 46px;
    font-weight: 700;
    color: white;
}

.price-desc {
    margin: 0 0 25px;
    color: #888;
}

.price-features {
    list-style: none;
    margin: 0 0 30px;
    padding: 0;
    flex-grow: 1;
}

.price-features li {
    padding: 10px 0;
    border-bottom: 1px solid rgba(255, 255, 255, .08);
    color: #ddd;
}

.price-features li::before {
    content: "✓";
    margin-right: 10px;
    color: #00ff88;
}

.price-btn {
    display: block;
    padding: 15px;
    border-radius: 12px;
    text-align: center;
    text-decoration: none;
    font-weight: 600;
    color: white;
    transition: .3s;
}

.price-btn.primary { background: #a00d18; }

.price-btn.primary:hover {
    background: #d91828;
    box-shadow: 0 8px 20px rgba(255, 0, 0, .35);
}

.price-btn.secondary {
    border: 1px solid rgba(255, 255, 255, .2);
    background: rgba(255, 255, 255, .05);
}

.price-btn.secondary:hover { background: rgba(255, 255, 255, .12); }


/* ========================================= SMALL SCREENS ========================================= */

@media (max-width: 900px) {
    .pricing-grid { grid-template-columns: 1fr; max-width: 450px; }
    .pricing-header h1 { font-size: 36px; }
}
/* ========================================= SHARED FIXES ========================================= */

/* Logo is now a link back to the home page */
a.logo { text-decoration: none; }

/* Remove default list bullets and link underlines in the navbar */
.nav-links { list-style: none; margin: 0; padding: 0; }
.nav-links a { text-decoration: none; }


/* ========================================= SIGN UP / LOGIN PAGES ========================================= */

.auth-page {
    min-height: calc(100vh - var(--navbar-height));
    margin-top: var(--navbar-height);
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 60px 20px;
    box-sizing: border-box;
    background:
        radial-gradient(circle at 70% 30%, rgba(214, 6, 6, 0.18), transparent 35%),
        radial-gradient(circle at 20% 80%, rgba(93, 92, 255, 0.18), transparent 35%),
        #050505;
}

.auth-card {
    width: 100%;
    max-width: 440px;
    padding: 45px 40px;
    border-radius: 25px;
    background: rgba(255, 255, 255, .06);
    border: 1px solid rgba(255, 255, 255, .15);
    backdrop-filter: blur(20px);
    box-shadow: 0 40px 100px rgba(0, 0, 0, .5);
    color: white;
    box-sizing: border-box;
}

.auth-card h1 {
    margin: 0 0 10px;
    font-size: 34px;
    text-align: center;
}

.auth-subtitle {
    margin: 0 0 30px;
    color: #aaa;
    text-align: center;
}

.auth-form {
    display: flex;
    flex-direction: column;
}

.auth-form label {
    margin-bottom: 8px;
    color: #ccc;
    font-size: 14px;
}

.auth-form input[type="text"],
.auth-form input[type="email"],
.auth-form input[type="password"] {
    margin-bottom: 20px;
    padding: 14px 16px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, .2);
    background: rgba(255, 255, 255, .05);
    color: white;
    font-size: 15px;
    outline: none;
    transition: .3s;
}

.auth-form input::placeholder { color: #777; }

.auth-form input:focus {
    border-color: #d60606;
    box-shadow: 0 0 0 3px rgba(214, 6, 6, .25);
}

.auth-check {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #aaa !important;
    cursor: pointer;
}

.auth-check input { accent-color: #d60606; }

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

.auth-link,
.auth-switch a {
    color: #ff5555;
    text-decoration: none;
    font-size: 14px;
}

.auth-link:hover,
.auth-switch a:hover { text-decoration: underline; }

.auth-btn {
    margin-top: 15px;
    padding: 15px;
    border: none;
    border-radius: 12px;
    background: #a00d18;
    color: white;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: .3s;
}

.auth-btn:hover {
    background: #d91828;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(255, 0, 0, .35);
}

.auth-message {
    min-height: 20px;
    margin: 5px 0 0;
    font-size: 14px;
    text-align: center;
}

.auth-message.error { color: #ff5555; }
.auth-message.success { color: #00ff88; }

.auth-switch {
    margin: 25px 0 0;
    text-align: center;
    color: #aaa;
    font-size: 14px;
}


/* ========================================= PRICING PAGE ========================================= */

.pricing-page {
    min-height: calc(100vh - var(--navbar-height));
    margin-top: var(--navbar-height);
    padding: 80px 40px;
    box-sizing: border-box;
    background:
        radial-gradient(circle at 50% 0%, rgba(214, 6, 6, 0.18), transparent 40%),
        #050505;
    color: white;
}

.pricing-header {
    text-align: center;
    margin-bottom: 60px;
}

.pricing-header h1 {
    margin: 0 0 15px;
    font-size: 50px;
    letter-spacing: -1px;
}

.pricing-header p {
    color: #aaa;
    font-size: 18px;
}

.pricing-grid {
    max-width: 1100px;
    margin: auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    align-items: stretch;
}

.price-card {
    position: relative;
    display: flex;
    flex-direction: column;
    padding: 40px 30px;
    border-radius: 25px;
    background: rgba(255, 255, 255, .06);
    border: 1px solid rgba(255, 255, 255, .15);
    backdrop-filter: blur(20px);
    transition: .3s;
}

.price-card:hover { transform: translateY(-6px); }

.price-card.featured {
    border: 2px solid #d60606;
    box-shadow: 0 0 40px rgba(214, 6, 6, .3);
}

.badge {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    padding: 6px 16px;
    border-radius: 30px;
    background: #d60606;
    font-size: 13px;
    font-weight: 600;
    white-space: nowrap;
}

.price-card h2 {
    margin: 0 0 10px;
    font-size: 24px;
}

.price {
    margin: 0 0 10px;
    color: #aaa;
}

.price .amount {
    font-size: 46px;
    font-weight: 700;
    color: white;
}

.price-desc {
    margin: 0 0 25px;
    color: #888;
}

.price-features {
    list-style: none;
    margin: 0 0 30px;
    padding: 0;
    flex-grow: 1;
}

.price-features li {
    padding: 10px 0;
    border-bottom: 1px solid rgba(255, 255, 255, .08);
    color: #ddd;
}

.price-features li::before {
    content: "✓";
    margin-right: 10px;
    color: #00ff88;
}

.price-btn {
    display: block;
    padding: 15px;
    border-radius: 12px;
    text-align: center;
    text-decoration: none;
    font-weight: 600;
    color: white;
    transition: .3s;
}

.price-btn.primary { background: #a00d18; }

.price-btn.primary:hover {
    background: #d91828;
    box-shadow: 0 8px 20px rgba(255, 0, 0, .35);
}

.price-btn.secondary {
    border: 1px solid rgba(255, 255, 255, .2);
    background: rgba(255, 255, 255, .05);
}

.price-btn.secondary:hover { background: rgba(255, 255, 255, .12); }


/* ========================================= SMALL SCREENS ========================================= */

@media (max-width: 900px) {
    .pricing-grid { grid-template-columns: 1fr; max-width: 450px; }
    .pricing-header h1 { font-size: 36px; }
}


/* ========================================= DOCS PAGE ========================================= */

.docs-page {
    min-height: calc(100vh - var(--navbar-height));
    margin-top: var(--navbar-height);
    padding: 70px 40px;
    box-sizing: border-box;
    background:
        radial-gradient(circle at 50% 0%, rgba(93, 92, 255, .18), transparent 40%),
        #050505;
    color: white;
}

.docs-header {
    max-width: 1000px;
    margin: 0 auto 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.docs-header h1 {
    margin: 0 0 8px;
    font-size: 42px;
}

.docs-header p {
    margin: 0;
    color: #aaa;
}

.docs-new-btn { padding: 14px 26px; }

.docs-status {
    max-width: 1000px;
    margin: 0 auto;
    color: #aaa;
}

.docs-list {
    max-width: 1000px;
    margin: auto;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.doc-card {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 20px 25px;
    border-radius: 18px;
    background: rgba(255, 255, 255, .06);
    border: 1px solid rgba(255, 255, 255, .15);
    backdrop-filter: blur(20px);
    transition: .3s;
}

.doc-card:hover {
    border-color: rgba(214, 6, 6, .6);
}

.doc-icon {
    width: 56px;
    height: 56px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: #a00d18;
    font-weight: 700;
    font-size: 14px;
}

.doc-info {
    flex-grow: 1;
    min-width: 0;
}

.doc-info h3 {
    margin: 0 0 6px;
    font-size: 18px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.doc-info p {
    margin: 0;
    color: #888;
    font-size: 14px;
}

.doc-download { padding: 12px 22px; }


/* ========================================= TEMPLATE PICKER (Creating page) ========================================= */

/* The right-hand panel grows to fit the picker */
.preview-card.template-card {
    height: auto;
    min-height: 450px;
    box-sizing: border-box;
}

.template-card h3 {
    margin: 0 0 18px;
}

/* Large 16:9 preview of the selected template */
.theme-big-preview {
    position: relative;
    aspect-ratio: 16 / 9;
    border-radius: 12px;
    border: 1px solid;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    transition: background .3s;
}

.tbp-top,
.tbp-bottom {
    position: absolute;
    left: 0;
    width: 100%;
    height: 6px;
}

.tbp-top { top: 0; }
.tbp-bottom { bottom: 0; }

.tbp-title {
    font-size: 24px;
    font-weight: 700;
    text-align: center;
    padding: 0 20px;
}

.tbp-line {
    width: 60px;
    height: 3px;
    margin: 10px 0;
}

.tbp-subtitle {
    font-size: 13px;
}

.tbp-card {
    margin-top: 14px;
    padding: 8px 18px;
    border: 1px solid;
    border-radius: 8px;
    font-size: 12px;
    line-height: 1.6;
}

.tbp-name {
    position: absolute;
    right: 10px;
    bottom: 12px;
    padding: 3px 10px;
    border-radius: 20px;
    background: rgba(0, 0, 0, .55);
    color: #fff;
    font-size: 11px;
}

/* Small template options */
.theme-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
}

.theme-option {
    padding: 6px;
    border-radius: 10px;
    border: 2px solid rgba(255, 255, 255, .12);
    background: rgba(255, 255, 255, .04);
    cursor: pointer;
    transition: .2s;
}

.theme-option:hover { border-color: rgba(255, 255, 255, .4); }

.theme-option.selected {
    border-color: #d60606;
    box-shadow: 0 0 15px rgba(214, 6, 6, .4);
}

.theme-preview {
    position: relative;
    height: 46px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.theme-preview span {
    font-size: 18px;
    font-weight: 700;
}

.theme-preview i {
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 5px;
}

.theme-option p {
    margin: 6px 0 0;
    color: #ddd;
    font-size: 11px;
    text-align: center;
}

/* Center the Generate button under the upload box */
.upload-container .generate-btn {
    margin: 30px auto 0;
    width: 60%;
}

@media (max-width: 900px) {
    .creation-area { flex-direction: column; align-items: center; }
    .upload-container, .preview-container { width: 100%; }
    .theme-grid { grid-template-columns: repeat(2, 1fr); }
}
.doc-actions { display: flex; gap: 10px; flex-wrap: wrap; }

/* ========================================= EDITOR PAGE ========================================= */

.editor-page {
    min-height: calc(100vh - var(--navbar-height));
    margin-top: var(--navbar-height);
    padding: 40px 32px;
    box-sizing: border-box;
    background:
        radial-gradient(circle at 50% 0%, rgba(93, 92, 255, .14), transparent 40%),
        #050505;
    color: white;
}

.editor-toolbar {
    max-width: 1400px;
    margin: 0 auto 12px;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 20px;
    flex-wrap: wrap;
}

.editor-heading h1 { margin: 0 0 6px; font-size: 34px; }
.editor-heading p { margin: 0; color: #aaa; word-break: break-all; }

.editor-actions { display: flex; align-items: flex-end; gap: 14px; flex-wrap: wrap; }

.editor-theme-label { display: flex; flex-direction: column; gap: 6px; color: #aaa; font-size: 13px; }

.editor-actions select,
.ed-field input,
.ed-field textarea,
.ed-field select {
    background: #111;
    color: white;
    border: 1px solid #2a2a2a;
    border-radius: 10px;
    padding: 10px 12px;
    font: inherit;
    font-size: 14px;
    box-sizing: border-box;
    width: 100%;
}

.editor-actions select { min-width: 200px; }
.editor-actions .price-btn { padding: 12px 24px; cursor: pointer; border: none; }
.editor-actions .price-btn:disabled { opacity: .5; cursor: wait; }

.editor-status { max-width: 1400px; margin: 0 auto 18px; color: #aaa; min-height: 1.2em; }
.editor-status.error { color: #ff5555; }

.editor-layout {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 220px minmax(0, 1fr) 320px;
    gap: 20px;
    align-items: start;
}

/* Left: slide list */
.editor-slides {
    max-height: calc(100vh - var(--navbar-height) - 190px);
    overflow-y: auto;
    padding-right: 4px;
}

.slide-list { display: flex; flex-direction: column; gap: 12px; }

.slide-item { border-radius: 10px; padding: 6px; border: 2px solid transparent; }
.slide-item.selected { border-color: #5d5cff; background: rgba(93, 92, 255, .08); }
.slide-item .ed-slide { cursor: pointer; }

.slide-item-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 6px;
    font-size: 12px;
    color: #aaa;
}

.slide-tool {
    background: #161616;
    color: #ddd;
    border: 1px solid #2a2a2a;
    border-radius: 6px;
    width: 24px;
    height: 24px;
    margin-left: 3px;
    cursor: pointer;
    font-size: 12px;
}
.slide-tool:hover { border-color: #5d5cff; }

.editor-add-btn {
    width: 100%;
    margin-top: 12px;
    padding: 10px;
    background: transparent;
    color: #ddd;
    border: 1px dashed #444;
    border-radius: 10px;
    cursor: pointer;
}
.editor-add-btn:hover { border-color: #5d5cff; color: white; }

/* Middle: preview */
.editor-preview { position: sticky; top: calc(var(--navbar-height) + 20px); }
.editor-hint { color: #777; font-size: 12px; margin-top: 8px; text-align: center; }

/* Right: form */
.editor-form {
    background: #0d0d0d;
    border: 1px solid #1f1f1f;
    border-radius: 14px;
    padding: 18px;
}
.editor-form h3 { margin: 0 0 14px; }

.ed-field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 14px; }
.ed-field-label { font-size: 13px; color: #bbb; }
.ed-field-hint { font-size: 11px; color: #777; }
.ed-field textarea { resize: vertical; line-height: 1.4; }

/* ----- Slide preview (16:9, text scales with the slide width) ----- */
.ed-slide {
    position: relative;
    aspect-ratio: 16 / 9;
    width: 100%;
    overflow: hidden;
    border-radius: 6px;
    container-type: inline-size;
    box-shadow: 0 10px 30px rgba(0, 0, 0, .35);
    color: #222;
}

/* Everything inside a slide is sized from the slide's width */
.eds-root {
    position: absolute;
    inset: 0;
    font-size: 2.2cqw;
    line-height: 1.25;
    padding: 4cqw 5cqw 3cqw 6cqw;
    box-sizing: border-box;
    text-align: left;
}
.ed-slide ul, .ed-slide li { font-size: inherit; line-height: inherit; }
.ed-slide li { list-style: disc; }

.eds-side { position: absolute; left: 0; top: 0; bottom: 0; width: 1.1cqw; }
.eds-band { position: absolute; left: 0; right: 0; height: .9cqw; }
.eds-band-top { top: 0; }
.eds-band-bottom { bottom: 0; }

.eds-title { font-size: 3.6cqw; font-weight: 700; }
.eds-title-big { font-size: 5cqw; }
.eds-accent { width: 9cqw; height: .45cqw; margin: 1.2cqw 0 2cqw; }
.eds-sub { font-size: 2.2cqw; }
.eds-small { font-size: 1.5cqw; }
.eds-foot { font-size: 1.6cqw; text-align: center; margin-top: 2cqw; }

.eds-center {
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.eds-section { height: 100%; display: flex; flex-direction: column; justify-content: center; }
.eds-num { font-size: 2.8cqw; font-weight: 700; margin-bottom: 1cqw; }

.eds-box { border: 1px solid; border-radius: .8cqw; padding: 2cqw; box-sizing: border-box; }
.eds-main { height: 62%; display: flex; align-items: center; }

.eds-bullets { margin: 0; padding-left: 2.5cqw; }
.eds-bullets li { margin-bottom: 1cqw; }

.eds-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 3cqw; height: 62%; }
.eds-coltitle { font-size: 2.6cqw; font-weight: 700; margin-bottom: 1.5cqw; }
.eds-img { height: 100%; display: flex; align-items: center; justify-content: center; font-weight: 700; letter-spacing: .3cqw; }

.eds-timeline, .eds-steps, .eds-stats {
    display: flex;
    gap: 2cqw;
    justify-content: center;
    margin-top: 3cqw;
}
.eds-tl-item, .eds-steps .eds-box, .eds-stats .eds-box { flex: 1; text-align: center; max-width: 30%; }
.eds-dot {
    width: 3cqw;
    height: 3cqw;
    border-radius: 50%;
    margin: 0 auto 1.2cqw;
    color: white;
    font-size: 1.5cqw;
    display: flex;
    align-items: center;
    justify-content: center;
}
.eds-tl-item .eds-dot { width: 1.8cqw; height: 1.8cqw; }
.eds-date { font-size: 1.6cqw; font-weight: 700; margin-bottom: 1cqw; }
.eds-itemtitle { font-size: 2cqw; font-weight: 700; margin-bottom: .6cqw; }
.eds-value { font-size: 4.4cqw; font-weight: 700; margin: 1cqw 0; }
.eds-label { font-size: 1.9cqw; font-weight: 700; margin-bottom: .8cqw; }

.eds-quote-bar { position: absolute; left: 6cqw; top: 18%; bottom: 20%; width: .6cqw; }
.eds-quote { height: 100%; display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center; padding: 0 6cqw; }
.eds-quote-text { font-size: 3.4cqw; font-style: italic; margin-bottom: 2.5cqw; }

/* Small thumbnails in the list */
.ed-slide-thumb { box-shadow: none; }

/* Tablet and phone: stack the three columns */
@media (max-width: 1100px) {
    .editor-layout { grid-template-columns: 1fr; }
    .editor-preview { position: static; order: -1; }
    .editor-slides { max-height: none; }
    .slide-list { flex-direction: row; overflow-x: auto; }
    .slide-item { min-width: 170px; }
}

@media (max-width: 600px) {
    .editor-page { padding: 24px 16px; }
    .editor-actions, .editor-actions select, .editor-actions .price-btn { width: 100%; }
}
/* ========================================= DOWNLOAD PAGE ========================================= */

.download-page {
    min-height: calc(100vh - var(--navbar-height));
    margin-top: var(--navbar-height);
    padding: 50px 20px;
    box-sizing: border-box;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    background:
        radial-gradient(circle at 50% 0%, rgba(93, 92, 255, .18), transparent 45%),
        #050505;
    color: white;
}

.download-card {
    width: 100%;
    max-width: 820px;
    text-align: center;
    padding: 48px 40px 36px;
    box-sizing: border-box;
    background: #0d0d0d;
    border: 1px solid #1f1f1f;
    border-radius: 22px;
    box-shadow: 0 30px 80px rgba(0, 0, 0, .5);
}

.success-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    font-weight: 700;
    color: #00ff88;
    background: rgba(0, 255, 136, .1);
    border: 2px solid rgba(0, 255, 136, .45);
}

.download-card h1 { margin: 0 0 10px; font-size: 34px; color: white; }

.dl-sub { margin: 0 auto 18px; max-width: 520px; color: #aaa; line-height: 1.5; }

.dl-file {
    display: inline-block;
    margin: 0;
    padding: 8px 16px;
    border-radius: 999px;
    background: #161616;
    border: 1px solid #2a2a2a;
    color: #ddd;
    font-size: 14px;
    word-break: break-all;
}

.ready-actions {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
    margin: 24px 0;
}

.dl-btn,
.ready-edit-btn {
    display: inline-block;
    padding: 14px 28px;
    border-radius: 12px;
    color: white;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    transition: transform .15s ease, background .15s ease;
}
.dl-btn:hover, .ready-edit-btn:hover { transform: translateY(-2px); }

.dl-btn-primary { background: #a00d18; border: 1px solid #a00d18; }
.dl-btn-primary:hover { background: #c01020; }

.dl-btn-secondary,
.ready-edit-btn { background: #5d5cff; border: 1px solid #5d5cff; }
.dl-btn-secondary:hover, .ready-edit-btn:hover { background: #4847e0; }

.ready-preview {
    text-align: left;
    padding: 16px;
    border-radius: 14px;
    background: #080808;
    border: 1px solid #1a1a1a;
}

.ready-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
    gap: 12px;
    max-height: 360px;
    overflow-y: auto;
    padding: 2px;
}

.ready-preview-note { color: #888; font-size: 13px; text-align: center; margin: 12px 0 0; }

.dl-links { display: flex; justify-content: center; gap: 24px; flex-wrap: wrap; margin-top: 24px; }
.dl-links a { color: #aaa; text-decoration: none; font-size: 14px; }
.dl-links a:hover { color: white; }

@media (max-width: 600px) {
    .download-page { padding: 24px 16px; }
    .download-card { padding: 32px 18px 24px; }
    .download-card h1 { font-size: 26px; }
    .dl-btn { width: 100%; box-sizing: border-box; }
    .ready-grid { grid-template-columns: 1fr 1fr; }
}

/* ========================================= BRAND KIT ========================================= */

/* Logo inside slide previews (matches where the PowerPoint puts it) */
.eds-logo {
    position: absolute;
    left: 3.4%;
    bottom: 2.7%;
    max-width: 10.5%;
    max-height: 5.6%;
    object-fit: contain;
}
.eds-logo-title {
    left: 50%;
    top: 6%;
    bottom: auto;
    transform: translateX(-50%);
    max-width: 22%;
    max-height: 14.5%;
}

/* Link under the template picker on the Create page */
.brand-kit-link {
    display: inline-block;
    margin-top: 14px;
    color: #8d8cff;
    font-size: 14px;
    text-decoration: none;
}
.brand-kit-link:hover { color: white; text-decoration: underline; }

/* Docs page header buttons */
.docs-header-actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* Brand Kit page */
.brand-page {
    min-height: calc(100vh - var(--navbar-height));
    margin-top: var(--navbar-height);
    padding: 40px 32px;
    box-sizing: border-box;
    background:
        radial-gradient(circle at 50% 0%, rgba(93, 92, 255, .16), transparent 40%),
        #050505;
    color: white;
}

.brand-header { max-width: 1200px; margin: 0 auto 24px; }
.brand-header h1 { margin: 0 0 8px; font-size: 34px; }
.brand-header p { margin: 0; color: #aaa; max-width: 640px; line-height: 1.5; }

.brand-card {
    background: #0d0d0d;
    border: 1px solid #1f1f1f;
    border-radius: 16px;
    padding: 24px;
    box-sizing: border-box;
}

.brand-logged-out { max-width: 520px; margin: 40px auto; text-align: center; }
.brand-logged-out h2 { margin: 0 0 8px; }
.brand-logged-out p { color: #aaa; margin: 0 0 20px; }

.brand-layout {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(0, 420px) minmax(0, 1fr);
    gap: 24px;
    align-items: start;
}

.brand-field { display: flex; flex-direction: column; gap: 8px; margin-bottom: 18px; }
.brand-label { font-size: 13px; color: #bbb; }

.brand-form input[type="text"],
.brand-form select {
    background: #111;
    color: white;
    border: 1px solid #2a2a2a;
    border-radius: 10px;
    padding: 10px 12px;
    font: inherit;
    font-size: 14px;
    width: 100%;
    box-sizing: border-box;
}

.brand-logo-row { display: flex; gap: 16px; align-items: center; }
.brand-logo-box {
    width: 120px;
    height: 80px;
    flex-shrink: 0;
    border: 1px dashed #333;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #666;
    font-size: 12px;
    background: repeating-conic-gradient(#151515 0% 25%, #101010 0% 50%) 50% / 16px 16px;
    overflow: hidden;
}
.brand-logo-box img { max-width: 90%; max-height: 90%; object-fit: contain; }

.brand-logo-actions { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; }
.brand-logo-actions small { color: #777; font-size: 12px; line-height: 1.4; }

.brand-file-btn {
    display: inline-block;
    padding: 9px 16px;
    border-radius: 10px;
    background: #5d5cff;
    color: white;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
}
.brand-file-btn:hover { background: #4847e0; }

.brand-text-btn {
    background: none;
    border: none;
    padding: 0;
    color: #ff6b6b;
    font-size: 13px;
    cursor: pointer;
}

.brand-colors { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }

.brand-color-row { display: flex; gap: 8px; align-items: center; }
.brand-color-row input[type="color"] {
    width: 44px;
    height: 40px;
    flex-shrink: 0;
    padding: 2px;
    border: 1px solid #2a2a2a;
    border-radius: 10px;
    background: #111;
    cursor: pointer;
}
.brand-color-row input[type="text"] { text-transform: uppercase; min-width: 0; }

.brand-toggle { display: flex; gap: 10px; }
.brand-toggle label { flex: 1; cursor: pointer; }
.brand-toggle input { position: absolute; opacity: 0; pointer-events: none; }
.brand-toggle span {
    display: block;
    text-align: center;
    padding: 10px;
    border-radius: 10px;
    border: 1px solid #2a2a2a;
    background: #111;
    color: #bbb;
    font-size: 14px;
}
.brand-toggle input:checked + span { border-color: #5d5cff; background: rgba(93, 92, 255, .15); color: white; }
.brand-toggle input:focus-visible + span { outline: 2px solid #5d5cff; outline-offset: 2px; }

.brand-save { width: 100%; border: none; cursor: pointer; margin-top: 6px; }
.brand-save:disabled { opacity: .5; cursor: wait; }

.brand-status { min-height: 1.2em; margin: 12px 0 0; color: #aaa; font-size: 14px; }
.brand-status.error { color: #ff5555; }

.brand-use-link { display: inline-block; margin-top: 8px; color: #8d8cff; text-decoration: none; font-size: 14px; }
.brand-use-link:hover { color: white; }

.brand-preview { display: flex; flex-direction: column; gap: 16px; position: sticky; top: calc(var(--navbar-height) + 20px); }

@media (max-width: 900px) {
    .brand-layout { grid-template-columns: 1fr; }
    .brand-preview { position: static; order: -1; }
}

@media (max-width: 600px) {
    .brand-page { padding: 24px 16px; }
    .brand-card { padding: 18px; }
    .brand-colors { grid-template-columns: 1fr; gap: 0; }
    .brand-logo-row { align-items: flex-start; }
}

/* ========================================= PROFILE IN THE NAVBAR ========================================= */

.nav-links a.nav-profile {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 5px 14px 5px 5px;
    border-radius: 999px;
    background: #141414;
    border: 1px solid #2a2a2a;
    color: white;
}
.nav-links a.nav-profile:hover,
.nav-links a.nav-profile.active { border-color: #5d5cff; }

.nav-avatar {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 700;
    color: white;
    background: linear-gradient(135deg, #5d5cff, #a00d18);
}

/* ========================================= HOME (DASHBOARD) ========================================= */

.dash-page {
    position: relative;
    overflow: hidden;
    min-height: calc(100vh - var(--navbar-height));
    margin-top: var(--navbar-height);
    padding: 56px 32px 80px;
    box-sizing: border-box;
    background: #050505;
    color: white;
}

/* Glowing background shapes that slowly pulse */
.dash-orbs { position: absolute; inset: 0; pointer-events: none; z-index: 0; }
.orb { position: absolute; border-radius: 50%; filter: blur(80px); opacity: .45; animation: orbPulse 9s ease-in-out infinite; }
.orb-1 { width: 420px; height: 420px; background: #5d5cff; top: -120px; left: -80px; }
.orb-2 { width: 360px; height: 360px; background: #a00d18; top: 220px; right: -120px; animation-delay: -3s; }
.orb-3 { width: 300px; height: 300px; background: #00c6ff; top: 900px; left: 30%; opacity: .2; animation-delay: -6s; }

@keyframes orbPulse {
    0%, 100% { transform: scale(1) translate(0, 0); }
    50% { transform: scale(1.15) translate(20px, 30px); }
}

.dash-page > section { position: relative; z-index: 1; max-width: 1200px; margin-left: auto; margin-right: auto; }

/* 1. Welcome */
.dash-hero {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
    gap: 48px;
    align-items: center;
    margin-bottom: 56px;
}

.dash-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 7px 14px;
    border-radius: 999px;
    background: rgba(93, 92, 255, .12);
    border: 1px solid rgba(93, 92, 255, .35);
    color: #c7c6ff;
    font-size: 13px;
}

.pulse-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #00ff88;
    box-shadow: 0 0 0 0 rgba(0, 255, 136, .6);
    animation: dotPulse 1.8s ease-out infinite;
}
@keyframes dotPulse {
    0% { box-shadow: 0 0 0 0 rgba(0, 255, 136, .6); }
    100% { box-shadow: 0 0 0 12px rgba(0, 255, 136, 0); }
}

.dash-hero h1 { font-size: 52px; line-height: 1.1; margin: 18px 0 14px; }

.dash-gradient {
    background: linear-gradient(90deg, #8d8cff, #ff5a6a, #00c6ff, #8d8cff);
    background-size: 300% 100%;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    animation: gradientShift 6s linear infinite;
}
@keyframes gradientShift { to { background-position: 300% 0; } }

.dash-typed-line { font-size: 22px; color: #e5e5e5; margin: 0 0 16px; line-height: 1.4; }
.dash-typed { color: #8d8cff; font-weight: 700; }
.dash-caret { color: #8d8cff; animation: caretBlink 1s steps(1) infinite; margin-left: 1px; }
@keyframes caretBlink { 50% { opacity: 0; } }

.dash-lead { color: #a3a3a3; line-height: 1.65; margin: 0 0 28px; max-width: 560px; }

.dash-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.dash-actions .dl-btn { text-align: center; }

/* Floating slides */
/* The stack keeps its shape at any width, so the slides never spill out */
.dash-hero-visual { position: relative; }
.dash-stack { position: relative; width: 100%; aspect-ratio: 4 / 3; }

.dash-float {
    position: absolute;
    width: 72%;
    border-radius: 10px;
    box-shadow: 0 25px 60px rgba(0, 0, 0, .6);
    animation: floatY 6s ease-in-out infinite;
}
.dash-float .ed-slide { border-radius: 10px; }
.df-1 { top: 0; left: 0; z-index: 3; }
.df-2 { top: 22%; left: 28%; z-index: 2; animation-delay: -2s; }
.df-3 { top: 44%; left: 6%; z-index: 1; animation-delay: -4s; }

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

.dash-chip {
    position: absolute;
    z-index: 4;
    padding: 9px 16px;
    border-radius: 999px;
    background: rgba(13, 13, 13, .85);
    border: 1px solid #2a2a2a;
    font-size: 13px;
    font-weight: 600;
    backdrop-filter: blur(6px);
    animation: chipPulse 3s ease-in-out infinite;
}
.chip-a { top: -10px; right: 0; color: #c7c6ff; }
.chip-b { bottom: 10px; right: 6%; color: #00ff88; animation-delay: -1.5s; }
@keyframes chipPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.07); }
}

/* 2. Numbers */
.dash-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
    margin-bottom: 64px;
}
.dash-stat {
    padding: 22px;
    border-radius: 16px;
    background: rgba(13, 13, 13, .8);
    border: 1px solid #1f1f1f;
}
.dash-stat strong { display: block; font-size: 30px; margin-bottom: 4px; }
.dash-stat span { color: #999; font-size: 14px; }

/* Sections */
.dash-section { margin-bottom: 64px; }
.dash-section h2 { font-size: 30px; margin: 0 0 6px; }
.dash-section-sub { color: #999; margin: 0 0 24px; }
.dash-section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; }
.dash-see-all { color: #8d8cff; text-decoration: none; margin-bottom: 24px; }
.dash-see-all:hover { color: white; }

/* 3. How it works */
.dash-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.dash-step {
    position: relative;
    padding: 28px 24px;
    border-radius: 18px;
    background: #0d0d0d;
    border: 1px solid #1f1f1f;
    transition: transform .2s ease, border-color .2s ease;
}
.dash-step:hover { transform: translateY(-4px); border-color: #5d5cff; }
.dash-step h3 { margin: 16px 0 8px; font-size: 19px; }
.dash-step p { color: #a3a3a3; line-height: 1.55; margin: 0; }

.dash-step-num {
    position: absolute;
    top: 20px;
    right: 22px;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 14px;
    background: #5d5cff;
    animation: numPulse 2.4s ease-out infinite;
}
.dash-step:nth-child(2) .dash-step-num { animation-delay: .8s; }
.dash-step:nth-child(3) .dash-step-num { animation-delay: 1.6s; }
@keyframes numPulse {
    0% { box-shadow: 0 0 0 0 rgba(93, 92, 255, .7); }
    100% { box-shadow: 0 0 0 14px rgba(93, 92, 255, 0); }
}

.dash-icon {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #8d8cff;
    background: rgba(93, 92, 255, .12);
}
.dash-icon svg { width: 30px; height: 30px; }

/* 4. Features */
.dash-features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.dash-feature {
    display: block;
    padding: 24px;
    border-radius: 16px;
    background: linear-gradient(160deg, #111, #0a0a0a);
    border: 1px solid #1f1f1f;
    color: white;
    text-decoration: none;
    transition: transform .2s ease, border-color .2s ease;
}
.dash-feature:hover { transform: translateY(-4px); border-color: #a00d18; }
.dash-feature h3 { margin: 12px 0 6px; font-size: 17px; }
.dash-feature p { margin: 0; color: #a3a3a3; line-height: 1.5; font-size: 14px; }
.dash-feature-icon {
    display: inline-flex;
    width: 40px;
    height: 40px;
    border-radius: 10px;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: #ff5a6a;
    background: rgba(160, 13, 24, .18);
}

/* 5. Templates (slow scrolling row) */
.dash-marquee {
    overflow: hidden;
    mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}
.dash-track { display: flex; gap: 16px; width: max-content; animation: marquee 50s linear infinite; padding: 6px 0; }
.dash-marquee:hover .dash-track { animation-play-state: paused; }
.dash-track.no-motion { animation: none; flex-wrap: wrap; width: auto; }
@keyframes marquee { to { transform: translateX(-50%); } }

.dash-template {
    width: 240px;
    flex-shrink: 0;
    padding: 0;
    background: none;
    border: none;
    color: #ccc;
    font: inherit;
    font-size: 13px;
    cursor: pointer;
    text-align: center;
}
.dash-template .ed-slide { border-radius: 10px; border: 2px solid transparent; transition: border-color .2s ease, transform .2s ease; }
.dash-template:hover .ed-slide { border-color: #5d5cff; transform: translateY(-3px); }
.dash-template span { display: block; margin-top: 8px; }

/* 6. Recent presentations */
.dash-recent { display: flex; flex-direction: column; gap: 12px; }
.dash-recent-card {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 18px;
    border-radius: 14px;
    background: #0d0d0d;
    border: 1px solid #1f1f1f;
}
.dash-recent-icon {
    width: 44px;
    height: 44px;
    flex-shrink: 0;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    background: #c43e1c;
}
.dash-recent-info { flex: 1; min-width: 0; }
.dash-recent-info h3 { margin: 0 0 4px; font-size: 16px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dash-recent-info p { margin: 0; color: #999; font-size: 13px; }
.dash-recent-actions { display: flex; gap: 8px; }
.dash-recent-actions a {
    padding: 8px 14px;
    border-radius: 8px;
    border: 1px solid #2a2a2a;
    color: #ddd;
    text-decoration: none;
    font-size: 14px;
}
.dash-recent-actions a.primary { background: #a00d18; border-color: #a00d18; color: white; }
.dash-empty { color: #999; padding: 22px; border: 1px dashed #2a2a2a; border-radius: 14px; margin: 0; }

/* Calm version for people who turn off animations */
@media (prefers-reduced-motion: reduce) {
    .orb, .pulse-dot, .dash-gradient, .dash-caret, .dash-float, .dash-chip, .dash-step-num, .dash-track { animation: none !important; }
}

@media (max-width: 1000px) {
    .dash-hero { grid-template-columns: 1fr; }
    .dash-stack { max-width: 520px; }
    .dash-stats { grid-template-columns: repeat(2, 1fr); }
    .dash-steps, .dash-features { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
    .dash-page { padding: 32px 16px 56px; }
    .dash-hero h1 { font-size: 36px; }
    .dash-typed-line { font-size: 18px; }
    .dash-chip { display: none; }
    .dash-steps, .dash-features { grid-template-columns: 1fr; }
    .dash-stat strong { font-size: 24px; }
    .dash-recent-card { flex-wrap: wrap; }
    .dash-recent-actions { width: 100%; }
    .dash-recent-actions a { flex: 1; text-align: center; }
    .dash-template { width: 180px; }
}

/* ========================================= MY PROFILE ========================================= */

.profile-page {
    min-height: calc(100vh - var(--navbar-height));
    margin-top: var(--navbar-height);
    padding: 48px 32px 64px;
    box-sizing: border-box;
    background:
        radial-gradient(circle at 20% 0%, rgba(93, 92, 255, .16), transparent 40%),
        #050505;
    color: white;
}
.profile-page > section { max-width: 1000px; margin: 0 auto 20px; }

.profile-hero {
    display: flex;
    align-items: center;
    gap: 24px;
    padding: 28px;
    border-radius: 20px;
    background: #0d0d0d;
    border: 1px solid #1f1f1f;
    flex-wrap: wrap;
}
.profile-avatar {
    width: 88px;
    height: 88px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    font-weight: 800;
    background: linear-gradient(135deg, #5d5cff, #a00d18);
    box-shadow: 0 0 0 0 rgba(93, 92, 255, .5);
    animation: avatarPulse 2.8s ease-out infinite;
}
@keyframes avatarPulse {
    0% { box-shadow: 0 0 0 0 rgba(93, 92, 255, .5); }
    100% { box-shadow: 0 0 0 18px rgba(93, 92, 255, 0); }
}
.profile-hero-text { flex: 1; min-width: 200px; }
.profile-hero h1 { margin: 0 0 4px; font-size: 30px; }
.profile-hero p { margin: 0; color: #aaa; word-break: break-all; }
.profile-since { margin-top: 6px !important; font-size: 13px; color: #777 !important; }
.profile-plan {
    padding: 8px 16px;
    border-radius: 999px;
    background: rgba(0, 255, 136, .1);
    border: 1px solid rgba(0, 255, 136, .35);
    color: #00ff88;
    font-size: 13px;
    font-weight: 600;
}

.profile-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.profile-stat {
    padding: 20px;
    border-radius: 16px;
    background: #0d0d0d;
    border: 1px solid #1f1f1f;
    color: white;
    text-decoration: none;
    transition: border-color .2s ease;
}
.profile-stat:hover { border-color: #5d5cff; }
.profile-stat strong { display: block; font-size: 24px; margin-bottom: 4px; }
.profile-stat span { color: #999; font-size: 14px; }

.profile-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.profile-card h2 { margin: 0 0 18px; font-size: 20px; }
.profile-card input {
    background: #111;
    color: white;
    border: 1px solid #2a2a2a;
    border-radius: 10px;
    padding: 10px 12px;
    font: inherit;
    font-size: 14px;
    width: 100%;
    box-sizing: border-box;
}
.profile-card input:disabled { color: #777; }
.profile-note { color: #666; font-size: 12px; }
.profile-btn { border: none; cursor: pointer; width: 100%; }

.profile-links { display: flex; gap: 22px; flex-wrap: wrap; align-items: center; justify-content: center; margin-top: 28px !important; }
.profile-links a { color: #aaa; text-decoration: none; }
.profile-links a:hover { color: white; }
.profile-logout { background: none; border: 1px solid #a00d18; color: #ff6b6b; padding: 8px 18px; border-radius: 10px; cursor: pointer; font: inherit; }
.profile-logout:hover { background: #a00d18; color: white; }

@media (prefers-reduced-motion: reduce) { .profile-avatar { animation: none; } }

@media (max-width: 760px) {
    .profile-page { padding: 28px 16px 48px; }
    .profile-hero { flex-direction: column; text-align: center; }
    .profile-stats, .profile-grid { grid-template-columns: 1fr; }
}
/* ========================================= FEATURES PAGE ========================================= */

.feat-page {
    min-height: calc(100vh - var(--navbar-height));
    margin-top: var(--navbar-height);
    padding: 64px 32px 80px;
    box-sizing: border-box;
    background: radial-gradient(circle at 15% 0%, rgba(93, 92, 255, .18), transparent 40%),
                radial-gradient(circle at 90% 30%, rgba(160, 13, 24, .18), transparent 40%),
                #050505;
    color: white;
}

.feat-page > section { max-width: 1100px; margin-left: auto; margin-right: auto; }

/* 1. Intro */
.feat-hero { text-align: center; margin-bottom: 36px; }
.feat-tag {
    display: inline-block;
    padding: 7px 14px;
    border-radius: 999px;
    background: rgba(93, 92, 255, .12);
    border: 1px solid rgba(93, 92, 255, .35);
    color: #c7c6ff;
    font-size: 13px;
}
.feat-hero h1 { font-size: clamp(30px, 4.5vw, 48px); line-height: 1.15; margin: 18px auto 14px; max-width: 820px; }
.feat-accent {
    background: linear-gradient(90deg, #ff5a6a, #8d8cff);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}
.feat-hero p { color: #a3a3a3; font-size: 17px; margin: 0 auto; max-width: 600px; line-height: 1.6; }

.feat-formats { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 10px; margin-top: 26px; }
.feat-formats span {
    padding: 6px 14px;
    border-radius: 8px;
    background: #111;
    border: 1px solid #262626;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: .5px;
}
.feat-formats .feat-arrow { background: none; border: none; color: #777; }
.feat-formats .feat-out { background: #a00d18; border-color: #a00d18; }

/* 2. Filter */
.feat-filter { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-bottom: 28px; }
.feat-chip {
    padding: 8px 18px;
    border-radius: 999px;
    border: 1px solid #2a2a2a;
    background: #0f0f0f;
    color: #ccc;
    font-size: 14px;
    cursor: pointer;
    transition: background .2s ease, border-color .2s ease;
}
.feat-chip:hover { border-color: #5d5cff; }
.feat-chip.active { background: #5d5cff; border-color: #5d5cff; color: white; }

/* 3. Feature list */
.feat-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.feat-card {
    padding: 24px;
    border-radius: 16px;
    background: linear-gradient(160deg, #111, #0a0a0a);
    border: 1px solid #1f1f1f;
    transition: transform .25s ease, border-color .25s ease, opacity .5s ease;
}
.feat-card[hidden] { display: none; }
.feat-card:hover { transform: translateY(-4px); border-color: #a00d18; }
.feat-card h3 { margin: 12px 0 6px; font-size: 17px; }
.feat-card p { margin: 0; color: #a3a3a3; line-height: 1.5; font-size: 14px; }
.feat-icon {
    display: inline-flex;
    width: 40px;
    height: 40px;
    border-radius: 10px;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: #ff5a6a;
    background: rgba(160, 13, 24, .18);
}

/* Fade-in on scroll (added by js/features.js) */
.feat-card.feat-hide { opacity: 0; transform: translateY(18px); }
.feat-card.feat-show { opacity: 1; transform: none; }
.feat-card.feat-show:hover { transform: translateY(-4px); }

/* 4. Call to action */
.feat-cta {
    margin-top: 56px;
    padding: 40px 24px;
    text-align: center;
    border-radius: 20px;
    background: linear-gradient(135deg, rgba(93, 92, 255, .18), rgba(160, 13, 24, .18));
    border: 1px solid #2a2a2a;
}
.feat-cta h2 { margin: 0 0 8px; font-size: 28px; }
.feat-cta p { margin: 0 0 22px; color: #bdbdbd; }
.feat-cta-buttons { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.feat-btn {
    display: inline-block;
    padding: 13px 28px;
    border-radius: 10px;
    font-weight: 600;
    text-decoration: none;
    transition: transform .2s ease, background .2s ease;
}
.feat-btn:hover { transform: translateY(-2px); }
.feat-btn-primary { background: #a00d18; color: white; }
.feat-btn-primary:hover { background: #c0111e; }
.feat-btn-secondary { background: #5d5cff; color: white; }
.feat-btn-secondary:hover { background: #4b4ae6; }

@media (max-width: 900px) {
    .feat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 600px) {
    .feat-page { padding: 40px 16px 60px; }
    .feat-grid { grid-template-columns: 1fr; }
}
/* ========================================= FEATURES PAGE ========================================= */

.feat-page {
    min-height: calc(100vh - var(--navbar-height));
    margin-top: var(--navbar-height);
    padding: 64px 32px 80px;
    box-sizing: border-box;
    background: radial-gradient(circle at 15% 0%, rgba(93, 92, 255, .18), transparent 40%),
                radial-gradient(circle at 90% 30%, rgba(160, 13, 24, .18), transparent 40%),
                #050505;
    color: white;
}

.feat-page > section { max-width: 1100px; margin-left: auto; margin-right: auto; }

/* 1. Intro */
.feat-hero { text-align: center; margin-bottom: 36px; }
.feat-tag {
    display: inline-block;
    padding: 7px 14px;
    border-radius: 999px;
    background: rgba(93, 92, 255, .12);
    border: 1px solid rgba(93, 92, 255, .35);
    color: #c7c6ff;
    font-size: 13px;
}
.feat-hero h1 { font-size: clamp(30px, 4.5vw, 48px); line-height: 1.15; margin: 18px auto 14px; max-width: 820px; }
.feat-accent {
    background: linear-gradient(90deg, #ff5a6a, #8d8cff);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}
.feat-hero p { color: #a3a3a3; font-size: 17px; margin: 0 auto; max-width: 600px; line-height: 1.6; }

.feat-formats { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 10px; margin-top: 26px; }
.feat-formats span {
    padding: 6px 14px;
    border-radius: 8px;
    background: #111;
    border: 1px solid #262626;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: .5px;
}
.feat-formats .feat-arrow { background: none; border: none; color: #777; }
.feat-formats .feat-out { background: #a00d18; border-color: #a00d18; }

/* 2. Filter */
.feat-filter { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-bottom: 28px; }
.feat-chip {
    padding: 8px 18px;
    border-radius: 999px;
    border: 1px solid #2a2a2a;
    background: #0f0f0f;
    color: #ccc;
    font-size: 14px;
    cursor: pointer;
    transition: background .2s ease, border-color .2s ease;
}
.feat-chip:hover { border-color: #5d5cff; }
.feat-chip.active { background: #5d5cff; border-color: #5d5cff; color: white; }

/* 3. Feature list */
.feat-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.feat-card {
    padding: 24px;
    border-radius: 16px;
    background: linear-gradient(160deg, #111, #0a0a0a);
    border: 1px solid #1f1f1f;
    transition: transform .25s ease, border-color .25s ease, opacity .5s ease;
}
.feat-card[hidden] { display: none; }
.feat-card:hover { transform: translateY(-4px); border-color: #a00d18; }
.feat-card h3 { margin: 12px 0 6px; font-size: 17px; }
.feat-card p { margin: 0; color: #a3a3a3; line-height: 1.5; font-size: 14px; }
.feat-icon {
    display: inline-flex;
    width: 40px;
    height: 40px;
    border-radius: 10px;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: #ff5a6a;
    background: rgba(160, 13, 24, .18);
}

/* Fade-in on scroll (added by js/features.js) */
.feat-card.feat-hide { opacity: 0; transform: translateY(18px); }
.feat-card.feat-show { opacity: 1; transform: none; }
.feat-card.feat-show:hover { transform: translateY(-4px); }

/* 4. Call to action */
.feat-cta {
    margin-top: 56px;
    padding: 40px 24px;
    text-align: center;
    border-radius: 20px;
    background: linear-gradient(135deg, rgba(93, 92, 255, .18), rgba(160, 13, 24, .18));
    border: 1px solid #2a2a2a;
}
.feat-cta h2 { margin: 0 0 8px; font-size: 28px; }
.feat-cta p { margin: 0 0 22px; color: #bdbdbd; }
.feat-cta-buttons { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.feat-btn {
    display: inline-block;
    padding: 13px 28px;
    border-radius: 10px;
    font-weight: 600;
    text-decoration: none;
    transition: transform .2s ease, background .2s ease;
}
.feat-btn:hover { transform: translateY(-2px); }
.feat-btn-primary { background: #a00d18; color: white; }
.feat-btn-primary:hover { background: #c0111e; }
.feat-btn-secondary { background: #5d5cff; color: white; }
.feat-btn-secondary:hover { background: #4b4ae6; }

@media (max-width: 900px) {
    .feat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 600px) {
    .feat-page { padding: 40px 16px 60px; }
    .feat-grid { grid-template-columns: 1fr; }
}
/* ========================================= PRICING: PAYMENTS COMING SOON NOTE ========================================= */

.plan-message {
    max-width: 640px;
    margin: 28px auto 0;
    padding: 14px 18px;
    border-radius: 12px;
    text-align: center;
    background: rgba(93, 92, 255, .12);
    border: 1px solid rgba(93, 92, 255, .35);
    color: #c7c6ff;
}
.plan-message[hidden] { display: none; }
/* ========================================= PRICING: PAYMENTS COMING SOON NOTE ========================================= */

.plan-message {
    max-width: 640px;
    margin: 28px auto 0;
    padding: 14px 18px;
    border-radius: 12px;
    text-align: center;
    background: rgba(93, 92, 255, .12);
    border: 1px solid rgba(93, 92, 255, .35);
    color: #c7c6ff;
}
.plan-message[hidden] { display: none; }

/* ========================================= PRICING: CURRENT PLAN (logged in) ========================================= */

.price-card.current {
    border-color: #22c55e;
    box-shadow: 0 0 0 1px #22c55e, 0 0 28px rgba(34, 197, 94, .25);
}

.current-plan {
    display: block;
    margin-top: auto;
    padding: 12px;
    border-radius: 10px;
    text-align: center;
    font-weight: 600;
    color: #4ade80;
    background: rgba(34, 197, 94, .12);
    border: 1px solid rgba(34, 197, 94, .4);
}
/* ========================================= PHONES AND SMALL SCREENS ========================================= */
/* Paste this at the very bottom of style.css, after everything else. */

/* The ☰ menu button (added by js/session.js). Hidden on big screens. */
.nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 44px;
    height: 44px;
    padding: 0 10px;
    border: 1px solid #2a2a2a;
    border-radius: 10px;
    background: #111;
    cursor: pointer;
}
.nav-toggle span {
    display: block;
    height: 2px;
    border-radius: 2px;
    background: white;
    transition: transform .2s ease, opacity .2s ease;
}
/* Turns into an X when open */
.navbar.nav-open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.navbar.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
.navbar.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

img { max-width: 100%; }

@media (max-width: 860px) {

    /* ---------- Navbar ---------- */
    .nav-container {
        width: auto;
        padding: 0 16px;
        position: relative;
    }
    .logo { gap: 8px; font-size: 1.25rem; white-space: nowrap; }
    .logo img { width: 40px; height: 40px; }

    .nav-toggle { display: inline-flex; }

    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        margin: 0;
        padding: 8px 16px 18px;
        list-style: none;
        background: #000;
        border-bottom: 1px solid #222;
        box-shadow: 0 18px 30px rgba(0, 0, 0, .6);
    }
    .navbar.nav-open .nav-links { display: flex; }

    .nav-links li { width: 100%; }
    .nav-links a {
        display: block;
        padding: 14px 4px;
        font-size: 18px;
        border-bottom: 1px solid #1a1a1a;
    }
    .nav-links a.signup-btn {
        margin-top: 12px;
        text-align: center;
        border-bottom: none;
    }
    .nav-links a.nav-profile {
        display: flex;
        width: fit-content;
        margin: 12px 0 4px;
        padding: 5px 16px 5px 5px;
        border-bottom: 1px solid #2a2a2a;
    }

    /* ---------- Home page for visitors (index.html) ---------- */
    .intro-section {
        display: flex;
        flex-direction: column;
        grid-template-columns: 1fr;
        gap: 40px;
        /* top padding leaves room for the fixed navbar */
        padding: calc(var(--navbar-height) + 28px) 16px 56px;
        box-sizing: border-box;
    }
    .intro-content { width: 100%; max-width: none; }
    .intro-content h1 { font-size: 34px; line-height: 1.2; }
    .intro-buttons { display: flex; flex-wrap: wrap; gap: 12px; }
    .intro-buttons a { flex: 1 1 140px; text-align: center; }
    .presentation-preview {
        width: 100%;
        max-width: 360px;
        margin: 0 auto;
    }
    .slide-card {
        width: 100%;
        height: auto;
        min-height: 230px;
        padding: 20px;
        box-sizing: border-box;
        transform: rotate(-3deg);
    }
    .slide-content { margin-top: 28px; }
    .slide-content h3 { font-size: 24px; }
    .chart-box { height: 70px; margin-top: 18px; }
    .chart-box div { width: 34px; }
    .floating-card { padding: 9px 14px; font-size: 13px; }
    .card-one { top: -18px; right: 0; }
    .card-two { bottom: -18px; left: 0; }

    /* ---------- Create page ---------- */
    .workspace { padding: calc(var(--navbar-height) + 24px) 16px 48px; }
    .workspace-header { margin-bottom: 28px; }
    .workspace-header h1 { font-size: 32px; line-height: 1.2; }
    .workspace-header p { font-size: 16px; }
    .creation-area { flex-direction: column; gap: 28px; }
    .upload-container,
    .preview-container { width: 100%; }
    .upload-box { height: auto; min-height: 260px; padding: 32px 16px; box-sizing: border-box; text-align: center; }
    .upload-box input { max-width: 100%; }
    .generate-btn { width: 100%; margin-top: 20px; }

    /* ---------- Pricing ---------- */
    .pricing-page { padding-left: 16px; padding-right: 16px; }
    .pricing-header h1 { font-size: 30px; }

    /* ---------- Docs ---------- */
    .docs-page { padding-left: 16px; padding-right: 16px; }
    .docs-header { flex-direction: column; align-items: flex-start; gap: 16px; }
    .docs-header-actions { display: flex; flex-wrap: wrap; gap: 10px; }
    .doc-card { flex-wrap: wrap; }
    .doc-actions { width: 100%; display: flex; gap: 10px; }
    .doc-actions a { flex: 1; text-align: center; }
}
/* ===== WhatsApp support line on the home page (index.html) ===== */
/* Paste at the very bottom of style.css */

.support-line {
    margin-top: 18px;
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.7);
}

.support-line a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-left: 4px;
    color: #25d366;
    font-weight: 600;
    text-decoration: none;
}

.support-line a::before {
    content: "";
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: #25d366;
    box-shadow: 0 0 0 4px rgba(37, 211, 102, 0.2);
}

.support-line a:hover {
    text-decoration: underline;
}
