/* Extracted from simulation_course.html to reduce inline styles */

/* Align typography with site variables */
body {
    font-family: var(--font-body);
    line-height: 1.6;
    color: var(--text-dark);
}

h1, h2, h3, h4 {
    font-family: var(--font-heading);
    line-height: 1.2;
    letter-spacing: -0.02em;
    color: var(--primary-dark);
}

/* Hero aligned to brand */
.hero-section {
    background: var(--gradient-hero);
    background-attachment: fixed;
    color: var(--background-white);
    padding: 80px 20px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,%3Csvg width="60" height="60" viewBox="0 0 60 60" xmlns="http://www.w3.org/2000/svg"%3E%3Cg fill="none" fill-rule="evenodd"%3E%3Cg fill="%23ffffff" fill-opacity="0.05"%3E%3Cpath d="M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z"/%3E%3C/g%3E%3C/g%3E%3C/svg%3E');
    pointer-events: none;
}

.hero-section h1 {
    font-size: clamp(2.2rem, 5vw, 3.5rem);
    margin-bottom: 24px;
    font-weight: 800;
    color: var(--background-white) !important;
    text-shadow: 0 2px 10px rgba(0,0,0,0.2);
    animation: fadeInUp 0.8s ease-out;
}

.hero-subtitle {
    font-size: clamp(1.1rem, 2.5vw, 1.4rem);
    margin-bottom: 40px;
    color: var(--background-white) !important;
    opacity: 0.95;
    font-weight: 400;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

/* Price box */
.price-box {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    color: var(--text-dark);
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.15), 0 0 0 1px rgba(255,255,255,0.1);
    max-width: 420px;
    margin: 50px auto;
    position: relative;
    animation: fadeInUp 0.8s ease-out 0.4s both;
}

.price-display {
    font-size: 3.5em;
    font-weight: 800;
    color: var(--primary-dark);
    margin: 15px 0;
    font-family: var(--font-heading);
}

/* CTA buttons aligned with site */
.cta-button {
    background: var(--gradient-primary);
    color: var(--primary-dark);
    padding: var(--spacing-md) var(--spacing-xl);
    border: none;
    border-radius: var(--border-radius-md);
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
    font-weight: 700;
    box-shadow: 0 4px 10px rgba(255, 220, 93, 0.3);
}

.cta-button:hover {
    background: linear-gradient(135deg, var(--primary-accent-darker), var(--primary-accent));
    color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(255, 220, 93, 0.4);
}

.guarantee-badge {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin: 25px 0 15px;
    font-size: 0.95em;
    color: var(--text-muted);
}

.section-container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 80px 20px;
}

/* Pain point boxes */
.pain-point-box {
    background: var(--background-white);
    border-left: 4px solid transparent;
    background-clip: padding-box;
    position: relative;
    padding: 25px 30px;
    margin: 25px 0;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
}

.pain-point-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    width: 4px;
    background: var(--gradient-primary);
    border-radius: 12px 0 0 12px;
}

.pain-point-box:hover {
    transform: translateX(5px);
    box-shadow: 0 6px 30px rgba(0,0,0,0.08);
}

.pain-point-box h3 {
    font-size: 1.3rem;
    margin-bottom: 12px;
    color: var(--primary-dark);
}

.pain-point-box p {
    color: var(--text-muted);
    line-height: 1.7;
}

.benefit-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 35px;
    margin: 60px 0;
}

.benefit-card {
    background: var(--background-white);
    padding: 35px;
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.08);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    border: 1px solid rgba(0,0,0,0.05);
}

.benefit-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient-primary);
    border-radius: 16px 16px 0 0;
    opacity: 0;
    transition: opacity 0.3s;
}

.benefit-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 60px rgba(0,0,0,0.12);
}

.benefit-card:hover::after {
    opacity: 1;
}

.benefit-card h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: var(--primary-dark);
}

.benefit-card p {
    color: var(--text-muted);
    line-height: 1.7;
    font-size: 0.95rem;
}

.testimonial-highlight {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 15px 50px rgba(0,0,0,0.08);
    margin: 40px 0;
    position: relative;
    border: 1px solid rgba(1, 33, 46, 0.08);
}

.testimonial-highlight::before {
    content: '"';
    font-size: 80px;
    font-family: Georgia, serif;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: absolute;
    top: -20px;
    left: 30px;
    opacity: 0.2;
}

.testimonial-highlight img {
    border: 3px solid #fff;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.curriculum-timeline {
    position: relative;
    padding-left: 50px;
    margin: 60px 0;
}

.curriculum-timeline::before {
    content: '';
    position: absolute;
    left: 20px;
    top: 0;
    bottom: 0;
    width: 3px;
    background: var(--gradient-primary);
    border-radius: 2px;
}

.curriculum-item {
    position: relative;
    margin-bottom: 35px;
    padding: 20px;
    background: var(--background-white);
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
}

.curriculum-item:hover {
    transform: translateX(5px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.08);
}

.curriculum-item::before {
    content: '';
    position: absolute;
    left: -35px;
    top: 25px;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: var(--gradient-primary);
    border: 4px solid white;
    box-shadow: 0 0 0 3px #f8f9fa;
}

.curriculum-item strong {
    color: var(--primary-dark);
    font-size: 1.1rem;
}

