        * { margin: 0; padding: 0; box-sizing: border-box; }

        body{
            font-family:'Inter',sans-serif;
            background:#f8f9fa;
            min-height:100vh;
            display:flex;
            flex-direction:column;
            color:#111827;
        }


        .header{
            background:rgba(255,255,255,0.9);
            backdrop-filter: blur(10px);
            -webkit-backdrop-filter: blur(10px);
            padding:10px 40px;
            box-shadow: 0 2px 18px rgba(0,0,0,0.06);
            display:flex;
            justify-content:space-between;
            align-items:center;
            position:sticky;
            top:0;
            z-index:10;
            border-bottom:1px solid rgba(229,229,229,0.8);
        }

        .header-info{
            color:#4b5563;
            font-size:14px;
            font-weight:600;
            display:flex;
            align-items:center;
            gap:10px;
            padding:8px 12px;
            border-radius:999px;
            background:linear-gradient(180deg, rgba(102,126,234,0.10), rgba(118,75,162,0.10));
            border:1px solid rgba(102,126,234,0.18);
            white-space:nowrap;
        }

        .main-content{
            flex:1;
            display:flex;
            align-items:center;
            justify-content:center;
            padding:50px 20px 30px;
        }

        .upload-container{
            max-width:980px;
            width:100%;
        }

        .welcome-section{
            text-align:center;
            margin-bottom:34px;
            padding:26px 18px;
            border-radius:18px;
            background:
                radial-gradient(900px 220px at 50% 0%, rgba(102,126,234,0.18), transparent 70%),
                radial-gradient(900px 220px at 50% 100%, rgba(118,75,162,0.14), transparent 70%),
                linear-gradient(180deg, rgba(255,255,255,0.85), rgba(255,255,255,0.72));
            border:1px solid rgba(229,229,229,0.9);
            box-shadow: 0 10px 40px rgba(0,0,0,0.05);
        }

        .welcome-title{
            font-size:40px;
            font-weight:800;
            color:#111827;
            margin-bottom:10px;
            letter-spacing:-1px;
        }

        .welcome-subtitle{
            font-size:16px;
            color:#4b5563;
            line-height:1.7;
            max-width:720px;
            margin:0 auto;
        }

        .hero-actions{
            margin-top:18px;
            display:flex;
            justify-content:center;
            gap:12px;
            flex-wrap:wrap;
        }

        .hero-btn{
            display:inline-flex;
            align-items:center;
            justify-content:center;
            gap:10px;
            padding:14px 22px;
            border-radius:12px;
            text-decoration:none;
            font-weight:700;
            font-size:14px;
            transition: all 0.25s ease;
            border:1px solid transparent;
        }

        .hero-btn-primary{
            background: linear-gradient(135deg,#667eea 0%,#764ba2 100%);
            color:#fff;
            box-shadow:0 10px 28px rgba(102,126,234,0.24);
        }

        .hero-btn-primary:hover{
            transform: translateY(-2px);
            box-shadow:0 16px 34px rgba(102,126,234,0.30);
        }

        .hero-btn-secondary{
            background:#fff;
            color:#374151;
            border-color:#e5e5e5;
        }
        .hero-btn-secondary:hover{
            background:#f8f9fa;
        }

        .upload-card{
            background:white;
            border-radius:16px;
            padding:50px;
            box-shadow:0 10px 40px rgba(0,0,0,0.06);
            border:1px solid #eaeaea;
        }

        .upload-area{
            border:2px dashed #d0d0d0;
            border-radius:14px;
            padding:62px 30px;
            cursor:pointer;
            transition:all 0.3s ease;
            text-align:center;
            background:
                linear-gradient(180deg, #ffffff, #fafafa);
            position:relative;
            overflow:hidden;
        }

        .upload-area:before{
            content:"";
            position:absolute;
            inset:-2px;
            background:
                radial-gradient(700px 220px at 20% 0%, rgba(102,126,234,0.18), transparent 65%),
                radial-gradient(700px 220px at 80% 100%, rgba(118,75,162,0.14), transparent 65%);
            opacity:0.35;
            pointer-events:none;
        }

        .upload-area:hover{
            border-color:#667eea;
            background:#f8f9ff;
        }

        .upload-area.dragover{
            border-color:#667eea;
            background:#f0f3ff;
            border-style:solid;
        }

        .upload-icon{
            width:86px;
            height:86px;
            margin:0 auto 22px;
            background: linear-gradient(135deg,#667eea 0%,#764ba2 100%);
            border-radius:22px;
            display:flex;
            align-items:center;
            justify-content:center;
            font-size:40px;
            position:relative;
            box-shadow:0 12px 28px rgba(102,126,234,0.22);
        }

        .upload-text{
            font-size:18px;
            font-weight:700;
            color:#111827;
            margin-bottom:10px;
            position:relative;
        }

        .upload-hint{
            color:#6b7280;
            font-size:14px;
            line-height:1.65;
            position:relative;
        }

        .upload-hint-specs{
            margin-top:14px;
            display:flex;
            gap:22px;
            justify-content:center;
            flex-wrap:wrap;
        }

        .spec-item{
            display:flex;
            align-items:center;
            gap:8px;
            color:#4b5563;
            font-size:13px;
            padding:8px 10px;
            border-radius:999px;
            background:#f8f9ff;
            border:1px solid rgba(102,126,234,0.16);
        }

        .spec-icon{
            color:#667eea;
            font-size:16px;
        }

        #fileInput{ display:none; }

        .preview-section{ display:none; }
        .preview-section.active{ display:block; }

        .preview-header{
            text-align:center;
            margin-bottom:22px;
        }

        .preview-title{
            font-size:20px;
            font-weight:800;
            color:#111827;
            margin-bottom:6px;
        }

        .preview-subtitle{
            color:#6b7280;
            font-size:14px;
        }

        .preview-wrapper{
            position:relative;
            border-radius:14px;
            overflow:hidden;
            background:#f5f5f5;
            margin-bottom:20px;
            border:1px solid #ededed;
        }

        .preview-image{
            width:100%;
            max-height:420px;
            object-fit:contain;
            display:block;
            background:#fff;
        }

        .image-info{
            background: #f8fafc;
            padding:16px;
            border-radius:12px;
            margin-bottom:22px;
            display:flex;
            justify-content:space-around;
            text-align:center;
            border:1px solid #edf2f7;
        }

        .info-item{ flex:1; }
        .info-label{
            font-size:12px;
            color:#9ca3af;
            text-transform:uppercase;
            letter-spacing:0.7px;
            margin-bottom:4px;
        }
        .info-value{
            font-size:16px;
            font-weight:800;
            color:#111827;
        }

        .action-buttons{
            display:flex;
            gap:12px;
        }

        .btn{
            flex:1;
            padding:16px 30px;
            border:none;
            border-radius:12px;
            font-size:15px;
            font-weight:800;
            cursor:pointer;
            transition:all 0.25s ease;
            font-family:'Inter',sans-serif;
            display:flex;
            align-items:center;
            justify-content:center;
            gap:10px;
        }

        .btn-primary{
            background: linear-gradient(135deg,#667eea 0%,#764ba2 100%);
            color:white;
            box-shadow:0 10px 26px rgba(102,126,234,0.24);
        }

        .btn-primary:hover:not(:disabled){
            transform:translateY(-2px);
            box-shadow:0 16px 34px rgba(102,126,234,0.30);
        }

        .btn-secondary{
            background:white;
            color:#4b5563;
            border:2px solid #e5e7eb;
        }

        .btn-secondary:hover{
            background:#f9fafb;
            border-color:#d1d5db;
        }

        .btn:disabled{
            opacity:0.55;
            cursor:not-allowed;
            transform:none !important;
        }

        .loading-overlay{
            display:none;
            position:fixed;
            inset:0;
            background:rgba(255,255,255,0.95);
            z-index:9999;
            align-items:center;
            justify-content:center;
            flex-direction:column;
        }

        .loading-overlay.active{ display:flex; }

        .spinner{
            width:56px;
            height:56px;
            border:4px solid #f0f0f0;
            border-top:4px solid #667eea;
            border-radius:50%;
            animation:spin 1s linear infinite;
        }

        @keyframes spin{
            0%{ transform:rotate(0deg); }
            100%{ transform:rotate(360deg); }
        }

        .loading-text{
            margin-top:18px;
            font-size:16px;
            font-weight:800;
            color:#111827;
        }

        .loading-subtext{
            margin-top:8px;
            font-size:14px;
            color:#6b7280;
        }

        .features-grid{
            display:grid;
            grid-template-columns:repeat(3, 1fr);
            gap:24px;
            margin-top:34px;
        }

        .feature-card{
            background:white;
            padding:26px 24px;
            border-radius:14px;
            text-align:left;
            box-shadow:0 10px 30px rgba(0,0,0,0.05);
            border:1px solid #f1f1f1;
            position:relative;
            overflow:hidden;
        }

        .feature-card:before{
            content:"";
            position:absolute;
            inset:-1px;
            background:
                radial-gradient(520px 200px at 10% 0%, rgba(102,126,234,0.16), transparent 60%),
                radial-gradient(520px 200px at 90% 100%, rgba(118,75,162,0.12), transparent 60%);
            opacity:0.35;
            pointer-events:none;
        }

        .feature-icon{
            font-size:34px;
            margin-bottom:10px;
            position:relative;
        }

        .feature-title{
            font-size:15px;
            font-weight:800;
            color:#111827;
            margin-bottom:8px;
            position:relative;
        }

        .feature-desc{
            font-size:13px;
            color:#6b7280;
            line-height:1.6;
            position:relative;
        }

        .alert{
            padding:16px 20px;
            border-radius:12px;
            margin-bottom:20px;
            font-size:14px;
            font-weight:600;
        }

        .alert-error{
            background:#fff1f2;
            color:#9f1239;
            border:1px solid #fecdd3;
        }

        /* NEW sections (premium) */
        .section{
            margin-top:80px;
            background:#ffffff;
            border:1px solid #ededed;
            border-radius:18px;
            padding:44px 34px;
            box-shadow:0 12px 44px rgba(0,0,0,0.05);
        }

        .section-title{
            text-align:center;
            font-size:28px;
            font-weight:900;
            letter-spacing:-0.5px;
            margin-bottom:14px;
            color:#111827;
        }

        .section-subtitle{
            text-align:center;
            color:#6b7280;
            font-size:14px;
            max-width:760px;
            margin:0 auto 28px;
            line-height:1.7;
        }

        .trust-row{
            margin-top:18px;
            display:flex;
            justify-content:center;
            gap:14px;
            flex-wrap:wrap;
        }

        .trust-pill{
            font-size:13px;
            font-weight:700;
            color:#374151;
            padding:10px 12px;
            border-radius:999px;
            border:1px solid #e5e7eb;
            background:#fff;
        }

        .how-grid{
            display:grid;
            grid-template-columns:repeat(3, 1fr);
            gap:18px;
            margin-top:14px;
        }

        .how-card{
            border:1px solid #f0f0f0;
            background:#fff;
            border-radius:16px;
            padding:22px;
            box-shadow:0 10px 28px rgba(0,0,0,0.04);
        }

        .how-num{
            width:40px;height:40px;border-radius:12px;
            display:flex;align-items:center;justify-content:center;
            font-weight:900;color:#fff;
            background: linear-gradient(135deg,#667eea 0%,#764ba2 100%);
            box-shadow:0 10px 22px rgba(102,126,234,0.18);
            margin-bottom:14px;
        }

        .how-card h3{
            font-size:16px;
            font-weight:900;
            margin-bottom:8px;
            color:#111827;
        }

        .how-card p{
            font-size:13px;
            color:#6b7280;
            line-height:1.7;
        }

        .reviews-grid{
            display:grid;
            grid-template-columns:repeat(3, 1fr);
            gap:18px;
            margin-top:14px;
        }

        .review-card{
            background:#fff;
            border:1px solid #f0f0f0;
            border-radius:16px;
            padding:22px;
            box-shadow:0 10px 28px rgba(0,0,0,0.04);
        }

        .review-stars{
            font-weight:900;
            letter-spacing:1px;
        }

        .review-text{
            margin-top:10px;
            color:#374151;
            font-size:13px;
            line-height:1.7;
        }

        .review-name{
            margin-top:12px;
            color:#111827;
            font-weight:900;
            font-size:13px;
        }

        .faq-wrap{
            max-width:880px;
            margin:0 auto;
            display:flex;
            flex-direction:column;
            gap:12px;
        }

        .faq-item{
            background:#fff;
            border:1px solid #f0f0f0;
            border-radius:14px;
            padding:18px 18px;
        }

        .faq-q{
            font-weight:900;
            color:#111827;
            font-size:14px;
        }

        .faq-a{
            margin-top:8px;
            color:#6b7280;
            font-size:13px;
            line-height:1.7;
        }

        .blog-grid{
            display:grid;
            grid-template-columns:repeat(3, 1fr);
            gap:18px;
            margin-top:14px;
        }

        .blog-card{
            background:#fff;
            border:1px solid #f0f0f0;
            border-radius:16px;
            padding:22px;
            box-shadow:0 10px 28px rgba(0,0,0,0.04);
            text-align:left;
        }

        .blog-tag{
            display:inline-flex;
            align-items:center;
            gap:8px;
            font-size:12px;
            font-weight:900;
            padding:8px 10px;
            border-radius:999px;
            background:#f8f9ff;
            border:1px solid rgba(102,126,234,0.16);
            color:#4b5563;
            margin-bottom:12px;
        }

        .blog-title{
            font-size:15px;
            font-weight:900;
            color:#111827;
            margin-bottom:8px;
        }

        .blog-desc{
            font-size:13px;
            color:#6b7280;
            line-height:1.7;
        }

        .cta-box{
            background:
                radial-gradient(900px 260px at 20% 0%, rgba(102,126,234,0.16), transparent 70%),
                radial-gradient(900px 260px at 80% 100%, rgba(118,75,162,0.14), transparent 70%),
                linear-gradient(135deg, rgba(102,126,234,0.10), rgba(118,75,162,0.10));
            border:1px solid rgba(102,126,234,0.18);
            border-radius:18px;
            padding:34px 26px;
            text-align:center;
            box-shadow:0 14px 54px rgba(0,0,0,0.05);
        }

        .cta-title{
            font-size:24px;
            font-weight:900;
            margin-bottom:10px;
            color:#111827;
        }

        .cta-desc{
            font-size:14px;
            color:#6b7280;
            line-height:1.7;
            max-width:760px;
            margin:0 auto 18px;
        }

        .footer{
            margin-top:70px;
            background:#0b1220;
            color:#cbd5e1;
            padding:44px 22px;
            border-top:1px solid rgba(255,255,255,0.06);
        }

        .footer-inner{
            max-width:980px;
            margin:0 auto;
            display:grid;
            grid-template-columns: 1.3fr 1fr 1fr 1fr;
            gap:22px;
        }

        .footer h3{
            color:#fff;
            font-size:14px;
            font-weight:900;
            margin-bottom:12px;
        }

        .footer a{
            color:#cbd5e1;
            text-decoration:none;
            font-size:13px;
            display:block;
            margin-bottom:10px;
        }

        .footer a:hover{
            color:#fff;
        }

        .footer-brand{
            color:#fff;
            font-weight:900;
            font-size:18px;
            margin-bottom:10px;
        }

        .footer-note{
            margin-top:26px;
            text-align:center;
            font-size:12px;
            color:#94a3b8;
        }

        .navlinks{
            display:flex;
            align-items:center;
            gap:18px;
            flex-wrap:wrap;
        }

        .navlinks a{
            text-decoration:none;
            color:#4b5563;
            font-weight:700;
            font-size:14px;
            padding:10px 10px;
            border-radius:10px;
            transition: all .2s ease;
        }
        .navlinks a:hover{
            background:#f3f4f6;
            color:#111827;
        }

        .nav-cta{
            display:flex;
            align-items:center;
            gap:10px;
        }

        .nav-btn{
            display:inline-flex;
            align-items:center;
            justify-content:center;
            gap:8px;
            padding:12px 14px;
            border-radius:12px;
            font-weight:800;
            font-size:13px;
            text-decoration:none;
            border:1px solid #e5e7eb;
            color:#374151;
            background:#fff;
            transition:all .2s ease;
            white-space:nowrap;
        }
        .nav-btn:hover{
            background:#f9fafb;
        }

        .nav-btn-primary{
            border: none;
            background: linear-gradient(135deg,#667eea 0%,#764ba2 100%);
            color:#fff;
            box-shadow:0 10px 26px rgba(102,126,234,0.22);
        }
        .nav-btn-primary:hover{
            transform: translateY(-1px);
            box-shadow:0 14px 30px rgba(102,126,234,0.26);
        }

        .alert-success{
            background:#ecfdf5;
            color:#065f46;
            border:1px solid #a7f3d0;
        }

        @media (max-width: 1024px){
            .features-grid,
            .how-grid,
            .reviews-grid,
            .blog-grid{
                grid-template-columns:1fr;
            }
            .footer-inner{
                grid-template-columns:1fr 1fr;
            }
        }

        @media (max-width: 768px){
            .header{ padding:14px 16px; gap:10px; }
            .logo{ font-size:20px; }
            .header-info{ display:none; }

            .welcome-title{ font-size:28px; }
            .welcome-subtitle{ font-size:14px; }

            .upload-card{ padding:28px 18px; }
            .upload-area{ padding:42px 18px; }

            .action-buttons{ flex-direction:column; }
            .image-info{ flex-direction:column; gap:12px; }

            .navlinks{ display:none; } /* premium: hide on mobile */
            .footer-inner{ grid-template-columns:1fr; }
        }

        /* ===== BLOG / ARTICLE SECTION ===== */
#homepage-article{
    margin-top:80px;
}

#homepage-article .article-container{
    max-width:900px;
    margin:auto;
    color:#374151;
    font-size:15px;
    line-height:1.8;
}

#homepage-article h2{
    font-size:26px;
    font-weight:800;
    margin-top:30px;
    color:#111827;
}

#homepage-article h3{
    font-size:22px;
    font-weight:800;
    margin-top:25px;
    color:#111827;
}

#homepage-article p{
    margin-top:12px;
}

#homepage-article ul,
#homepage-article ol{
    padding-left:22px;
    margin-top:10px;
}

