/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
}

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

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    color: #1e3a8a;
    padding: 80px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="50" cy="50" r="1" fill="white" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.1;
}

.logo-container {
    margin-bottom: 40px;
    position: relative;
    z-index: 1;
}

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

.hero h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.1;
    position: relative;
    z-index: 1;
}

.hero .subhead {
    font-size: 1.25rem;
    margin-bottom: 40px;
    opacity: 0.9;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    position: relative;
    z-index: 1;
}

.cta-buttons {
    position: relative;
    z-index: 1;
}

.cta-primary {
    background: #f59e0b;
    color: white;
    padding: 18px 36px;
    border: none;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
    margin: 10px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.cta-primary:hover {
    background: #d97706;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(245, 158, 11, 0.3);
}

.cta-secondary {
    background: transparent;
    color: #1e3a8a;
    padding: 18px 36px;
    border: 2px solid #1e3a8a;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
    margin: 10px;
    transition: all 0.3s ease;
}

.cta-secondary:hover {
    background: #1e3a8a;
    color: white;
    transform: translateY(-2px);
}

/* Trust Strip */
.trust-strip {
    background: #f8fafc;
    padding: 40px 0;
    border-bottom: 1px solid #e2e8f0;
}

.trust-logos {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 60px;
    flex-wrap: wrap;
}

.trust-item {
    text-align: center;
    opacity: 0.8;
}

.trust-item strong {
    display: block;
    font-size: 1.1rem;
    font-weight: 600;
    color: #1e3a8a;
    margin-bottom: 4px;
}

.trust-item span {
    font-size: 0.9rem;
    color: #64748b;
}

/* Outcomes Section */
.outcomes {
    padding: 80px 0;
    background: white;
}

.outcomes h2 {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    color: #1e3a8a;
    margin-bottom: 60px;
}

.outcomes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
}

.outcome-item {
    text-align: center;
    padding: 40px 20px;
    border-radius: 12px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.outcome-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.outcome-icon {
    font-size: 3rem;
    margin-bottom: 20px;
}

.outcome-item h3 {
    font-size: 1.3rem;
    font-weight: 600;
    color: #1e3a8a;
    margin-bottom: 15px;
}

.outcome-item p {
    color: #64748b;
    line-height: 1.6;
}

/* What You Get Section */
.what-you-get {
    padding: 80px 0;
    background: #f8fafc;
}

.what-you-get h2 {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    color: #1e3a8a;
    margin-bottom: 60px;
}

.audit-details {
    max-width: 800px;
    margin: 0 auto;
}

.audit-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 40px;
    padding: 30px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.audit-number {
    background: #3b82f6;
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.2rem;
    margin-right: 20px;
    flex-shrink: 0;
}

.audit-content h3 {
    font-size: 1.3rem;
    font-weight: 600;
    color: #1e3a8a;
    margin-bottom: 10px;
}

.audit-content p {
    color: #64748b;
    line-height: 1.6;
}

/* Incentive Section */
.incentive {
    padding: 80px 0;
    background: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 100%);
    color: white;
    text-align: center;
}

.incentive-badge {
    display: inline-block;
    background: #f59e0b;
    color: white;
    padding: 8px 20px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.incentive h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.incentive > p {
    font-size: 1.2rem;
    margin-bottom: 50px;
    opacity: 0.9;
}

.incentive-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    max-width: 900px;
    margin: 0 auto;
}

.incentive-option {
    background: rgba(255, 255, 255, 0.1);
    padding: 30px 20px;
    border-radius: 12px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: transform 0.3s ease;
}

.incentive-option:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.15);
}

.incentive-option h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 15px;
}

.incentive-option p {
    opacity: 0.9;
    line-height: 1.6;
}

/* Contact Form */
.contact-form {
    padding: 80px 0;
    background: white;
}

.contact-form h2 {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    color: #1e3a8a;
    margin-bottom: 20px;
}

.form-subtitle {
    text-align: center;
    font-size: 1.2rem;
    color: #64748b;
    margin-bottom: 50px;
}

