/* Demo Generator Component Styles */
.demo-generator {
    max-width: 800px;
    margin: 0 auto;
    padding: 2.5rem;
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.08);
}

/* Form Styles */
.demo-form {
    display: none;
    text-align: center;
}

.demo-form.active {
    display: block;
}

.demo-form h3 {
    font-family: 'recoleta';
    margin-bottom: 1rem;
    color: #2c3e50;
    font-size: 2rem;
}

.demo-form p {
    color: #7b7b7b;
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

.form-group {
    margin-bottom: 1.5rem;
    text-align: left;
}

.form-group label {
    display: block;
    margin-bottom: 0.8rem;
    color: #244034;
    font-weight: 500;
    font-size: 1.1rem;
}

.form-control {
    width: 100%;
    padding: 0.2rem 1rem 0rem 1rem;
    border: 2px solid #e9ecef;
    border-radius: 12px;
    transition: all 0.3s ease;
    font-size: 1rem;
    color: #244034;
}

.form-control:focus {
    border-color: #00E8BA;
    box-shadow: 0 0 0 3px rgba(0, 232, 186, 0.1);
    outline: none;
}

.char-count {
    display: block;
    text-align: right;
    color: #7b7b7b;
    margin-top: 0.5rem;
    font-size: 0.9rem;
}

/* Progress Steps */
.progress-container {
    display: none;
    padding: 3rem 0;
}

.progress-container.active {
    display: block;
}

.progress-steps {
    display: flex;
    justify-content: space-between;
    position: relative;
    margin: 2rem 0;
    padding: 0 2rem;
}

.progress-steps::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 3px;
    background: #e9ecef;
    z-index: 1;
}

.step {
    position: relative;
    z-index: 2;
    background: #fff;
    text-align: center;
    width: 33.333%;
    padding: 0 1rem;
}

.step-icon {
    width: 64px;
    height: 64px;
    background: #e9ecef;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    transition: all 0.4s ease;
    border: 3px solid #fff;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.step-icon i {
    color: #95a5a6;
    font-size: 1.5rem;
    transition: all 0.4s ease;
}

.step.active .step-icon {
    background: #00E8BA;
    transform: scale(1.1) translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 232, 186, 0.3);
}

.step.active .step-icon i {
    color: #fff;
}

.step-label {
    color: #7b7b7b;
    font-size: 1rem;
    transition: all 0.3s ease;
    font-weight: 500;
}

.step.active .step-label {
    color: #244034;
    font-weight: 600;
}

/* Result Container */
.result-container {
    display: none;
    padding: 1rem;
}

.result-container.active {
    display: block;
}

.result-content {
    margin-bottom: 3rem;
}

.result-content h4,
.recommendations h4 {
    font-family: 'recoleta';
    color: #244034;
    margin-bottom: 1.5rem;
    font-size: 1.75rem;
}

.generated-prose {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 15px;
    margin: 1rem 0;
    line-height: 1.8;
    color: #244034;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.05);
}

.generated-prose p {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.recommendations-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.recommendation-card {
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 15px;
    border-left: 4px solid #00E8BA;
    transition: all 0.3s ease;
}

.recommendation-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.recommendation-card h5 {
    color: #244034;
    margin-bottom: 1rem;
    font-size: 1.2rem;
    font-weight: 600;
}

.recommendation-card ul {
    margin: 0;
    padding-left: 1.5rem;
}

.recommendation-card li {
    color: #4a5568;
    margin-bottom: 0.75rem;
    line-height: 1.6;
    font-size: 1rem;
}

/* Buttons */
.generate-btn,
.try-again-btn {
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
    margin-top: 1rem;
    transition: all 0.3s ease;
}

.generate-btn:hover,
.try-again-btn:hover {
    transform: translateY(-2px);
}

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

.demo-form.active,
.progress-container.active,
.result-container.active {
    animation: fadeIn 0.4s ease-out;
}

/* Loading Animation */
@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

.step.active .step-icon {
    animation: pulse 2s infinite;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .demo-generator {
        padding: 1.5rem;
        margin: 0 1rem;
    }

    .progress-steps {
        flex-direction: column;
        align-items: center;
        gap: 2rem;
        padding: 0;
    }

    .progress-steps::before {
        display: none;
    }

    .step {
        width: 100%;
        display: flex;
        align-items: center;
        gap: 1.5rem;
        padding: 0;
    }

    .step-icon {
        margin: 0;
        width: 48px;
        height: 48px;
    }

    .step-label {
        text-align: left;
    }

    .recommendations-grid {
        grid-template-columns: 1fr;
    }

    .generate-btn,
    .try-again-btn {
        width: 100%;
    }
}
``` 