/* Incomesify Core Styles - Brutal, Clean, Addictive */
.incomesify-tool {
    max-width: 900px;
    margin: 2rem auto;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.08);
    padding: 2rem;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

/* Dark mode support */
@media (prefers-color-scheme: dark) {
    .incomesify-tool {
        background: #1a1a2e;
        color: #f0f0f0;
    }
    .incomesify-select, .question-item, .topic-card {
        background: #16213e;
        border-color: #0f3460;
        color: #f0f0f0;
    }
}

/* Stepper */
.incomesify-stepper {
    display: flex;
    justify-content: space-between;
    margin-bottom: 2rem;
    position: relative;
}
.incomesify-stepper::before {
    content: '';
    position: absolute;
    top: 15px;
    left: 10%;
    right: 10%;
    height: 3px;
    background: #e0e0e0;
    z-index: 1;
}
.step {
    position: relative;
    z-index: 2;
    background: #fff;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    border: 3px solid #e0e0e0;
    transition: all 0.3s ease;
}
.step.active {
    border-color: #6366f1;
    background: #6366f1;
    color: white;
    transform: scale(1.1);
}

/* Form Elements */
.incomesify-select {
    width: 100%;
    padding: 1rem;
    border: 2px solid #e0e0e0;
    border-radius: 12px;
    font-size: 1.1rem;
    margin: 1rem 0;
    background: #fff;
    transition: border-color 0.2s;
}
.incomesify-select:focus {
    outline: none;
    border-color: #6366f1;
    box-shadow: 0 0 0 3px rgba(99,102,241,0.1);
}

/* Topic & Question Cards */
.topics-grid, .questions-list {
    display: grid;
    gap: 1rem;
    margin: 1.5rem 0;
}
.topic-card, .question-item {
    padding: 1rem;
    border: 2px solid #e0e0e0;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.2s ease;
    background: #fff;
}
.topic-card:hover, .question-item:hover {
    border-color: #6366f1;
    transform: translateY(-2px);
}
.topic-card.selected, .question-item.selected {
    border-color: #6366f1;
    background: #f0f4ff;
    box-shadow: 0 4px 12px rgba(99,102,241,0.15);
}

/* Income Badges */
.income-badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-top: 0.5rem;
}
.income-badge.hot { background: #fef2f2; color: #dc2626; border: 1px solid #fecaca; }
.income-badge.warm { background: #fffbeb; color: #d97706; border: 1px solid #fcd34d; }
.income-badge.cool { background: #f0f9ff; color: #0284c7; border: 1px solid #bae6fd; }

/* Buttons */
.btn-next, .btn-back, .btn-generate, .btn-copy-all, .btn-export, .btn-save {
    padding: 0.875rem 1.5rem;
    border: none;
    border-radius: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}
.btn-next, .btn-generate {
    background: #6366f1;
    color: white;
}
.btn-next:hover, .btn-generate:hover {
    background: #4f46e5;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(99,102,241,0.3);
}
.btn-back {
    background: #f1f5f9;
    color: #334155;
}
.btn-back:hover { background: #e2e8f0; }
.btn-generate {
    width: 100%;
    justify-content: center;
    font-size: 1.1rem;
    padding: 1.25rem;
    margin: 1.5rem 0;
}

/* Loading Animation */
.loading-animation {
    text-align: center;
    padding: 3rem 1rem;
}
.pulse-icon {
    font-size: 3rem;
    animation: pulse 1.5s infinite;
    margin-bottom: 1rem;
}
@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.1); opacity: 0.8; }
}
.loading-dots span {
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #6366f1;
    margin: 0 2px;
    animation: bounce 1.4s infinite ease-in-out both;
}
.loading-dots span:nth-child(1) { animation-delay: -0.32s; }
.loading-dots span:nth-child(2) { animation-delay: -0.16s; }
@keyframes bounce {
    0%, 80%, 100% { transform: scale(0); }
    40% { transform: scale(1); }
}

/* Results Sections */
.result-section {
    margin: 2rem 0;
    padding: 1.5rem;
    background: #f8fafc;
    border-radius: 12px;
    border-left: 4px solid #6366f1;
}
.result-section h3 {
    margin-top: 0;
    color: #1e293b;
}
.income-models-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
}
.income-model-card {
    background: white;
    padding: 1.25rem;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}
