/* SmartSellerAI - Premium Design System */
:root {
    --primary-color: #00FFFF;
    --primary-dark: #0088cc;
    --primary-glow: 0 0 30px rgba(0, 255, 255, 0.4);
    --primary-glow-soft: 0 0 15px rgba(0, 255, 255, 0.2);
    --bg-dark: #0a0a0a;
    --bg-darker: #050505;
    --bg-card: #141414;
    --bg-card-hover: #1a1a1a;
    --text-primary: #ffffff;
    --text-secondary: #c4c4c4;
    --text-muted: #888888;
    --text-dim: #666666;
    --border-color: #1f1f1f;
    --border-hover: #333333;
    --success-color: #00ff88;
    --warning-color: #ffaa00;
    --danger-color: #ff4444;
    --gradient-primary: linear-gradient(135deg, #00FFFF 0%, #0088cc 100%);
    --gradient-card: linear-gradient(145deg, #141414 0%, #0f0f0f 100%);
    --gradient-glow: radial-gradient(ellipse at center, rgba(0, 255, 255, 0.15) 0%, transparent 70%);
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-primary);
    background: var(--bg-dark);
    color: var(--text-primary);
    line-height: 1.6;
    min-height: 100vh;
    overflow-x: hidden;
    font-feature-settings: 'liga' 1, 'calt' 1;
}

/* Background Elements */
.bg-gradient {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 100vh;
    background: var(--gradient-glow);
    pointer-events: none;
    z-index: 0;
}

.bg-grid {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        linear-gradient(rgba(0, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 50px 50px;
    pointer-events: none;
    z-index: 0;
    opacity: 0.5;
}

.container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 1.5rem;
    position: relative;
    z-index: 1;
}

/* Header */
.header {
    text-align: center;
    padding: 3rem 0 2rem;
    position: relative;
}

.logo {
    margin-bottom: 1.5rem;
}

.logo-icon {
    display: inline-block;
    margin-bottom: 1rem;
    filter: drop-shadow(0 0 20px rgba(0, 255, 255, 0.3));
}

.logo h1 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -0.02em;
}

.tagline {
    color: var(--primary-color);
    font-size: 1rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    opacity: 0.9;
}

.energy-boost {
    margin-top: 1.5rem;
}

.pulse {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--success-color);
    font-size: 0.85rem;
    font-weight: 600;
    padding: 0.5rem 1rem;
    background: rgba(0, 255, 136, 0.1);
    border-radius: 20px;
    border: 1px solid rgba(0, 255, 136, 0.2);
}

.pulse-dot {
    width: 8px;
    height: 8px;
    background: var(--success-color);
    border-radius: 50%;
    animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(0.8); }
}

/* Main Content */
.main-content {
    min-height: calc(100vh - 280px);
    padding: 1rem 0 3rem;
}

.screen {
    display: none;
    animation: fadeIn 0.6s ease-out;
}

.screen.active {
    display: block;
}

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

/* Welcome Screen */
.hero-section {
    text-align: center;
    margin-bottom: 3rem;
}

.hero-badge {
    display: inline-block;
    margin-bottom: 1.5rem;
    padding: 0.75rem 1.5rem;
    background: rgba(0, 255, 255, 0.1);
    border: 1px solid rgba(0, 255, 255, 0.2);
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--primary-color);
}

.hero-section h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

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

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 0.75rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-tagline {
    color: var(--primary-color);
    font-weight: 600;
    font-size: 1.1rem;
}

/* Value Props */
.value-props {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.25rem;
    margin-bottom: 3rem;
}

