/**
 * Annual Pass Pattern Styles
 * Enhanced styling for the Annual Pass 2026 pattern
 */

/* Hero Badge with Icon */
.annual-pass-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 50px;
    padding: 10px 24px;
    font-size: 14px;
    font-weight: 600;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.annual-pass-badge::before {
    content: "⚡";
    font-size: 16px;
}

/* Hero Icon Badges */
.hero-icon-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 24px;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 50px;
    border: 1px solid rgba(167, 139, 250, 0.2);
    font-size: 15px;
    font-weight: 500;
    color: #1f2937;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
}

.hero-icon-badge:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(167, 139, 250, 0.15);
}

.hero-icon-badge img {
    width: 20px;
    height: 20px;
    color: #a78bfa;
}

/* Comparison Cards */
.comparison-negative {
    background: linear-gradient(135deg, #fef2f2 0%, #fee2e2 100%);
    border: 2px solid #fca5a5;
    border-radius: 24px;
    padding: 40px;
    position: relative;
    overflow: hidden;
}

.comparison-negative::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #ef4444, #f87171);
}

.comparison-positive {
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
    border: 2px solid #93c5fd;
    border-radius: 24px;
    padding: 40px;
    position: relative;
    overflow: hidden;
}

.comparison-positive::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #8b5cf6, #a78bfa);
}

/* Comparison Headers */
.comparison-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 24px;
    font-size: 22px;
    font-weight: 700;
}

.comparison-header.negative {
    color: #dc2626;
}

.comparison-header.positive {
    color: #8b5cf6;
}

/* List Items with Icons */
.icon-list-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 16px;
    line-height: 1.6;
}

.icon-list-item::before {
    content: "";
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    margin-top: 2px;
    background-size: contain;
    background-repeat: no-repeat;
}

.icon-list-item.negative::before {
    background-image: url('../images/icons/x-mark.svg');
    filter: invert(22%) sepia(92%) saturate(3449%) hue-rotate(348deg) brightness(93%) contrast(90%);
}

.icon-list-item.positive::before {
    background-image: url('../images/icons/check-circle.svg');
    filter: invert(34%) sepia(87%) saturate(2186%) hue-rotate(250deg) brightness(93%) contrast(91%);
}

/* Enhanced Button Styles */
.wp-block-button__link.annual-pass-cta {
    background: linear-gradient(135deg, #8b5cf6 0%, #a78bfa 100%);
    border-radius: 50px;
    font-weight: 600;
    box-shadow: 0 8px 24px rgba(139, 92, 246, 0.3);
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    animation: gentlePulse 3s ease-in-out infinite;
}

.wp-block-button__link.annual-pass-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(139, 92, 246, 0.4);
    animation: none;
}

.wp-block-button__link.annual-pass-cta::after {
    content: "→";
    font-size: 1.2em;
}

@keyframes gentlePulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 8px 24px rgba(139, 92, 246, 0.3);
    }
    50% {
        transform: scale(1.02);
        box-shadow: 0 10px 28px rgba(139, 92, 246, 0.35);
    }
}

/* Enhanced Feature Cards */
.enhanced-feature-card {
    background: white;
    border-radius: 20px;
    padding: 40px;
    border: 2px solid #e5e7eb;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.enhanced-feature-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #8b5cf6, #a78bfa);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.enhanced-feature-card:hover {
    border-color: #a78bfa;
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(139, 92, 246, 0.15);
}

.enhanced-feature-card:hover::before {
    transform: scaleX(1);
}

/* Intensive Cards with Gradient Accent */
.intensive-card-enhanced {
    background: white;
    border-radius: 20px;
    border-left: 6px solid #a78bfa;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.intensive-card-enhanced:hover {
    transform: translateX(4px);
    box-shadow: 0 8px 32px rgba(139, 92, 246, 0.15);
}

/* Icon Styling Helpers */
.svg-icon-inline {
    display: inline-block;
    width: 20px;
    height: 20px;
    vertical-align: middle;
    margin-right: 8px;
}

.svg-icon-large {
    width: 48px;
    height: 48px;
}

/* Pricing Badge Enhancement */
.pricing-tag {
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
    color: #1f2937;
    font-weight: 700;
    padding: 6px 16px;
    border-radius: 20px;
    display: inline-block;
    box-shadow: 0 4px 12px rgba(251, 191, 36, 0.3);
}

/* Benefit Cards */
.benefit-card {
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    padding: 32px 24px;
    text-align: center;
    transition: all 0.3s ease;
}

.benefit-card:hover {
    border-color: #a78bfa;
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(139, 92, 246, 0.12);
}

.benefit-icon {
    width: 48px;
    height: 48px;
    margin: 0 auto 16px;
    color: #8b5cf6;
}

.benefit-title {
    font-size: 18px;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 8px;
}

.benefit-description {
    font-size: 14px;
    color: #6b7280;
    line-height: 1.5;
}

/* Profession Pills */
.profession-pills {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    margin-bottom: 24px;
}

.profession-pill {
    display: inline-block;
    padding: 10px 24px;
    background: white;
    border: 2px solid #e5e7eb;
    border-radius: 50px;
    font-size: 15px;
    font-weight: 600;
    color: #1f2937;
    transition: all 0.3s ease;
}

