/* Evaluador de Madurez Digital - GreeTech */

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    min-height: 100vh;
    color: #ffffff;
    line-height: 1.6;
}

/* Screens */
.screen {
    display: none;
    min-height: 100vh;
    padding: 40px 20px;
}

.screen.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

.container {
    max-width: 700px;
    width: 100%;
    text-align: center;
}

/* Logo */
.logo {
    height: 40px;
    margin-bottom: 40px;
}

.logo-small {
    height: 32px;
    margin-bottom: 30px;
}

/* Icon Circles */
.icon-circle {
    width: 80px;
    height: 80px;
    background: #FF7717;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 30px;
}

.icon-circle svg {
    width: 40px;
    height: 40px;
    color: #ffffff;
}

.icon-target {
    border-radius: 50%;
}

.icon-success {
    background: #22c55e;
    border-radius: 50%;
}

/* Typography */
h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 16px;
    line-height: 1.2;
}

h2 {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 16px;
}

.subtitle {
    font-size: 1.2rem;
    color: #94a3b8;
    margin-bottom: 40px;
}

.features {
    font-size: 0.9rem;
    color: #64748b;
    margin-top: 30px;
}

/* Buttons */
.btn-primary {
    background: #FF7717;
    color: #ffffff;
    border: none;
    padding: 16px 48px;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.3s ease, transform 0.2s ease;
}

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

.btn-primary:disabled {
    background: #6b4423;
    cursor: not-allowed;
    transform: none;
}

.btn-secondary {
    background: transparent;
    color: #94a3b8;
    border: 1px solid #374151;
    padding: 12px 24px;
    font-size: 1rem;
    font-weight: 500;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-secondary:hover:not(:disabled) {
    border-color: #FF7717;
    color: #FF7717;
}

.btn-secondary:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.btn-dark {
    background: #1e293b;
    color: #ffffff;
    border: 1px solid #374151;
    padding: 16px 32px;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-dark:hover {
    background: #334155;
}

.btn-full {
    width: 100%;
    margin-top: 10px;
}

.btn-next {
    min-width: 140px;
}

/* Header with Progress */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    padding: 20px;
    text-align: center;
    background: linear-gradient(180deg, rgba(26, 26, 46, 0.95) 0%, transparent 100%);
    z-index: 100;
}

.header .logo-small {
    margin-bottom: 15px;
}

.progress-bar {
    width: 100%;
    max-width: 600px;
    height: 4px;
    background: #374151;
    border-radius: 2px;
    margin: 0 auto;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: #FF7717;
    border-radius: 2px;
    transition: width 0.3s ease;
    width: 0%;
}

/* Questions Screen */
#screen-questions .container {
    padding-top: 100px;
}

.question-counter {
    font-size: 0.9rem;
    color: #94a3b8;
    margin-bottom: 20px;
}

.question-text {
    font-size: 1.6rem;
    font-weight: 600;
    margin-bottom: 40px;
    line-height: 1.4;
}

/* Options */
.options-container {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 40px;
}

.option {
    background: #1e293b;
    border: 2px solid #374151;
    border-radius: 12px;
    padding: 18px 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 16px;
    text-align: left;
}

.option:hover {
    border-color: #FF7717;
    background: #252d3d;
}

.option.selected {
    border-color: #FF7717;
    background: rgba(255, 119, 23, 0.1);
}

.option-letter {
    width: 36px;
    height: 36px;
    background: #374151;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 0.9rem;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.option.selected .option-letter {
    background: #FF7717;
}

.option-text {
    font-size: 1rem;
    color: #e2e8f0;
}

/* Navigation */
.navigation {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

/* Results Screen */
.results-card,
.thanks-card {
    background: #1e293b;
    border-radius: 16px;
    padding: 40px;
    margin-top: 20px;
}

.score-title {
    font-size: 2rem;
    margin-bottom: 16px;
}

.score-title span {
    color: #FF7717;
}

.level-badge {
    display: inline-block;
    background: #FF7717;
    color: #ffffff;
    padding: 10px 24px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    margin-bottom: 20px;
}

.level-description {
    color: #94a3b8;
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 30px;
}

/* Form */
.form-section {
    border-top: 1px solid #374151;
    padding-top: 30px;
    margin-top: 20px;
}

.form-section h3 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 24px;
}

.form-group {
    margin-bottom: 20px;
    text-align: left;
}

.form-group label {
    display: block;
    font-size: 0.9rem;
    color: #94a3b8;
    margin-bottom: 8px;
}

.form-group input {
    width: 100%;
    background: #0f172a;
    border: 1px solid #374151;
    border-radius: 8px;
    padding: 14px 16px;
    font-size: 1rem;
    color: #ffffff;
    transition: border-color 0.3s ease;
}

.form-group input:focus {
    outline: none;
    border-color: #FF7717;
}

.form-group input::placeholder {
    color: #64748b;
}

/* Thanks Screen */
.thanks-card {
    max-width: 500px;
    margin: 20px auto 0;
}

.thanks-main {
    font-size: 1.1rem;
    color: #e2e8f0;
    margin-bottom: 12px;
}

.thanks-sub {
    font-size: 0.9rem;
    color: #64748b;
    margin-bottom: 30px;
}

.thanks-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.thanks-buttons .btn-primary,
.thanks-buttons .btn-dark {
    flex: 1;
    min-width: 200px;
    text-decoration: none;
    text-align: center;
}

/* Responsive */
@media (max-width: 768px) {
    h1 {
        font-size: 1.8rem;
    }

    h2 {
        font-size: 1.4rem;
    }

    .question-text {
        font-size: 1.3rem;
    }

    .results-card,
    .thanks-card {
        padding: 24px;
    }

    .navigation {
        flex-direction: column-reverse;
    }

    .btn-secondary,
    .btn-next {
        width: 100%;
    }

    .thanks-buttons {
        flex-direction: column;
    }

    .thanks-buttons .btn-primary,
    .thanks-buttons .btn-dark {
        width: 100%;
    }
}

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

.screen.active .container {
    animation: fadeIn 0.4s ease;
}