.income-model-card h4 {
    margin: 0 0 0.75rem 0;
    color: #6366f1;
}
.quick-tip {
    background: #f0f9ff;
    padding: 0.75rem;
    border-radius: 8px;
    font-size: 0.95rem;
    margin-top: 0.75rem;
    border-left: 3px solid #0ea5e9;
}

/* Asset Tabs */
.asset-tabs {
    display: flex;
    gap: 0.5rem;
    margin: 1rem 0;
    flex-wrap: wrap;
}
.tab-btn {
    padding: 0.5rem 1rem;
    border: none;
    background: #e2e8f0;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.2s;
}
.tab-btn.active {
    background: #6366f1;
    color: white;
}
.asset-content {
    background: white;
    padding: 1.25rem;
    border-radius: 12px;
    min-height: 200px;
}

/* Roadmap Timeline */
.roadmap-timeline {
    position: relative;
    padding-left: 2rem;
    border-left: 3px solid #cbd5e1;
}
.roadmap-week {
    margin-bottom: 1.5rem;
    position: relative;
}
.roadmap-week::before {
    content: '';
    position: absolute;
    left: -2.4rem;
    top: 0.5rem;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #6366f1;
    border: 3px solid white;
    box-shadow: 0 0 0 2px #6366f1;
}
.roadmap-week ul {
    margin: 0.5rem 0 0 0;
    padding-left: 1.25rem;
}
.roadmap-week li {
    margin: 0.25rem 0;
    color: #475569;
}

/* Action Buttons */
.result-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin: 2rem 0;
}
.result-actions button {
    flex: 1;
    min-width: 150px;
}

/* Upgrade CTA */
.upgrade-cta {
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    color: white;
    padding: 1.5rem;
    border-radius: 16px;
    text-align: center;
    margin: 2rem 0;
}
.upgrade-cta .btn-upgrade {
    display: inline-block;
    margin-top: 1rem;
    padding: 0.75rem 2rem;
    background: white;
    color: #6366f1;
    border-radius: 12px;
    font-weight: 700;
    text-decoration: none;
    transition: transform 0.2s;
}
.upgrade-cta .btn-upgrade:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.2);
}

/* Credits Bar */
.credits-bar {
    text-align: center;
    padding: 1rem;
    background: #f1f5f9;
    border-radius: 12px;
    font-size: 0.95rem;
    margin-top: 1rem;
}
.upgrade-link {
    color: #6366f1;
    font-weight: 600;
    text-decoration: none;
    margin-left: 0.5rem;
}

/* Toast Notifications */
.incomesify-toast {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    padding: 1rem 1.5rem;
    border-radius: 12px;
    color: white;
    font-weight: 500;
    z-index: 10000;
    animation: slideIn 0.3s ease, fadeOut 0.3s ease 3.7s;
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}
.incomesify-toast.success { background: #10b981; }
.incomesify-toast.error { background: #ef4444; }
.incomesify-toast.info { background: #3b82f6; }
@keyframes slideIn {
    from { transform: translateX(100%); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}
@keyframes fadeOut {
    from { opacity: 1; }
    to { opacity: 0; }
}

/* Responsive */
@media (max-width: 768px) {
    .incomesify-tool {
        margin: 1rem;
        padding: 1.5rem;
    }
    .incomesify-stepper {
        flex-wrap: wrap;
        gap: 0.5rem;
    }
    .incomesify-stepper::before { display: none; }
    .step { width: 28px; height: 28px; font-size: 0.9rem; }
    .result-actions {
        flex-direction: column;
    }
    .result-actions button {
        width: 100%;
    }
}