/**
 * Live CUI Training - Main Stylesheet
 * Brand Colors: Red #BF281F, Dark Charcoal #252628, Light Pink #F2DADA, Navy #0A0C32
 */

/* ============================================================================
   TRANSPARENT PRICING SECTION - MOBILE RESPONSIVE
   ============================================================================ */

.transparent-pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 32px;
    margin-top: 48px;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

/* Tablet - reduce minimum to fit smaller screens */
@media (max-width: 968px) {
    .transparent-pricing-grid {
        grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
        gap: 24px;
    }
}

/* Mobile - stack cards vertically to prevent horizontal overflow */
@media (max-width: 768px) {
    .transparent-pricing-grid {
        grid-template-columns: 1fr !important;
        gap: 24px;
    }
}

/* Small mobile - ensure proper spacing */
@media (max-width: 480px) {
    .transparent-pricing-grid {
        gap: 20px;
        margin-top: 32px;
    }
    
    /* Optimize pricing card content for small screens */
    .transparent-pricing-grid > div {
        padding: 32px 20px !important;
    }
    
    .transparent-pricing-grid h3 {
        font-size: 1.5rem !important;
    }
    
    .transparent-pricing-grid .price {
        font-size: 2.5rem !important;
    }
}

@media (max-width: 375px) {
    .transparent-pricing-grid > div {
        padding: 28px 16px !important;
    }
    
    .transparent-pricing-grid h3 {
        font-size: 1.4rem !important;
    }
}

/* ============================================================================
   RESET & BASE STYLES
   ============================================================================ */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    color: #000000;
    line-height: 1.6;
    overflow-x: hidden;
}

/* ============================================================================
   HEADER
   ============================================================================ */

