/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

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

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Page Management */
.page {
    display: none;
    min-height: 100vh;
}

.page.active {
    display: block;
}

/* Header */
.header {
    padding: 20px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    height: 32px;
    width: auto;
}

/* Progress Bar */
.progress-container {
    display: flex;
    align-items: center;
    gap: 15px;
}

.progress-bar {
    width: 200px;
    height: 8px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #20B2AA, #00CED1);
    border-radius: 4px;
    transition: width 0.3s ease;
    width: 0%;
}

.progress-text {
    font-size: 14px;
    color: #60A5FA;
    font-weight: 500;
}

/* Main Content */
.main-content {
    padding: 60px 0;
}

/* Hero Section */
.hero-section {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 70vh;
    padding: 60px 0;
}

.hero-content {
    max-width: 800px;
    text-align: center;
    width: 100%;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 20px;
    background: linear-gradient(135deg, #60A5FA, #20B2AA);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: #E5E7EB;
    margin-bottom: 30px;
    line-height: 1.5;
}

/* Hero Body Content */
.hero-body {
    margin-bottom: 40px;
}

.body-text {
    font-size: 1.1rem;
    color: #D1D5DB;
    line-height: 1.6;
    margin-bottom: 20px;
}

.body-text strong {
    color: #60A5FA;
    font-weight: 600;
}

.learn-more {
    margin-top: 25px;
}

.learn-more-link {
    color: #20B2AA;
    text-decoration: none;
    font-weight: 500;
    font-size: 1rem;
    border-bottom: 1px solid transparent;
    transition: all 0.3s ease;
}

.learn-more-link:hover {
    color: #60A5FA;
    border-bottom-color: #60A5FA;
}

/* Assessment Introduction - Now at top */
.assessment-intro {
    margin-bottom: 40px;
    text-align: center;
}

.assessment-title {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 20px;
    background: linear-gradient(135deg, #60A5FA, #20B2AA);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.assessment-subtitle {
    font-size: 1.25rem;
    color: #E5E7EB;
    line-height: 1.4;
    margin-bottom: 30px;
}

/* Content Divider */
.content-divider {
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    margin: 50px 0;
}

/* Hero Title - Now secondary */
.hero-title {
    font-size: 2.5rem;
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 20px;
    color: #60A5FA;
}

.benefits {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 40px;
}

.benefit-item {
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 1.1rem;
    color: #D1D5DB;
}

.benefit-icon {
    font-size: 1.5rem;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(32, 178, 170, 0.1);
    border-radius: 50%;
    border: 1px solid rgba(32, 178, 170, 0.3);
}

/* Buttons */
.cta-button {
    background: linear-gradient(135deg, #6366F1, #8B5CF6);
    color: white;
    border: none;
    padding: 16px 32px;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    text-align: center;
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(99, 102, 241, 0.3);
}

.secondary-button {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 12px 24px;
    font-size: 1rem;
    font-weight: 500;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.secondary-button:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.3);
}

.tertiary-button {
    background: transparent;
    color: #60A5FA;
    border: none;
    padding: 12px 24px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    text-decoration: underline;
    transition: color 0.3s ease;
}

.tertiary-button:hover {
    color: #20B2AA;
}

/* Assessment Page */
.assessment-container {
    max-width: 800px;
    margin: 0 auto;
}

.question-container {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 40px;
    margin-bottom: 40px;
    min-height: 400px;
}

.question-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 30px;
    color: #60A5FA;
    line-height: 1.4;
}

.options-container {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.option {
    background: rgba(255, 255, 255, 0.03);
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

.option:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(32, 178, 170, 0.5);
}

.option.selected {
    background: rgba(32, 178, 170, 0.1);
    border-color: #20B2AA;
}

.option input[type="radio"] {
    position: absolute;
    opacity: 0;
    cursor: pointer;
}

.option-text {
    font-size: 1rem;
    line-height: 1.5;
    color: #E5E7EB;
}

/* Navigation Buttons */
.navigation-buttons {
    display: flex;
    justify-content: space-between;
    gap: 20px;
}

.nav-button {
    padding: 12px 24px;
    font-size: 1rem;
    font-weight: 500;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    min-width: 120px;
}

.nav-button.primary {
    background: linear-gradient(135deg, #6366F1, #8B5CF6);
    color: white;
}

.nav-button.primary:hover:not(:disabled) {
    transform: translateY(-1px);
    box-shadow: 0 5px 15px rgba(99, 102, 241, 0.3);
}

.nav-button.secondary {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.nav-button.secondary:hover:not(:disabled) {
    background: rgba(255, 255, 255, 0.15);
}

.nav-button:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* Results Page */
.results-container {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.results-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 40px;
    background: linear-gradient(135deg, #60A5FA, #20B2AA);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.score-display {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    margin-bottom: 50px;
}

.score-meter {
    display: flex;
    justify-content: center;
}

.score-circle {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: conic-gradient(from 0deg, #dc3545 0deg, #fd7e14 90deg, #ffc107 180deg, #28a745 270deg, #28a745 360deg);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.score-circle::before {
    content: '';
    position: absolute;
    width: 160px;
    height: 160px;
    background: #000000;
    border-radius: 50%;
}

.score-value {
    font-size: 3rem;
    font-weight: 700;
    color: white;
    z-index: 1;
}

.score-details {
    text-align: left;
}

.maturity-label {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: #60A5FA;
}

.maturity-description {
    font-size: 1.1rem;
    line-height: 1.6;
    color: #E5E7EB;
}

.action-buttons {
    display: flex;
    flex-direction: column;
    gap: 15px;
    align-items: center;
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    z-index: 1000;
    align-items: center;
    justify-content: center;
}

.modal.active {
    display: flex;
}

.modal-content {
    background: #1a1a1a;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 40px;
    max-width: 500px;
    width: 90%;
    text-align: center;
}

.modal-content h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: #60A5FA;
}

.modal-content p {
    margin-bottom: 25px;
    color: #E5E7EB;
}

#email-input {
    width: 100%;
    padding: 12px 16px;
    font-size: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.05);
    color: white;
    margin-bottom: 20px;
}

#email-input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.modal-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
}

/* User Information Modal */
.user-info-modal {
    max-width: 600px;
    text-align: left;
}

.user-info-modal h3 {
    text-align: center;
    margin-bottom: 10px;
}

.user-info-modal p {
    text-align: center;
    margin-bottom: 30px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

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

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

.form-group input,
.form-group select {
    width: 100%;
    padding: 12px 16px;
    font-size: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.05);
    color: white;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: #60A5FA;
    box-shadow: 0 0 0 2px rgba(96, 165, 250, 0.2);
}

.form-group input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.form-group select option {
    background: #1a1a1a;
    color: white;
}

.user-info-modal .modal-buttons {
    margin-top: 30px;
    justify-content: center;
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 0 15px;
    }
    
    .hero-section {
        padding: 40px 0;
        min-height: 50vh;
    }
    
    .hero-content {
        max-width: 100%;
        padding: 0 20px;
    }
    
    .assessment-title {
        font-size: 2.5rem;
    }
    
    .assessment-subtitle {
        font-size: 1.1rem;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .body-text {
        font-size: 1rem;
    }
    
    .score-display {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    
    .score-details {
        text-align: center;
    }
    
    .navigation-buttons {
        flex-direction: column;
    }
    
    .modal-buttons {
        flex-direction: column;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .user-info-modal {
        max-width: 95%;
        padding: 30px 20px;
    }
    
    .question-container {
        padding: 30px 20px;
    }
    
    .header .container {
        flex-direction: column;
        gap: 20px;
    }
    
    .progress-container {
        width: 100%;
        justify-content: center;
    }
}


/* HubSpot Form Styling */
.hs-form-frame {
    margin: 30px 0;
    padding: 30px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.hs-form-frame h3 {
    color: #ffffff;
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 15px;
    text-align: center;
}

.hs-form-frame .hs-form {
    max-width: 500px;
    margin: 0 auto;
}

.hs-form-frame .hs-form .hs-form-field {
    margin-bottom: 20px;
}

.hs-form-frame .hs-form .hs-form-field label {
    color: #ffffff;
    font-weight: 500;
    margin-bottom: 8px;
    display: block;
}

.hs-form-frame .hs-form .hs-form-field input,
.hs-form-frame .hs-form .hs-form-field textarea,
.hs-form-frame .hs-form .hs-form-field select {
    width: 100%;
    padding: 12px 16px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    color: #ffffff;
    font-size: 16px;
    transition: all 0.3s ease;
}

.hs-form-frame .hs-form .hs-form-field input:focus,
.hs-form-frame .hs-form .hs-form-field textarea:focus,
.hs-form-frame .hs-form .hs-form-field select:focus {
    outline: none;
    border-color: #00d4ff;
    box-shadow: 0 0 0 3px rgba(0, 212, 255, 0.1);
}

.hs-form-frame .hs-form .hs-form-field input::placeholder,
.hs-form-frame .hs-form .hs-form-field textarea::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.hs-form-frame .hs-form .hs-submit {
    text-align: center;
    margin-top: 25px;
}

.hs-form-frame .hs-form .hs-submit .hs-button {
    background: linear-gradient(135deg, #00d4ff 0%, #0099cc 100%);
    color: #ffffff;
    border: none;
    padding: 14px 32px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: none;
}

.hs-form-frame .hs-form .hs-submit .hs-button:hover {
    background: linear-gradient(135deg, #0099cc 0%, #007399 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 212, 255, 0.3);
}

/* Form section separator */
.hubspot-form-section {
    margin: 40px 0;
    padding: 20px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.hubspot-form-section h3 {
    color: #ffffff;
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 15px;
    text-align: center;
}

.hubspot-form-section p {
    color: rgba(255, 255, 255, 0.8);
    text-align: center;
    margin-bottom: 25px;
    font-size: 16px;
}


/* HubSpot Modal Specific Styling */
.hubspot-modal-content {
    max-width: 600px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
}

.hubspot-modal-content h3 {
    color: #ffffff;
    font-size: 28px;
    font-weight: 600;
    margin-bottom: 15px;
    text-align: center;
}

.hubspot-modal-content p {
    color: rgba(255, 255, 255, 0.8);
    text-align: center;
    margin-bottom: 30px;
    font-size: 16px;
    line-height: 1.5;
}

#hubspot-form-container {
    margin: 30px 0;
}

/* Override HubSpot form styles for modal */
.hubspot-modal-content .hs-form-frame {
    background: transparent;
    border: none;
    padding: 0;
}

.hubspot-modal-content .hs-form-frame .hs-form {
    background: transparent;
}

.hubspot-modal-content .hs-form-frame .hs-form .hs-fieldtype-text,
.hubspot-modal-content .hs-form-frame .hs-form .hs-fieldtype-email {
    margin-bottom: 20px;
}

.hubspot-modal-content .hs-form-frame .hs-form .hs-input {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #ffffff;
    padding: 14px 16px;
    border-radius: 8px;
    font-size: 16px;
    width: 100%;
    transition: all 0.3s ease;
}

.hubspot-modal-content .hs-form-frame .hs-form .hs-input:focus {
    background: rgba(255, 255, 255, 0.15);
    border-color: #00d4ff;
    outline: none;
    box-shadow: 0 0 0 3px rgba(0, 212, 255, 0.1);
}

.hubspot-modal-content .hs-form-frame .hs-form .hs-input::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.hubspot-modal-content .hs-form-frame .hs-form .hs-submit .hs-button {
    background: linear-gradient(135deg, #00d4ff 0%, #0099cc 100%);
    color: #ffffff;
    border: none;
    padding: 14px 32px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: none;
    width: 100%;
}

.hubspot-modal-content .hs-form-frame .hs-form .hs-submit .hs-button:hover {
    background: linear-gradient(135deg, #0099cc 0%, #007399 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 212, 255, 0.3);
}


/* Make HubSpot form field labels white and readable - More aggressive overrides */
.hubspot-modal-content .hs-form-frame .hs-form .hs-form-field label,
.hubspot-modal-content .hs-form-frame .hs-form .hs-form-field .hs-field-desc,
.hubspot-modal-content .hs-form-frame .hs-form .hs-fieldtype-text label,
.hubspot-modal-content .hs-form-frame .hs-form .hs-fieldtype-email label,
.hubspot-modal-content .hs-form-frame .hs-form .hs-fieldtype-select label,
.hubspot-modal-content .hs-form-frame .hs-form .hs-fieldtype-textarea label,
.hubspot-modal-content .hs-form-frame .hs-form label,
.hubspot-modal-content .hs-form label,
.hubspot-modal-content label {
    color: #ffffff !important;
    font-weight: 500 !important;
    margin-bottom: 8px !important;
    display: block !important;
}

/* Target all possible HubSpot label variations */
#hubspot-modal .hs-form-frame .hs-form label,
#hubspot-modal .hs-form label,
#hubspot-modal label,
.hs-form-frame label,
.hs-form label {
    color: #ffffff !important;
}

/* Make sure required field indicators are visible */
.hubspot-modal-content .hs-form-frame .hs-form .hs-form-required,
#hubspot-modal .hs-form-required,
.hs-form-required {
    color: #ff6b6b !important;
}

/* Style form field descriptions */
.hubspot-modal-content .hs-form-frame .hs-form .hs-field-desc,
#hubspot-modal .hs-field-desc,
.hs-field-desc {
    color: rgba(255, 255, 255, 0.7) !important;
    font-size: 14px !important;
}

/* Additional overrides for any nested elements */
#hubspot-modal * label,
.hubspot-modal-content * label {
    color: #ffffff !important;
}

/* Override any inline styles that might be applied */
#hubspot-modal [style*="color"] label {
    color: #ffffff !important;
}


/* CSS Custom Properties for HubSpot form override */
:root {
    --hubspot-label-color: #ffffff;
}

/* Use CSS custom properties to force white labels */
.hs-form-frame .hs-form .hs-form-field > label,
.hs-form-frame .hs-form .hs-fieldtype-text > label,
.hs-form-frame .hs-form .hs-fieldtype-email > label,
.hs-form-frame .hs-form .hs-fieldtype-select > label,
.hs-form-frame .hs-form .hs-fieldtype-textarea > label {
    color: var(--hubspot-label-color) !important;
}

/* Global override for all labels within HubSpot forms */
.hs-form * {
    --text-color: #ffffff !important;
}

/* Force white text for all HubSpot form elements */
.hs-form label,
.hs-form .hs-form-field label,
.hs-form .hs-fieldtype-text label,
.hs-form .hs-fieldtype-email label {
    color: white !important;
    text-shadow: none !important;
}