.profession-pill:hover {
    border-color: #8b5cf6;
    color: #8b5cf6;
    transform: translateY(-2px);
}

/* Inclusion Cards */
.inclusion-card {
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 20px;
    padding: 32px;
    transition: all 0.3s ease;
}

.inclusion-card:hover {
    border-color: #a78bfa;
    box-shadow: 0 8px 24px rgba(139, 92, 246, 0.1);
}

.inclusion-icon {
    width: 48px;
    height: 48px;
    padding: 12px;
    background: rgba(139, 92, 246, 0.1);
    border-radius: 12px;
    color: #8b5cf6;
    margin-bottom: 20px;
}

.inclusion-title {
    font-size: 22px;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 12px;
}

.inclusion-subtitle {
    font-size: 15px;
    color: #6b7280;
    margin-bottom: 20px;
}

.inclusion-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.inclusion-list li {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 15px;
    color: #4b5563;
    margin-bottom: 12px;
}

.inclusion-list li::before {
    content: "";
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    background-image: url('../images/icons/check-circle.svg');
    background-size: contain;
    filter: invert(34%) sepia(87%) saturate(2186%) hue-rotate(250deg) brightness(93%) contrast(91%);
}

/* Section Icon */
.section-icon {
    width: 48px;
    height: 48px;
    margin: 0 auto 24px;
    color: #8b5cf6;
}

/* Gradient Intensive Cards */
.intensive-gradient-card {
    border-radius: 20px;
    padding: 40px;
    color: white;
    background: linear-gradient(135deg, #8b5cf6 0%, #f59e0b 100%);
    transition: all 0.3s ease;
}

.intensive-gradient-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 40px rgba(139, 92, 246, 0.3);
}

.intensive-gradient-card.reverse {
    background: linear-gradient(135deg, #f59e0b 0%, #8b5cf6 100%);
}

.intensive-badge {
    display: inline-block;
    padding: 6px 16px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 16px;
}

.intensive-title {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 8px;
    color: white;
}

.intensive-hours {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 24px;
    opacity: 0.95;
}

.intensive-description {
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 20px;
    opacity: 0.95;
}

.intensive-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.intensive-list li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 15px;
    margin-bottom: 10px;
    opacity: 0.95;
}

.intensive-list li::before {
    content: "";
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    margin-top: 2px;
    background-image: url('../images/icons/check-circle.svg');
    background-size: contain;
    filter: brightness(0) invert(1);
}

/* Schedule Items */
.schedule-item {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 24px;
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    margin-bottom: 16px;
    transition: all 0.3s ease;
}

.schedule-item:hover {
    border-color: #a78bfa;
    box-shadow: 0 4px 16px rgba(139, 92, 246, 0.1);
}

.schedule-date {
    flex-shrink: 0;
    text-align: center;
}

.schedule-date-number {
    font-size: 14px;
    color: #6b7280;
    margin-bottom: 4px;
}

.schedule-month {
    font-size: 15px;
    font-weight: 700;
    color: #8b5cf6;
}

.schedule-title {
    flex: 1;
    font-size: 16px;
    font-weight: 600;
    color: #1f2937;
}

.schedule-icon {
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    color: #8b5cf6;
}

/* FAQ / Details Block Styling */
.wp-block-details {
    border-bottom: 1px solid #e5e7eb;
    margin-bottom: 0;
    padding: 24px 0;
}

.wp-block-details summary {
    cursor: pointer;
    list-style: none;
    font-size: 20px;
    font-weight: 700;
    color: #1f2937;
    position: relative;
    padding-right: 40px;
    transition: color 0.5s ease;
}

.wp-block-details summary:hover {
    color: #8b5cf6;
}

/* Remove default marker */
.wp-block-details summary::-webkit-details-marker,
.wp-block-details summary::marker {
    display: none;
}

/* Custom arrow on the right */
.wp-block-details summary::after {
    content: "";
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%) rotate(0deg);
    width: 20px;
    height: 20px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%238b5cf6'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2.5' d='M19 9l-7 7-7-7'%3E%3C/path%3E%3C/svg%3E");
    background-size: contain;
    background-repeat: no-repeat;
    transition: transform 0.5s ease;
}

/* Rotate arrow when open */
.wp-block-details[open] summary::after {
    transform: translateY(-50%) rotate(180deg);
}

/* Smooth content expansion - controlled by JS */
.wp-block-details .wp-block-paragraph {
    overflow: hidden;
    height: 0;
    opacity: 0;
    margin-top: 0;
    transition: height 0.5s ease, opacity 0.5s ease, margin-top 0.5s ease;
}

.wp-block-details[open] .wp-block-paragraph {
    margin-top: 16px;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .hero-icon-badge {
        font-size: 14px;
        padding: 10px 20px;
    }

    .comparison-negative,
    .comparison-positive {
        padding: 24px;
    }

    .enhanced-feature-card {
        padding: 24px;
    }

    .benefit-card {
        padding: 24px 16px;
    }

    .inclusion-card {
        padding: 24px;
    }

    .profession-pills {
        gap: 8px;
    }

    .profession-pill {
        font-size: 14px;
        padding: 8px 20px;
    }

    .wp-block-details summary {
        font-size: 18px;
        padding-right: 36px;
    }

    .wp-block-details summary::after {
        width: 18px;
        height: 18px;
    }
}