.audit-form {
    max-width: 700px;
    margin: 0 auto;
    background: #f8fafc;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

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

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

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

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    background: white;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.radio-group {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.radio-label {
    display: flex;
    align-items: center;
    cursor: pointer;
    font-weight: normal;
}

.radio-label input[type="radio"] {
    width: auto;
    margin-right: 8px;
}

.form-submit {
    width: 100%;
    margin-top: 20px;
    font-size: 1.1rem;
    padding: 18px;
}

.form-message {
    margin-top: 20px;
    padding: 15px;
    border-radius: 8px;
    text-align: center;
    font-weight: 600;
    display: none;
}

.form-message.success {
    background: #d1fae5;
    color: #065f46;
    border: 1px solid #a7f3d0;
}

.form-message.error {
    background: #fee2e2;
    color: #991b1b;
    border: 1px solid #fca5a5;
}

/* FAQ Section */
.faq {
    padding: 80px 0;
    background: #f8fafc;
}

.faq h2 {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    color: #1e3a8a;
    margin-bottom: 60px;
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.faq-item {
    background: white;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.faq-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.faq-item h3 {
    font-size: 1.2rem;
    font-weight: 600;
    color: #1e3a8a;
    margin-bottom: 15px;
}

.faq-item p {
    color: #64748b;
    line-height: 1.6;
}

/* Footer */
.footer {
    background: #1e3a8a;
    color: white;
    padding: 40px 0;
    text-align: center;
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.footer-logo .logo {
    height: 40px;
    width: auto;
    filter: brightness(0) invert(1);
}

.footer p {
    opacity: 0.8;
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 0 15px;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .hero .subhead {
        font-size: 1.1rem;
    }
    
    .trust-logos {
        gap: 30px;
    }
    
    .outcomes h2,
    .what-you-get h2,
    .incentive h2,
    .contact-form h2,
    .faq h2 {
        font-size: 2rem;
    }
    
    .outcomes-grid {
        grid-template-columns: 1fr;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .radio-group {
        flex-direction: column;
    }
    
    .audit-form {
        padding: 30px 20px;
    }
    
    .cta-primary,
    .cta-secondary {
        display: block;
        margin: 10px auto;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 60px 0;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .cta-primary,
    .cta-secondary {
        padding: 15px 25px;
        font-size: 1rem;
    }
    
    .audit-item {
        flex-direction: column;
        text-align: center;
    }
    
    .audit-number {
        margin-right: 0;
        margin-bottom: 20px;
    }
}

/* Performance optimizations */
.hero,
.incentive {
    will-change: transform;
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Loading states */
.form-submit:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

.form-submit.loading::after {
    content: '...';
    animation: dots 1.5s infinite;
}

@keyframes dots {
    0%, 20% { color: transparent; text-shadow: .25em 0 0 transparent, .5em 0 0 transparent; }
    40% { color: white; text-shadow: .25em 0 0 transparent, .5em 0 0 transparent; }
    60% { text-shadow: .25em 0 0 white, .5em 0 0 transparent; }
    80%, 100% { text-shadow: .25em 0 0 white, .5em 0 0 white; }
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px);
    animation: modalFadeIn 0.3s ease;
}

.modal-content {
    background-color: #ffffff;
    margin: 2% auto;
    border-radius: 12px;
    width: 90%;
    max-width: 800px;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    position: relative;
    animation: modalSlideIn 0.3s ease;
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 30px 30px 20px;
    background: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 100%);
    color: white;
    border-radius: 12px 12px 0 0;
}

.modal-header h2 {
    margin: 0;
    font-size: 1.5rem;
    font-weight: 600;
}

.modal-close {
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    color: white;
    line-height: 1;
    opacity: 0.8;
    transition: opacity 0.2s ease;
}

.modal-close:hover {
    opacity: 1;
}

.modal-body {
    padding: 30px;
    line-height: 1.6;
}

.poc-section {
    margin-bottom: 30px;
}

.poc-section:last-of-type {
    margin-bottom: 0;
}

.poc-section h3 {
    color: #1e3a8a;
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 15px;
    padding-bottom: 8px;
    border-bottom: 2px solid #e2e8f0;
}

.poc-section p {
    color: #4b5563;
    margin-bottom: 15px;
}

.poc-section ul {
    color: #4b5563;
    padding-left: 20px;
    margin-bottom: 15px;
}

.poc-section li {
    margin-bottom: 8px;
}

.timeline {
    background: #f8fafc;
    border-radius: 8px;
    padding: 20px;
    margin-top: 15px;
}

.timeline-item {
    color: #4b5563;
    margin-bottom: 12px;
    padding-left: 15px;
    position: relative;
}

.timeline-item:before {
    content: '';
    position: absolute;
    left: 0;
    top: 8px;
    width: 6px;
    height: 6px;
    background: #3b82f6;
    border-radius: 50%;
}

.timeline-item:last-child {
    margin-bottom: 0;
}

.poc-note {
    background: #fef3c7;
    border: 1px solid #f59e0b;
    border-radius: 8px;
    padding: 20px;
    margin-top: 30px;
}

.poc-note p {
    color: #92400e;
    margin: 0;
    font-size: 0.95rem;
}

.modal-footer {
    padding: 20px 30px 30px;
    text-align: center;
    border-top: 1px solid #e2e8f0;
}

.modal-footer .cta-button {
    padding: 15px 30px;
    font-size: 1rem;
}

/* Modal Animations */
@keyframes modalFadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes modalSlideIn {
    from { 
        opacity: 0;
        transform: translateY(-50px) scale(0.95);
    }
    to { 
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* Responsive Modal */
@media (max-width: 768px) {
    .modal-content {
        width: 95%;
        margin: 5% auto;
        max-height: 90vh;
    }
    
    .modal-header {
        padding: 20px 20px 15px;
    }
    
    .modal-header h2 {
        font-size: 1.25rem;
    }
    
    .modal-body {
        padding: 20px;
    }
    
    .modal-footer {
        padding: 15px 20px 20px;
    }
}
