
* { 
    margin: 0; 
    padding: 0; 
    box-sizing: border-box; 
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Inter', sans-serif;
    background: #ffffff;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    color: #1e293b;
    line-height: 1.5;
}

/* Simple Header */
.header {
    background: #ffffff;
    padding: 16px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 10;
    border-bottom: 1px solid #f1f5f9;
}


/* Simple Navigation */
.nav-right {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-item {
    text-decoration: none;
    color: #475569;
    font-weight: 500;
    font-size: 15px;
}

.nav-item:hover {
    color: #8b5cf6;
}

.upload-btn {
    background: #8b5cf6;
    color: white;
    padding: 10px 20px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 14px;
    text-decoration: none;
    border: none;
    cursor: pointer;
}

.upload-btn:hover {
    background: #7c3aed;
}

/* Main Content */
.main-content {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
}

.upload-container {
    max-width: 980px;
    width: 100%;
}

/* Welcome Section - Clean */
.welcome-section {
    text-align: center;
    margin-bottom: 32px;
    padding: 40px 20px;
}

.welcome-title {
    font-size: 38px;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 12px;
    letter-spacing: -0.5px;
}

.welcome-subtitle {
    font-size: 16px;
    color: #64748b;
    max-width: 600px;
    margin: 0 auto;
}

/* Simple Upload Card */
.upload-card {
    background: #ffffff;
    border-radius: 16px;
    padding: 40px;
    border: 1px solid #e2e8f0;
}

.upload-area {
    border: 2px dashed #cbd5e1;
    border-radius: 12px;
    padding: 60px 30px;
    cursor: pointer;
    text-align: center;
    background: #f8fafc;
}

.upload-area:hover {
    border-color: #8b5cf6;
    background: #f5f3ff;
}

.upload-area.dragover {
    border-color: #8b5cf6;
    background: #ede9fe;
    border-style: solid;
}

.upload-icon {
    width: 72px;
    height: 72px;
    margin: 0 auto 20px;
    background: #8b5cf6;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    color: white;
}

.upload-text {
    font-size: 18px;
    font-weight: 600;
    color: #0f172a;
    margin-bottom: 8px;
}

.upload-hint {
    color: #64748b;
    font-size: 14px;
}

.upload-hint-specs {
    margin-top: 16px;
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.spec-item {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #475569;
    font-size: 13px;
    padding: 6px 12px;
    background: #f1f5f9;
    border-radius: 20px;
}

#fileInput { display: none; }

/* Preview Section */
.preview-section { display: none; }
.preview-section.active { display: block; }

.preview-header {
    text-align: center;
    margin-bottom: 20px;
}

.preview-title {
    font-size: 20px;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 4px;
}

.preview-subtitle {
    color: #64748b;
    font-size: 14px;
}

.preview-wrapper {
    border-radius: 12px;
    overflow: hidden;
    background: #f8fafc;
    margin-bottom: 20px;
    border: 1px solid #e2e8f0;
}

.preview-image {
    width: 100%;
    max-height: 400px;
    object-fit: contain;
    display: block;
    background: #ffffff;
}

/* Image Info */
.image-info {
    background: #f8fafc;
    padding: 16px;
    border-radius: 10px;
    margin-bottom: 20px;
    display: flex;
    justify-content: space-around;
    text-align: center;
    border: 1px solid #e2e8f0;
}

.info-item { flex: 1; }
.info-label {
    font-size: 12px;
    color: #94a3b8;
    text-transform: uppercase;
    margin-bottom: 4px;
}
.info-value {
    font-size: 16px;
    font-weight: 600;
    color: #0f172a;
}

/* Action Buttons */
.action-buttons {
    display: flex;
    gap: 12px;
}

.btn {
    flex: 1;
    padding: 14px 24px;
    border: none;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    font-family: inherit;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.btn-primary {
    background: #8b5cf6;
    color: white;
}

.btn-primary:hover:not(:disabled) {
    background: #7c3aed;
}

.btn-primary:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.btn-secondary {
    background: white;
    color: #475569;
    border: 1px solid #e2e8f0;
}

.btn-secondary:hover {
    background: #f8fafc;
}

/* Simple Loading */
.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: 40px;
    height: 40px;
    border: 3px solid #e2e8f0;
    border-top: 3px solid #8b5cf6;
    border-radius: 50%;
}

.loading-text {
    margin-top: 16px;
    font-size: 16px;
    font-weight: 600;
    color: #0f172a;
}

/* Features Grid - Clean */
.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 40px;
}

.feature-card {
    background: #ffffff;
    padding: 24px;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
}

.feature-icon {
    font-size: 28px;
    margin-bottom: 12px;
    color: #8b5cf6;
}

.feature-title {
    font-size: 16px;
    font-weight: 600;
    color: #0f172a;
    margin-bottom: 8px;
}

.feature-desc {
    font-size: 14px;
    color: #64748b;
    line-height: 1.5;
}

/* Alerts */
.alert {
    padding: 14px 18px;
    border-radius: 8px;
    margin-bottom: 20px;
    font-size: 14px;
    font-weight: 500;
}

.alert-error {
    background: #fef2f2;
    color: #b91c1c;
    border: 1px solid #fee2e2;
}

.alert-success {
    background: #f0fdf4;
    color: #166534;
    border: 1px solid #dcfce7;
}

/* Section Styles */
.section {
    margin-top: 60px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 40px 32px;
}

.section-title {
    text-align: center;
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 12px;
    color: #0f172a;
}

.section-subtitle {
    text-align: center;
    color: #64748b;
    font-size: 15px;
    max-width: 700px;
    margin: 0 auto 24px;
}

/* How it Works Grid */
.how-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.how-card {
    border: 1px solid #e2e8f0;
    background: #ffffff;
    border-radius: 12px;
    padding: 24px;
}

.how-num {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: white;
    background: #8b5cf6;
    margin-bottom: 12px;
}

.how-card h3 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 8px;
    color: #0f172a;
}

