:root {
    --bg: #0f172a;
    --card-bg: #1e293b;
    --primary: #3b82f6;
    --primary-hover: #2563eb;
    --text: #f8fafc;
    --text-muted: #94a3b8;
    --border: #334155;
    --success: #10b981;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg);
    color: var(--text);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Top Strip Ad */
.ad-top-strip {
    width: 100%;
    background-color: #1e293b;
    border-bottom: 1px solid var(--border);
    padding: 10px 0;
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
    flex-shrink: 0;
}

.ad-placeholder-strip {
    width: 90%;
    max-width: 970px;
    height: 90px;
    background-color: #0f172a50;
    border: 1px dashed var(--border);
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--text-muted);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Layout Wrapper for Sidebars + Content */
.content-layout {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    gap: 20px;
    padding: 0 20px;
    flex-grow: 1;
}

/* Sidebars */
.ad-sidebar {
    width: 160px;
    flex-shrink: 0;
    position: sticky;
    top: 20px;
    height: 600px; /* Placeholder height */
    display: none; /* Hidden on small screens */
}

@media (min-width: 1200px) {
    .ad-sidebar {
        display: block;
    }
}

.ad-skyscraper {
    width: 100%;
    height: 100%;
    background-color: #1e293b50;
    border: 1px dashed var(--border);
    border-radius: 8px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--text-muted);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    writing-mode: vertical-rl;
    text-orientation: mixed;
}


/* Bottom Strip Ad */
.ad-bottom-strip {
    width: 100%;
    background-color: #1e293b;
    border-top: 1px solid var(--border);
    padding: 20px 0;
    display: flex;
    justify-content: center;
    margin-top: 40px;
    flex-shrink: 0;
}


.container {
    width: 100%;
    max-width: 800px;
    margin: 0 auto; /* Keeps it centered in its flex item space if needed, though flex parent handles alignment */
    text-align: center;
    flex-grow: 1;
}

header {
    margin-bottom: 40px;
}

header h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 10px;
    background: linear-gradient(to right, #60a5fa, #3b82f6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.dot {
    color: var(--primary);
    -webkit-text-fill-color: var(--primary);
}

header p {
    color: var(--text-muted);
    font-size: 1.1rem;
}

/* Upload Area */
.upload-area {
    background-color: var(--card-bg);
    border: 2px dashed var(--border);
    border-radius: 16px;
    padding: 60px 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.upload-area:hover, .upload-area.dragover {
    border-color: var(--primary);
    background-color: #1e293b80;
}

.icon-container {
    color: var(--primary);
    margin-bottom: 20px;
}

.upload-area h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.upload-area p {
    color: var(--text-muted);
}

/* Process Container */
.process-container {
    margin-top: 40px;
    display: flex;
    justify-content: center;
}

.loader {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.spinner {
    width: 40px;
    height: 40px;
    border: 4px solid var(--border);
    border-top: 4px solid var(--primary);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

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

/* Result Area */
.result-area {
    margin-top: 30px;
    animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.image-preview {
    position: relative;
    display: inline-block;
    max-width: 100%;
    margin-bottom: 30px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.image-preview img {
    display: block;
    max-width: 100%;
    height: auto;
}

.badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background-color: var(--success);
    color: white;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.actions {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 20px;
}

.primary-btn, .secondary-btn {
    padding: 12px 24px;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    border: none;
    display: flex;
    align-items: center;
    gap: 8px;
}

.primary-btn {
    background-color: var(--primary);
    color: white;
}

.primary-btn:hover {
    background-color: var(--primary-hover);
    transform: translateY(-2px);
}

.secondary-btn {
    background-color: transparent;
    border: 1px solid var(--border);
    color: var(--text);
}

.secondary-btn:hover {
    background-color: var(--border);
}

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

/* SEO Section */
.seo-section {
    margin-top: 80px;
    text-align: left;
    color: var(--text-muted);
}

.seo-section h2 {
    font-size: 1.5rem;
    color: var(--text);
    margin-bottom: 30px;
    text-align: center;
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
}

.step-card {
    background-color: var(--card-bg);
    padding: 25px;
    border-radius: 12px;
    border: 1px solid var(--border);
    text-align: center;
    position: relative;
}

.step-number {
    background-color: var(--primary);
    color: white;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    margin: 0 auto 15px;
}

.step-card h3 {
    color: var(--text);
    font-size: 1.1rem;
    margin-bottom: 10px;
}

.step-card p {
    font-size: 0.9rem;
    line-height: 1.5;
}

.faq-section {
    max-width: 700px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 25px;
    background-color: #1e293b50;
    padding: 20px;
    border-radius: 12px;
}

.faq-item h3 {
    color: var(--text);
    font-size: 1.1rem;
    margin-bottom: 10px;
}

.faq-item p {
    font-size: 0.95rem;
    line-height: 1.6;
}

footer {
    margin-top: 50px;
    padding-bottom: 30px;
    color: var(--text-muted);
}