.site-header {
    background: white;
    padding: 16px 40px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-container {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo-container {
    display: flex;
    align-items: center;
}

.logo-container img {
    height: 50px;
    width: auto;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 24px;
}

.header-phone {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #252628;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: color 0.3s;
}

.header-phone:hover {
    color: #BF281F;
}

.header-phone-icon {
    font-size: 1.2rem;
}

.header-cta {
    background: #BF281F;
    color: white;
    border: none;
    padding: 12px 28px;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s;
}

.header-cta:hover {
    background: #a02319;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(191, 40, 31, 0.3);
}

/* ============================================================================
   HERO SECTION
   ============================================================================ */

.hero {
    background: linear-gradient(135deg, #252628 0%, #0A0C32 100%);
    color: white;
    padding: 60px 20px;
    text-align: center;
    position: relative;
}

.hero h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 16px;
    line-height: 1.2;
}

.hero .subheadline {
    font-size: 1.25rem;
    color: #F2DADA;
    margin-bottom: 40px;
    font-weight: 400;
}

.video-container {
    max-width: 700px;
    margin: 0 auto 40px;
    background: #000;
    border-radius: 12px;
    overflow: hidden;
    aspect-ratio: 16/9;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #BF281F;
}

.video-placeholder {
    width: 100%;
    height: 100%;
    color: #F2DADA;
    font-size: 1.1rem;
}

.trust-elements {
    margin-top: 40px;
    padding: 30px 20px;
    background: rgba(242, 218, 218, 0.1);
    border-radius: 12px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.credentials {
    font-size: 0.95rem;
    margin-bottom: 20px;
    color: #F2DADA;
}

.trust-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
    align-items: center;
}

.badge {
    padding: 8px 16px;
    background: rgba(255,255,255,0.1);
    border-radius: 6px;
    font-size: 0.9rem;
    border: 1px solid rgba(191, 40, 31, 0.3);
}

/* ============================================================================
   STICKY CTA BAR
   ============================================================================ */

.sticky-cta {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #BF281F;
    padding: 16px 20px;
    text-align: center;
    box-shadow: 0 -4px 12px rgba(0,0,0,0.15);
    z-index: 1000;
    display: none;
}

.sticky-cta.visible {
    display: block;
}

.sticky-cta button {
    background: white;
    color: #BF281F;
    border: none;
    padding: 16px 48px;
    font-size: 1.1rem;
    font-weight: 700;
    border-radius: 8px;
    cursor: pointer;
    transition: transform 0.2s;
}

.sticky-cta button:hover {
    transform: scale(1.05);
}

/* ============================================================================
   CONTAINER & SECTIONS
   ============================================================================ */

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 20px;
}

.section-header {
    text-align: center;
    margin-bottom: 40px;
}

.section-header h2 {
    font-size: 2rem;
    color: #252628;
    margin-bottom: 12px;
}

.section-header p {
    color: #666;
    font-size: 1.1rem;
}

/* ============================================================================
   TABS
   ============================================================================ */

.tabs {
    display: flex;
    gap: 0;
    border-bottom: 2px solid #F2DADA;
    margin-bottom: 40px;
}

.tab {
    flex: 1;
    padding: 16px 24px;
    background: transparent;
    border: none;
    font-size: 1.1rem;
    font-weight: 600;
    color: #666;
    cursor: pointer;
    border-bottom: 3px solid transparent;
    transition: all 0.3s;
}

.tab.active {
    color: #BF281F;
    border-bottom-color: #BF281F;
}

.tab:hover {
    color: #BF281F;
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

/* ============================================================================
   EVENT CALENDAR LIST
   ============================================================================ */

.event-list {
    display: grid;
    gap: 20px;
    margin-bottom: 40px;
}

.event-card {
    background: white;
    border: 2px solid #F2DADA;
    border-radius: 12px;
    padding: 24px;
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 24px;
    align-items: center;
    transition: all 0.3s;
    cursor: pointer;
}

.event-card:hover {
    border-color: #BF281F;
    box-shadow: 0 4px 12px rgba(191, 40, 31, 0.15);
    transform: translateY(-2px);
}

.event-date {
    text-align: center;
    padding: 16px;
    background: #F2DADA;
    border-radius: 8px;
    min-width: 100px;
}

.event-date .month {
    font-size: 0.9rem;
    color: #666;
    text-transform: uppercase;
    font-weight: 600;
}

.event-date .day {
    font-size: 2rem;
    font-weight: 700;
    color: #BF281F;
    line-height: 1;
}

.event-date .year {
    font-size: 0.85rem;
    color: #666;
}

.event-details {
    flex: 1;
}

.event-details h3 {
    font-size: 1.3rem;
    color: #252628;
    margin-bottom: 8px;
}

.event-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    font-size: 0.95rem;
    color: #666;
}

.event-meta span {
    display: flex;
    align-items: center;
    gap: 6px;
}

.seats-remaining {
    display: inline-block;
    padding: 4px 12px;
    background: #BF281F;
    color: white;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
}

.seats-remaining.low {
    background: #ff6b00;
    animation: pulse 2s infinite;
}

.seats-remaining.sold-out {
    background: #999;
    color: white;
    font-weight: 700;
    letter-spacing: 0.5px;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

.event-action {
    text-align: right;
}

.event-price {
    font-size: 1.8rem;
    font-weight: 700;
    color: #BF281F;
    margin-bottom: 8px;
}

.event-price small {
    font-size: 0.9rem;
    color: #666;
    font-weight: 400;
}

.btn-join {
    background: #BF281F;
    color: white;
    border: none;
    padding: 12px 32px;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-join:hover {
    background: #a02319;
    transform: scale(1.05);
}

/* ============================================================================
   FORMS
   ============================================================================ */

.private-form {
    background: #F2DADA;
    border-radius: 12px;
    padding: 40px;
}

.form-section {
    margin-bottom: 32px;
}

.form-section h3 {
    font-size: 1.3rem;
    color: #252628;
    margin-bottom: 16px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 8px;
    color: #252628;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #ddd;
    border-radius: 8px;
    font-size: 1rem;
    font-family: inherit;
    transition: border-color 0.3s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #BF281F;
}

.date-picker-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 16px;
}

.csv-upload-area {
    border: 2px dashed #BF281F;
    border-radius: 8px;
    padding: 40px;
    text-align: center;
    background: white;
    cursor: pointer;
    transition: all 0.3s;
}

.csv-upload-area:hover {
    background: #F2DADA;
}

.csv-upload-area input {
    display: none;
}

.csv-icon {
    font-size: 3rem;
    margin-bottom: 16px;
}

/* ============================================================================
   ADD-ONS
   ============================================================================ */

.addons-section {
    background: white;
    border-radius: 12px;
    padding: 24px;
    margin-top: 32px;
}

.addon-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px;
    border: 2px solid #F2DADA;
    border-radius: 8px;
    margin-bottom: 12px;
    transition: all 0.3s;
}

.addon-item:hover {
    border-color: #BF281F;
}

.addon-info h4 {
    font-size: 1.1rem;
    color: #252628;
    margin-bottom: 4px;
}

.addon-info p {
    font-size: 0.9rem;
    color: #666;
}

.addon-price {
    font-size: 1.3rem;
    font-weight: 700;
    color: #BF281F;
    margin-right: 16px;
}

/* Toggle Switch */
.toggle-switch {
    position: relative;
    width: 60px;
    height: 30px;
}

.toggle-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.toggle-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    transition: 0.4s;
    border-radius: 30px;
}

.toggle-slider:before {
    position: absolute;
    content: "";
    height: 22px;
    width: 22px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    transition: 0.4s;
    border-radius: 50%;
}

input:checked + .toggle-slider {
    background-color: #BF281F;
}

