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

body {
    font-family: 'Nunito Sans', sans-serif;
    background: #ffffff;
    min-height: 100vh;
    color: #1a1a1a;
}

/* Top Banner */
.top-banner {
    background: var(--color-primary, #00AC3F);
    color: white;
    text-align: center;
    padding: 10px 20px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
}

/* Header */
.header {
    position: relative;
    min-height: 100vh;
    padding: 30px 40px 60px;
    background-image: url('https://eventos.growketing.com/hubfs/Estrategias%20de%20IA.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.92) 0%, rgba(255, 255, 255, 0.85) 50%, rgba(255, 255, 255, 0.75) 100%);
    pointer-events: none;
    z-index: 0;
}

.header > * {
    position: relative;
    z-index: 1;
}

.logo {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 40px;
}

.logo img {
    height: 25px;
    width: auto;
}

.hero-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    flex: 1;
    padding: 40px 0;
}

.hero-left h1 {
    font-size: 48px;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 20px;
    color: #1a1a1a;
}

.hero-left h1 span {
    color: var(--color-primary, #00AC3F);
}

.hero-left .subtitle {
    font-size: 18px;
    color: #666;
    margin-bottom: 10px;
}

.value-props {
    margin-top: 30px;
}

.value-item {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
    font-size: 15px;
    color: #444;
}

.value-icon {
    width: 24px;
    height: 24px;
    background: rgba(0, 172, 63, 0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-primary, #00AC3F);
    font-size: 14px;
    font-weight: 700;
}

.form-title {
    font-size: 20px;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 8px;
    text-align: center;
}

.form-subtitle {
    font-size: 14px;
    color: #666;
    margin-bottom: 25px;
    text-align: center;
}

/* HubSpot Form Container */
#hubspot-form-container {
    width: 100%;
}

#hubspot-form-container form {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 12px !important;
}

#hubspot-form-container .hs-form-field {
    flex: 1 1 calc(50% - 6px) !important;
    min-width: 200px !important;
    margin: 0 !important;
}

#hubspot-form-container .hs-form-field > label {
    display: none !important;
}

#hubspot-form-container .hs-input,
#hubspot-form-container input[type="text"],
#hubspot-form-container input[type="email"],
#hubspot-form-container select {
    width: 100% !important;
    height: 48px !important;
    padding: 0 20px !important;
    background: #ffffff !important;
    border: 1.5px solid #d4d8d6 !important;
    border-radius: 8px !important;
    color: #333 !important;
    font-size: 16px !important;
    font-family: 'Nunito Sans', sans-serif !important;
    font-weight: 400 !important;
    box-sizing: border-box !important;
    transition: border-color 0.2s ease !important;
}

#hubspot-form-container .hs-input::placeholder,
#hubspot-form-container input::placeholder {
    color: #666 !important;
    opacity: 1 !important;
}

#hubspot-form-container .hs-input:focus,
#hubspot-form-container input:focus {
    outline: none !important;
    border-color: var(--color-primary, #00AC3F) !important;
}

#hubspot-form-container .hs-submit {
    flex: 0 0 auto !important;
    margin: 0 !important;
}

#hubspot-form-container .hs-button,
#hubspot-form-container input[type="submit"],
#hubspot-form-container button[type="submit"] {
    height: 48px !important;
    padding: 0 32px !important;
    background: var(--color-primary, #00AC3F) !important;
    color: white !important;
    border: none !important;
    border-radius: 25px !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    font-family: 'Nunito Sans', sans-serif !important;
    cursor: pointer !important;
    transition: all 0.2s ease !important;
    text-transform: uppercase !important;
    letter-spacing: 1px !important;
    white-space: nowrap !important;
}

#hubspot-form-container .hs-button:hover,
#hubspot-form-container input[type="submit"]:hover,
#hubspot-form-container button[type="submit"]:hover {
    filter: brightness(0.9) !important;
    transform: translateY(-1px) !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2) !important;
}

#hubspot-form-container .hs-error-msgs {
    color: #e74c3c !important;
    font-size: 12px !important;
    margin-top: 4px !important;
    list-style: none !important;
    padding: 0 !important;
}

