:root {
    --bg-dark: #05070d;
    --bg-card: rgba(15, 21, 33, 0.7);
    --bg-surface: #0a0e1a;
    --accent-gold: #eab308;
    --accent-gold-light: #fef08a;
    --gold-gradient: linear-gradient(135deg, #fef08a 0%, #eab308 50%, #ca8a04 100%);
    --border-glass: rgba(255, 255, 255, 0.08);
    --border-gold: rgba(234, 179, 8, 0.25);
    --text-primary: #f9fafb;
    --text-muted: #9ca3af;
    --radius-xl: 20px;
    --radius-lg: 14px;
    --radius-md: 10px;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: 'Plus Jakarta Sans', sans-serif;
    letter-spacing: normal;
    font-stretch: normal;
}

h1, h2, h3, .brand-title {
    font-family: 'Outfit', sans-serif;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}

.container {
    max-width: 1060px;
    margin: 0 auto;
    padding: 0 20px;
}

.hidden {
    display: none !important;
}

/* Ambient Background Lights */
.glow-bg {
    position: absolute;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    filter: blur(140px);
    z-index: -1;
    pointer-events: none;
    opacity: 0.18;
}

.glow-gold {
    top: -80px;
    left: 20%;
    background: #eab308;
}

.glow-purple {
    top: 300px;
    right: 15%;
    background: #a855f7;
}

/* Navigation */
.navbar {
    background: rgba(5, 7, 13, 0.82);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border-glass);
    position: sticky;
    top: 0;
    z-index: 100;
}

.nav-wrap {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 72px;
}

.brand-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.logo-icon {
    width: 38px;
    height: 38px;
    background: var(--gold-gradient);
    color: #000;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-brand {
    display: flex;
    flex-direction: column;
}

.brand-title {
    color: #fff;
    font-weight: 800;
    font-size: 1.1rem;
    line-height: 1;
    letter-spacing: 0.5px;
}

.brand-sub {
    color: var(--accent-gold);
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 1px;
}

.nav-links {
    display: flex;
    gap: 24px;
}

.nav-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: color 0.2s;
}

.nav-links a:hover {
    color: var(--accent-gold-light);
}

/* Hero Section */
.hero-section {
    padding: 50px 0 40px;
    text-align: center;
}

.hero-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(234, 179, 8, 0.08);
    border: 1px solid var(--border-gold);
    color: var(--accent-gold-light);
    padding: 6px 16px;
    border-radius: 30px;
    font-size: 0.75rem;
    font-weight: 700;
    margin-bottom: 20px;
    letter-spacing: 1px;
}

.hero-title {
    font-size: 2.8rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 16px;
}

.gradient-text {
    background: var(--gold-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-desc {
    color: var(--text-muted);
    font-size: 1.05rem;
    max-width: 600px;
    margin: 0 auto 30px;
}

/* AdSense Slot - Clean Integration */
.adsense-slot {
    margin: 24px auto;
    text-align: center;
    min-height: 10px;
    overflow: hidden;
}

/* Main Workspace Card */
.workspace-card {
    background: var(--bg-card);
    backdrop-filter: blur(20px);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-xl);
    padding: 44px 28px;
    max-width: 800px;
    margin: 10px auto 0;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6);
    transition: border-color 0.3s;
}

.workspace-card.drag-over {
    border-color: var(--accent-gold);
}

.upload-icon-box {
    width: 64px;
    height: 64px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-glass);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 18px;
    color: var(--accent-gold);
}

.state-box h2 {
    font-size: 1.3rem;
    margin-bottom: 8px;
}

.state-box p {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 22px;
}

/* Buttons */
.btn-gold {
    background: var(--gold-gradient);
    color: #000;
    border: none;
    padding: 13px 28px;
    font-size: 0.92rem;
    font-weight: 700;
    border-radius: var(--radius-md);
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
    transition: transform 0.2s, box-shadow 0.2s;
    box-shadow: 0 8px 20px rgba(234, 179, 8, 0.25);
}

.btn-gold:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 25px rgba(234, 179, 8, 0.35);
}

.btn-outline {
    background: rgba(255, 255, 255, 0.04);
    color: #fff;
    border: 1px solid var(--border-glass);
    padding: 13px 24px;
    font-size: 0.92rem;
    font-weight: 600;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: background 0.2s;
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.08);
}

/* Loader */
.loader-spinner {
    width: 44px;
    height: 44px;
    border: 3px solid rgba(255, 255, 255, 0.08);
    border-top: 3px solid var(--accent-gold);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 16px;
}

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