input:checked + .toggle-slider:before {
    transform: translateX(30px);
}

/* ============================================================================
   SIDE DRAWER
   ============================================================================ */

.drawer-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 2000;
    display: none;
    opacity: 0;
    transition: opacity 0.3s;
}

.drawer-overlay.active {
    display: block;
    opacity: 1;
}

.drawer {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    max-width: 600px;
    height: 100%;
    background: white;
    box-shadow: -4px 0 20px rgba(0, 0, 0, 0.2);
    z-index: 2001;
    overflow-y: auto;
    transition: right 0.3s ease;
}

.drawer.active {
    right: 0;
}

.drawer-header {
    background: #252628;
    color: white;
    padding: 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 10;
}

.drawer-header h2 {
    font-size: 1.5rem;
}

.close-drawer {
    background: transparent;
    border: none;
    color: white;
    font-size: 2rem;
    cursor: pointer;
    padding: 0;
    width: 40px;
    height: 40px;
    line-height: 1;
}

.drawer-content {
    padding: 24px;
}

.participant-list {
    margin-bottom: 24px;
}

.participant-entry {
    background: #F2DADA;
    padding: 16px;
    border-radius: 8px;
    margin-bottom: 12px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.btn-add-participant {
    background: white;
    color: #BF281F;
    border: 2px dashed #BF281F;
    padding: 12px;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s;
    width: 100%;
}

.btn-add-participant:hover {
    background: #F2DADA;
}

/* ============================================================================
   TOTALS & CHECKOUT
   ============================================================================ */

.total-summary {
    background: #252628;
    color: white;
    padding: 24px;
    border-radius: 12px;
    margin: 24px 0;
}

.total-line {
    display: flex;
    justify-content: space-between;
    margin-bottom: 12px;
    font-size: 1.1rem;
}

.total-line.grand-total {
    border-top: 2px solid #BF281F;
    padding-top: 12px;
    margin-top: 12px;
    font-size: 1.5rem;
    font-weight: 700;
}

.btn-checkout {
    width: 100%;
    background: #BF281F;
    color: white;
    border: none;
    padding: 20px;
    font-size: 1.2rem;
    font-weight: 700;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s;
    margin-bottom: 20px;
}

.btn-checkout:hover {
    background: #a02319;
    transform: scale(1.02);
}

.btn-checkout:disabled {
    background: #ccc;
    cursor: not-allowed;
    transform: none;
}

/* ============================================================================
   STRIPE PAYMENT MODAL
   ============================================================================ */

.stripe-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    z-index: 3000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.stripe-modal.active {
    display: flex;
}

.stripe-content {
    background: white;
    border-radius: 12px;
    padding: 40px;
    max-width: 500px;
    width: 100%;
}

.stripe-content h3 {
    font-size: 1.5rem;
    margin-bottom: 24px;
    color: #252628;
}

#payment-element {
    margin-bottom: 20px;
}

.payment-errors {
    color: #BF281F;
    margin-bottom: 16px;
    padding: 12px;
    background: #F2DADA;
    border-radius: 8px;
    display: none;
}

.payment-errors.active {
    display: block;
}

/* ============================================================================
   CONFIRMATION MODAL
   ============================================================================ */

.confirmation-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.8);
    z-index: 4000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.confirmation-modal.active {
    display: flex;
}

.confirmation-content {
    background: white;
    border-radius: 12px;
    padding: 40px;
    max-width: 600px;
    width: 100%;
    text-align: center;
}

.success-icon {
    font-size: 4rem;
    color: #BF281F;
    margin-bottom: 20px;
}

.confirmation-content h2 {
    font-size: 2rem;
    color: #252628;
    margin-bottom: 16px;
}

.confirmation-content p {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 24px;
}

.btn-close-confirmation {
    background: #BF281F;
    color: white;
    border: none;
    padding: 16px 48px;
    font-size: 1.1rem;
    font-weight: 700;
    border-radius: 8px;
    cursor: pointer;
}

/* ============================================================================
   FOOTER
   ============================================================================ */

.footer {
    background: #252628;
    color: white;
    padding: 40px 20px 20px;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 30px;
}

.footer h4 {
    color: #BF281F;
    margin-bottom: 16px;
    font-size: 1.1rem;
}

.footer a {
    color: #F2DADA;
    text-decoration: none;
    display: block;
    margin-bottom: 8px;
    transition: color 0.3s;
}

.footer a:hover {
    color: #BF281F;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(242, 218, 218, 0.2);
    color: #F2DADA;
    font-size: 0.9rem;
}

.footer-bottom a {
    display: inline;
    color: #F2DADA;
}

/* ============================================================================
   RESPONSIVE
   ============================================================================ */

