/* OnTrack Dynamics CMMC Assessment System Styles */

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    line-height: 1.6;
    color: #333;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
}

.container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Header Styles */
.header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 15px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.logo {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo-icon {
    background: #14b8a6;
    color: white;
    width: 45px;
    height: 45px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: bold;
}

.brand-text h1 {
    font-size: 1.5em;
    color: #1f2937;
    margin: 0;
}

.brand-text span {
    color: #14b8a6;
    font-size: 0.9em;
    font-weight: 600;
}

.header-contact {
    display: flex;
    gap: 20px;
    font-size: 0.9em;
    color: #6b7280;
}

/* Landing Section */
.landing-section {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 30px;
}

.landing-content {
    background: white;
    border-radius: 20px;
    padding: 50px;
    max-width: 800px;
    width: 100%;
    text-align: center;
    box-shadow: 0 20px 60px rgba(0,0,0,0.1);
}

.hero-title {
    font-size: 2.5em;
    color: #1f2937;
    margin-bottom: 15px;
    font-weight: 700;
}

.hero-subtitle {
    font-size: 1.3em;
    color: #6b7280;
    margin-bottom: 40px;
}

.hero-benefits {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin: 40px 0;
    padding: 30px 0;
    border-top: 2px solid #f3f4f6;
    border-bottom: 2px solid #f3f4f6;
}

.benefit {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.benefit-icon {
    font-size: 2.5em;
    margin-bottom: 10px;
}

.benefit-text h4 {
    color: #1f2937;
    font-size: 1.1em;
    margin-bottom: 5px;
}

.benefit-text p {
    color: #6b7280;
    font-size: 0.9em;
}

.value-prop {
    margin: 40px 0;
    text-align: left;
    background: #f8fafc;
    padding: 30px;
    border-radius: 12px;
    border-left: 5px solid #14b8a6;
}

.value-prop h3 {
    color: #1f2937;
    margin-bottom: 15px;
    font-size: 1.3em;
}

.value-prop p {
    color: #4b5563;
    margin-bottom: 10px;
    font-size: 1.1em;
}

.start-button {
    background: linear-gradient(135deg, #14b8a6 0%, #06b6d4 100%);
    color: white;
    padding: 20px 40px;
    border: none;
    border-radius: 12px;
    font-size: 1.3em;
    font-weight: 700;
    cursor: pointer;
    margin: 30px 0;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.start-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(20, 184, 166, 0.4);
}

.trust-indicators {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 40px;
    padding-top: 30px;
    border-top: 2px solid #f3f4f6;
}

.trust-item {
    text-align: center;
    color: #374151;
    font-size: 0.9em;
}

.trust-item strong {
    color: #059669;
}

/* Assessment Section */
.assessment-section {
    flex: 1;
    padding: 30px;
}

.assessment-header {
    background: white;
    border-radius: 12px;
    padding: 30px;
    margin-bottom: 30px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.assessment-header h2 {
    color: #1f2937;
    margin-bottom: 10px;
    font-size: 2em;
}

.assessment-header p {
    color: #6b7280;
    font-size: 1.1em;
    margin-bottom: 30px;
}

.progress-container {
    max-width: 400px;
    margin: 0 auto;
}

.progress-bar {
    background: #f3f4f6;
    height: 10px;
    border-radius: 5px;
    overflow: hidden;
    margin-bottom: 15px;
}

.progress-fill {
    background: linear-gradient(90deg, #14b8a6, #06b6d4);
    height: 100%;
    border-radius: 5px;
    transition: width 0.5s ease;
    width: 10%;
}

.progress-text {
    color: #6b7280;
    font-size: 0.9em;
    text-align: center;
}

/* Assessment Form */
.assessment-form {
    background: white;
    border-radius: 12px;
    padding: 40px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    margin-bottom: 30px;
}

.question-slide {
    display: none;
    animation: slideIn 0.5s ease;
}

.question-slide.active {
    display: block;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.question-content h3 {
    color: #1f2937;
    font-size: 1.4em;
    margin-bottom: 30px;
    line-height: 1.4;
}

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

.option {
    display: block;
    cursor: pointer;
    transition: all 0.3s ease;
}

.option-content {
    display: flex;
    align-items: center;
    padding: 20px;
    border: 2px solid #e5e7eb;
    border-radius: 10px;
    background: #fafafa;
    transition: all 0.3s ease;
}

.option:hover .option-content {
    border-color: #14b8a6;
    background: #f0fdfa;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(20, 184, 166, 0.1);
}

.option input[type="radio"],
.option input[type="checkbox"] {
    margin-right: 15px;
    transform: scale(1.2);
    accent-color: #14b8a6;
}

.option-text {
    flex: 1;
    color: #374151;
    font-size: 1.1em;
    font-weight: 500;
}

.option input:checked + .option-content {
    border-color: #14b8a6;
    background: #f0fdfa;
    color: #065f46;
}

.checkbox-options .option input:checked + .option-content {
    background: #ecfdf5;
    border-color: #059669;
}

/* Navigation Buttons */
.question-nav {
    display: flex;
    justify-content: space-between;
    margin-top: 40px;
    padding-top: 30px;
    border-top: 2px solid #f3f4f6;
}

.nav-button {
    padding: 15px 30px;
    border: none;
    border-radius: 8px;
    font-size: 1.1em;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.prev-button {
    background: #f3f4f6;
    color: #374151;
}

.prev-button:hover {
    background: #e5e7eb;
}

.next-button {
    background: linear-gradient(135deg, #14b8a6 0%, #06b6d4 100%);
    color: white;
}

.next-button:disabled {
    background: #9ca3af;
    cursor: not-allowed;
}

.next-button:not(:disabled):hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(20, 184, 166, 0.3);
}

.submit-button {
    background: linear-gradient(135deg, #059669 0%, #047857 100%);
    color: white;
}

.submit-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(5, 150, 105, 0.3);
}

/* Results Section */
.results-section {
    flex: 1;
    padding: 30px;
}

.result-card {
    background: white;
    border-radius: 12px;
    padding: 40px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    margin-bottom: 30px;
}

.result-card.qualified {
    border-top: 5px solid #10b981;
}

.result-card.disqualified {
    border-top: 5px solid #ef4444;
}

.result-card.not-ready {
    border-top: 5px solid #f59e0b;
}

.result-icon {
    font-size: 4em;
    margin-bottom: 20px;
}

.result-card.qualified .result-icon {
    color: #10b981;
}

.result-card.disqualified .result-icon {
    color: #ef4444;
}

.result-card.not-ready .result-icon {
    color: #f59e0b;
}

.result-title {
    font-size: 2.2em;
    margin-bottom: 20px;
    color: #1f2937;
}

.result-summary {
    background: #f8fafc;
    padding: 20px;
    border-radius: 8px;
    margin: 20px 0;
    text-align: left;
}

.summary-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin: 20px 0;
}

.summary-item {
    background: #f0fdfa;
    padding: 15px;
    border-radius: 8px;
    text-align: center;
    border: 1px solid #14b8a6;
}

.summary-item .icon {
    font-size: 1.8em;
    margin-bottom: 10px;
}

.summary-item .label {
    font-size: 0.9em;
    color: #6b7280;
    margin-bottom: 5px;
}

.summary-item .value {
    font-weight: bold;
    color: #065f46;
}

.result-actions {
    margin: 30px 0;
}

.action-button {
    background: linear-gradient(135deg, #14b8a6 0%, #06b6d4 100%);
    color: white;
    padding: 15px 30px;
    border: none;
    border-radius: 8px;
    font-size: 1.1em;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
    margin: 10px;
    transition: all 0.3s ease;
}

.action-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(20, 184, 166, 0.3);
}

.secondary-button {
    background: #f3f4f6;
    color: #374151;
}

.secondary-button:hover {
    background: #e5e7eb;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

/* Payment Integration Styles */
.payment-container {
    background: white;
    border-radius: 12px;
    padding: 40px;
    margin-top: 30px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.payment-header {
    text-align: center;
    margin-bottom: 30px;
}

.price-display {
    font-size: 3em;
    font-weight: bold;
    color: #14b8a6;
    margin: 20px 0;
}

.price-details {
    background: #f9fafb;
    padding: 25px;
    border-radius: 8px;
    margin: 25px 0;
    text-align: left;
}

.included-list {
    list-style: none;
    padding: 0;
}

.included-list li {
    padding: 8px 0;
    color: #374151;
}

.included-list li:before {
    content: "✅ ";
    margin-right: 10px;
}

.customer-form {
    background: #f8fafc;
    padding: 25px;
    border-radius: 8px;
    margin: 25px 0;
}

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

.form-group label {
    display: block;
    color: #374151;
    margin-bottom: 8px;
    font-weight: 600;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 12px;
    border: 2px solid #e5e7eb;
    border-radius: 6px;
    font-size: 1em;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus {
    border-color: #14b8a6;
    outline: none;
    box-shadow: 0 0 0 3px rgba(20, 184, 166, 0.1);
}

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

.paypal-button {
    background: #0070ba;
    color: white;
    padding: 15px 30px;
    border: none;
    border-radius: 25px;
    font-size: 1.2em;
    font-weight: 600;
    cursor: pointer;
    width: 100%;
    margin: 15px 0;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.paypal-button:hover {
    background: #005ea6;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,112,186,0.3);
}

/* Footer */
.footer {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 30px;
    margin-top: auto;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    max-width: 800px;
    margin: 0 auto;
}

.footer-info h4 {
    color: #1f2937;
    margin-bottom: 10px;
}

.footer-info p,
.footer-contact p {
    color: #6b7280;
    margin-bottom: 5px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 0 10px;
    }

    .header {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }

    .header-contact {
        flex-direction: column;
        gap: 10px;
    }

    .landing-content {
        padding: 30px 20px;
    }

    .hero-title {
        font-size: 2em;
    }

    .hero-benefits,
    .trust-indicators {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .assessment-form {
        padding: 25px 20px;
    }

    .question-nav {
        flex-direction: column;
        gap: 15px;
    }

    .nav-button {
        width: 100%;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

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

/* Loading and Animation States */
.loading {
    opacity: 0.7;
    pointer-events: none;
}

.fade-in {
    animation: fadeIn 0.5s ease;
}

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

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: #14b8a6;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #0f766e;
}

/* Print Styles */
@media print {
    .header-contact,
    .footer,
    .question-nav,
    .action-button {
        display: none !important;
    }

    .container {
        background: white;
    }

    .result-card {
        box-shadow: none;
        border: 1px solid #e5e7eb;
    }
}

/* Modern PayPal Button Container Styles */
#paypal-button-container {
    margin: 20px 0;
    min-height: 60px;
}

#paypal-button-container > div {
    max-width: 400px;
    margin: 0 auto;
}

/* PayPal button wrapper enhancements */
.payment-container #paypal-button-container {
    background: #f8fafc;
    padding: 20px;
    border-radius: 12px;
    border: 2px solid #e5e7eb;
    margin-top: 30px;
}

.payment-container #paypal-button-container::before {
    content: '💳 Secure Payment';
    display: block;
    text-align: center;
    font-weight: 600;
    color: #374151;
    margin-bottom: 15px;
    font-size: 1.1em;
}
