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

/* Hero section */
.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);
}

.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;
}

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

.trust-item {
    text-align: center;
    color: var(--background-white);
}

.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;
}

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

/* Benefit cards */
.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 */
.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);
}

/* FAQ items */
.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);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(0,0,0,0.05);
}

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

.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;
}

/* Guarantee badge */
.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 heading underline */
.section-container h2 {
    position: relative;
    padding-bottom: 15px;
    margin-bottom: 50px;
    text-align: center;
    font-size: 2.2em;
}

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

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

/* Udemy proof styling */
.udemy-proof img {
    max-width: 700px;
    width: 100%;
    height: auto;
    display: block;
    margin: 20px auto;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

/* Urgency banner */
.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 */
header {
    position: static !important;
    top: auto !important;
}

/* 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;
}

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

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

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

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

/* 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;
    }
}