.value-prop {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.5rem;
    background: var(--gradient-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    transition: all 0.3s ease;
}

.value-prop:hover {
    border-color: var(--border-hover);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.value-icon {
    font-size: 1.5rem;
    flex-shrink: 0;
}

.value-content h4 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
    color: var(--text-primary);
}

.value-content p {
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* CTA Section */
.cta-section {
    text-align: center;
}

/* Buttons */
.btn-primary, .btn-secondary {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    gap: 0.25rem;
    padding: 1rem 2.5rem;
    border: none;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
    font-family: var(--font-primary);
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: var(--gradient-primary);
    color: var(--bg-dark);
    box-shadow: var(--primary-glow-soft);
    margin-bottom: 1.5rem;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: var(--primary-glow);
}

.btn-primary:active {
    transform: translateY(-1px);
}

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

.btn-secondary:hover {
    background: var(--bg-card-hover);
    border-color: var(--border-hover);
    transform: translateY(-2px);
}

.btn-primary small, .btn-secondary small {
    font-size: 0.75rem;
    opacity: 0.7;
    font-weight: 400;
}

/* Trust Badges */
.trust-badges {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.trust-badges span {
    font-size: 0.85rem;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* Progress Bar */
.progress-container {
    margin-bottom: 2.5rem;
}

.progress-label {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.75rem;
    font-size: 0.9rem;
    color: var(--text-muted);
}

#progress-text {
    color: var(--primary-color);
    font-weight: 600;
}

.progress-bar {
    width: 100%;
    height: 8px;
    background: var(--bg-card);
    border-radius: 4px;
    overflow: hidden;
    border: 1px solid var(--border-color);
}

.progress-fill {
    height: 100%;
    background: var(--gradient-primary);
    border-radius: 4px;
    transition: width 0.4s ease;
    width: 0%;
    box-shadow: 0 0 10px rgba(0, 255, 255, 0.3);
}

/* Questions */
.question-container {
    background: var(--gradient-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 2.5rem;
    margin-bottom: 2rem;
    transition: all 0.3s ease;
}

.question-container:hover {
    border-color: var(--border-hover);
}

#question-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 2rem;
    color: var(--text-primary);
    text-align: center;
}

.question-intro {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    font-size: 1rem;
    line-height: 1.6;
}

.question-input {
    width: 100%;
    background: var(--bg-dark);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 1.25rem;
    color: var(--text-primary);
    font-size: 1rem;
    font-family: var(--font-primary);
    resize: vertical;
    min-height: 140px;
    transition: all 0.3s ease;
}

.question-input::placeholder {
    color: var(--text-dim);
}

.question-input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(0, 255, 255, 0.1);
}

.question-help {
    color: var(--text-muted);
    font-size: 0.85rem;
    margin-top: 1rem;
    font-style: italic;
}

/* Options */
.question-options {
    display: grid;
    gap: 0.75rem;
    margin-top: 1.5rem;
}

.option-btn {
    background: var(--bg-dark);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 1.25rem;
    color: var(--text-primary);
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: left;
    font-family: var(--font-primary);
    font-size: 1rem;
}

.option-btn:hover {
    border-color: var(--primary-color);
    background: rgba(0, 255, 255, 0.05);
    transform: translateY(-1px);
}

.option-btn.selected {
    background: rgba(0, 255, 255, 0.15);
    border-color: var(--primary-color);
    box-shadow: 0 0 20px rgba(0, 255, 255, 0.1);
}

.option-btn strong {
    display: block;
    margin-bottom: 0.25rem;
    font-weight: 600;
}

.option-desc {
    font-size: 0.85rem;
    color: var(--text-muted);
    font-weight: 400;
}

/* Navigation */
.navigation {
    display: flex;
    gap: 1rem;
}

.navigation button {
    flex: 1;
}

/* Loading Screen */
.loading-container {
    text-align: center;
    padding: 4rem 0;
    max-width: 500px;
    margin: 0 auto;
}

.loading-animation {
    position: relative;
    width: 80px;
    height: 80px;
    margin: 0 auto 2rem;
}

.loading-ring {
    position: absolute;
    border: 3px solid transparent;
    border-top: 3px solid var(--primary-color);
    border-radius: 50%;
    animation: spin 1.2s cubic-bezier(0.5, 0, 0.5, 1) infinite;
}

.loading-ring:nth-child(1) {
    width: 80px;
    height: 80px;
    animation-delay: 0s;
}

.loading-ring:nth-child(2) {
    width: 64px;
    height: 64px;
    top: 8px;
    left: 8px;
    animation-delay: -0.2s;
    border-top-color: var(--primary-dark);
}

.loading-ring:nth-child(3) {
    width: 48px;
    height: 48px;
    top: 16px;
    left: 16px;
    animation-delay: -0.4s;
    border-top-color: rgba(0, 255, 255, 0.5);
}

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

#loading-screen h3 {
    color: var(--primary-color);
    margin-bottom: 0.75rem;
    font-size: 1.5rem;
}

.loading-subtitle {
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

.loading-tips {
    background: rgba(0, 255, 255, 0.05);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 1rem;
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* Results */
.results-header {
    text-align: center;
    margin-bottom: 3rem;
}

.results-badge {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.results-header h2 {
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.results-subtitle {
    color: var(--text-secondary);
    font-size: 1.1rem;
    max-width: 500px;
    margin: 0 auto;
}

#results-container {
    margin-bottom: 3rem;
}

.business-category {
    background: var(--gradient-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 2rem;
    margin-bottom: 2rem;
    transition: all 0.3s ease;
}

.business-category:hover {
    border-color: var(--border-hover);
    transform: translateY(-2px);
}

.category-title {
    color: var(--primary-color);
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.business-idea {
    background: var(--bg-dark);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 1rem;
    border-left: 4px solid var(--primary-color);
    transition: all 0.3s ease;
}

.business-idea:hover {
    background: var(--bg-card);
    border-color: var(--border-hover);
}

.business-idea:last-child {
    margin-bottom: 0;
}

.idea-title {
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.75rem;
    font-size: 1.1rem;
}

.idea-details {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

.idea-cost, .idea-time {
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.idea-description {
    color: var(--text-secondary);
    margin-bottom: 1rem;
    line-height: 1.6;
}

.idea-steps {
    font-size: 0.9rem;
    color: var(--text-muted);
    padding: 0.75rem;
    background: var(--bg-card);
    border-radius: 8px;
    border-left: 3px solid var(--success-color);
}

.idea-steps strong {
    color: var(--success-color);
}

/* Top Recommendations */
.top-recommendations {
    background: linear-gradient(135deg, rgba(0, 255, 255, 0.08) 0%, rgba(0, 136, 204, 0.05) 100%);
    border: 2px solid var(--primary-color);
    border-radius: 20px;
    padding: 2.5rem;
    margin-bottom: 2rem;
    position: relative;
    overflow: hidden;
}

.top-recommendations::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--gradient-glow);
    opacity: 0.3;
    pointer-events: none;
}

.personalized-note {
    color: var(--text-secondary);
    font-size: 1rem;
    margin-bottom: 2rem;
    font-style: italic;
    text-align: center;
    position: relative;
}

.top-idea {
    background: rgba(0, 255, 255, 0.05);
    border: 1px solid rgba(0, 255, 255, 0.2);
    position: relative;
    overflow: visible;
}

.idea-rank {
    position: absolute;
    top: -12px;
    right: 1.5rem;
    background: var(--gradient-primary);
    color: var(--bg-dark);
    font-weight: 800;
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    box-shadow: 0 4px 15px rgba(0, 255, 255, 0.3);
}

.idea-why {
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin: 1rem 0;
    padding: 1rem;
    background: rgba(0, 255, 255, 0.1);
    border-radius: 10px;
    border-left: 4px solid var(--primary-color);
}

/* Final Encouragement */
.final-encouragement {
    margin-top: 2rem;
}

.encouragement-box {
    background: linear-gradient(135deg, rgba(0, 255, 136, 0.1) 0%, rgba(0, 255, 136, 0.05) 100%);
    border: 1px solid rgba(0, 255, 136, 0.3);
    border-radius: 16px;
    padding: 2rem;
    text-align: center;
}

.encouragement-box h3 {
    color: var(--success-color);
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.encouragement-box p {
    color: var(--text-secondary);
    font-size: 1.05rem;
    line-height: 1.6;
}

/* Results Footer */
.results-footer {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.results-footer .btn-primary,
.results-footer .btn-secondary {
    flex: none;
    min-width: 200px;
}

/* Footer */
.footer {
    text-align: center;
    padding: 2rem 0;
    border-top: 1px solid var(--border-color);
    margin-top: 4rem;
}

.footer-content {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: center;
}

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

.footer-links {
    display: flex;
    gap: 1rem;
}

.footer-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.85rem;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--primary-color);
}

/* Utility Classes */
.text-center { text-align: center; }
.text-primary { color: var(--primary-color); }
.text-success { color: var(--success-color); }
.text-warning { color: var(--warning-color); }
.mb-1 { margin-bottom: 1rem; }
.mb-2 { margin-bottom: 2rem; }
.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }

/* Responsive */
@media (max-width: 768px) {
    .container {
        padding: 0 1rem;
    }
    
    .logo h1 {
        font-size: 2rem;
    }
    
    .hero-section h2 {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .value-props {
        grid-template-columns: 1fr;
    }
    
    .question-container {
        padding: 1.5rem;
    }
    
    .business-category {
        padding: 1.5rem;
    }
    
    .top-recommendations {
        padding: 1.5rem;
    }
    
    .results-footer {
        flex-direction: column;
        align-items: center;
    }
    
    .results-footer .btn-primary,
    .results-footer .btn-secondary {
        width: 100%;
        max-width: 300px;
    }
    
    .navigation {
        flex-direction: column;
    }
}

@media (max-width: 480px) {
    .header {
        padding: 2rem 0 1.5rem;
    }
    
    .hero-section h2 {
        font-size: 1.8rem;
    }
    
    .hero-badge {
        font-size: 0.8rem;
        padding: 0.5rem 1rem;
    }
    
    .question-container {
        padding: 1.25rem;
    }
    
    .business-category {
        padding: 1.25rem;
    }
}