#hubspot-form-container .hs-form-required {
    color: #333 !important;
}

#hubspot-form-container .submitted-message {
    text-align: center;
    padding: 20px;
    color: var(--color-primary, #00AC3F);
    font-size: 18px;
    font-weight: 600;
}

#hubspot-form-container .form-columns-1,
#hubspot-form-container .form-columns-2 {
    display: contents !important;
}

#hubspot-form-container .hs-form .field {
    flex: 1 1 calc(50% - 6px) !important;
    min-width: 200px !important;
}

#hubspot-form-container .legal-consent-container {
    flex: 1 1 100% !important;
    font-size: 12px !important;
    color: #666 !important;
}

@media (max-width: 500px) {
    #hubspot-form-container .hs-form-field,
    #hubspot-form-container .hs-form .field {
        flex: 1 1 100% !important;
    }
}

/* Container */
.container {
    max-width: 900px;
    margin: 0 auto;
    padding: 40px 20px;
}

/* Survey Header */
.survey-header {
    text-align: center;
    margin-bottom: 30px;
}

.survey-header .logo {
    justify-content: center;
    margin-bottom: 15px;
}

.survey-title {
    font-size: 28px;
    font-weight: 700;
    color: #1a1a1a;
    line-height: 1.2;
}

/* Card */
.card {
    background: #ffffff;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid #e8e8e8;
}

.hero-card {
    background: white;
    border-radius: 12px;
    padding: 35px;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
}

/* Progress Bar */
.progress-container {
    margin-bottom: 30px;
    padding: 0 20px;
}

.progress-bar {
    height: 6px;
    background: #e8e8e8;
    border-radius: 3px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--color-primary, #00AC3F), color-mix(in srgb, var(--color-primary, #00AC3F) 80%, white));
    border-radius: 3px;
    transition: width 0.3s ease;
    width: 0%;
}

.progress-text {
    text-align: center;
    margin-top: 10px;
    font-size: 14px;
    color: #888;
}

/* Steps */
.step {
    display: none;
}

.step.active {
    display: block;
}

/* Question Blocks */
.block-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid var(--color-primary, #00AC3F);
}