#homepage-article li{
    margin-bottom:6px;
}

#homepage-article img{
    width:100%;
    border-radius:12px;
    margin:20px 0;
    box-shadow:0 10px 30px rgba(0,0,0,.08);
}

#homepage-article table{
    width:100%;
    border-collapse:collapse;
    margin-top:20px;
}

#homepage-article th{
    background:#f3f4f6;
    padding:12px;
    border:1px solid #e5e7eb;
    text-align:left;
    font-weight:700;
}

#homepage-article td{
    padding:12px;
    border:1px solid #e5e7eb;
    text-align:center;
}

#homepage-article .section-title{
    text-align:center;
    font-size:32px;
    font-weight:800;
    margin-bottom:10px;
}

#homepage-article .section-subtitle{
    text-align:center;
    color:#6b7280;
    margin-bottom:30px;
}

/* ===== NEW NAVBAR ===== */
.nav-left{
    display:flex;
    align-items:center;
}

.logo-link{
    display:flex;
    align-items:center;
    gap:10px;
    text-decoration:none;
}


  .logo-icon{
            width: 34px;
            height: 34px;
            border-radius: 10px;
            display:flex;
            align-items:center;
            justify-content:center;
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
            font-size: 18px;
            flex: 0 0 auto;
        }

.nav-right{
    display:flex;
    align-items:center;
    gap:25px;
}

.nav-item{
    text-decoration:none;
    color:#374151;
    font-weight:600;
    font-size:14px;
}

.nav-item:hover{
    color:#667eea;
}

/* Upload Button */
.upload-btn{
    background: linear-gradient(135deg,#667eea,#764ba2);
    color:white;
    padding:12px 18px;
    border-radius:10px;
    font-weight:700;
    text-decoration:none;
    box-shadow:0 8px 20px rgba(102,126,234,.3);
    transition:.2s;
}

.upload-btn:hover{
    transform:translateY(-2px);
    box-shadow:0 12px 25px rgba(102,126,234,.4);
}

/* Mobile menu icon */
.menu-toggle{
    display:none;
    font-size:26px;
    cursor:pointer;
}

/* ===== MOBILE ===== */
@media(max-width:768px){

    .menu-toggle{
        display:block;
    }

    .nav-right{
        position:absolute;
        top:70px;
        right:0;
        background:white;
        flex-direction:column;
        width:100%;
        padding:20px;
        gap:15px;
        box-shadow:0 10px 30px rgba(0,0,0,.08);
        display:none;
    }

    .nav-right.active{
        display:flex;
    }

    .upload-btn{
        width:100%;
        text-align:center;
    }
}