.how-card p {
    font-size: 14px;
    color: #64748b;
    line-height: 1.5;
}

/* Reviews Grid */
.reviews-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.review-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 24px;
}

.review-stars {
    color: #fbbf24;
    font-weight: 600;
    margin-bottom: 8px;
}

.review-text {
    color: #334155;
    font-size: 14px;
    line-height: 1.5;
    margin-bottom: 12px;
}

.review-name {
    color: #0f172a;
    font-weight: 600;
    font-size: 14px;
}

/* FAQ */
.faq-wrap {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.faq-item {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    padding: 16px 20px;
}

.faq-q {
    font-weight: 600;
    color: #0f172a;
    font-size: 15px;
}

.faq-a {
    margin-top: 8px;
    color: #64748b;
    font-size: 14px;
}

/* Blog Grid */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.blog-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 24px;
}

.blog-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    font-weight: 600;
    padding: 6px 10px;
    border-radius: 20px;
    background: #f1f5f9;
    color: #475569;
    margin-bottom: 12px;
}

.blog-title {
    font-size: 16px;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 8px;
}

.blog-desc {
    font-size: 14px;
    color: #64748b;
    line-height: 1.5;
}

/* CTA Box */
.cta-box {
    background: linear-gradient(135deg, #f5f3ff, #faf5ff);
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 40px 32px;
    text-align: center;
}

.cta-title {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 12px;
    color: #0f172a;
}

.cta-desc {
    font-size: 15px;
    color: #475569;
    max-width: 600px;
    margin: 0 auto 20px;
}

/* Footer - Simple */
.footer {
    margin-top: 60px;
    background: #0f172a;
    color: #cbd5e1;
    padding: 40px 32px 24px;
}

.footer-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 32px;
}

.footer h3 {
    color: #ffffff;
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 16px;
}

.footer a {
    color: #94a3b8;
    text-decoration: none;
    font-size: 14px;
    display: block;
    margin-bottom: 8px;
}