.block-number {
    width: 40px;
    height: 40px;
    background: var(--color-primary, #00AC3F);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 18px;
    color: white;
}

.block-info h2 {
    font-size: 20px;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 4px;
}

.block-info p {
    font-size: 14px;
    color: #666;
}

/* Question Items */
.question-item {
    background: #f9f9f9;
    border: 1px solid #e8e8e8;
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 12px;
    transition: all 0.3s ease;
}

.question-item:hover {
    background: #f5f5f5;
    border-color: var(--color-primary, #00AC3F);
}

.question-item.answered {
    border-color: var(--color-primary, #00AC3F);
    background: rgba(0, 172, 63, 0.03);
}

.question-text {
    font-size: 15px;
    margin-bottom: 12px;
    line-height: 1.5;
    color: #333;
}

.question-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.question-points {
    font-size: 12px;
    color: var(--color-primary, #00AC3F);
    font-weight: 600;
    background: rgba(0, 172, 63, 0.1);
    padding: 4px 10px;
    border-radius: 20px;
}

.toggle-container {
    display: flex;
    gap: 10px;
}

.toggle-btn {
    padding: 10px 28px;
    border: 2px solid #d0d0d0;
    border-radius: 6px;
    background: white;
    color: #666;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: inherit;
}

.toggle-btn:hover {
    border-color: var(--color-primary, #00AC3F);
    color: var(--color-primary, #00AC3F);
}

.toggle-btn.selected-yes {
    background: var(--color-primary, #00AC3F);
    border-color: var(--color-primary, #00AC3F);
    color: white;
}

.toggle-btn.selected-no {
    background: #f0f0f0;
    border-color: #999;
    color: #666;
}

/* Buttons */
.btn-container {
    display: flex;
    gap: 15px;
    margin-top: 30px;
}

.btn {
    padding: 16px 40px;
    border: none;
    border-radius: 6px;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: inherit;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-primary {
    background: var(--color-primary, #00AC3F);
    color: white;
    flex: 1;
}

.btn-primary:hover {
    filter: brightness(0.9);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

.btn-primary:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.btn-secondary {
    background: white;
    color: #666;
    border: 2px solid #d0d0d0;
}

.btn-secondary:hover {
    border-color: var(--color-primary, #00AC3F);
    color: var(--color-primary, #00AC3F);
}

.btn-whatsapp {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #25D366;
    color: white;
    text-decoration: none;
    padding: 16px 32px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 15px;
    transition: all 0.3s ease;
}

.btn-whatsapp:hover {
    background: #1fb855;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.3);
}

.whatsapp-icon {
    width: 20px;
    height: 20px;
}

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

.results-header h2 {
    font-size: 28px;
    color: #1a1a1a;
    margin-bottom: 10px;
}

.results-header .user-info {
    color: #666;
    font-size: 16px;
}

/* Semáforo */
.semaforo {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin: 40px 0;
    padding: 30px;
    background: #f9f9f9;
    border-radius: 12px;
}

.semaforo-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 15px 25px;
    border-radius: 10px;
    opacity: 0.4;
    transition: all 0.3s ease;
}

.semaforo-item.active {
    opacity: 1;
    transform: scale(1.1);
    background: white;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.semaforo-light {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    margin-bottom: 10px;
}

.semaforo-item.active .semaforo-light {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

.semaforo-label {
    font-size: 12px;
    font-weight: 700;
    text-align: center;
    color: #666;
}

/* Score Display */
.score-display {
    text-align: center;
    padding: 30px;
    background: linear-gradient(135deg, rgba(0, 172, 63, 0.05) 0%, rgba(0, 172, 63, 0.02) 100%);
    border-radius: 12px;
    margin-bottom: 30px;
}

.result-score {
    font-size: 72px;
    font-weight: 800;
    margin-bottom: 10px;
}

.result-label {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 15px;
}

.result-description {
    font-size: 15px;
    color: #666;
    line-height: 1.7;
    max-width: 600px;
    margin: 0 auto;
}

/* Results Table */
.results-table-container {
    margin-top: 30px;
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid #e8e8e8;
}

.results-table {
    width: 100%;
    border-collapse: collapse;
}

.results-table th {
    background: var(--color-primary, #00AC3F);
    color: white;
    padding: 15px;
    font-weight: 600;
    text-align: left;
    font-size: 14px;
}

.results-table td {
    padding: 15px;
    border-bottom: 1px solid #e8e8e8;
    font-size: 14px;
}

.results-table tr:last-child td {
    border-bottom: none;
}

.results-table tr:hover td {
    background: #f9f9f9;
}

.pillar-name {
    font-weight: 600;
    color: #333;
}

.pillar-bar {
    height: 8px;
    background: #e8e8e8;
    border-radius: 4px;
    overflow: hidden;
    min-width: 100px;
}

.pillar-bar-fill {
    height: 100%;
    border-radius: 4px;
    transition: width 0.5s ease;
}

/* Footer */
.footer {
    text-align: center;
    padding: 40px 20px;
    background: #1a1a1a;
    color: #888;
    font-size: 14px;
    margin-top: 60px;
}

.footer .logo {
    justify-content: center;
    margin-bottom: 15px;
}

.footer a {
    color: var(--color-primary, #00AC3F);
    text-decoration: none;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 15px;
}

.footer-links a {
    width: 36px;
    height: 36px;
    background: #333;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    transition: background 0.3s;
}

.footer-links a:hover {
    background: var(--color-primary, #00AC3F);
}

/* Responsive */
@media (max-width: 768px) {
    .hero-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .hero-left h1 {
        font-size: 32px;
    }

    .header {
        padding: 20px;
    }

    .card {
        padding: 20px;
    }

    .btn-container {
        flex-direction: column;
    }

    .result-score {
        font-size: 56px;
    }

    .semaforo {
        flex-direction: column;
        align-items: center;
    }

    .results-table {
        font-size: 12px;
    }

    .results-table th,
    .results-table td {
        padding: 10px;
    }
}