.urgency-banner {
    background: var(--gradient-hero);
    color: var(--background-white);
    padding: 18px;
    text-align: center;
    position: sticky;
    top: 0;
    z-index: 900;
    font-weight: 600;
    font-size: 0.95rem;
    letter-spacing: 0.02em;
    box-shadow: 0 2px 10px rgba(1, 33, 46, 0.2);
}

.urgency-banner::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
}

/* Keep header non-sticky on this page to avoid overlap with banner */
header {
    position: static !important;
    top: auto !important;
}

/* Ensure dropdown menus appear above banner */
.dropdown-content {
    z-index: 1100 !important;
}

.faq-item {
    background: var(--background-white);
    padding: 30px;
    margin: 20px 0;
    border-radius: 16px;
    box-shadow: 0 5px 25px rgba(0,0,0,0.05);
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(0,0,0,0.05);
    position: relative;
    overflow: hidden;
}

.faq-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 220, 93, 0.08), transparent);
    transition: left 0.5s;
}

.faq-item:hover {
    box-shadow: 0 10px 40px rgba(0,0,0,0.08);
    transform: translateY(-2px);
}

.faq-item:hover::before {
    left: 100%;
}

.faq-item h3 {
    color: var(--primary-dark);
    margin-bottom: 15px;
    font-size: 1.2rem;
}

.faq-item p {
    color: var(--text-muted);
    line-height: 1.7;
}

.trust-indicators {
    display: flex;
    justify-content: center;
    gap: 60px;
    margin: 40px 0;
    flex-wrap: wrap;
}

.trust-item {
    text-align: center;
    color: var(--background-white);
    animation: fadeInUp 0.8s ease-out 0.6s both;
}

.trust-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--background-white);
    text-shadow: 0 3px 10px rgba(0,0,0,0.2);
    font-family: var(--font-heading);
    margin-bottom: 5px;
}

.trust-item div:last-child {
    font-size: 0.9rem;
    opacity: 0.9;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 500;
}

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

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

/* Exit intent modal */
.exit-modal-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(10, 18, 34, 0.65);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s ease, visibility 0.25s ease;
    z-index: 9998;
}
.exit-modal-backdrop.active {
    opacity: 1;
    visibility: visible;
}
.exit-modal {
    position: fixed;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    visibility: hidden;
    z-index: 9999;
}
.exit-modal.active {
    visibility: visible;
}
.exit-modal__content {
    position: relative;
    background: #ffffff;
    max-width: 520px;
    width: 100%;
    padding: 1.75rem;
    border-radius: 14px;
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.16);
    transform: translateY(12px);
    opacity: 0;
    transition: transform 0.25s ease, opacity 0.25s ease;
}
.exit-modal.active .exit-modal__content {
    transform: translateY(0);
    opacity: 1;
}
.exit-modal__eyebrow {
    display: inline-block;
    background: rgba(255, 122, 0, 0.12);
    color: #ff7a00;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    font-size: 0.8rem;
    padding: 0.35rem 0.6rem;
    border-radius: 6px;
    margin-bottom: 0.75rem;
}
.exit-modal__title {
    margin: 0 0 0.35rem 0;
    font-size: 1.6rem;
    color: #0f1c2d;
    line-height: 1.2;
}
.exit-modal__body {
    margin: 0 0 1.1rem 0;
    color: #203046;
    font-size: 1rem;
}
.exit-modal__actions {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
    align-items: center;
}
.exit-modal__cta {
    display: inline-block;
    background: var(--primary-color, #ff7a00);
    color: #ffffff;
    padding: 0.9rem 1.2rem;
    border-radius: 8px;
    font-weight: 700;
    text-decoration: none;
    box-shadow: 0 10px 24px rgba(255, 122, 0, 0.35);
    transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}
.exit-modal__cta:hover {
    transform: translateY(-1px);
    box-shadow: 0 14px 28px rgba(255, 122, 0, 0.42);
    background: #e66a00;
}
.exit-modal__dismiss {
    background: transparent;
    border: none;
    color: #203046;
    font-weight: 600;
    cursor: pointer;
    padding: 0.8rem 0.9rem;
}
.exit-modal__close {
    position: absolute;
    top: 10px;
    right: 12px;
    background: transparent;
    border: none;
    font-size: 1rem;
    color: #6b7280;
    cursor: pointer;
}
@media (max-width: 540px) {
    .exit-modal__content {
        padding: 1.5rem;
    }
    .exit-modal__actions {
        flex-direction: column;
        align-items: stretch;
    }
    .exit-modal__cta,
    .exit-modal__dismiss {
        width: 100%;
        text-align: center;
    }
}

/* Section backgrounds aligned */
section:nth-of-type(even) {
    background: var(--background-light);
}

/* Section headings underline accent */
h2 {
    position: relative;
    padding-bottom: 15px;
    margin-bottom: 50px;
}

h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: var(--gradient-primary);
    border-radius: 2px;
}

/* Responsive design */
@media (max-width: 768px) {
    .hero-section {
        padding: 60px 20px;
    }

    .section-container {
        padding: 60px 20px;
    }

    .price-box {
        padding: 30px 20px;
    }

    .benefit-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .trust-indicators {
        gap: 40px;
    }
}