.footer a:hover {
    color: #ffffff;
}

.footer-brand {
    color: #ffffff;
    font-weight: 700;
    font-size: 18px;
    margin-bottom: 12px;
}

.footer-note {
    margin-top: 32px;
    text-align: center;
    font-size: 13px;
    color: #64748b;
    border-top: 1px solid #1e293b;
    padding-top: 24px;
}

/* Mobile Menu */
.menu-toggle {
    display: none;
    font-size: 24px;
    cursor: pointer;
    color: #475569;
}

/* Responsive */
@media (max-width: 1024px) {
    .features-grid,
    .how-grid,
    .reviews-grid,
    .blog-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-inner {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .header {
        padding: 14px 20px;
    }
    
    .welcome-title {
        font-size: 32px;
    }
    
    .nav-right {
        display: none;
    }
    
    .nav-right.active {
        display: flex;
        position: absolute;
        top: 70px;
        left: 0;
        right: 0;
        background: white;
        flex-direction: column;
        padding: 20px;
        gap: 16px;
        border-bottom: 1px solid #e2e8f0;
        box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1);
    }
    
    .menu-toggle {
        display: block;
    }
    
    .upload-card {
        padding: 24px 16px;
    }
    
    .upload-area {
        padding: 40px 16px;
    }
    
    .features-grid,
    .how-grid,
    .reviews-grid,
    .blog-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-inner {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    
    .action-buttons {
        flex-direction: column;
    }
    
    .image-info {
        flex-direction: column;
        gap: 12px;
    }
}

/* ===== SIMPLE RESPONSIVE ARTICLE CSS ===== */

#homepage-article{
  padding:40px 15px;
  font-family: Arial, sans-serif;
}

#homepage-article .section-title{
  font-size:32px;
  font-weight:700;
  margin-bottom:10px;
  text-align:center;
}

#homepage-article .section-subtitle{
  font-size:16px;
  color:#666;
  text-align:center;
  margin-bottom:30px;
}

#homepage-article .article-container{
  max-width:900px;
  margin:auto;
  line-height:1.7;
  font-size:16px;
  color:#333;
}

/* paragraph */
#homepage-article p{
  margin-bottom:15px;
}

/* headings */
#homepage-article h2{
  font-size:24px;
  margin:25px 0 10px;
}

#homepage-article h3{
  font-size:20px;
  margin:20px 0 8px;
}

/* lists */
#homepage-article ul,
#homepage-article ol{
  padding-left:20px;
  margin-bottom:15px;
}

#homepage-article li{
  margin-bottom:8px;
}

/* images */
#homepage-article img{
  max-width:100%;
  height:auto;
  display:block;
  margin:15px auto;
  border-radius:8px;
}

/* links */
#homepage-article a{
  color:#0073ff;
  text-decoration:none;
}

#homepage-article a:hover{
  text-decoration:underline;
}

/* ===== MOBILE RESPONSIVE ===== */
@media (max-width:768px){

  #homepage-article .section-title{
    font-size:24px;
  }

  #homepage-article .section-subtitle{
    font-size:14px;
  }

  #homepage-article h2{
    font-size:20px;
  }

  #homepage-article h3{
    font-size:18px;
  }

  #homepage-article .article-container{
    font-size:15px;
  }
}


.logo-link {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

.logo-icon img {
    width: 22px;        /* Control logo size */
    height: 22px;
    object-fit: contain;
    display: block;
}

.logo-text {
    font-size: 18px;
    font-weight: 600;
    color: #0f172a;
}

/* Footer brand layout */
.footer-brand{
    display:flex;
    align-items:center;
    gap:10px;
    font-size:18px;
    font-weight:700;
    color:#ffffff;
}

/* FIX BIG FOOTER LOGO */
.footer-brand img{
    height:28px;      /* change size here (24–32 best) */
    width:auto;
    object-fit:contain;
    display:block;
}