@media (max-width: 768px) {
    .site-header {
        padding: 12px 20px;
    }

    .header-phone span {
        display: none;
    }

    .header-cta {
        padding: 10px 20px;
        font-size: 0.9rem;
    }

    .logo-container img {
        height: 40px;
    }

    .hero h1 {
        font-size: 1.8rem;
    }

    .event-card {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .event-date {
        margin: 0 auto;
    }

    .event-action {
        text-align: center;
    }

    .tabs {
        flex-direction: column;
    }

    .drawer {
        max-width: 100%;
    }

    .participant-entry {
        grid-template-columns: 1fr;
    }
}

/* ============================================================================
   UTILITY CLASSES
   ============================================================================ */

.hidden {
    display: none;
}

.text-center {
    text-align: center;
}

.mt-4 {
    margin-top: 2rem;
}

.mb-4 {
    margin-bottom: 2rem;
}

/* ============================================================================
   TESTIMONIAL CAROUSEL STYLES
   Add these styles to your existing training.css file
   ============================================================================ */

.testimonial-carousel-wrapper {
    position: relative;
    margin-top: 40px;
    overflow: hidden;
}

.testimonial-carousel {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    transition: transform 0.5s ease;
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: #BF281F;
    color: white;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 2rem;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.carousel-btn:hover {
    background: #a02319;
    transform: translateY(-50%) scale(1.1);
}

.carousel-prev {
    left: -60px;
}

.carousel-next {
    right: -60px;
}

.carousel-dots {
    text-align: center;
    margin-top: 24px;
    display: flex;
    justify-content: center;
    gap: 12px;
}

.carousel-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #d1d1d1;
    cursor: pointer;
    transition: all 0.3s;
    display: inline-block;
}

.carousel-dot:hover {
    background: #BF281F;
    transform: scale(1.2);
}

.carousel-dot.active {
    background: #BF281F;
    width: 32px;
    border-radius: 6px;
}

/* Mobile Responsive */
@media (max-width: 968px) {
    .testimonial-carousel {
        grid-template-columns: 1fr;
    }
    
    .carousel-prev {
        left: 10px;
    }
    
    .carousel-next {
        right: 10px;
    }
    
    .carousel-btn {
        width: 40px;
        height: 40px;
        font-size: 1.5rem;
    }
}

@media (max-width: 768px) {
    .carousel-btn {
        width: 36px;
        height: 36px;
        font-size: 1.3rem;
    }
    
    .carousel-prev {
        left: 5px;
    }
    
    .carousel-next {
        right: 5px;
    }
}
/* ============================================================================
   MOBILE-FIRST IMPROVEMENTS - ADDED FOR PRODUCTION
   ============================================================================ */

/* INSTRUCTOR SECTION */
.instructor-section {
    background: #F2DADA;
    padding: 80px 20px;
}

.instructor-container {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 60px;
    align-items: center;
    max-width: 1000px;
    margin: 0 auto;
}

.instructor-image-wrapper {
    width: 100%;
}

.instructor-photo {
    width: 100%;
    max-width: 350px;
    height: auto;
    border-radius: 12px;
    border: 4px solid #BF281F;
    display: block;
    margin: 0 auto;
}

.instructor-content h2 {
    font-size: 2rem;
    color: #252628;
    margin-bottom: 16px;
}

.instructor-name {
    font-size: 1.5rem;
    color: #BF281F;
    margin-bottom: 16px;
}

.instructor-badges {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin: 16px 0 24px 0;
}

.instructor-badge {
    background: white;
    padding: 10px 16px;
    border-radius: 6px;
    display: inline-block;
    width: fit-content;
    font-size: 0.95rem;
    font-weight: 500;
}

.instructor-bio {
    color: #252628;
    line-height: 1.8;
    font-size: 1.05rem;
}

@media (max-width: 968px) {
    .instructor-container {
        grid-template-columns: 1fr;
        gap: 32px;
        text-align: center;
    }
    
    .instructor-photo {
        max-width: 280px;
    }
    
    .instructor-badges {
        align-items: center;
    }
    
    .instructor-content h2 {
        font-size: 1.75rem;
    }
    
    .instructor-name {
        font-size: 1.3rem;
    }
}

@media (max-width: 640px) {
    .instructor-section {
        padding: 60px 20px;
    }
    
    .instructor-photo {
        max-width: 280px; /* Larger avatar on mobile */
    }
    
    .instructor-content h2 {
        font-size: 1.5rem;
    }
    
    .instructor-badge {
        font-size: 0.9rem;
        padding: 8px 14px;
    }
    
    .instructor-bio {
        font-size: 1rem;
        line-height: 1.7;
    }
}

/* PRICING SECTION - MOBILE RESPONSIVE */
.pricing-section {
    background: linear-gradient(135deg, #252628 0%, #0A0C32 100%);
    padding: 80px 20px;
    color: white;
}

.pricing-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 32px;
    margin-top: 48px;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.pricing-card {
    background: white;
    border-radius: 16px;
    padding: 40px;
    position: relative;
    overflow: hidden;
}

.pricing-card-premium {
    border: 3px solid #BF281F;
}

.pricing-badge {
    padding: 8px 16px;
    border-radius: 6px;
    display: inline-block;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 20px;
}

.pricing-badge-popular {
    background: #10b981;
    color: white;
}

.pricing-badge-premium {
    background: #BF281F;
    color: white;
}

.pricing-title {
    color: #252628;
    font-size: 1.8rem;
    margin-bottom: 12px;
}

.pricing-subtitle {
    color: #666;
    margin-bottom: 24px;
    line-height: 1.6;
    font-size: 1rem;
}

.pricing-amount {
    margin-bottom: 32px;
}

.price-value {
    font-size: 3rem;
    font-weight: 700;
    color: #BF281F;
}

.price-period {
    color: #666;
    font-size: 1.1rem;
}

.pricing-tiers {
    margin-bottom: 32px;
}

.pricing-tiers-title {
    color: #252628;
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 12px;
}

.tier-list {
    display: grid;
    gap: 8px;
}

.tier-item {
    display: flex;
    justify-content: space-between;
    padding: 10px 12px;
    background: #F2DADA;
    border-radius: 6px;
    align-items: center;
}

.tier-item span:first-child {
    color: #252628;
    font-weight: 500;
    font-size: 0.95rem;
}

.tier-price {
    color: #BF281F;
    font-weight: 700;
    font-size: 1.05rem;
}

.pricing-features {
    border-top: 2px solid #F2DADA;
    padding-top: 24px;
    margin-bottom: 24px;
}

.features-title {
    font-weight: 600;
    color: #252628;
    margin-bottom: 16px;
    font-size: 1.05rem;
}

.pricing-features ul {
    list-style: none;
    padding: 0;
    color: #666;
}

.pricing-features li {
    display: flex;
    align-items: start;
    gap: 12px;
    margin-bottom: 12px;
    line-height: 1.6;
    font-size: 0.95rem;
}

.addons-box {
    background: #F2DADA;
    padding: 16px;
    border-radius: 8px;
    margin-bottom: 24px;
}

.addons-title {
    font-weight: 600;
    color: #252628;
    margin-bottom: 12px;
    font-size: 0.95rem;
}

.addons-list {
    display: grid;
    gap: 8px;
    font-size: 0.9rem;
}

.addon-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.addon-item span:first-child {
    color: #666;
}

.addon-price {
    color: #BF281F;
    font-weight: 600;
}

.pricing-cta {
    width: 100%;
    border: none;
    padding: 16px 32px;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s;
}

.pricing-cta-popular {
    background: #BF281F;
    color: white;
}

.pricing-cta-popular:hover {
    background: #a02319;
}

.pricing-cta-premium {
    background: #BF281F;
    color: white;
}

.pricing-cta-premium:hover {
    background: #a02319;
}

.pricing-note {
    text-align: center;
    color: #999;
    font-size: 0.85rem;
    margin-top: 16px;
}

/* ============================================================================
   COMPREHENSIVE MOBILE RESPONSIVE STYLES
   ============================================================================ */

/* TABLET & SMALLER LAPTOPS (1024px and below) */
@media (max-width: 1024px) {
    .header-container {
        padding: 0 20px;
    }
    
    .hero h1 {
        font-size: 2.2rem;
    }
    
    .video-container {
        max-width: 90%;
    }
    
    .event-card {
        grid-template-columns: auto 1fr;
        gap: 16px;
    }
    
    .event-action {
        grid-column: 2;
        text-align: left;
        margin-top: 12px;
    }
}

/* TABLET PORTRAIT & MOBILE LANDSCAPE (768px and below) */
@media (max-width: 768px) {
    /* HEADER */
    .site-header {
        padding: 12px 20px;
    }
    
    .logo-container img {
        height: 40px;
    }
    
    .header-phone {
        font-size: 0.9rem;
    }
    
    .header-cta {
        padding: 10px 20px;
        font-size: 0.95rem;
    }
    
    /* HERO */
    .hero {
        padding: 40px 16px;
    }
    
    .hero h1 {
        font-size: 1.8rem;
        line-height: 1.3;
    }
    
    .hero .subheadline {
        font-size: 1.1rem;
        margin-bottom: 32px;
    }
    
    /* VIDEO - Adjust to 4:3 aspect ratio on mobile for better viewing */
    .video-container {
        aspect-ratio: 4/3;
        max-width: 100%;
        margin-bottom: 32px;
    }
    
    .trust-elements {
        padding: 24px 16px;
    }
    
    .trust-badges {
        gap: 12px;
    }
    
    .badge {
        padding: 6px 12px;
        font-size: 0.85rem;
    }
    
    /* STICKY CTA */
    .sticky-cta button {
        padding: 14px 32px;
        font-size: 1rem;
    }
    
    /* SECTION HEADERS */
    .section-header h2 {
        font-size: 1.75rem;
    }
    
    .section-header p {
        font-size: 1rem;
    }
    
    /* TABS */
    .tab {
        padding: 14px 16px;
        font-size: 1rem;
    }
    
    /* EVENT CARDS */
    .event-card {
        grid-template-columns: 1fr;
        text-align: center;
        padding: 20px;
    }
    
    .event-date {
        margin: 0 auto 16px;
    }
    
    .event-details {
        margin-bottom: 16px;
    }
    
    .event-details h3 {
        font-size: 1.2rem;
    }
    
    .event-meta {
        justify-content: center;
        gap: 12px;
    }
    
    .event-action {
        text-align: center;
        margin-top: 0;
    }
    
    .event-price {
        font-size: 1.6rem;
        margin-bottom: 12px;
    }
    
    /* INSTRUCTOR SECTION - Stack layout on mobile with larger centered avatar */
    .instructor-grid {
        grid-template-columns: 1fr !important;
        gap: 32px !important;
        text-align: center !important;
    }
    
    .instructor-grid img {
        max-width: 280px !important;
        margin: 0 auto !important;
        display: block !important;
    }
    
    .instructor-badges {
        align-items: center !important;
    }
    
    .instructor-content {
        grid-template-columns: 1fr !important;
        gap: 24px !important;
        text-align: center;
    }
    
    .instructor-avatar {
        width: 180px !important;
        height: 180px !important;
        margin: 0 auto !important;
    }
    
    .instructor-bio h2 {
        font-size: 1.75rem !important;
    }
    
    .instructor-bio h3 {
        font-size: 1.1rem !important;
    }
    
    /* FORMS - Touch-friendly sizing */
    .form-group label {
        font-size: 0.95rem;
        margin-bottom: 8px;
    }
    
    .form-group input,
    .form-group select,
    .form-group textarea {
        min-height: 48px !important;
        font-size: 16px !important; /* Prevents zoom on iOS */
        padding: 12px 16px !important;
    }
    
    .form-group textarea {
        min-height: 120px !important;
    }
    
    /* BUTTONS - Minimum 44px touch target */
    .btn-join,
    .btn-checkout,
    .btn-add-participant,
    .header-cta,
    .pricing-cta,
    button[type="submit"],
    button[type="button"] {
        min-height: 48px !important;
        padding: 14px 24px !important;
        font-size: 1rem !important;
    }
    
    /* PRIVATE FORM */
    .private-form {
        padding: 32px 20px;
    }
    
    /* DRAWER */
    .drawer {
        padding: 20px;
    }
    
    .drawer-header h2 {
        font-size: 1.5rem;
    }
    
    .drawer-content {
        padding: 0;
    }
}

/* MOBILE PORTRAIT (480px and below) */
@media (max-width: 480px) {
    /* HEADER - Compact on small mobile */
    .site-header {
        padding: 10px 16px;
    }
    
    .logo-container img {
        height: 35px;
    }
    
    .header-actions {
        gap: 12px;
    }
    
    .header-phone span:not(.header-phone-icon) {
        display: none; /* Hide phone number text, show only icon */
    }
    
    .header-cta {
        padding: 8px 16px;
        font-size: 0.9rem;
    }
    
    /* HERO */
    .hero {
        padding: 32px 16px;
    }
    
    .hero h1 {
        font-size: 1.5rem;
    }
    
    .hero .subheadline {
        font-size: 1rem;
        margin-bottom: 24px;
    }
    
    /* VIDEO - Maintain 4:3 on small mobile */
    .video-container {
        margin-bottom: 24px;
    }
    
    .trust-elements {
        padding: 20px 12px;
        margin-top: 24px;
    }
    
    .credentials {
        font-size: 0.85rem;
    }
    
    .trust-badges {
        gap: 8px;
    }
    
    .badge {
        padding: 6px 10px;
        font-size: 0.8rem;
    }
    
    /* STICKY CTA */
    .sticky-cta {
        padding: 12px 16px;
    }
    
    .sticky-cta button {
        padding: 12px 24px;
        font-size: 0.95rem;
        width: 100%;
    }
    
    /* SECTIONS */
    .container {
        padding: 40px 16px;
    }
    
    .section-header h2 {
        font-size: 1.5rem;
        margin-bottom: 8px;
    }
    
    .section-header p {
        font-size: 0.95rem;
    }
    
    /* TABS */
    .tabs {
        flex-direction: column;
    }
    
    .tab {
        width: 100%;
        padding: 12px 16px;
        font-size: 0.95rem;
        border-bottom: 1px solid #F2DADA;
        border-left: 3px solid transparent;
    }
    
    .tab.active {
        border-bottom-color: transparent;
        border-left-color: #BF281F;
        background: rgba(242, 218, 218, 0.3);
    }
    
    /* EVENT CARDS */
    .event-card {
        padding: 16px;
    }
    
    .event-date {
        min-width: 80px;
        padding: 12px;
    }
    
    .event-date .month {
        font-size: 0.8rem;
    }
    
    .event-date .day {
        font-size: 1.75rem;
    }
    
    .event-date .year {
        font-size: 0.8rem;
    }
    
    .event-details h3 {
        font-size: 1.1rem;
        margin-bottom: 6px;
    }
    
    .event-meta {
        font-size: 0.85rem;
        gap: 10px;
    }
    
    .event-price {
        font-size: 1.4rem;
    }
    
    .btn-join {
        padding: 10px 24px !important;
        font-size: 0.95rem !important;
    }
    
    /* INSTRUCTOR SECTION - Larger avatar on mobile */
    .instructor-grid img {
        max-width: 240px !important;
    }
    
    .instructor-avatar {
        width: 150px !important;
        height: 150px !important;
    }
    
    .instructor-bio h2 {
        font-size: 1.5rem !important;
    }
    
    .instructor-bio h3 {
        font-size: 1rem !important;
    }
    
    .instructor-bio p {
        font-size: 0.9rem !important;
    }
    
    /* FORMS - Larger for easy mobile interaction */
    .form-group input,
    .form-group select,
    .form-group textarea {
        min-height: 50px !important;
        font-size: 16px !important;
    }
    
    .private-form {
        padding: 24px 16px;
    }
    
    /* DRAWER */
    .drawer {
        width: 100% !important;
        padding: 16px;
    }
    
    .drawer-header {
        padding: 16px;
        margin: -16px -16px 20px;
    }
    
    .drawer-header h2 {
        font-size: 1.3rem;
    }
    
    .close-drawer {
        width: 36px;
        height: 36px;
        font-size: 2rem;
    }
    
    /* PARTICIPANT ENTRIES */
    .participant-entry {
        padding: 16px;
        gap: 12px;
    }
    
    .participant-number {
        width: 32px;
        height: 32px;
        font-size: 0.9rem;
    }
    
    /* CSV UPLOAD */
    .csv-upload-area {
        padding: 24px 16px;
    }
    
    .csv-icon {
        font-size: 2.5rem;
    }
    
    /* TESTIMONIALS */
    .testimonial-card {
        padding: 24px 16px;
    }
    
    .testimonial-text {
        font-size: 0.95rem;
    }
    
    .testimonial-author {
        font-size: 0.9rem;
    }
    
    /* MODALS */
    .stripe-content,
    .confirmation-content {
        padding: 24px 16px;
        margin: 20px 16px;
        max-width: calc(100% - 32px);
    }
    
    /* TOTAL SUMMARY */
    .total-summary {
        padding: 16px;
    }
    
    .total-line {
        font-size: 0.95rem;
    }
    
    .grand-total {
        font-size: 1.1rem;
    }
}

/* EXTRA SMALL MOBILE (375px and below) */
@media (max-width: 375px) {
    .hero h1 {
        font-size: 1.35rem;
    }
    
    .hero .subheadline {
        font-size: 0.95rem;
    }
    
    .header-cta {
        padding: 6px 12px;
        font-size: 0.85rem;
    }
    
    .section-header h2 {
        font-size: 1.35rem;
    }
    
    .instructor-grid img {
        max-width: 200px !important;
    }
    
    .instructor-avatar {
        width: 130px !important;
        height: 130px !important;
    }
    
    .event-price {
        font-size: 1.3rem;
    }
}

@media (max-width: 968px) {
    .pricing-cards {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    
    .pricing-card {
        padding: 32px 24px;
    }
    
    .pricing-title {
        font-size: 1.6rem;
    }
    
    .price-value {
        font-size: 2.5rem;
    }
}

@media (max-width: 640px) {
    .pricing-section {
        padding: 60px 20px;
    }
    
    .pricing-card {
        padding: 28px 20px;
    }
    
    .pricing-title {
        font-size: 1.4rem;
    }
    
    .pricing-subtitle {
        font-size: 0.95rem;
    }
    
    .price-value {
        font-size: 2.2rem;
    }
    
    .tier-item {
        padding: 8px 10px;
    }
    
    .tier-item span:first-child {
        font-size: 0.9rem;
    }
    
    .tier-price {
        font-size: 0.95rem;
    }
    
    .pricing-features li {
        font-size: 0.9rem;
    }
    
    .addons-list {
        font-size: 0.85rem;
    }
}

@media (max-width: 375px) {
    .price-value {
        font-size: 2rem;
    }
    
    .tier-item span:first-child {
        font-size: 0.85rem;
    }
    
    .tier-price {
        font-size: 0.9rem;
    }
}

/* CURRICULUM & FAQ - MOBILE RESPONSIVE */
.curriculum-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    margin-bottom: 40px;
}

.curriculum-card {
    background: #F2DADA;
    padding: 32px;
    border-radius: 12px;
    border-left: 4px solid #BF281F;
}

.curriculum-icon {
    font-size: 2rem;
    margin-bottom: 12px;
}

.curriculum-card h3 {
    font-size: 1.3rem;
    color: #252628;
    margin-bottom: 12px;
}

.curriculum-duration {
    color: #666;
    margin-bottom: 16px;
    font-size: 0.95rem;
}

.curriculum-card ul {
    color: #666;
    line-height: 1.8;
    list-style: none;
    padding: 0;
    font-size: 0.95rem;
}

.included-features {
    background: #252628;
    color: white;
    padding: 32px;
    border-radius: 12px;
    text-align: center;
}

.included-features h3 {
    font-size: 1.5rem;
    margin-bottom: 20px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 24px;
    text-align: center;
}

.feature-item {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.feature-icon {
    font-size: 2rem;
    margin-bottom: 8px;
}

.feature-item strong {
    margin-bottom: 4px;
}

.feature-item p {
    font-size: 0.9rem;
    color: #F2DADA;
    margin-top: 4px;
}

.faq-grid {
    display: grid;
    gap: 20px;
}

.faq-item {
    background: white;
    padding: 24px;
    border-radius: 12px;
    border-left: 4px solid #BF281F;
}

.faq-item h3 {
    color: #252628;
    font-size: 1.2rem;
    margin-bottom: 12px;
}

.faq-item p {
    color: #666;
    line-height: 1.7;
    font-size: 0.95rem;
}

@media (max-width: 640px) {
    .curriculum-grid {
        grid-template-columns: 1fr;
    }
    
    .curriculum-card {
        padding: 24px;
    }
    
    .curriculum-card h3 {
        font-size: 1.2rem;
    }
    
    .curriculum-card ul {
        font-size: 0.9rem;
    }
    
    .included-features {
        padding: 24px 20px;
    }
    
    .features-grid {
        grid-template-columns: 1fr 1fr;
        gap: 20px;
    }
    
    .faq-item {
        padding: 20px;
    }
    
    .faq-item h3 {
        font-size: 1.1rem;
    }
    
    .faq-item p {
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .features-grid {
        grid-template-columns: 1fr;
    }
}

/* PAYMENT ERROR BANNER */
.payment-error-banner {
    position: relative;
    width: 100%;
    max-height: 0;
    overflow: hidden;
    margin-bottom: 0;
    transition: max-height 0.3s ease-out, margin-bottom 0.3s ease-out;
    z-index: 100;
}

.payment-error-banner.hidden {
    max-height: 0;
    margin-bottom: 0;
    opacity: 0;
    pointer-events: none;
}

.payment-error-banner:not(.hidden) {
    max-height: 100px;
    margin-bottom: 16px;
    opacity: 1;
    pointer-events: auto;
}

.payment-error-content {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 14px 16px;
    background-color: #FEF2F2;
    border: 1px solid #FCA5A5;
    border-left: 4px solid #BF281F;
    border-radius: 6px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.payment-error-icon {
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    color: #BF281F;
    margin-top: 1px;
}

.payment-error-message {
    flex: 1;
    margin: 0;
    padding: 0;
    font-size: 14px;
    line-height: 1.5;
    color: #7F1D1D;
    font-weight: 500;
}

.payment-error-dismiss {
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: none;
    border-radius: 4px;
    color: #991B1B;
    cursor: pointer;
    transition: background-color 0.2s ease, color 0.2s ease;
    padding: 0;
    margin: -6px -6px -6px 0;
}

.payment-error-dismiss:hover {
    background-color: rgba(191, 40, 31, 0.1);
    color: #BF281F;
}

.payment-error-dismiss:focus {
    outline: 2px solid #BF281F;
    outline-offset: 2px;
}

@media (max-width: 640px) {
    .payment-error-content {
        padding: 12px 14px;
        gap: 10px;
    }
    
    .payment-error-message {
        font-size: 13px;
        line-height: 1.4;
    }
    
    .payment-error-icon {
        width: 18px;
        height: 18px;
    }
    
    .payment-error-dismiss {
        width: 44px;
        height: 44px;
        margin: -12px -8px -12px 0;
    }
}