.progress-bar-bg {
    width: 100%;
    max-width: 300px;
    height: 5px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    margin: 16px auto 0;
    overflow: hidden;
}

.progress-bar-fill {
    width: 0%;
    height: 100%;
    background: var(--gold-gradient);
    transition: width 0.3s ease;
}

/* Result Grid */
.result-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
    margin-bottom: 24px;
}

.preview-tag {
    display: block;
    font-size: 0.78rem;
    color: var(--text-muted);
    margin-bottom: 8px;
    text-align: left;
    text-transform: uppercase;
    letter-spacing: 0.8px;
}

.preview-tag.tag-gold {
    color: var(--accent-gold-light);
    font-weight: 700;
}

.img-frame {
    width: 100%;
    height: 260px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-glass);
    background-color: #000;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.img-frame img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.checkerboard {
    background-image: linear-gradient(45deg, #111827 25%, transparent 25%), 
                      linear-gradient(-45deg, #111827 25%, transparent 25%), 
                      linear-gradient(45deg, transparent 75%, #111827 75%), 
                      linear-gradient(-45deg, transparent 75%, #111827 75%);
    background-size: 18px 18px;
    background-position: 0 0, 0 9px, 9px -9px, -9px 0px;
}

.btn-group {
    display: flex;
    gap: 14px;
    justify-content: center;
}

/* General Sections */
.section-space {
    padding: 70px 0;
}

.bg-surface {
    background-color: var(--bg-surface);
}

.section-title {
    text-align: center;
    margin-bottom: 40px;
}

.sub-label {
    color: var(--accent-gold);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 1.5px;
}

.section-title h2 {
    font-size: 2rem;
    font-weight: 700;
    margin-top: 4px;
}

.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

.card-item {
    background: var(--bg-card);
    border: 1px solid var(--border-glass);
    padding: 28px 22px;
    border-radius: var(--radius-lg);
    transition: border-color 0.25s;
}

.card-item:hover {
    border-color: var(--border-gold);
}

.step-num, .card-icon-gold {
    color: var(--accent-gold);
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 10px;
}

.card-item h3 {
    font-size: 1.15rem;
    margin-bottom: 8px;
}

.card-item p {
    color: var(--text-muted);
    font-size: 0.92rem;
}

/* FAQ */
.faq-container {
    max-width: 780px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.faq-item {
    background: var(--bg-card);
    border: 1px solid var(--border-glass);
    padding: 20px;
    border-radius: var(--radius-lg);
}

.faq-item h3 {
    font-size: 1.05rem;
    margin-bottom: 6px;
}

.faq-item p {
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* Founder Details */
.about-card {
    background: var(--bg-card);
    border: 1px solid var(--border-glass);
    padding: 36px 28px;
    border-radius: var(--radius-xl);
    max-width: 860px;
    margin: 0 auto;
}

.about-bio {
    color: var(--text-muted);
    font-size: 1rem;
    margin: 16px 0 28px;
    line-height: 1.7;
}

.founder-details {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 16px;
    border-top: 1px solid var(--border-glass);
    padding-top: 24px;
}

.detail-box {
    display: flex;
    flex-direction: column;
}

.detail-title {
    font-size: 0.75rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.8px;
}

.detail-value {
    font-size: 1.1rem;
    font-weight: 700;
    color: #fff;
    margin-top: 4px;
}

.detail-link {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--accent-gold-light);
    text-decoration: none;
    margin-top: 4px;
}

.detail-link:hover {
    text-decoration: underline;
}

/* Footer */
.footer {
    border-top: 1px solid var(--border-glass);
    padding: 26px 0;
    font-size: 0.85rem;
    color: var(--text-muted);
}

.footer-wrap {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}

.footer-links button {
    background: none;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    margin-left: 16px;
    text-decoration: underline;
    font-size: 0.85rem;
}

/* Modals */
.modal-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.82);
    backdrop-filter: blur(6px);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-content {
    background: #0a0e1a;
    border: 1px solid var(--border-glass);
    padding: 30px;
    border-radius: var(--radius-lg);
    max-width: 480px;
    width: 90%;
    position: relative;
}

.modal-close {
    position: absolute;
    top: 14px;
    right: 14px;
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 1.5rem;
    cursor: pointer;
}

@media (max-width: 768px) {
    .result-grid {
        grid-template-columns: 1fr;
    }
    .nav-links {
        display: none;
    }
    .hero-title {
        font-size: 2.1rem;
    }
}
