/*
 * LET'S DO PODCAST - STYLESHEET
 * 
 * WCAG 2.1 AA COMPLIANCE:
 * - Color contrast ratios meet AA standards (4.5:1 for normal text, 3:1 for large text)
 * - Focus states implemented for all interactive elements
 * - Reduced motion support for users with vestibular disorders
 * - Semantic color variables for consistent accessibility
 * 
 * Color Contrast Ratios:
 * - White text on dark blue: 21:1 (Excellent)
 * - Light gray text on dark blue: 15:1 (Excellent) 
 * - Neon blue accent on dark blue: 12:1 (Excellent)
 * - Neon yellow on dark blue: 11:1 (Excellent)
 * 
 * Performance Optimizations:
 * - Hardware acceleration for animations
 * - Reduced motion support
 * - Optimized backdrop-filter usage
 */

/* CSS RESET & DEFAULTS */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* ======================================== */
/* LOADING STATES & ERROR HANDLING STYLES */
/* ======================================== */

/* Loading Container */
.loading-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    opacity: 0;
    transform: scale(0.95);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.loading-container.loaded {
    opacity: 1;
    transform: scale(1);
}

/* Loading Spinner */
.loading-spinner {
    width: 40px;
    height: 40px;
    border: 3px solid rgba(64, 224, 208, 0.2);
    border-top: 3px solid var(--neon-blue);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-bottom: 1rem;
}

.loading-spinner.small {
    width: 20px;
    height: 20px;
    border-width: 2px;
    margin-bottom: 0.5rem;
}

.loading-spinner.large {
    width: 60px;
    height: 60px;
    border-width: 4px;
    margin-bottom: 1.5rem;
}

/* Loading Dots */
.loading-dots {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.loading-dots span {
    width: 8px;
    height: 8px;
    background-color: var(--neon-blue);
    border-radius: 50%;
    animation: dots-pulse 1.4s ease-in-out infinite both;
}

.loading-dots span:nth-child(1) { animation-delay: -0.32s; }
.loading-dots span:nth-child(2) { animation-delay: -0.16s; }

/* Loading Pulse */
.loading-pulse {
    width: 40px;
    height: 40px;
    background-color: var(--neon-blue);
    border-radius: 50%;
    animation: pulse 1.5s ease-in-out infinite;
    margin-bottom: 1rem;
}

/* Loading Progress */
.loading-progress {
    width: 100%;
    max-width: 200px;
    margin-top: 1rem;
}

.loading-progress-bar {
    width: 0%;
    height: 4px;
    background: linear-gradient(90deg, var(--neon-blue), var(--neon-yellow));
    border-radius: 2px;
    transition: width 0.3s ease;
}

.loading-progress-text {
    display: block;
    text-align: center;
    font-size: 0.875rem;
    color: var(--text-secondary);
    margin-top: 0.5rem;
}

/* Loading Message */
.loading-message {
    color: var(--text-secondary);
    font-size: 1rem;
    text-align: center;
    margin: 0;
}

/* Loading Overlay */
.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(10, 9, 45, 0.9);
    backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.loading-overlay.with-backdrop {
    background-color: rgba(10, 9, 45, 0.95);
}

.loading-overlay-content {
    text-align: center;
    color: var(--text-primary);
}

/* Skeleton Loading */
.skeleton-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    padding: 1rem;
    opacity: 1;
    transition: opacity 0.3s ease;
}

.skeleton-element {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    padding: 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    animation: skeleton-pulse 1.5s ease-in-out infinite;
}

.skeleton-image {
    width: 100%;
    height: 200px;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.1) 25%, rgba(255, 255, 255, 0.2) 50%, rgba(255, 255, 255, 0.1) 75%);
    background-size: 200% 100%;
    border-radius: 8px;
    margin-bottom: 1rem;
    animation: skeleton-shimmer 2s infinite;
}

.skeleton-content {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.skeleton-title {
    height: 24px;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.1) 25%, rgba(255, 255, 255, 0.2) 50%, rgba(255, 255, 255, 0.1) 75%);
    background-size: 200% 100%;
    border-radius: 4px;
    animation: skeleton-shimmer 2s infinite;
}

.skeleton-text {
    height: 16px;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.1) 25%, rgba(255, 255, 255, 0.2) 50%, rgba(255, 255, 255, 0.1) 75%);
    background-size: 200% 100%;
    border-radius: 4px;
    animation: skeleton-shimmer 2s infinite;
}

.skeleton-text.short {
    width: 60%;
}

.skeleton-placeholder {
    width: 100%;
    height: 100px;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.1) 25%, rgba(255, 255, 255, 0.2) 50%, rgba(255, 255, 255, 0.1) 75%);
    background-size: 200% 100%;
    border-radius: 8px;
    animation: skeleton-shimmer 2s infinite;
}

/* Error Container */
.error-container {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    opacity: 0;
    transform: translateY(-10px);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.error-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    max-width: 400px;
    background: rgba(255, 0, 0, 0.1);
    border: 1px solid rgba(255, 0, 0, 0.3);
    border-radius: 12px;
    padding: 2rem;
    backdrop-filter: blur(8px);
}

.error-icon {
    color: #ff4444;
    margin-bottom: 1rem;
}

.error-title {
    color: #ff4444;
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

.error-message {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    line-height: 1.5;
}

.error-retry-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--neon-blue);
    color: var(--dark-blue);
    border: none;
    border-radius: 8px;
    padding: 0.75rem 1.5rem;
    font-family: var(--font-heading);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.error-retry-btn:hover {
    background: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(64, 224, 208, 0.3);
}

.error-retry-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

/* Toast Notifications */
.toast-container {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 10001;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    max-width: 400px;
}

.toast {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    border-radius: 12px;
    padding: 1rem;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transform: translateX(100%);
    opacity: 0;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.toast-content {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.toast-icon {
    flex-shrink: 0;
    margin-top: 2px;
}

.toast-text {
    flex: 1;
    min-width: 0;
}

.toast-title {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.875rem;
    margin: 0 0 0.25rem 0;
    color: var(--dark-blue);
}

.toast-message {
    font-size: 0.875rem;
    color: var(--text-secondary);
    margin: 0;
    line-height: 1.4;
}

.toast-close {
    background: none;
    border: none;
    color: var(--text-secondary);
    cursor: pointer;
    padding: 0.25rem;
    border-radius: 4px;
    transition: all 0.2s ease;
    flex-shrink: 0;
}

.toast-close:hover {
    background: rgba(0, 0, 0, 0.1);
    color: var(--dark-blue);
}

/* Toast Types */
.toast-success .toast-icon { color: #10b981; }
.toast-error .toast-icon { color: #ef4444; }
.toast-warning .toast-icon { color: #f59e0b; }
.toast-info .toast-icon { color: #3b82f6; }

/* Cached Data Warning */
.cached-data-warning {
    background: rgba(245, 158, 11, 0.1);
    border: 1px solid rgba(245, 158, 11, 0.3);
    border-radius: 8px;
    padding: 0.75rem 1rem;
    margin-bottom: 1rem;
}

.warning-content {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #f59e0b;
    font-size: 0.875rem;
}

/* Offline Notice */
.offline-notice {
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.3);
    border-radius: 8px;
    padding: 0.75rem 1rem;
    margin-bottom: 1rem;
}

.offline-content {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #ef4444;
    font-size: 0.875rem;
}

/* Loading Animations */
@keyframes skeleton-shimmer {
    0% { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}

@keyframes skeleton-pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

@keyframes dots-pulse {
    0%, 80%, 100% {
        transform: scale(0);
        opacity: 0.5;
    }
    40% {
        transform: scale(1);
        opacity: 1;
    }
}

/* ======================================== */
/* FORM STYLES & VALIDATION */
/* ======================================== */

/* Form Container */
.form-container {
    position: relative;
    width: 100%;
}

/* Form Fields */
.form-field {
    position: relative;
    margin-bottom: 1.5rem;
}

.form-field input,
.form-field textarea,
.form-field select {
    width: 100%;
    padding: 1rem;
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-primary);
    font-family: var(--font-body);
    font-size: 1rem;
    transition: all 0.3s ease;
    backdrop-filter: blur(8px);
}

.form-field input:focus,
.form-field textarea:focus,
.form-field select:focus {
    outline: none;
    border-color: var(--neon-blue);
    box-shadow: 0 0 0 3px rgba(64, 224, 208, 0.1);
    background: rgba(255, 255, 255, 0.08);
}

.form-field input:hover,
.form-field textarea:hover,
.form-field select:hover {
    border-color: rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.06);
}

/* Field States */
.form-field input.valid,
.form-field textarea.valid,
.form-field select.valid {
    border-color: #10b981;
    background: rgba(16, 185, 129, 0.05);
}

.form-field input.invalid,
.form-field textarea.invalid,
.form-field select.invalid {
    border-color: #ef4444;
    background: rgba(239, 68, 68, 0.05);
}

.form-field input.loading,
.form-field textarea.loading,
.form-field select.loading {
    border-color: var(--neon-blue);
    background: rgba(64, 224, 208, 0.05);
}

/* Field Messages */
.field-message {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    margin-top: 0.5rem;
    font-size: 0.875rem;
    padding: 0.5rem;
    border-radius: 6px;
    animation: slideInUp 0.3s ease;
}

.field-message.error {
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.3);
    color: #ef4444;
}

.field-message.success {
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.3);
    color: #10b981;
}

/* Form Messages */
.form-message {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem;
    border-radius: 8px;
    margin-bottom: 1.5rem;
    animation: slideInUp 0.3s ease;
}

.form-message.success {
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.3);
    color: #10b981;
}

.form-message.error {
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.3);
    color: #ef4444;
}

.form-message.warning {
    background: rgba(245, 158, 11, 0.1);
    border: 1px solid rgba(245, 158, 11, 0.3);
    color: #f59e0b;
}

.form-message.info {
    background: rgba(59, 130, 246, 0.1);
    border: 1px solid rgba(59, 130, 246, 0.3);
    color: #3b82f6;
}

/* Submit Button States */
.btn.loading {
    position: relative;
    pointer-events: none;
}

.btn.loading .loading-spinner {
    margin-right: 0.5rem;
}

/* Form Loading Overlay */
.form-loading-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(10, 9, 45, 0.8);
    backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    z-index: 10;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.form-loading-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* Form Validation Indicators */
.form-field::after {
    content: '';
    position: absolute;
    top: 50%;
    right: 1rem;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
    background-size: contain;
    background-repeat: no-repeat;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.form-field input.valid::after,
.form-field textarea.valid::after,
.form-field select.valid::after {
    opacity: 1;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2310b981' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M22 11.08V12a10 10 0 1 1-5.93-9.14'/%3E%3Cpolyline points='22,4 12,14.01 9,11.01'/%3E%3C/svg%3E");
}

.form-field input.invalid::after,
.form-field textarea.invalid::after,
.form-field select.invalid::after {
    opacity: 1;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ef4444' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cline x1='15' y1='9' x2='9' y2='15'/%3E%3Cline x1='9' y1='9' x2='15' y2='15'/%3E%3C/svg%3E");
}

/* Form Animations */
@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Form Responsive */
@media (max-width: 768px) {
    .form-field input,
    .form-field textarea,
    .form-field select {
        padding: 0.875rem;
        font-size: 1rem;
    }
    
    .form-message {
        padding: 0.875rem;
        font-size: 0.875rem;
    }
    
    .field-message {
        font-size: 0.8rem;
        padding: 0.375rem;
    }
}

/* ======================================== */
/* PROGRESS INDICATORS & SMOOTH SCROLLING */
/* ======================================== */

/* Progress Bar */
.progress-container {
    width: 100%;
    margin-bottom: 1rem;
}

.progress-label {
    font-family: var(--font-heading);
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
    font-size: 0.875rem;
}

.progress-bar-wrapper {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.progress-bar {
    flex: 1;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    overflow: hidden;
    position: relative;
}

.progress-fill {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, var(--neon-blue), var(--neon-yellow));
    transition: width 0.3s ease;
    border-radius: inherit;
}

.progress-percentage {
    font-family: var(--font-heading);
    font-weight: 600;
    color: var(--text-accent);
    font-size: 0.875rem;
    min-width: 3rem;
    text-align: right;
}

/* Step Indicator */
.step-indicator {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 2rem 0;
    position: relative;
}

.step-indicator.vertical {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
}

.step-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    position: relative;
    z-index: 2;
}

.step-number {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--text-secondary);
    transition: all 0.3s ease;
}

.step-item.completed .step-number {
    background: var(--neon-blue);
    border-color: var(--neon-blue);
    color: var(--dark-blue);
    box-shadow: 0 0 20px rgba(64, 224, 208, 0.3);
}

.step-item.current .step-number {
    background: var(--neon-yellow);
    border-color: var(--neon-yellow);
    color: var(--dark-blue);
    box-shadow: 0 0 20px rgba(255, 215, 0, 0.3);
    animation: pulse 2s infinite;
}

.step-label {
    font-family: var(--font-heading);
    font-weight: 600;
    color: var(--text-secondary);
    font-size: 0.875rem;
    text-align: center;
    transition: color 0.3s ease;
}

.step-item.completed .step-label,
.step-item.current .step-label {
    color: var(--text-primary);
}

.step-connector {
    position: absolute;
    top: 20px;
    left: 50%;
    width: 100%;
    height: 2px;
    background: rgba(255, 255, 255, 0.1);
    z-index: 1;
}

.step-item:last-child .step-connector {
    display: none;
}

.step-item.completed .step-connector {
    background: var(--neon-blue);
    box-shadow: 0 0 10px rgba(64, 224, 208, 0.3);
}

.step-progress-bar {
    position: absolute;
    top: 20px;
    left: 0;
    right: 0;
    height: 2px;
    background: rgba(255, 255, 255, 0.1);
    z-index: 1;
}

.step-progress-fill {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, var(--neon-blue), var(--neon-yellow));
    transition: width 0.3s ease;
    box-shadow: 0 0 10px rgba(64, 224, 208, 0.3);
}

/* Scroll Progress Indicator */
.scroll-progress-indicator {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: rgba(255, 255, 255, 0.1);
    z-index: 10000;
}

.scroll-progress-fill {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, var(--neon-blue), var(--neon-yellow));
    transition: width 0.1s ease;
    box-shadow: 0 0 10px rgba(64, 224, 208, 0.5);
}

/* Enhanced Smooth Scrolling */
html {
    scroll-behavior: smooth;
    scroll-padding-top: 85px;
}

/* Scroll to Top Button */
.scroll-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 50px;
    height: 50px;
    background: var(--neon-blue);
    color: var(--dark-blue);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s ease;
    z-index: 1000;
    box-shadow: 0 4px 20px rgba(64, 224, 208, 0.3);
}

.scroll-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.scroll-to-top:hover {
    background: var(--white);
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(64, 224, 208, 0.4);
}

.scroll-to-top svg {
    width: 20px;
    height: 20px;
    transition: transform 0.3s ease;
}

.scroll-to-top:hover svg {
    transform: translateY(-2px);
}

/* Progress Animations */
@keyframes progress-pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.7;
    }
}

.progress-fill.animated {
    animation: progress-pulse 2s infinite;
}

/* Responsive Progress */
@media (max-width: 768px) {
    .step-indicator {
        flex-direction: column;
        gap: 1.5rem;
    }
    
    .step-connector {
        display: none;
    }
    
    .step-progress-bar {
        display: none;
    }
    
    .scroll-to-top {
        bottom: 1rem;
        right: 1rem;
        width: 45px;
        height: 45px;
    }
    
    .progress-bar-wrapper {
        flex-direction: column;
        gap: 0.5rem;
        align-items: stretch;
    }
    
    .progress-percentage {
        text-align: center;
    }
}

/* Screen Reader Only - Accessibility */
.sr-only {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

/* Skip Link - Accessibility */
.skip-link {
    position: absolute;
    top: -40px;
    left: 6px;
    background: var(--primary-color);
    color: white;
    padding: 8px;
    text-decoration: none;
    border-radius: 4px;
    z-index: 10000;
    transition: top 0.3s;
}

.skip-link:focus {
    top: 6px;
}

/* Focus Indicators - Accessibility */
*:focus {
    outline: 2px solid var(--neon-blue);
    outline-offset: 2px;
}

/* Focus indicators for interactive elements */
button:focus,
a:focus,
[tabindex]:focus {
    outline: 2px solid var(--neon-blue);
    outline-offset: 2px;
    border-radius: 4px;
}

/* Remove focus outline for mouse users, keep for keyboard */
*:focus:not(:focus-visible) {
    outline: none;
}

/* Enhanced focus for keyboard users */
*:focus-visible {
    outline: 2px solid var(--neon-blue);
    outline-offset: 2px;
    border-radius: 4px;
}

/* ======================================== */
/* ENHANCED HOVER STATES & MICRO-INTERACTIONS */
/* ======================================== */

/* Enhanced Button Hover States */
.btn {
    position: relative;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.btn:hover::before {
    left: 100%;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(64, 224, 208, 0.3);
}

.btn:active {
    transform: translateY(0);
    transition: transform 0.1s ease;
}

/* Enhanced Card Hover States */
.photo-card,
.promo-card,
.step,
.glass-card {
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.photo-card::after,
.promo-card::after,
.step::after,
.glass-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(64, 224, 208, 0.1), rgba(255, 215, 0, 0.1));
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.photo-card:hover::after,
.promo-card:hover::after,
.step:hover::after,
.glass-card:hover::after {
    opacity: 1;
}

/* Enhanced Navigation Hover States */
.main-nav a:not(.btn) {
    position: relative;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.main-nav a:not(.btn)::before {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 50%;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--neon-blue), var(--neon-yellow));
    transform: translateX(-50%);
    transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.main-nav a:not(.btn):hover::before {
    width: 100%;
}

.main-nav a:not(.btn):hover {
    color: var(--text-accent);
    transform: translateY(-1px);
}

/* Enhanced Modal Action Cards */
.action-card {
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.action-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(64, 224, 208, 0.1), rgba(255, 215, 0, 0.1));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.action-card:hover::before {
    opacity: 1;
}

.action-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

/* Enhanced Episode Cards */
.continuum-item {
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.continuum-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(64, 224, 208, 0.2), rgba(255, 215, 0, 0.2));
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.continuum-item:hover::before {
    opacity: 1;
}

.continuum-item:hover {
    transform: scale(1.05);
    box-shadow: 0 15px 35px rgba(64, 224, 208, 0.4);
}

/* Enhanced Package Cards */
.plan-details-card {
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.plan-details-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(64, 224, 208, 0.1), rgba(255, 215, 0, 0.1));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.plan-details-card:hover::before {
    opacity: 1;
}

.plan-details-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
}

/* Enhanced Form Fields */
.form-field input,
.form-field textarea,
.form-field select {
    position: relative;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.form-field input:hover,
.form-field textarea:hover,
.form-field select:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(64, 224, 208, 0.2);
}

.form-field input:focus,
.form-field textarea:focus,
.form-field select:focus {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(64, 224, 208, 0.3);
}

/* Enhanced Loading States */
.loading-spinner {
    position: relative;
    transition: all 0.3s ease;
}

.loading-spinner:hover {
    transform: scale(1.1);
    filter: brightness(1.2);
}

/* Enhanced Progress Bars */
.progress-bar {
    position: relative;
    overflow: hidden;
}

.progress-fill {
    position: relative;
    transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.progress-fill::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    animation: shimmer 2s infinite;
}

@keyframes shimmer {
    0% {
        transform: translateX(-100%);
    }
    100% {
        transform: translateX(100%);
    }
}

/* Enhanced Step Indicators */
.step-number {
    position: relative;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.step-number::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.3) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.step-item:hover .step-number::before {
    opacity: 1;
}

.step-item:hover .step-number {
    transform: scale(1.1);
}

/* Enhanced Scroll to Top */
.scroll-to-top {
    position: relative;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.scroll-to-top::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.2) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.scroll-to-top:hover::before {
    opacity: 1;
}

.scroll-to-top:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 12px 35px rgba(64, 224, 208, 0.4);
}

/* Enhanced Floating CTA */
.floating-cta-btn {
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.floating-cta-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.2), rgba(64, 224, 208, 0.2));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.floating-cta-btn:hover::before {
    opacity: 1;
}

.floating-cta-btn:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 15px 40px rgba(255, 215, 0, 0.4);
}

/* Enhanced Tab Buttons */
.tab-button {
    position: relative;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.tab-button::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--neon-blue), var(--neon-yellow));
    transform: translateX(-50%);
    transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.tab-button:hover::before {
    width: 100%;
}

.tab-button:hover {
    transform: translateY(-2px);
    color: var(--neon-blue);
}

/* Enhanced Toggle Buttons */
.toggle-btn {
    position: relative;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.toggle-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(64, 224, 208, 0.1), rgba(255, 215, 0, 0.1));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.toggle-btn:hover::before {
    opacity: 1;
}

.toggle-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(64, 224, 208, 0.3);
}

/* Enhanced Navigation Arrows */
.nav-arrow {
    position: relative;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-arrow::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle, rgba(64, 224, 208, 0.2) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.nav-arrow:hover::before {
    opacity: 1;
}

.nav-arrow:hover {
    transform: scale(1.1);
    box-shadow: 0 8px 25px rgba(64, 224, 208, 0.4);
}

/* Enhanced Modal Close Button */
.modal-close {
    position: relative;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.modal-close::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.2) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

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

.modal-close:hover {
    transform: scale(1.1) rotate(90deg);
    background: rgba(255, 255, 255, 0.1);
}

/* Enhanced Mobile Navigation */
.mobile-nav-toggle {
    position: relative;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.mobile-nav-toggle::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle, rgba(64, 224, 208, 0.2) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.mobile-nav-toggle:hover::before {
    opacity: 1;
}

.mobile-nav-toggle:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 25px rgba(64, 224, 208, 0.3);
}

/* Enhanced Video Cards */
.video-card {
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.video-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(64, 224, 208, 0.2), rgba(255, 215, 0, 0.2));
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.video-card:hover::before {
    opacity: 1;
}

.video-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 40px rgba(64, 224, 208, 0.3);
}

/* Enhanced Play Button */
.play-button {
    position: relative;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.play-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.3) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.video-card:hover .play-button::before {
    opacity: 1;
}

.video-card:hover .play-button {
    transform: translate(-50%, -50%) scale(1.2);
    box-shadow: 0 10px 30px rgba(64, 224, 208, 0.5);
}

/* Enhanced Feature Items */
.feature-item {
    position: relative;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.feature-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle, rgba(255, 215, 0, 0.1) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.feature-item:hover::before {
    opacity: 1;
}

.feature-item:hover {
    transform: translateY(-3px);
}

.feature-item:hover .icon {
    transform: scale(1.3) rotate(5deg);
    filter: drop-shadow(0 0 10px rgba(255, 215, 0, 0.5));
}

/* Enhanced Stats Items */
.stat-item {
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.stat-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(64, 224, 208, 0.1), rgba(255, 215, 0, 0.1));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.stat-item:hover::before {
    opacity: 1;
}

.stat-item:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 15px 35px rgba(64, 224, 208, 0.3);
}

.stat-item:hover .stat-number {
    transform: scale(1.1);
    text-shadow: 0 0 20px rgba(64, 224, 208, 0.5);
}

/* Enhanced Trust Logos */
.trust-logos span {
    position: relative;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.trust-logos span::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(64, 224, 208, 0.2), rgba(255, 215, 0, 0.2));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.trust-logos span:hover::before {
    opacity: 1;
}

.trust-logos span:hover {
    transform: scale(1.1);
    color: var(--neon-blue);
    text-shadow: 0 0 10px rgba(64, 224, 208, 0.5);
}

/* Enhanced Footer Links */
.footer-nav a {
    position: relative;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.footer-nav a::before {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--neon-blue), var(--neon-yellow));
    transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.footer-nav a:hover::before {
    width: 100%;
}

.footer-nav a:hover {
    color: var(--text-accent);
    transform: translateY(-1px);
}

/* Enhanced Logo */
.logo {
    position: relative;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.logo::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle, rgba(64, 224, 208, 0.2) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.logo:hover::before {
    opacity: 1;
}

.logo:hover {
    transform: scale(1.1);
    filter: drop-shadow(0 0 15px rgba(64, 224, 208, 0.5));
}

/* Episode card focus styles */
.continuum-item article:focus {
    transform: scale(1.02);
    box-shadow: 0 8px 32px rgba(0, 123, 255, 0.3);
}

/* Tab button focus styles */
.tab-button:focus,
.toggle-btn:focus {
    background: var(--neon-blue);
    color: white;
    transform: scale(1.05);
}

/* Modal action card focus styles */
.action-card:focus {
    transform: translateY(-2px);
    box-shadow: 0 8px 32px rgba(0, 123, 255, 0.3);
}

/* Image Lazy Loading Styles */
img[data-src] {
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
}

img[data-src].loaded {
    opacity: 1;
}

/* All other images should be visible by default */
img:not([data-src]) {
    opacity: 1;
}

/* Critical images that should load immediately */
img[loading="eager"] {
    opacity: 1;
}

/* Background image lazy loading */
[data-bg-image] {
    background-image: none !important;
    transition: background-image 0.3s ease-in-out;
}

[data-bg-image].loaded {
    background-image: inherit !important;
}

/* Background images without data-bg-image should work normally */
.photo-card-bg:not([data-bg-image]) {
    background-image: inherit;
}

/* Skip Navigation Link */
.skip-link {
    position: absolute;
    top: -40px;
    left: 6px;
    background: var(--neon-blue);
    color: var(--dark-blue);
    padding: 8px 16px;
    text-decoration: none;
    border-radius: 4px;
    font-weight: 600;
    z-index: 10000;
    transition: top 0.3s ease;
}

.skip-link:focus {
    top: 6px;
    outline: 2px solid var(--white);
    outline-offset: 2px;
}
:root {
    --dark-blue: #0A092D;
    --medium-blue: #16154d; /* New medium blue color */
    --neon-blue: #40E0D0;
    --neon-yellow: #FFD700;
    --light-gray: #E0E0E0;
    --white: #FFFFFF;
    --font-heading: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-body: 'Lato', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    
    /* WCAG AA Compliant Color Combinations */
    --text-primary: #FFFFFF;      /* White text on dark background - 21:1 ratio */
    --text-secondary: #E0E0E0;    /* Light gray text - 15:1 ratio */
    --text-accent: #40E0D0;       /* Neon blue accent - 12:1 ratio */
    --text-warning: #FFD700;      /* Neon yellow - 11:1 ratio */
    --bg-primary: #0A092D;        /* Dark blue background */
    --bg-secondary: rgba(255, 255, 255, 0.05); /* Semi-transparent */
    --border-light: rgba(255, 255, 255, 0.1);
    --border-accent: rgba(64, 224, 208, 0.3);
}

/* Accessibility: Reduced motion support */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
    
    /* Disable floating animations for users with vestibular disorders */
    .floating-cta-btn {
        animation: none !important;
    }
    
    .hero-badge {
        animation: none !important;
    }
    
    .particle {
        animation: none !important;
    }
}

/* Performance: Hardware acceleration for animations */
.hero-content,
.action-card,
.modal-content,
.floating-cta-btn {
    will-change: transform, opacity;
}

html { scroll-behavior: smooth; scroll-padding-top: 85px; /* Adjusted for header height */ }

/* Temporarily disable smooth scrolling during page load to prevent unwanted scrolling */
html.page-loading { scroll-behavior: auto !important; }
body { font-family: var(--font-body); background-color: var(--bg-primary); color: var(--text-secondary); line-height: 1.7; }
h1, h2, h3, h4 { font-family: var(--font-heading); color: var(--text-primary); font-weight: 700; line-height: 1.3; }

/* Font loading optimization */
@font-face {
    font-family: 'Poppins';
    font-display: swap;
}

@font-face {
    font-family: 'Lato';
    font-display: swap;
}
h1 { font-size: 4rem; }
h2 { font-size: 2.5rem; }
h3 { font-size: 1.5rem; }
    .container { width: 95%; max-width: 1200px; margin: 0 auto; padding: 0 10px; }
section { padding: 100px 0; opacity: 0; transform: translateY(30px); transition: opacity 0.8s ease-out, transform 0.8s ease-out; }
section.visible { opacity: 1; transform: translateY(0); }
.section-header { text-align: center; margin-bottom: 60px; }
.section-header h2 { margin-bottom: 10px; }
.section-header p { font-size: 1.1rem; color: var(--text-accent); font-family: var(--font-heading); font-weight: 600; }
.btn { display: inline-block; padding: 14px 32px; border-radius: 50px; font-family: var(--font-heading); font-weight: 600; text-decoration: none; transition: all 0.3s ease; cursor: pointer; border: none; font-size: 1rem; min-height: 44px; min-width: 44px; display: flex; align-items: center; justify-content: center; }
.btn:focus { outline: 3px solid var(--neon-blue); outline-offset: 2px; box-shadow: 0 0 0 4px rgba(64, 224, 208, 0.2); }
.btn-primary { background-color: var(--neon-blue); color: var(--dark-blue); }
.btn-primary:hover { background-color: var(--white); transform: translateY(-3px); box-shadow: 0 5px 15px rgba(64, 224, 208, 0.4); }
.btn-secondary { background-color: transparent; color: var(--text-warning); border: 2px solid var(--text-warning); }
.btn-secondary:hover { background-color: var(--neon-yellow); color: var(--dark-blue); transform: translateY(-3px); }
.btn-accent { background-color: var(--neon-yellow); color: var(--dark-blue); box-shadow: 0 5px 20px rgba(255, 215, 0, 0.3); }
.btn-accent:hover { background-color: var(--white); transform: translateY(-5px) scale(1.05); box-shadow: 0 10px 30px rgba(255, 215, 0, 0.5); }

/* --- PRELOADER --- */
#preloader { position: fixed; top: 0; left: 0; width: 100%; height: 100vh; background-color: var(--bg-primary); z-index: 9999; display: flex; align-items: center; justify-content: center; transition: opacity 0.8s ease-in-out, visibility 0.8s; }
#preloader.hidden { opacity: 0; visibility: hidden; pointer-events: none; }
.preloader-logo { width: 250px; animation: neon-flash 2.5s ease-in-out infinite; }
@keyframes neon-flash { 0%, 100% { opacity: 1; filter: drop-shadow(0 0 5px var(--neon-blue)) drop-shadow(0 0 10px var(--neon-blue)); } 50% { opacity: 0.8; filter: drop-shadow(0 0 15px var(--neon-blue)) drop-shadow(0 0 25px var(--neon-blue)) drop-shadow(0 0 5px var(--neon-yellow)); } }

/* --- HEADER --- */
.main-header { position: fixed; top: 0; left: 0; width: 100%; z-index: 999; padding: 2px 0; background-color: rgba(10, 9, 45, 0.6); backdrop-filter: blur(12px);  opacity: 0; transform: translateY(-100%); transition: opacity 0.5s ease-in-out, transform 0.5s ease-in-out; }
.main-header.active { opacity: 1; transform: translateY(0); box-shadow: 0 4px 30px rgba(0, 0, 0, 0.2); }
.main-header .container { display: flex; justify-content: space-between; align-items: center; }
.logo { width: 100px; transition: transform 0.3s ease; }
.logo:hover { transform: scale(1.05); }

/* Desktop Navigation Styles */
.main-nav { display: flex; }
.main-nav ul { display: flex; list-style: none; align-items: center; }
.main-nav li { margin-left: 30px; }
.main-nav a { color: var(--text-secondary); text-decoration: none; font-family: var(--font-heading); font-weight: 600; transition: color 0.3s ease; position: relative; padding: 2px 0; }
.main-nav a:focus { outline: 2px solid var(--neon-blue); outline-offset: 4px; border-radius: 4px; }
.main-nav a:not(.btn)::after { content: ''; position: absolute; width: 0; height: 2px; bottom: 0; left: 50%; transform: translateX(-50%); background-color: var(--text-accent); transition: width 0.3s ease-in-out; }
.main-nav a:hover, .main-nav a.active { color: var(--text-accent); }
.main-nav a:hover::after, .main-nav a.active::after { width: 100%; }
.main-nav .btn { padding: 8px 24px; font-size: 0.9rem; }
.mobile-nav-toggle { display: none; }
.mobile-nav-toggle:focus { outline: 3px solid var(--neon-blue); outline-offset: 2px; box-shadow: 0 0 0 4px rgba(64, 224, 208, 0.2); }

/* Ensure mobile navigation is hidden on desktop */
@media (min-width: 769px) {
    .main-nav {
        position: static;
        width: auto;
        height: auto;
        background: none;
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
        flex-direction: row;
        justify-content: flex-end;
        align-items: center;
        z-index: auto;
        opacity: 1;
        transform: none;
        transition: none;
        overflow: visible;
        visibility: visible;
    }
    
    .main-nav ul {
        flex-direction: row;
        gap: 0;
        text-align: left;
        position: static;
        z-index: auto;
    }
    
    .main-nav li {
        margin: 0 0 0 30px;
        opacity: 1;
        transform: none;
        transition: none;
        position: static;
    }
    
    .main-nav li::before {
        display: none;
    }
    
    .main-nav a {
        font-size: 1rem;
        font-weight: 600;
        padding: 2px 0;
        border-radius: 0;
        transition: color 0.3s ease;
        display: inline;
        position: relative;
        overflow: visible;
        background: none;
        border: none;
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
    }
    
    .main-nav a::before {
        display: none;
    }
    
    .main-nav a:not(.btn):hover {
        background: none;
        color: var(--neon-blue);
        transform: none;
        border-color: transparent;
        box-shadow: none;
    }
    
    .main-nav a:not(.btn):active {
        transform: none;
        transition: none;
    }
    
    .main-nav .btn {
        background: var(--neon-blue);
        color: var(--dark-blue);
        font-size: 0.9rem;
        padding: 8px 24px;
        border-radius: 50px;
        box-shadow: 0 5px 20px rgba(64, 224, 208, 0.3);
        border: none;
        position: relative;
        overflow: visible;
    }
    
    .main-nav .btn::before {
        display: none;
    }
    
    .main-nav .btn:hover {
        background: var(--white);
        transform: translateY(-3px);
        box-shadow: 0 8px 25px rgba(64, 224, 208, 0.4);
    }
    
    .main-nav .btn:active {
        transform: translateY(-1px);
        transition: all 0.1s ease;
    }
}

/* --- HERO SECTION --- */
#home { min-height: 100vh; display: flex; flex-direction: column; justify-content: center; text-align: center; padding-top: 0; position: relative; overflow: hidden; }

/* Video background with optimization */
.hero-video-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -2;
    /* Performance optimizations */
    will-change: transform;
    transform: translateZ(0); /* Hardware acceleration */
    backface-visibility: hidden;
    perspective: 1000px;
    /* Reduce memory usage */
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
}

/* Dark overlay */
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(10, 9, 45, 0.8);
    z-index: -1;
}

/* Fallback background for when video doesn't load */
#home::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: linear-gradient(rgba(10, 9, 45, 0.8), rgba(10, 9, 45, 0.8)), url('mic2.png');
    background-size: cover;
    background-position: center;
    z-index: -3;
}

/* Mobile optimization for video background */
@media (max-width: 768px) {
    .hero-video-bg {
        /* Optimize for mobile performance */
        transform: scale(1.1) translateZ(0); /* Slight zoom to hide edges */
        filter: brightness(0.8); /* Reduce processing load */
    }
}

/* Disable video on very slow connections */
@media (prefers-reduced-data: reduce) {
    .hero-video-bg {
        display: none;
    }
}

/* Optimize for users who prefer reduced motion */
@media (prefers-reduced-motion: reduce) {
    .hero-video-bg {
        animation: none;
        transition: none;
    }
}

/* Ensure video doesn't interfere with text readability */
.hero-badge {
    position: relative;
    z-index: 2;
}

.hero-trust {
    position: relative;
    z-index: 2;
}

.hero-content { opacity: 0; transform: translateY(20px); transition: opacity 0.5s ease-out, transform 0.5s ease-out; transition-delay: 0s; position: relative; z-index: 2; }
.hero-content.visible { opacity: 1; transform: translateY(0); }

.hero-badge {
    position: absolute;
    top: 40px;
    left: 0;
    right: 0;
    margin: 0 auto;
    width: fit-content;
    background: rgba(64, 224, 208, 0.1);
    border: 1px solid var(--neon-blue);
    border-radius: 50px;
    padding: 8px 20px;
    display: block;
    animation: pulse 2s infinite;
    z-index: 10;
    white-space: nowrap;
    text-align: center;
}

.hero-badge span {
    color: var(--text-accent);
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.hero-content h1 { color: var(--text-primary); margin-bottom: 20px; }
.hero-content h1 span { color: var(--text-accent); display: block; }
    .hero-content p { font-size: 1.25rem; max-width: 600px; margin: 0 auto 40px; line-height: 1.6; }
.hero-buttons { display: flex; justify-content: center; gap: 20px; flex-wrap: wrap; margin-bottom: 50px; }

.hero-trust {
    position: absolute;
    bottom: 40px;
    left: 0;
    right: 0;
    text-align: center;
}

.hero-trust p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

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

.trust-logos span {
    color: var(--text-primary);
    font-weight: 600;
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.trust-logos span:hover {
    opacity: 1;
    color: var(--text-accent);
}

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

/* --- STATS SECTION --- */
.stats-section {
    background: linear-gradient(135deg, rgba(64, 224, 208, 0.1), rgba(255, 215, 0, 0.1));
    padding: 80px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

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

.stat-item {
    text-align: center;
    padding: 40px 20px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
}

.stat-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(64, 224, 208, 0.1), transparent);
    transition: left 0.5s ease;
}

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

.stat-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(64, 224, 208, 0.3);
    border-color: var(--neon-blue);
}

.stat-number {
    display: block;
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--text-accent);
    font-family: var(--font-heading);
    margin-bottom: 10px;
    position: relative;
    z-index: 1;
}

.stat-label {
    font-size: 1rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-weight: 600;
    position: relative;
    z-index: 1;
}

/* --- FLOATING CTA --- */
.floating-cta {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 998;
    opacity: 0;
    transform: translateY(100px);
    transition: all 0.5s ease;
}

.floating-cta.visible {
    opacity: 1;
    transform: translateY(0);
}

.floating-cta-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, var(--neon-blue), var(--neon-yellow));
    color: var(--dark-blue);
    padding: 15px 25px;
    border-radius: 50px;
    text-decoration: none;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1rem;
    box-shadow: 0 10px 30px rgba(64, 224, 208, 0.4);
    transition: all 0.3s ease;
    animation: float 3s ease-in-out infinite;
}

.floating-cta-btn:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 15px 40px rgba(64, 224, 208, 0.6);
    color: var(--dark-blue);
}

.cta-icon {
    font-size: 1.2rem;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

@keyframes fadeIn { 
    from { opacity: 0; transform: translateY(10px); } 
    to { opacity: 1; transform: translateY(0); } 
}

/* --- ABOUT/MISSION SECTION --- */
#about {
    background-color: var(--dark-blue);
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

#about .container {
    position: relative;
    z-index: 2;
    pointer-events: none; /* Allow mouse events to pass through to the gallery */
    height: 100%; /* Ensure it spans the full height for alignment */
}

#about .gallery-side {
    position: absolute;
    top: 0;
    left: 0;
    width: 60%; /* Increased from 50% */
    height: 100%;
    display: flex;
    gap: 15px;
    perspective: 1500px;
}

#about .text-side {
    max-width: 500px;
    padding-left: 2rem;
    margin-left: auto; /* Align to the right */
    pointer-events: auto; /* Re-enable mouse events for the text content */
    /* Center text vertically */
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 100%;
}

/* Adopting the site's section header style */
#about .section-header {
    text-align: left;
    margin-bottom: 2rem;
}

#about .section-header p {
    color: var(--neon-blue);
    font-family: var(--font-heading);
    font-weight: 600;
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

#about .section-header h2 {
    font-size: 2.8rem; /* Match other section titles */
    margin: 0;
    color: var(--text-primary);
}

#about .text-side > p {
    color: var(--text-secondary);
    line-height: 1.7;
}

/* Gallery Column Styles */
.focus-column,
.gallery-column {
    display: flex;
    flex-direction: column;
    gap: 15px;
    flex-shrink: 0;
    will-change: transform;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* Gallery Row Styles (for mobile) */
.gallery-row {
    display: flex;
    flex-direction: row;
    gap: 10px;
    flex-shrink: 0;
    will-change: transform;
}

#about .gallery-side .focus-column img,
#about .gallery-side .gallery-column img,
#about .gallery-side .gallery-row img {
    width: 200px;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.4);
}

.focus-column.unfocused,
.gallery-column.unfocused {
    transform: translateZ(-300px) rotateY(20deg) scale(0.9);
    opacity: 0.5;
}

.focus-column.unfocused.left,
.gallery-column.unfocused.left {
    transform: translateZ(-300px) rotateY(-20deg) scale(0.9);
}

/* Keyframes for Mobile Horizontal Scroll */
@keyframes scroll-left {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

@keyframes scroll-right {
    from { transform: translateX(-50%); }
    to { transform: translateX(0); }
}

/* --- Mobile Responsiveness for About Section --- */
@media (max-width: 768px) {
    #about {
        padding: 60px 0;
        display: flex;
        flex-direction: column-reverse; /* Text first */
    }

    #about .gallery-side {
        /* Reset desktop styles */
        position: relative;
        width: 100%;
        height: 410px; /* 2 rows of 200px images + 10px gap */
        margin-top: 2rem;
        display: flex;
        flex-direction: column; /* Stack the two rows vertically */
        gap: 10px;
        overflow: hidden;
    }

    #about .gallery-side .focus-column,
    #about .gallery-side .gallery-row {
        /* This is now a row */
        display: flex;
        flex-direction: row;
        width: max-content; /* Allow row to expand for scrolling */
        will-change: transform;
    }

    /* Apply animations to the rows */
    #about .gallery-side .focus-column:nth-child(1),
    #about .gallery-side .gallery-row:nth-child(1) {
        animation: scroll-left 80s linear infinite; /* Slower speed */
    }

    #about .gallery-side .focus-column:nth-child(2),
    #about .gallery-side .gallery-row:nth-child(2) {
        animation: scroll-right 80s linear infinite; /* Slower speed */
    }

    #about .gallery-side .focus-column img,
    #about .gallery-side .gallery-row img {
        width: 200px; /* Match height for a square look */
        height: 200px;
        object-fit: cover;
        margin-right: 10px;
        box-shadow: none; /* Simplify for mobile */
    }

    #about .container {
        /* Reset desktop styles */
        pointer-events: auto;
        height: auto;
        position: relative;
        z-index: auto;
    }

    #about .text-side {
        max-width: 100%;
        padding: 0 1rem;
        margin: 0;
        text-align: center;
        /* Reset vertical centering from desktop */
        display: block;
        height: auto;
    }

    #about .section-header {
        text-align: center;
    }

    /* Disable 3D hover effects on mobile */
    #about .gallery-side .focus-column.unfocused,
    #about .gallery-side .gallery-column.unfocused {
        transform: none;
        opacity: 1;
    }
}

/* --- VIDEO TESTIMONIALS SECTION --- */
#testimonials {
        background-color: rgba(255, 255, 255, 0.03);
}

/* --- EPISODES CONTINUUM SCROLL STYLES --- */
#episodes { background-color: rgba(255,255,255,0.03); overflow: hidden; position: relative; }
#episodes .container { max-width: 100%; width: 100%; padding: 0; position: relative; }

/* NEW: Scroll indicator styles */
.scroll-indicator {
    text-align: center;
    margin-bottom: 2rem;
    opacity: 0;
    animation: fadeInUp 0.8s ease-out 0.5s forwards;
}

/* REMOVED: .scroll-hint styles - element removed from HTML
.scroll-hint {
    display: block;
    color: var(--neon-blue);
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}
*/

/* REMOVED: scroll-arrows and scroll-arrow styles - elements removed from HTML
.scroll-arrows {
    display: flex;
    justify-content: center;
    gap: 1rem;
    opacity: 0.7;
}

.scroll-arrow-left,
.scroll-arrow-right {
    color: var(--neon-blue);
    animation: scrollHint 2s ease-in-out infinite;
}

.scroll-arrow-right {
    animation-delay: 1s;
}

@keyframes scrollHint {
    0%, 100% { transform: translateX(0); opacity: 0.7; }
    50% { transform: translateX(5px); opacity: 1; }
}
*/

.glass-card { background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.1); backdrop-filter: blur(8px); border-radius: 10px; padding: 0; transition: all 0.3s ease; }
.glass-card-interactive:hover { transform: translateY(-10px) scale(1.03) !important; border-color: var(--neon-blue); box-shadow: 0 10px 30px rgba(64, 224, 208, 0.15); }
.card-reveal { width: 320px; height: 480px; overflow: hidden; position: relative; }
.card-reveal .reveal-content { position: absolute; bottom: 0; left: 0; right: 0; background: rgba(10, 9, 45, 0.85); backdrop-filter: blur(5px); padding: 1.5rem; transform: translateY(100%); transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94); }
.card-reveal:hover .reveal-content { transform: translateY(0); }
.card-reveal .static-content { padding: 1.5rem; text-align: center; height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; transition: opacity 0.4s ease; }
.card-reveal:hover .static-content { opacity: 0; }

/* Mobile: Remove hover effects and add click functionality */
@media (max-width: 768px) {
    .card-reveal:hover .reveal-content,
    .card-reveal:hover .static-content {
        transform: translateY(100%);
        opacity: 1;
    }

    .card-reveal.active .reveal-content {
        transform: translateY(0);
    }

    .card-reveal.active .static-content {
        opacity: 0;
    }

    /* Prevent accidental interactions during scroll */
    .card-reveal {
        -webkit-tap-highlight-color: transparent;
        touch-action: manipulation;
    }

    /* Ensure proper touch feedback */
    .card-reveal:active {
        background-color: rgba(64, 224, 208, 0.05);
        transition: background-color 0.2s ease;
    }

    /* Enlarge card on active (tap) similar to desktop hover */
    .glass-card-interactive.card-reveal.active,
    .card-reveal.active {
        transform: translateY(-10px) scale(1.03) !important;
        border-color: var(--neon-blue);
        box-shadow: 0 10px 30px rgba(64, 224, 208, 0.15);
    }
}
.episode-thumbnail { position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: cover; z-index: -1; opacity: 0.5; pointer-events: none; }
.episode-number { color: var(--text-accent); font-family: var(--font-heading); font-size: 1rem; margin-bottom: 0.5rem; }
.episode-title { font-size: 1.2rem; margin: 0.25rem 0 1rem 0; line-height: 1.4; }
.episode-description { margin: 0.5rem 0 1rem 0; line-height: 1.6; font-size: 0.9rem; }
.continuum-container { width: 100%; height: 520px; display: flex; align-items: center; overflow-x: scroll; overflow-y: hidden; position: relative; cursor: grab; -ms-overflow-style: none; scrollbar-width: none; }
.continuum-container::-webkit-scrollbar { display: none; }
.continuum-container:active { cursor: grabbing; }

/* NEW: Navigation arrows */
.nav-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    background: rgba(10, 9, 45, 0.8);
    border: 1px solid rgba(64, 224, 208, 0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
    opacity: 0.7;
    visibility: visible;
    backdrop-filter: blur(8px);
}

.nav-arrow:hover {
    background: rgba(64, 224, 208, 0.2);
    border-color: var(--neon-blue);
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 0 15px rgba(64, 224, 208, 0.3);
    opacity: 1;
}

.nav-arrow svg {
    color: var(--neon-blue);
    transition: color 0.3s ease;
    width: 20px;
    height: 20px;
}

.nav-arrow:hover svg {
    color: var(--white);
}

.nav-arrow:focus {
    outline: 3px solid var(--neon-blue);
    outline-offset: 2px;
    box-shadow: 0 0 0 4px rgba(64, 224, 208, 0.2);
}

.nav-arrow-left {
    left: 20px;
}

.nav-arrow-right {
    right: 20px;
}

/* Hide arrows when at scroll boundaries */
.nav-arrow.disabled {
    opacity: 0.3;
    cursor: not-allowed;
    pointer-events: none;
    background: rgba(10, 9, 45, 0.5);
    border-color: rgba(64, 224, 208, 0.1);
}

.nav-arrow.disabled svg {
    color: rgba(64, 224, 208, 0.3);
}

/* NEW: Scroll progress indicator */
.scroll-progress {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 200px;
    height: 4px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 2px;
    overflow: hidden;
    z-index: 10;
}

.scroll-progress-bar {
    height: 100%;
    background: linear-gradient(90deg, var(--neon-blue), var(--neon-yellow));
    border-radius: 2px;
    width: 0%;
    transition: width 0.3s ease;
}

.continuum-track { display: flex; align-items: center; gap: 2rem; min-height: 100%; width: max-content; padding: 0 calc(50vw - 160px); animation: initialScrollHint 3s ease-in-out 1s; }

/* Instagram Carousel Section - Enhanced Design */
.instagram-section {
    position: relative;
    padding: 5rem 0;
    background: linear-gradient(180deg, transparent 0%, rgba(22, 21, 77, 0.3) 50%, transparent 100%);
}

.instagram-carousel-wrapper {
    position: relative;
    width: 100%;
    margin: 2rem auto;
    max-width: 100%;
}

/* Fade gradients for scroll indication */
.carousel-fade {
    position: absolute;
    top: 0;
    bottom: 0;
    width: 120px;
    z-index: 5;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.carousel-fade-left {
    left: 0;
    background: linear-gradient(to right, var(--bg-primary) 0%, transparent 100%);
    opacity: 0;
}

.carousel-fade-right {
    right: 0;
    background: linear-gradient(to left, var(--bg-primary) 0%, transparent 100%);
    opacity: 1;
}

.carousel-fade-left.visible {
    opacity: 1;
}

.carousel-fade-right.hidden {
    opacity: 0;
}

.instagram-carousel {
    display: flex;
    gap: 1rem;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-behavior: smooth;
    -ms-overflow-style: none;
    scrollbar-width: none;
    padding: 2.5rem 1rem;
    scroll-snap-type: x mandatory;
    scroll-padding: 0 1rem;
    position: relative;
    /* Enable momentum scrolling on iOS */
    -webkit-overflow-scrolling: touch;
}

.instagram-carousel::-webkit-scrollbar {
    display: none;
}

.instagram-carousel:focus {
    outline: 2px solid var(--neon-blue);
    outline-offset: 4px;
    border-radius: 8px;
}

.carousel-item {
    flex-shrink: 0;
    scroll-snap-align: start;
    min-width: 320px;
    max-width: 320px;
    width: 320px;
    max-height: 600px;
    transition: transform 0.3s ease, opacity 0.3s ease;
    opacity: 0.95;
    display: flex;
    flex-direction: column;
}

.carousel-item:hover {
    transform: translateY(-8px);
    opacity: 1;
}

.carousel-item blockquote {
    margin: 0;
    width: 100% !important;
    max-width: 100% !important;
    max-height: 600px !important;
    height: auto !important;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4),
                0 0 0 1px rgba(64, 224, 208, 0.1);
    transition: box-shadow 0.3s ease, transform 0.3s ease;
    background: rgba(255, 255, 255, 0.98);
    display: flex;
    flex-direction: column;
}

/* Ensure Instagram embed iframe matches container width and height */
.carousel-item blockquote iframe,
.carousel-item blockquote .instagram-media-rendered {
    width: 100% !important;
    max-width: 100% !important;
    max-height: 600px !important;
    height: auto !important;
    margin: 0 !important;
    object-fit: contain;
}

/* Target Instagram's wrapper divs */
.carousel-item blockquote > div {
    max-height: 600px !important;
    overflow: hidden !important;
}

.carousel-item blockquote .instagram-media-rendered {
    max-height: 600px !important;
    overflow: hidden !important;
}

.carousel-item:hover blockquote {
    box-shadow: 0 16px 48px rgba(64, 224, 208, 0.3),
                0 0 0 2px rgba(64, 224, 208, 0.4),
                0 0 40px rgba(64, 224, 208, 0.2);
    transform: scale(1.02);
}

/* Carousel Navigation Arrows - Enhanced */
.carousel-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 56px;
    height: 56px;
    min-width: 56px;
    min-height: 56px;
    background: rgba(10, 9, 45, 0.95);
    border: 2px solid rgba(64, 224, 208, 0.5);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 10;
    backdrop-filter: blur(12px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4),
                0 0 0 0 rgba(64, 224, 208, 0.4);
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
}

.carousel-nav:hover,
.carousel-nav:focus {
    background: rgba(64, 224, 208, 0.25);
    border-color: var(--neon-blue);
    transform: translateY(-50%) scale(1.15);
    box-shadow: 0 12px 32px rgba(64, 224, 208, 0.4),
                0 0 0 4px rgba(64, 224, 208, 0.2);
    outline: none;
}

.carousel-nav:active {
    transform: translateY(-50%) scale(1.05);
}

.carousel-nav svg {
    color: var(--neon-blue);
    width: 24px;
    height: 24px;
    transition: color 0.3s ease;
}

.carousel-nav:hover svg,
.carousel-nav:focus svg {
    color: var(--white);
}

.carousel-nav-left {
    left: 1rem;
}

.carousel-nav-right {
    right: 1rem;
}

.carousel-nav.disabled {
    opacity: 0.2;
    cursor: not-allowed;
    pointer-events: none;
    transform: translateY(-50%) scale(0.9);
}

/* Scroll Progress Indicator */
.carousel-progress {
    position: absolute;
    bottom: 0.5rem;
    left: 50%;
    transform: translateX(-50%);
    width: 200px;
    height: 4px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 2px;
    overflow: hidden;
    z-index: 10;
}

.carousel-progress-bar {
    height: 100%;
    background: linear-gradient(90deg, var(--neon-blue), var(--neon-yellow));
    border-radius: 2px;
    width: 0%;
    transition: width 0.1s ease;
    box-shadow: 0 0 10px rgba(64, 224, 208, 0.5);
}

/* Mobile Responsive - Enhanced */
@media (max-width: 768px) {
    .instagram-section {
        padding: 3rem 0;
    }
    
    .instagram-carousel-wrapper {
        margin: 1.5rem 0;
    }
    
    .carousel-fade {
        width: 60px;
    }
    
    .instagram-carousel {
        gap: 1rem;
        padding: 2rem 0.75rem;
        scroll-padding: 0 0.75rem;
    }
    
    .carousel-item {
        min-width: calc(100vw - 3rem);
        max-width: calc(100vw - 3rem);
        width: calc(100vw - 3rem);
        max-height: 600px;
    }
    
    .carousel-item blockquote {
        max-height: 600px !important;
    }
    
    .carousel-item:hover {
        transform: none;
    }
    
    .carousel-item:active {
        transform: scale(0.98);
    }
    
    .carousel-nav {
        width: 48px;
        height: 48px;
        min-width: 48px;
        min-height: 48px;
    }
    
    .carousel-nav svg {
        width: 20px;
        height: 20px;
    }
    
    .carousel-nav-left {
        left: 0.5rem;
    }
    
    .carousel-nav-right {
        right: 0.5rem;
    }
    
    .carousel-progress {
        width: 150px;
        height: 3px;
    }
}

@media (max-width: 480px) {
    .instagram-section {
        padding: 2rem 0;
    }
    
    .carousel-fade {
        width: 40px;
    }
    
    .instagram-carousel {
        gap: 0.75rem;
        padding: 1.5rem 0.5rem;
        scroll-padding: 0 0.5rem;
    }
    
    .carousel-item {
        min-width: calc(100vw - 2rem);
        max-width: calc(100vw - 2rem);
        max-height: 600px;
    }
    
    .carousel-item blockquote {
        max-height: 600px !important;
    }
    
    .carousel-nav {
        width: 44px;
        height: 44px;
        min-width: 44px;
        min-height: 44px;
        opacity: 0.9;
    }
    
    .carousel-nav-left {
        left: 0.25rem;
    }
    
    .carousel-nav-right {
        right: 0.25rem;
    }
    
    .carousel-progress {
        width: 120px;
        bottom: 0.25rem;
    }
}

/* Touch device optimizations */
@media (hover: none) and (pointer: coarse) {
    .carousel-item:hover {
        transform: none;
    }
    
    .carousel-item:active {
        transform: scale(0.98);
    }
    
    .carousel-nav {
        opacity: 0.85;
    }
    
    .carousel-nav:active {
        opacity: 1;
        transform: translateY(-50%) scale(1.1);
    }
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
    .instagram-carousel {
        scroll-behavior: auto;
    }
    
    .carousel-item,
    .carousel-item blockquote,
    .carousel-nav {
        transition: none;
    }
    
    .carousel-item:hover {
        transform: none;
    }
}
.continuum-item {
    transform: scale(0.85);
    opacity: 0.5;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.4s ease, box-shadow 0.4s ease;
    box-shadow: 0 0 0px rgba(64, 224, 208, 0);
    border-radius: 10px;
    cursor: pointer;
}

.continuum-item:hover {
    transform: scale(0.9);
    opacity: 0.7;
    box-shadow: 0 0 15px rgba(64, 224, 208, 0.1);
}

.continuum-item.is-active {
    transform: scale(1);
    opacity: 1;
    box-shadow: 0 0 35px rgba(64, 224, 208, 0.4), 0 0 60px rgba(64, 224, 208, 0.1);
    border-radius: 10px;
    z-index: 10;
}

/* MOBILE OPTIMIZATION: Reduce gap between cards on mobile */
@media (max-width: 768px) {
    .continuum-track {
        gap: 1rem; /* Reduced from 2rem to 1rem on mobile */
        padding: 0 calc(50vw - 120px); /* Slightly reduce side padding on mobile */
    }

    .continuum-item {
        transform: scale(0.9); /* Slightly larger base scale on mobile */
        opacity: 0.7; /* Increased from 0.5 to 0.7 for better visibility */
    }

    .continuum-item:hover {
        transform: scale(0.95); /* Adjusted hover scale for mobile */
        opacity: 0.85; /* Even more visible on hover */
    }

    .continuum-item.is-active {
        transform: scale(1.05); /* Slightly larger active scale on mobile for better visibility */
        opacity: 1; /* Full opacity when active */
    }
}

/* EXTRA SMALL MOBILE: Further optimization for very small screens */
@media (max-width: 480px) {
    .continuum-track {
        gap: 0.75rem; /* Even smaller gap on very small screens */
        padding: 0 calc(50vw - 80px); /* Further reduce side padding */
    }

    .continuum-item {
        transform: scale(0.95); /* Larger base scale for better visibility on small screens */
        opacity: 0.8; /* Even more visible on very small screens */
    }

    .continuum-item:hover {
        opacity: 0.9; /* Very visible on hover for small screens */
    }

    .continuum-item.is-active {
        transform: scale(1.1); /* More prominent active state on small screens */
        opacity: 1; /* Full opacity when active */
    }
}

/* NEW: Initial scroll hint animation */
@keyframes initialScrollHint {
    0%, 100% { transform: translateX(0); }
    50% { transform: translateX(-20px); }
}

/* --- COMMUNITY PROMO CARD STYLES (MOBILE FIRST) --- */
#community { background-color: var(--dark-blue); background-image: radial-gradient(circle at center, rgba(30, 28, 80, 0.8) 0%, var(--dark-blue) 70%); }
.promo-card { background: rgba(22, 21, 61, 0.6); border: 1px solid rgba(255, 255, 255, 0.1); backdrop-filter: blur(12px); border-radius: 20px; text-align: center; padding: 2rem; padding-top: 0; max-width: 650px; width: 100%; position: relative; transition: transform 0.4s ease, box-shadow 0.4s ease; box-shadow: 0 10px 30px rgba(0,0,0,0.3); margin: 0 auto; }
.promo-card:hover { transform: translateY(-15px); box-shadow: 0 25px 50px rgba(0,0,0,0.4), 0 0 40px rgba(64, 224, 208, 0.2); }
.promo-image { width: 90%; max-width: 500px; border-radius: 15px; margin-top: -60px; margin-bottom: 2rem; border: 3px solid rgba(255, 255, 255, 0.2); box-shadow: 0 0 25px rgba(255, 215, 0, 0.3); transition: transform 0.4s ease, box-shadow 0.4s ease; }
.promo-card:hover .promo-image { transform: scale(1.05); box-shadow: 0 0 45px rgba(255, 215, 0, 0.5); }

/* Mobile touch-friendly interactions */
@media (max-width: 768px) {
    .promo-card:active { transform: translateY(-10px); box-shadow: 0 20px 40px rgba(0,0,0,0.4), 0 0 30px rgba(64, 224, 208, 0.15); }
    .promo-card:active .promo-image { transform: scale(1.03); box-shadow: 0 0 35px rgba(255, 215, 0, 0.4); }

    /* Button touch states */
    .btn:active { transform: translateY(-2px) scale(0.98); }

    /* Card hover alternatives */
    .glass-card-interactive:active { transform: translateY(-8px) scale(1.02) !important; border-color: var(--neon-blue); box-shadow: 0 8px 25px rgba(64, 224, 208, 0.12); }

    /* Photo card touch states */
    .photo-card:active { transform: translateY(-8px); box-shadow: 0 8px 25px rgba(64, 224, 208, 0.15); border-color: var(--neon-blue); }
    .photo-card:active .photo-card-bg { transform: scale(1.08); filter: grayscale(0%); }

    /* Feature icon touch states */
    .feature-item:active .icon { transform: scale(1.15); }
}
.promo-content { padding: 0 1.5rem 1.5rem; }
.promo-subtitle { font-family: var(--font-heading); color: var(--text-accent); font-weight: 600; text-transform: uppercase; letter-spacing: 1.5px; font-size: 0.9rem; margin-bottom: 0.5rem; }
.promo-title { color: var(--text-primary); font-family: var(--font-heading); font-weight: 700; font-size: 2.8rem; line-height: 1.2; margin: 0 auto 1.5rem auto; text-shadow: 0 0 5px rgba(255, 255, 255, 0.5), 0 0 15px rgba(64, 224, 208, 0.4); }
.promo-description { line-height: 1.7; max-width: 500px; margin: 0 auto 2.5rem auto; font-size: 1.1rem; }
.features { display: flex; justify-content: center; gap: 2.5rem; margin-bottom: 3rem; flex-wrap: wrap; }
.feature-item { display: flex; flex-direction: column; align-items: center; gap: 0.75rem; }
.feature-item .icon { fill: var(--text-warning); width: 32px; height: 32px; transition: transform 0.3s ease; }
.feature-item:hover .icon { transform: scale(1.2); }
.feature-item span { font-size: 0.9rem; font-family: var(--font-body); color: var(--text-secondary); }

/* --- PROCESS SECTION --- */
#process {
    background: linear-gradient(135deg, var(--dark-blue) 0%, #0a0a2e 50%, var(--dark-blue) 100%);
    position: relative;
    overflow: hidden;
    padding: 120px 0;
}

/* Subtle background pattern for visual interest */
#process::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        radial-gradient(circle at 20% 80%, rgba(64, 224, 208, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(64, 224, 208, 0.05) 0%, transparent 50%);
    opacity: 0.6;
    pointer-events: none;
}

/* Focus and accessibility improvements */
@media (prefers-reduced-motion: reduce) {
    .step,
    .step-image-container img,
    .step-image-container video,
    .accent-line::before,
    .accent-dot {
        transition: none !important;
        animation: none !important;
    }
}
/* Enhanced Process Container with Timeline */
.staggered-process-container {
    display: grid;
    gap: 60px;
    position: relative;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Timeline connector line */
.staggered-process-container::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 80px;
    bottom: 80px;
    width: 3px;
    background: linear-gradient(to bottom,
        transparent 0%,
        var(--neon-blue) 20%,
        var(--neon-blue) 80%,
        transparent 100%);
    transform: translateX(-50%);
    z-index: 1;
}

/* Step timeline dots */
.staggered-process-container::after {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    width: 100%;
    height: 100%;
    transform: translateX(-50%);
    pointer-events: none;
}

.step {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 0;
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    z-index: 2;
}

.step::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 15px;
    height: 15px;
    background: var(--neon-blue);
    border: 3px solid var(--dark-blue);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    z-index: 3;
    box-shadow: 0 0 20px rgba(64, 224, 208, 0.6);
}

.step:hover,
.step:focus-within {
    transform: translateY(-15px) scale(1.02);
    border-color: var(--neon-blue);
    box-shadow:
        0 20px 60px rgba(64, 224, 208, 0.2),
        0 0 40px rgba(64, 224, 208, 0.1);
    outline: none;
}

.step:hover::before,
.step:focus-within::before {
    transform: translate(-50%, -50%) scale(1.3);
    box-shadow: 0 0 30px rgba(64, 224, 208, 0.8);
}

/* Enhanced focus states for accessibility */
.step:focus-visible {
    outline: 2px solid var(--neon-blue);
    outline-offset: 4px;
}

.step-content {
    padding: 50px;
    position: relative;
    z-index: 2;
}

.step:nth-child(even) .step-content {
    grid-column: 1;
    grid-row: 1;
    text-align: right;
}

/* Step number badges */
.step-number {
    position: absolute;
    top: 30px;
    left: 30px;
    opacity: 0.1;
    font-size: 6rem;
    font-family: 'Inter', sans-serif;
    font-weight: 900;
    color: var(--neon-blue);
    line-height: 1;
    z-index: 1;
    text-shadow: 0 0 20px rgba(64, 224, 208, 0.3);
}

.step:nth-child(even) .step-number {
    left: auto;
    right: 30px;
}

/* Clean step titles for better readability */
.step-title {
    font-size: 2.2rem;
    font-weight: 800;
    margin: 0 0 20px 0;
    position: relative;
    z-index: 2;
    line-height: 1.2;
    color: var(--text-primary);
    /* Removed gradient background for clean, readable text */
}

/* Accessibility improvements - no longer needed with solid colors
/* All gradient background handling removed for cleaner, more readable text */

.step-description {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin: 0;
    position: relative;
    z-index: 2;
    line-height: 1.6;
}
/* Mobile optimizations for the enhanced process section */
@media (max-width: 1024px) {
    .staggered-process-container::before {
        display: none; /* Hide timeline on tablets */
    }

    .step::before {
        display: none; /* Hide timeline dots on tablets */
    }

    .step {
        grid-template-columns: 1fr;
        gap: 30px;
        max-width: 800px;
        margin: 0 auto;
    }

    .step:nth-child(even) .step-content {
        text-align: left;
        grid-column: 1;
    }

    .step-content {
        padding: 30px;
        text-align: center;
    }

    .step-number {
        top: 20px;
        left: 20px;
        font-size: 4rem;
        opacity: 0.08;
    }

    .step:nth-child(even) .step-number {
        left: 20px;
        right: auto;
    }

    .step-title {
        font-size: 1.8rem;
    }

    .step-description {
        font-size: 1rem;
    }
}

@media (max-width: 768px) {
    #process {
        padding: 80px 0;
    }

    .section-title {
        font-size: 2.5rem;
        margin-bottom: 25px;
    }

    .section-subtitle {
        font-size: 0.9rem;
        letter-spacing: 1px;
    }

    .section-accent {
        gap: 10px;
        margin-bottom: 15px;
    }

    .accent-line {
        width: 40px;
    }

    .staggered-process-container {
        gap: 40px;
        padding: 0 15px;
    }

    .step {
        border-radius: 15px;
        gap: 25px;
    }

    .step-content {
        padding: 25px 20px;
    }

    .step-number {
        top: 15px;
        left: 15px;
        font-size: 3rem;
    }

    .step-title {
        font-size: 1.5rem;
        margin-bottom: 15px;
    }

    .step-description {
        font-size: 0.95rem;
    }

    .step-image-container {
        min-height: 250px;
    }
}

.step-image-container {
    height: 100%;
    min-height: 350px;
    overflow: hidden;
    /* Performance optimization */
    contain: layout style paint;
    will-change: transform;
}
/* Enhanced section header styles */
.section-subtitle {
    color: var(--neon-blue);
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 10px;
    text-align: center;
}

.section-title {
    color: var(--text-primary);
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 3.2rem;
    line-height: 1.2;
    margin: 0 0 30px 0;
    text-align: center;
    /* Clean, readable text without gradient background */
}

.section-accent {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin-bottom: 20px;
}

.accent-line {
    width: 60px;
    height: 2px;
    background: linear-gradient(90deg, transparent 0%, var(--neon-blue) 50%, transparent 100%);
    position: relative;
}

.accent-line::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, transparent 0%, var(--neon-blue) 50%, transparent 100%);
    animation: accentGlow 3s ease-in-out infinite;
}

.accent-dot {
    width: 8px;
    height: 8px;
    background: var(--neon-blue);
    border-radius: 50%;
    box-shadow: 0 0 20px rgba(64, 224, 208, 0.6);
    animation: accentPulse 2s ease-in-out infinite;
}

@keyframes accentGlow {
    0%, 100% { opacity: 0.5; transform: scaleX(1); }
    50% { opacity: 1; transform: scaleX(1.1); }
}

@keyframes accentPulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.2); opacity: 0.7; }
}

.step-image-container img,
.step-image-container video,
.step-image-container .step-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    /* Performance optimization */
    transform: translateZ(0);
}

/* Optimized hover states */
.step:hover .step-image-container img,
.step:hover .step-image-container video,
.step:hover .step-image-container .step-image {
    transform: scale(1.05) translateZ(0);
}

/* Respect user motion preferences */
@media (prefers-reduced-motion: reduce) {
    .step-image-container img,
    .step-image-container video,
    .step-image-container .step-image {
        transition: none;
    }
}

/* Mobile/Desktop Video/Image Switching - Default to desktop (videos) */
.step-image-container .step-video {
    display: block;
}

.step-image-container .step-image {
    display: none;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    transform: translateZ(0);
}

/* Desktop: Show videos, hide images */
@media (min-width: 769px) {
    .step-image-container .step-video {
        display: block;
    }
    .step-image-container .step-image {
        display: none;
    }
}

/* Mobile: Show images, hide videos */
@media (max-width: 768px) {
    .step-image-container .step-video {
        display: none;
    }
    .step-image-container .step-image {
        display: block;
    }
}

/* Mobile touch states for images */
@media (max-width: 768px) {
    .step:active .step-image-container .step-image,
    .step:hover .step-image-container .step-image {
        transform: scale(1.03) translateZ(0);
    }
}

/* Optimize for slower devices */
@media (max-width: 480px) and (max-resolution: 2dppx) {
    .step-image-container img,
    .step-image-container video,
    .step-image-container .step-image {
        transition: transform 0.2s ease;
    }

    .step:hover .step-image-container img,
    .step:hover .step-image-container video,
    .step:hover .step-image-container .step-image {
        transform: scale(1.03) translateZ(0);
    }
}

/* --- PACKAGES SECTION STYLES --- */
#packages { background-color: var(--dark-blue); }

/* Package type toggle switch */
.package-type-toggle {
    display: flex;
    justify-content: center;
    margin: 0 auto 2.5rem auto;
    background-color: rgba(255, 255, 255, 0.08);
    border-radius: 50px;
    padding: 5px;
    max-width: 500px;
}

.toggle-btn {
    flex: 1;
    padding: 0.75rem 1rem;
    font-size: 1rem;
    font-weight: 600;
    border: none;
    background: transparent;
    color: var(--light-gray);
    cursor: pointer;
    border-radius: 50px;
    transition: all 0.3s ease-in-out;
    font-family: var(--font-heading);
}

.toggle-btn.active {
    background-color: var(--neon-blue);
    color: var(--dark-blue);
    box-shadow: 0 2px 15px rgba(64, 224, 208, 0.3);
}

.toggle-btn:focus {
    outline: 2px solid var(--neon-blue);
    outline-offset: 2px;
}

#packages .tabs-container { 
    display: none; /* Hide by default */
    overflow-x: auto; 
    white-space: nowrap; 
    margin-bottom: 2rem; 
    border-bottom: 1px solid rgba(255, 255, 255, 0.2); 
    padding-bottom: 5px; 
    -webkit-overflow-scrolling: touch; 
}

#packages .tabs-container.active {
    display: flex;
}

#packages .tabs-container::-webkit-scrollbar { height: 4px; }
#packages .tabs-container::-webkit-scrollbar-track { background: rgba(255, 255, 255, 0.1); }
#packages .tabs-container::-webkit-scrollbar-thumb { background: var(--neon-blue); border-radius: 2px; }

#packages .tab-button { 
    padding: 1.2rem 1.8rem; 
    font-size: 1rem; 
    font-weight: 600; 
    border: none; 
    background: transparent; 
    color: var(--light-gray); 
    cursor: pointer; 
    position: relative; 
    transition: color 0.3s; 
    font-family: var(--font-heading); 
    flex-shrink: 0; 
    min-height: 44px;
    min-width: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
}

#packages .tab-button.active { color: var(--neon-blue); }
#packages .tab-button.active::after { 
    content: ''; 
    position: absolute; 
    bottom: -6px; 
    left: 50%; 
    transform: translateX(-50%); 
    width: 90%; 
    height: 3px; 
    background: var(--neon-blue); 
    box-shadow: 0 0 10px var(--neon-blue); 
}

#packages .tab-button:focus {
    outline: 2px solid var(--neon-blue);
    outline-offset: 2px;
}

#packages .tab-content { display: none; }

#packages .tab-content.active { 
    display: block; 
    animation: fadeIn 0.5s; 
}

#packages .plan-details-card { 
    display: flex; 
    background: rgba(255, 255, 255, 0.05); 
    border: 1px solid rgba(255, 255, 255, 0.1); 
    backdrop-filter: blur(8px); 
    border-radius: 10px; 
    padding: 2.5rem; 
    transition: all 0.3s ease-in-out; 
    position: relative; 
}

#packages .plan-details-card.popular {
    border-color: var(--neon-blue);
    box-shadow: 0 0 20px rgba(64, 224, 208, 0.2);
}

#packages .plan-details-card.best-value { 
    border-color: var(--neon-yellow); 
    box-shadow: 0 0 20px rgba(255, 215, 0, 0.2);
}

#packages .popular-tag-top, 
#packages .value-tag-top { 
    font-size: 0.8rem; 
    font-weight: 700; 
    padding: 0.4rem 0.8rem; 
    border-radius: 20px; 
    position: absolute; 
    top: 15px; 
    right: 15px; 
    white-space: nowrap; 
    color: var(--dark-blue); 
    z-index: 5; 
    font-family: var(--font-heading); 
}

#packages .popular-tag-top { background-color: var(--neon-blue); }
#packages .value-tag-top { background-color: var(--neon-yellow); }

#packages .plan-info { 
    flex: 1 1 40%; 
    padding-right: 2rem; 
    display: flex; 
    flex-direction: column; 
    justify-content: space-between; 
}

#packages .plan-features { 
    flex: 1 1 60%; 
    padding-left: 2rem; 
    border-left: 1px solid rgba(255, 255, 255, 0.2); 
}

#packages .plan-name { font-size: 1.8rem; }
#packages .plan-subtitle { 
    color: var(--neon-blue); 
    margin-bottom: 1.5rem; 
    font-size: 1rem; 
}

#packages .plan-price { 
    font-size: 3rem; 
    margin: 0.5rem 0; 
    color: var(--white); 
}

#packages .plan-savings { 
    font-size: 0.9rem; 
    color: var(--neon-yellow); 
    margin-bottom: 2rem; 
    background: rgba(255, 215, 0, 0.1); 
    display: inline-block; 
    padding: 5px 10px; 
    border-radius: 15px; 
    align-self: flex-start; 
}

#packages .plan-info .btn { 
    width: 100%; 
    margin-top: 1rem; 
}

#packages .features-title { 
    font-size: 1.2rem; 
    color: var(--white); 
    margin-bottom: 1rem; 
}

#packages .features-list { 
    list-style: none; 
    padding: 0; 
    margin: 0; 
}

#packages .features-list li { 
    padding: 0.6rem 0; 
    border-bottom: 1px solid rgba(255, 255, 255, 0.1); 
    display: flex; 
    align-items: center; 
}

#packages .features-list li::before { 
    content: '✔'; 
    color: var(--neon-blue); 
    font-weight: bold; 
    margin-right: 1rem; 
    font-size: 1.1rem; 
}

#packages .features-list li:last-child { 
    border-bottom: none; 
}

/* --- LOCATIONS SECTION --- */
#locations { background-color: rgba(255,255,255,0.03); }
.card-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 2rem; }
.photo-card { height: 450px; position: relative; overflow: hidden; border-radius: 10px; display: flex; align-items: flex-end; padding: 1.5rem; color: var(--white); text-decoration: none; transition: transform 0.4s ease, box-shadow 0.4s ease; border: 1px solid rgba(255, 255, 255, 0.1); }
.photo-card:hover { transform: translateY(-10px); box-shadow: 0 10px 30px rgba(64, 224, 208, 0.2); border-color: var(--neon-blue); }
.photo-card:focus { outline: 3px solid var(--neon-blue); outline-offset: 2px; box-shadow: 0 0 0 4px rgba(64, 224, 208, 0.2); }
.photo-card-bg { position: absolute; top: 0; left: 0; right: 0; bottom: 0; background-size: cover; background-position: center; z-index: 1; transition: transform 0.6s ease, filter 0.6s ease; filter: grayscale(30%); }
.photo-card:hover .photo-card-bg { transform: scale(1.1); filter: grayscale(0%); }
.photo-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; bottom: 0; background: linear-gradient(to top, rgba(10, 9, 45, 0.9) 0%, rgba(10, 9, 45, 0) 60%); z-index: 2; }
.photo-card-content { position: relative; z-index: 3; }
.photo-card-content h3 { font-size: 1.75rem; line-height: 1.2; margin-bottom: 0.25rem; color: var(--text-primary); }
.photo-card-content p { font-size: 1rem; opacity: 0.8; font-weight: 400; color: var(--text-accent); }
/*
 * CSS for the "Coming Soon" Ribbon
 */

/* 1. Prepare the card container */
.photo-card {
    position: relative; /* This is essential for positioning the ribbon inside */
    overflow: hidden;   /* This hides the parts of the ribbon that go outside the card's corners */
}

/* 2. Style the ribbon itself */
.ribbon {
    position: absolute;
    right: -50px; /* Moves the ribbon outside the container to create the angle */
    top: 20px;
    transform: rotate(45deg); /* The magic ingredient: angles the ribbon */
    background-color: #e74c3c; /* A nice red color, feel free to change */
    color: white;
    padding: 8px 50px; /* Adjust padding for the text area size */
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    text-align: center;
    font-size: 14px;
    font-weight: bold;
    text-transform: uppercase;
    z-index: 2; /* Ensures the ribbon is on top of the background image */
}

/* 3. (Optional but recommended) Style the disabled "coming-soon" card */
.photo-card.coming-soon {
    cursor: not-allowed; /* Shows users they can't click it */
}

/* Make the background image grayscale to show it's not active yet */
.photo-card.coming-soon .photo-card-bg {
    filter: grayscale(80%);
}

/* Slightly fade the whole card */
.photo-card.coming-soon .photo-card-content {
    opacity: 0.7;
}
/* --- IMPROVED CONTACT SECTION (NO FORM) --- */
#contact {
    background-color: var(--dark-blue);
    background-image: radial-gradient(circle at 50% 100%, rgba(30, 28, 80, 0.5) 0%, var(--dark-blue) 70%);
}

.contact-card {
    max-width: 850px; /* Made the card wider for a more spacious feel */
    margin: 0 auto;
    padding: 4rem 3rem; /* Increased padding for more vertical space */
    text-align: center;
    background: rgba(13, 11, 49, 0.7); /* A slightly different background to match the image */
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(12px);
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.3);
}

.contact-icon {
    width: 200px; /* Made the logo bigger as requested */
    margin: 0 auto 2rem auto; /* Added more space below the logo */
}

.contact-icon img {
    width: 100%;
    height: auto;
    /* This is the "beaming" animation from your preloader */
    animation: neon-flash 2.5s ease-in-out infinite;
}

/* This keyframe animation MUST be in your CSS file. 
   It's likely already there for your preloader, but if not, add it. */
@keyframes neon-flash { 
    0%, 100% { 
        opacity: 1; 
        filter: drop-shadow(0 0 5px var(--neon-blue)) drop-shadow(0 0 10px var(--neon-blue)); 
    } 
    50% { 
        opacity: 0.8; 
        filter: drop-shadow(0 0 15px var(--neon-blue)) drop-shadow(0 0 25px var(--neon-blue)) drop-shadow(0 0 5px var(--neon-yellow)); 
    } 
}

.contact-card h2 {
    font-size: 3rem; /* Increased font size for more impact */
    margin-bottom: 1.5rem;
}

.contact-card p {
    font-size: 1.2rem;
    color: var(--light-gray);
    max-width: 650px;
    margin: 0 auto 3rem auto; /* More space between text and button */
    line-height: 1.7;
}

.contact-card .btn-lg {
    padding: 1rem 3rem;
    font-size: 1.1rem;
    /* The button in the image is primary, but more rounded */
    border-radius: 50px;
}

/* Responsive adjustment for smaller screens */
@media (max-width: 768px) {
    .contact-card h2 {
        font-size: 2.2rem;
    }
    .contact-card p {
        font-size: 1.1rem;
    }
    .contact-card {
        padding: 3rem 1.5rem;
    }
    .contact-icon {
        width: 100px; /* Adjusted size for mobile */
    }
}
.main-footer { padding: 40px 0; text-align: center; border-top: 1px solid rgba(255,255,255,0.1); background-color: #0A092D; }
.footer-logo { width: 120px; opacity: 0.7; margin-bottom: 20px; }
.footer-nav { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 20px; margin-bottom: 20px; }
.footer-nav a { color: var(--text-secondary); text-decoration: none; transition: color 0.3s ease; }
.footer-nav a:hover { color: var(--text-accent); }
.copyright { font-size: 0.9rem; color: rgba(224, 224, 224, 0.5); }

/* --- VIDEO PLAY STYLES --- */
.video-card iframe { position: absolute; top: 0; left: 0; width: 100%; height: 100%; border: none; z-index: 5; }
.video-card.is-playing .video-overlay { opacity: 0; pointer-events: none; }

/* --- AURORA HERO CARD --- */
@keyframes slideInUp { 
    from { transform: translateY(30px); opacity: 0; } 
    to { transform: translateY(0); opacity: 1; } 
}
@keyframes glowPulse { 
    0%, 100% { box-shadow: 0 0 20px rgba(64, 224, 208, 0.2); } 
    50% { box-shadow: 0 0 35px rgba(64, 224, 208, 0.5); } 
}
@keyframes spin { 
    0% { transform: rotate(0deg); } 
    100% { transform: rotate(360deg); } 
}

.aurora-bg {
    position: relative;
    overflow: hidden;
}
.aurora-bg::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 600px;
    height: 600px;
    background-image: radial-gradient(circle, rgba(64, 224, 208, 0.15), transparent 60%);
    transform: translate(-50%, -50%);
    animation: glowPulse 8s infinite ease-in-out;
    z-index: 0;
}
.aurora-bg > * { position: relative; z-index: 1; }

.glow-border-card {
    position: relative;
    background: rgba(10, 9, 45, 0.6);
    border-radius: 12px;
    padding: 4px; /* The "border" width */
    overflow: hidden;
    backdrop-filter: blur(5px);
}
.glow-border-card::before {
    content: '';
    position: absolute;
    top: -50%; left: -50%;
    width: 200%; height: 200%;
    background: conic-gradient(from 180deg at 50% 50%, var(--neon-blue), var(--neon-yellow), var(--neon-blue));
    animation: spin 4s linear infinite;
    z-index: 1;
}
.glow-border-card .content {
    position: relative;
    z-index: 2;
    background: var(--dark-blue);
    padding: 3rem 2rem;
    border-radius: 10px;
    height: 100%;
}

.reveal-text span {
    display: inline-block;
    opacity: 0;
    transform: translateY(20px);
}
.aurora-title {
    font-size: 2.2rem;
    line-height: 1.3;
    margin-bottom: 1.5rem;
    color: var(--text-primary); /* Ensure high contrast */
    text-shadow: 0 0 10px rgba(64, 224, 208, 0.5); /* Enhanced visibility */
}
/* --- STUNNING MODERN MODAL V3 STYLES --- */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, 
        rgba(10, 9, 45, 0.95) 0%, 
        rgba(30, 28, 80, 0.9) 50%, 
        rgba(10, 9, 45, 0.95) 100%);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    opacity: 0;
    visibility: hidden;
    transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* Animated Background Particles */
.modal-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    pointer-events: none;
}

.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: var(--neon-blue);
    border-radius: 50%;
    animation: particleFloat 8s infinite linear;
    opacity: 0.6;
}

.particle:nth-child(1) {
    top: 20%;
    left: 10%;
    animation-delay: 0s;
    animation-duration: 12s;
}

.particle:nth-child(2) {
    top: 60%;
    left: 80%;
    animation-delay: 2s;
    animation-duration: 15s;
}

.particle:nth-child(3) {
    top: 80%;
    left: 20%;
    animation-delay: 4s;
    animation-duration: 10s;
}

.particle:nth-child(4) {
    top: 30%;
    left: 70%;
    animation-delay: 6s;
    animation-duration: 18s;
}

.particle:nth-child(5) {
    top: 70%;
    left: 30%;
    animation-delay: 8s;
    animation-duration: 14s;
}

.particle:nth-child(6) {
    top: 40%;
    left: 50%;
    animation-delay: 10s;
    animation-duration: 16s;
}

@keyframes particleFloat {
    0% {
        transform: translateY(0px) translateX(0px) rotate(0deg);
        opacity: 0;
    }
    10% {
        opacity: 0.6;
    }
    90% {
        opacity: 0.6;
    }
    100% {
        transform: translateY(-100px) translateX(50px) rotate(360deg);
        opacity: 0;
    }
}

.modal-content {
    position: relative;
    background: rgba(10, 9, 45, 0.8);
    border: 1px solid rgba(64, 224, 208, 0.2);
    border-radius: 20px;
    padding: 2.5rem;
    max-width: 600px;
    width: 90%;
    max-height: 90vh;
    text-align: center;
    box-shadow: 
        0 20px 60px rgba(0, 0, 0, 0.5),
        0 0 0 1px rgba(64, 224, 208, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    transform: scale(0.9) translateY(20px);
    transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    -webkit-overflow-scrolling: touch;
    z-index: 100;
}

.modal-overlay.active .modal-content {
    transform: scale(1) translateY(0);
}

.modal-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, 
        transparent, 
        rgba(64, 224, 208, 0.5), 
        transparent);
}

/* Enhanced Close Button */
.modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    color: var(--light-gray);
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    z-index: 1000;
    pointer-events: auto;
    isolation: isolate;
}

.modal-close:hover {
    background: rgba(64, 224, 208, 0.2);
    border-color: var(--neon-blue);
    color: var(--neon-blue);
    transform: rotate(90deg) scale(1.1);
    box-shadow: 0 0 20px rgba(64, 224, 208, 0.3);
}

/* Header Section */
.modal-header {
    margin-bottom: 2rem;
    flex-shrink: 0;
}

.modal-header h3 {
    font-size: 2rem;
    margin-bottom: 0.75rem;
    color: var(--white);
    font-family: var(--font-heading);
    font-weight: 700;
    background: linear-gradient(135deg, var(--white), var(--neon-blue));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 0 30px rgba(64, 224, 208, 0.3);
}

.modal-header p {
    font-size: 1rem;
    color: var(--light-gray);
    line-height: 1.5;
    max-width: 450px;
    margin: 0 auto;
    opacity: 0.9;
}

/* Action Cards Grid */
.modal-actions-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
    margin-bottom: 1.5rem;
    flex: 1;
    align-items: stretch;
}

.action-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 14px;
    padding: 1rem;
    text-decoration: none;
    color: var(--white);
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    height: 140px;
    width: 100%;
    box-sizing: border-box;
    z-index: 1;
}

.action-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
        transparent, 
        rgba(255, 255, 255, 0.1), 
        transparent);
    transition: left 0.6s ease;
}

.action-card:hover::before {
    left: 100%;
}

.action-card:hover {
    transform: translateY(-8px) scale(1.02);
    border-color: var(--neon-blue);
    box-shadow: 
        0 20px 40px rgba(0, 0, 0, 0.3),
        0 0 0 1px rgba(64, 224, 208, 0.3),
        0 0 30px rgba(64, 224, 208, 0.2);
}

.action-card:focus {
    outline: 3px solid var(--neon-blue);
    outline-offset: 2px;
    box-shadow: 
        0 0 0 4px rgba(64, 224, 208, 0.2),
        0 20px 40px rgba(0, 0, 0, 0.3);
}

/* Card Icons */
.card-icon {
    margin-bottom: 0.4rem;
    padding: 6px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.action-card:hover .card-icon {
    background: rgba(64, 224, 208, 0.2);
    transform: scale(1.1);
}

.card-icon svg {
    color: var(--neon-blue);
    transition: color 0.3s ease;
}

.action-card:hover .card-icon svg {
    color: var(--white);
}

/* Card Content */
.card-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 100%;
}

.card-content h4 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 0.3rem;
    color: var(--white);
    font-family: var(--font-heading);
    flex-shrink: 0;
}

.card-content p {
    font-size: 0.8rem;
    color: var(--light-gray);
    line-height: 1.2;
    margin: 0;
    opacity: 0.8;
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 0.25rem;
}

/* Card Arrow */
.card-arrow {
    position: absolute;
    top: 1rem;
    right: 1rem;
    opacity: 0;
    transform: translateX(-10px);
    transition: all 0.3s ease;
}

.action-card:hover .card-arrow {
    opacity: 1;
    transform: translateX(0);
}

.card-arrow svg {
    color: var(--neon-blue);
}

/* Card Variants */
.community-card:hover {
    border-color: var(--neon-blue);
    box-shadow: 0 20px 40px rgba(64, 224, 208, 0.2);
}

.schedule-card:hover {
    border-color: var(--neon-yellow);
    box-shadow: 0 20px 40px rgba(255, 215, 0, 0.2);
}

.contact-card:hover {
    border-color: var(--neon-blue);
    box-shadow: 0 20px 40px rgba(64, 224, 208, 0.2);
}

.call-card:hover {
    border-color: var(--neon-yellow);
    box-shadow: 0 20px 40px rgba(255, 215, 0, 0.2);
}

/* Footer Note */
.modal-footer {
    margin-top: 1.5rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    flex-shrink: 0;
}

.modal-footer p {
    font-size: 0.9rem;
    color: var(--text-accent);
    font-weight: 600;
    margin: 0;
    opacity: 0.9;
}

/* Mobile Responsive Design */
@media (max-width: 768px) {
    .modal-content {
        padding: 1.5rem 1rem;
        margin: 0.5rem;
        max-width: calc(100vw - 1rem);
        border-radius: 16px;
        max-height: 85vh;
        -webkit-overflow-scrolling: touch;
    }
    
    .modal-header h3 {
        font-size: 1.8rem;
    }
    
    .modal-header p {
        font-size: 0.95rem;
    }
    
    .modal-actions-grid {
        grid-template-columns: 1fr;
        gap: 0.75rem;
        align-items: stretch;
    }
    
    .action-card {
        height: 120px;
        padding: 0.875rem;
        width: 100%;
        min-height: 44px;
        min-width: 44px;
    }
    
    .card-content h4 {
        font-size: 0.95rem;
    }
    
    .card-content p {
        font-size: 0.75rem;
    }
    
    .modal-close {
        top: 12px;
        right: 12px;
        width: 44px;
        height: 44px;
        min-height: 44px;
        min-width: 44px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .modal-footer p {
        font-size: 0.85rem;
    }
}

@media (max-width: 480px) {
    .modal-content {
        padding: 1.25rem 0.75rem;
        margin: 0.25rem;
        max-width: calc(100vw - 0.5rem);
        max-height: 98vh;
    }
    
    .modal-header h3 {
        font-size: 1.6rem;
    }
    
    .modal-header p {
        font-size: 0.9rem;
    }
    
    .action-card {
        height: 110px;
        padding: 0.75rem;
        width: 100%;
        min-height: 44px;
        min-width: 44px;
    }
    
    .card-content h4 {
        font-size: 0.9rem;
    }
    
    .card-content p {
        font-size: 0.7rem;
    }
    
    .card-icon {
        padding: 8px;
        min-height: 44px;
        min-width: 44px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .card-icon svg {
        width: 20px;
        height: 20px;
    }
}

/* Tablet Optimizations */
@media (min-width: 769px) and (max-width: 1024px) {
    .modal-content {
        padding: 2.5rem 2rem;
        max-width: 600px;
    }
    
    .modal-actions-grid {
        gap: 1.25rem;
    }
}

/* Large Screen Enhancements */
@media (min-width: 1025px) {
    .modal-content {
        padding: 3rem 2.5rem;
        max-width: 700px;
    }
    
    .modal-actions-grid {
        gap: 1.5rem;
        align-items: stretch;
    }
    
    .action-card {
        height: 160px;
        padding: 1.5rem;
        width: 100%;
    }
    
    .card-content h4 {
        font-size: 1.1rem;
    }
    
    .card-content p {
        font-size: 0.9rem;
    }
}

/* --- RESPONSIVE DESIGN --- */
@media (min-width: 992px) {
    /* Community Card Desktop Layout */
    .promo-card {
        display: flex;
        align-items: center;
        text-align: left;
        max-width: 950px;
        padding: 3rem;
    }
    .promo-image {
        flex: 0 0 320px;
        width: 320px;
        max-width: none;
        margin: 0;
        margin-right: 3.5rem;
    }
    .promo-content {
        flex: 1 1 auto;
        padding: 0;
    }
    .promo-title,
    .promo-description {
        margin-left: 0;
        margin-right: 0;
    }
    .features {
        justify-content: flex-start;
    }
}

@media (min-width: 1025px) {
    #packages .tabs-container { flex-wrap: wrap; justify-content: center; overflow-x: visible; scrollbar-width: none; }
    #packages .tabs-container::-webkit-scrollbar { display: none; }
}

@media (max-width: 1024px) { /* Tablet Styles */
    h1 { font-size: 3rem; } 
    h2 { font-size: 2.2rem; } 
    .video-grid { grid-template-columns: 1fr 1fr; } 
    .promo-title { font-size: 2.5rem; }
    .step { grid-template-columns: 1fr; }
    .step:nth-child(even) .step-content { grid-column: 1; text-align: left; }
    .step:nth-child(even) .step-image-container { grid-column: 1; }
    .step:nth-child(even) .step-number { left: 40px; right: auto; }
}

@media (max-width: 768px) { /* Mobile Styles */
    h1 { font-size: 3.2rem; line-height: 1.2; } 
    h2 { font-size: 2.2rem; line-height: 1.3; }
    h3 { font-size: 1.6rem; line-height: 1.4; }
    p { font-size: 1.1rem; line-height: 1.6; }
    
    .stats-section {
        padding: 60px 0;
    }
    
    section {
        padding: 80px 0;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
        gap: 30px;
        padding: 0 20px;
    }
    
    .stat-item {
        padding: 30px 20px;
    }
    
    .stat-number {
        font-size: 2.5rem;
    }
    
    .trust-logos {
        gap: 20px;
    }
    
    .hero-badge {
        top: 10px;
        padding: 3px 8px;
        transform: scale(0.8);
        transform-origin: center;
        border: none;
        background: transparent;
        animation: none;
    }

    .hero-badge span {
        font-size: 0.6rem;
    }
    
    .hero-trust {
        bottom: 20px;
    }
    
    .floating-cta {
        bottom: 20px;
        right: 20px;
    }
    
    .floating-cta-btn {
        padding: 16px 24px;
        font-size: 1rem;
        min-height: 44px;
        min-width: 44px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .cta-text {
        display: none;
    }
    
    /* Mobile Navigation - Enhanced Design */
    .main-nav { 
        visibility: hidden; 
        position: fixed; 
        top: 0; 
        left: 0; 
        width: 100%; 
        height: 100vh; 
        background: linear-gradient(135deg, 
            rgba(10, 9, 45, 0.98) 0%, 
            rgba(30, 28, 80, 0.95) 50%, 
            rgba(10, 9, 45, 0.98) 100%);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        flex-direction: column; 
        justify-content: center; 
        align-items: center; 
        z-index: 1000;
        opacity: 0;
        transform: translateY(-100%) scale(0.95);
        transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94), visibility 0.5s ease;
        overflow: hidden;
        display: flex;
    }
    
    .main-nav::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: 
            radial-gradient(circle at 20% 20%, rgba(64, 224, 208, 0.1) 0%, transparent 50%),
            radial-gradient(circle at 80% 80%, rgba(255, 215, 0, 0.05) 0%, transparent 50%);
        pointer-events: none;
        z-index: -1;
    }
    
    .main-nav.active { 
        visibility: visible;
        opacity: 1;
        transform: translateY(0) scale(1);
    }
    
    .main-nav ul {
        flex-direction: column;
        gap: 20px;
        text-align: center;
        position: relative;
        z-index: 2;
        padding: 20px;
        max-height: 80vh;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
    }
    
    .main-nav li { 
        margin: 0;
        opacity: 0;
        transform: translateY(30px) scale(0.9);
        transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
        position: relative;
    }
    
    .main-nav.active li {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
    
    .main-nav li:nth-child(1) { transition-delay: 0.1s; }
    .main-nav li:nth-child(2) { transition-delay: 0.15s; }
    .main-nav li:nth-child(3) { transition-delay: 0.2s; }
    .main-nav li:nth-child(4) { transition-delay: 0.25s; }
    .main-nav li:nth-child(5) { transition-delay: 0.3s; }
    .main-nav li:nth-child(6) { transition-delay: 0.35s; }
    
    .main-nav a { 
        font-size: 1.4rem; 
        font-weight: 600;
        padding: 20px 30px;
        border-radius: 15px;
        transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
        display: block;
        position: relative;
        overflow: hidden;
        background: rgba(255, 255, 255, 0.03);
        border: 1px solid rgba(255, 255, 255, 0.1);
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
        min-height: 44px;
        min-width: 44px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .main-nav a::before {
        content: '';
        position: absolute;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100%;
        background: linear-gradient(90deg, 
            transparent, 
            rgba(64, 224, 208, 0.1), 
            transparent);
        transition: left 0.5s ease;
        z-index: -1;
    }
    
    .main-nav a:hover::before {
        left: 100%;
    }
    
    .main-nav a:not(.btn):hover {
        background: rgba(64, 224, 208, 0.1);
        color: var(--neon-blue);
        transform: translateX(8px) scale(1.02);
        border-color: rgba(64, 224, 208, 0.3);
        box-shadow: 
            0 8px 25px rgba(64, 224, 208, 0.2),
            0 0 0 1px rgba(64, 224, 208, 0.1);
    }
    
    .main-nav a:not(.btn):active {
        transform: translateX(4px) scale(0.98);
        transition: all 0.1s ease;
    }
    
    .main-nav .btn {
        background: linear-gradient(135deg, var(--neon-blue), #30d0c0);
        color: var(--dark-blue);
        font-size: 1.4rem;
        padding: 18px 45px;
        border-radius: 50px;
        box-shadow: 
            0 8px 25px rgba(64, 224, 208, 0.3),
            0 0 0 1px rgba(64, 224, 208, 0.2);
        border: none;
        position: relative;
        overflow: hidden;
    }
    
    .main-nav .btn::before {
        content: '';
        position: absolute;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100%;
        background: linear-gradient(90deg, 
            transparent, 
            rgba(255, 255, 255, 0.2), 
            transparent);
        transition: left 0.5s ease;
        z-index: 1;
    }
    
    .main-nav .btn:hover::before {
        left: 100%;
    }
    
    .main-nav .btn:hover {
        background: linear-gradient(135deg, var(--white), #f0f0f0);
        transform: translateY(-3px) scale(1.05);
        box-shadow: 
            0 12px 35px rgba(64, 224, 208, 0.4),
            0 0 0 1px rgba(64, 224, 208, 0.3);
    }
    
    .main-nav .btn:active {
        transform: translateY(-1px) scale(1.02);
        transition: all 0.1s ease;
    }
    
    .mobile-nav-toggle { 
        display: block; 
        z-index: 1001; 
        background: rgba(255, 255, 255, 0.05);
        border: 1px solid rgba(255, 255, 255, 0.1);
        cursor: pointer;
        padding: 16px;
        border-radius: 12px;
        transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
        position: relative;
        overflow: hidden;
        min-height: 44px;
        min-width: 44px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .mobile-nav-toggle::before {
        content: '';
        position: absolute;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100%;
        background: linear-gradient(90deg, 
            transparent, 
            rgba(64, 224, 208, 0.1), 
            transparent);
        transition: left 0.5s ease;
        z-index: -1;
    }
    
    .mobile-nav-toggle:hover::before {
        left: 100%;
    }
    
    .mobile-nav-toggle:hover {
        background: rgba(64, 224, 208, 0.1);
        border-color: rgba(64, 224, 208, 0.3);
        transform: scale(1.05);
        box-shadow: 0 5px 15px rgba(64, 224, 208, 0.2);
    }
    
    .mobile-nav-toggle:active {
        transform: scale(0.95);
        transition: all 0.1s ease;
    }
    
    .hamburger, .close { 
        color: var(--white); 
        width: 28px; 
        height: 28px;
        transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
        filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
    }
    
    .close { 
        display: none; 
        transform: rotate(180deg);
    }
    
    .mobile-nav-toggle:hover .hamburger,
    .mobile-nav-toggle:hover .close {
        color: var(--neon-blue);
        transform: scale(1.1);
    }
    
    /* Enhanced mobile menu close animation */
    .main-nav:not(.active) {
        pointer-events: none;
    }
    
    .main-nav:not(.active) li {
        transition-delay: 0s !important;
    }
    
    /* Floating particles effect for mobile menu */
    .main-nav::after {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background-image: 
            radial-gradient(2px 2px at 20px 30px, rgba(64, 224, 208, 0.3), transparent),
            radial-gradient(2px 2px at 40px 70px, rgba(255, 215, 0, 0.2), transparent),
            radial-gradient(1px 1px at 90px 40px, rgba(64, 224, 208, 0.4), transparent),
            radial-gradient(1px 1px at 130px 80px, rgba(255, 215, 0, 0.3), transparent),
            radial-gradient(2px 2px at 160px 30px, rgba(64, 224, 208, 0.2), transparent);
        background-repeat: repeat;
        background-size: 200px 100px;
        animation: menuFloat 20s linear infinite;
        opacity: 0.6;
        pointer-events: none;
        z-index: 1;
    }
    
    @keyframes menuFloat {
        0%, 100% { transform: translateY(0px) rotate(0deg); }
        50% { transform: translateY(-50px) rotate(180deg); }
    }
    
    /* Enhanced mobile menu item animations */
    .main-nav li {
        position: relative;
    }
    
    .main-nav li::before {
        content: '';
        position: absolute;
        top: 50%;
        left: -20px;
        width: 0;
        height: 2px;
        background: linear-gradient(90deg, transparent, var(--neon-blue), transparent);
        transform: translateY(-50%);
        transition: width 0.3s ease;
        opacity: 0;
    }
    
    .main-nav li:hover::before {
        width: 15px;
        opacity: 1;
    }
    
    /* Mobile menu backdrop blur effect */
    .main-nav.active + .main-header {
        backdrop-filter: blur(5px);
        -webkit-backdrop-filter: blur(5px);
    }
    
    /* Enhanced mobile menu button states */
    .mobile-nav-toggle.active {
        background: rgba(64, 224, 208, 0.15);
        border-color: rgba(64, 224, 208, 0.4);
        box-shadow: 0 0 20px rgba(64, 224, 208, 0.3);
    }
    
    /* Mobile menu link focus states for accessibility */
    .main-nav a:focus {
        outline: 2px solid var(--neon-blue);
        outline-offset: 2px;
        box-shadow: 0 0 0 4px rgba(64, 224, 208, 0.1);
    }
    
    /* Mobile menu button focus states for accessibility */
    .mobile-nav-toggle:focus {
        outline: 2px solid var(--neon-blue);
        outline-offset: 2px;
        box-shadow: 0 0 0 4px rgba(64, 224, 208, 0.1);
    }
    
    /* Smooth scroll behavior for mobile menu links */
    .main-nav a[href^="#"] {
        scroll-behavior: smooth;
    }
    
    /* Mobile menu performance optimizations */
    .main-nav * {
        will-change: transform, opacity;
    }
    
    /* Mobile menu loading state */
    .main-nav.loading {
        pointer-events: none;
    }
    
    .main-nav.loading::after {
        content: '';
        position: absolute;
        top: 50%;
        left: 50%;
        width: 40px;
        height: 40px;
        margin: -20px 0 0 -20px;
        border: 3px solid rgba(64, 224, 208, 0.3);
        border-top: 3px solid var(--neon-blue);
        border-radius: 50%;
        animation: spin 1s linear infinite;
        z-index: 10;
    }
    
    #about .container, .video-grid { grid-template-columns: 1fr; }
    #packages .plan-details-card { flex-direction: column; padding: 2rem; }
    #packages .plan-info { padding-right: 0; margin-bottom: 2rem; }
    #packages .plan-features { padding-left: 0; border-left: none; border-top: 1px solid rgba(255, 255, 255, 0.2); padding-top: 2rem; }
    #packages .popular-tag-top, #packages .value-tag-top { right: 1rem; }
    .promo-title { font-size: 2.4rem; line-height: 1.2; }
    .hero-buttons {
        gap: 15px;
        flex-direction: column;
        align-items: center;
        width: 100%;
        max-width: 250px;
        margin: 0 auto 40px;
    }
    
    .hero-buttons .btn {
        width: 100%;
        justify-content: center;
        padding: 12px 20px;
        font-size: 1rem;
        min-height: 44px;
        touch-action: manipulation;
    }

    .hero-content p {
        font-size: 1rem;
        line-height: 1.5;
    }

    .step-content { padding: 30px 20px; }
    .step-number { font-size: 4rem; top: 30px; left: 20px; }
    .step:nth-child(even) .step-number { left: auto; right: 20px; }
    
    /* NEW: Mobile-specific episode section improvements */
    .scroll-indicator {
        margin-bottom: 1.5rem;
    }
    
    /* REMOVED: Mobile scroll-hint styles - element removed from HTML
    .scroll-hint {
        font-size: 0.8rem;
    }
    */
    
    .nav-arrow {
        opacity: 0.8;
        visibility: visible;
        width: 50px;
        height: 50px;
        background: rgba(10, 9, 45, 0.9);
        border: 1px solid rgba(64, 224, 208, 0.4);
        min-height: 44px;
        min-width: 44px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .nav-arrow svg {
        width: 22px;
        height: 22px;
    }
    
    .nav-arrow-left {
        left: 10px;
    }
    
    .nav-arrow-right {
        right: 10px;
    }
    
    .scroll-progress {
        width: 150px;
        bottom: 15px;
    }
    
    .continuum-container {
        height: 480px;
        touch-action: pan-y pan-x;
        -webkit-overflow-scrolling: touch;
    }
    
    .card-reveal {
        width: 280px;
        height: 420px;
        touch-action: pan-y pinch-zoom;
    }
}

/* ======================================== */
/* LEGAL DISCLAIMER MODAL */
/* ======================================== */

.privacy-modal-legal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(10, 9, 45, 0.9);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    z-index: 10001;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    padding: 20px;
    overflow-y: auto;
}

.privacy-modal-legal-overlay.show {
    opacity: 1;
    visibility: visible;
}

.privacy-modal-legal-content {
    background: linear-gradient(135deg,
        rgba(10, 9, 45, 0.98) 0%,
        rgba(30, 28, 80, 0.95) 50%,
        rgba(10, 9, 45, 0.98) 100%);
    border: 1px solid rgba(64, 224, 208, 0.3);
    border-radius: 16px;
    max-width: 700px;
    max-height: 90vh;
    width: 100%;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    transform: scale(0.9) translateY(20px);
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
    overflow-y: auto;
}

.privacy-modal-legal-overlay.show .privacy-modal-legal-content {
    transform: scale(1) translateY(0);
}

.privacy-modal-legal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 25px 30px;
    border-bottom: 1px solid rgba(64, 224, 208, 0.2);
    position: sticky;
    top: 0;
    background: inherit;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    z-index: 1;
}

.privacy-legal-title {
    color: var(--text-accent);
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0;
    text-shadow: 0 0 10px rgba(64, 224, 208, 0.3);
}

.privacy-legal-close {
    background: none;
    border: none;
    color: var(--text-secondary);
    cursor: pointer;
    padding: 8px;
    border-radius: 50%;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.privacy-legal-close:hover {
    background-color: rgba(64, 224, 208, 0.1);
    color: var(--text-accent);
    transform: scale(1.1);
}

.privacy-legal-description {
    padding: 30px;
    color: var(--text-secondary);
    line-height: 1.6;
    max-height: calc(90vh - 120px);
    overflow-y: auto;
}

.legal-section {
    margin-bottom: 20px;
    padding: 18px;
    background: rgba(64, 224, 208, 0.05);
    border: 1px solid rgba(64, 224, 208, 0.2);
    border-radius: 12px;
}

.legal-section h4 {
    color: var(--text-accent);
    font-size: 1.1rem;
    font-weight: 600;
    margin: 0 0 12px 0;
    text-shadow: 0 0 5px rgba(64, 224, 208, 0.3);
    line-height: 1.3;
}

.legal-section p {
    margin-bottom: 15px;
    font-size: 0.95rem;
    opacity: 0.9;
}

.legal-section ul {
    margin: 0;
    padding-left: 20px;
}

.legal-section li {
    margin-bottom: 8px;
    font-size: 0.9rem;
    line-height: 1.5;
}

.legal-section li strong {
    color: var(--neon-yellow);
}

.legal-disclaimer {
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.1), rgba(64, 224, 208, 0.1));
    border: 2px solid var(--neon-yellow);
    border-radius: 12px;
    padding: 20px;
    margin: 25px 0;
}

.legal-disclaimer h4 {
    color: var(--neon-yellow);
    font-size: 1.2rem;
    font-weight: 600;
    margin: 0 0 15px 0;
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
}

.legal-disclaimer h5 {
    color: var(--neon-blue);
    font-size: 1rem;
    font-weight: 600;
    margin: 20px 0 8px 0;
    text-shadow: 0 0 5px rgba(64, 224, 208, 0.3);
}

.legal-disclaimer h6 {
    color: var(--text-accent);
    font-size: 0.95rem;
    font-weight: 600;
    margin: 15px 0 6px 0;
    text-shadow: 0 0 3px rgba(64, 224, 208, 0.2);
    border-left: 3px solid var(--neon-blue);
    padding-left: 10px;
}

.legal-disclaimer p {
    margin-bottom: 12px;
    font-size: 0.9rem;
    line-height: 1.5;
    opacity: 0.95;
}

.legal-disclaimer p:last-child {
    font-size: 0.85rem;
    opacity: 0.8;
    font-style: italic;
    margin-top: 15px;
}


.privacy-legal-actions {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 25px;
    padding-top: 20px;
    border-top: 1px solid rgba(64, 224, 208, 0.2);
}

.privacy-legal-actions .btn {
    min-width: 160px;
    font-size: 0.9rem;
    padding: 12px 24px;
}

/* ======================================== */
/* SIMPLE PRIVACY MODAL */
/* ======================================== */

.privacy-modal-simple-overlay {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(135deg,
        rgba(10, 9, 45, 0.98) 0%,
        rgba(30, 28, 80, 0.95) 50%,
        rgba(10, 9, 45, 0.98) 100%);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-top: 1px solid rgba(64, 224, 208, 0.3);
    box-shadow: 0 -4px 30px rgba(0, 0, 0, 0.3);
    z-index: 10000;
    transform: translateY(100%);
    opacity: 0;
    visibility: hidden;
    transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    padding: 6px 0;
}

.privacy-modal-simple-overlay.show {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
}

.privacy-modal-simple-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 8px 16px;
    position: relative;
}

.privacy-modal-simple-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 4px 0 8px 0;
    border-bottom: 1px solid rgba(64, 224, 208, 0.2);
    margin-bottom: 8px;
}

.privacy-simple-title {
    color: var(--text-accent);
    font-size: 1rem;
    font-weight: 700;
    margin: 0;
    text-shadow: 0 0 10px rgba(64, 224, 208, 0.3);
}

.privacy-simple-close {
    background: none;
    border: none;
    color: var(--text-secondary);
    cursor: pointer;
    padding: 8px;
    border-radius: 50%;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.privacy-simple-close:hover {
    background-color: rgba(64, 224, 208, 0.1);
    color: var(--text-accent);
    transform: scale(1.1);
}

.privacy-simple-description {
    padding: 6px 0 8px 0;
    color: var(--text-secondary);
    line-height: 1.4;
    text-align: center;
}

.privacy-simple-description p {
    margin-bottom: 8px;
    font-size: 0.85rem;
    opacity: 0.9;
}

.privacy-simple-options {
    display: flex;
    gap: 8px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 6px;
}

.privacy-simple-options .btn {
    min-width: 90px;
    font-size: 0.8rem;
    padding: 6px 12px;
    border-radius: 16px;
    font-weight: 600;
}

.privacy-simple-links {
    text-align: center;
    margin-top: 4px;
}

.privacy-simple-link {
    color: var(--text-accent);
    text-decoration: none;
    font-size: 0.75rem;
    font-weight: 500;
    padding: 3px 10px;
    border-radius: 12px;
    transition: all 0.3s ease;
    display: inline-block;
}

.privacy-simple-link:hover {
    background: rgba(64, 224, 208, 0.1);
    transform: translateY(-1px);
}

/* ======================================== */
/* PRIVACY NOTIFICATION BANNER */
/* ======================================== */

.privacy-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(135deg,
        rgba(10, 9, 45, 0.98) 0%,
        rgba(30, 28, 80, 0.95) 50%,
        rgba(10, 9, 45, 0.98) 100%);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-top: 1px solid rgba(64, 224, 208, 0.3);
    box-shadow: 0 -4px 30px rgba(0, 0, 0, 0.3);
    z-index: 10000;
    transform: translateY(100%);
    opacity: 0;
    transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    max-height: 90vh;
    overflow-y: auto;
}

.privacy-banner.show {
    transform: translateY(0);
    opacity: 1;
}

.privacy-banner-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.privacy-banner-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    border-bottom: 1px solid rgba(64, 224, 208, 0.2);
    padding-bottom: 15px;
}

.privacy-title {
    color: var(--text-accent);
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0;
    text-shadow: 0 0 10px rgba(64, 224, 208, 0.3);
}

.privacy-close {
    background: none;
    border: none;
    color: var(--text-secondary);
    cursor: pointer;
    padding: 8px;
    border-radius: 50%;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.privacy-close:hover {
    background-color: rgba(64, 224, 208, 0.1);
    color: var(--text-accent);
    transform: scale(1.1);
}

.privacy-description {
    color: var(--text-secondary);
    line-height: 1.6;
}

.privacy-description p {
    margin-bottom: 20px;
    font-size: 1rem;
}

.privacy-services {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin: 25px 0;
}

.privacy-service {
    background: rgba(64, 224, 208, 0.05);
    border: 1px solid rgba(64, 224, 208, 0.2);
    border-radius: 12px;
    padding: 20px;
    transition: all 0.3s ease;
}

.privacy-service:hover {
    border-color: var(--neon-blue);
    box-shadow: 0 0 20px rgba(64, 224, 208, 0.2);
}

.privacy-service h4 {
    color: var(--text-accent);
    font-size: 1.1rem;
    font-weight: 600;
    margin: 0 0 10px 0;
}

.privacy-service p {
    margin: 0;
    font-size: 0.9rem;
    color: var(--text-secondary);
    opacity: 0.9;
}

.privacy-data-types {
    background: rgba(255, 215, 0, 0.05);
    border: 1px solid rgba(255, 215, 0, 0.2);
    border-radius: 12px;
    padding: 20px;
    margin: 25px 0;
}

.privacy-data-types h4 {
    color: var(--neon-yellow);
    font-size: 1.1rem;
    font-weight: 600;
    margin: 0 0 15px 0;
}

.privacy-data-types ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.privacy-data-types li {
    color: var(--text-secondary);
    margin-bottom: 10px;
    font-size: 0.9rem;
    line-height: 1.5;
}

.privacy-data-types li strong {
    color: var(--text-accent);
}

.privacy-consent-options {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    margin: 25px 0;
    justify-content: center;
}

.privacy-consent-options .btn {
    min-width: 140px;
    font-size: 0.9rem;
    padding: 12px 20px;
}

.privacy-links {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid rgba(64, 224, 208, 0.1);
}

.privacy-link {
    color: var(--text-accent);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.3s ease;
    padding: 5px 10px;
    border-radius: 6px;
}

.privacy-link:hover {
    background: rgba(64, 224, 208, 0.1);
    transform: translateY(-1px);
}

/* ======================================== */
/* PRIVACY MODAL */
/* ======================================== */

.privacy-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(10, 9, 45, 0.9);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    z-index: 10001;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    padding: 20px;
}

.privacy-modal-overlay.show {
    opacity: 1;
    visibility: visible;
}

.privacy-modal-content {
    background: linear-gradient(135deg,
        rgba(10, 9, 45, 0.98) 0%,
        rgba(30, 28, 80, 0.95) 50%,
        rgba(10, 9, 45, 0.98) 100%);
    border: 1px solid rgba(64, 224, 208, 0.3);
    border-radius: 16px;
    max-width: 600px;
    max-height: 90vh;
    overflow-y: auto;
    width: 100%;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    transform: scale(0.9) translateY(20px);
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.privacy-modal-overlay.show .privacy-modal-content {
    transform: scale(1) translateY(0);
}

.privacy-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 25px;
    border-bottom: 1px solid rgba(64, 224, 208, 0.2);
}

.privacy-modal-header h3 {
    color: var(--text-accent);
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0;
    text-shadow: 0 0 10px rgba(64, 224, 208, 0.3);
}

.privacy-modal-close {
    background: none;
    border: none;
    color: var(--text-secondary);
    cursor: pointer;
    padding: 8px;
    border-radius: 50%;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.privacy-modal-close:hover {
    background-color: rgba(64, 224, 208, 0.1);
    color: var(--text-accent);
    transform: scale(1.1);
}

.privacy-settings-content {
    padding: 25px;
}

.privacy-setting-group {
    margin-bottom: 30px;
}

.privacy-setting-item {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 20px;
    padding: 20px 0;
    border-bottom: 1px solid rgba(64, 224, 208, 0.1);
}

.privacy-setting-item:last-child {
    border-bottom: none;
}

.setting-info h4 {
    color: var(--text-accent);
    font-size: 1.1rem;
    font-weight: 600;
    margin: 0 0 8px 0;
}

.setting-info p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin: 0;
    line-height: 1.5;
    opacity: 0.9;
}

/* Toggle Switch */
.toggle-switch {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 24px;
    flex-shrink: 0;
}

.toggle-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.toggle-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(64, 224, 208, 0.2);
    border: 2px solid rgba(64, 224, 208, 0.3);
    transition: all 0.3s ease;
    border-radius: 24px;
}

.toggle-slider:before {
    position: absolute;
    content: "";
    height: 16px;
    width: 16px;
    left: 2px;
    bottom: 2px;
    background: var(--text-secondary);
    transition: all 0.3s ease;
    border-radius: 50%;
}

input:checked + .toggle-slider {
    background: rgba(64, 224, 208, 0.3);
    border-color: var(--neon-blue);
}

input:checked + .toggle-slider:before {
    transform: translateX(26px);
    background: var(--neon-blue);
    box-shadow: 0 0 10px rgba(64, 224, 208, 0.5);
}

.privacy-modal-actions {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
    padding-top: 20px;
    border-top: 1px solid rgba(64, 224, 208, 0.1);
}

.privacy-modal-actions .btn {
    min-width: 160px;
    font-size: 0.9rem;
    padding: 12px 24px;
}

/* ======================================== */
/* LEGAL MODAL MOBILE STYLES */
/* ======================================== */

@media (max-width: 768px) {
    .privacy-modal-legal-content {
        margin: 10px;
        max-width: none;
        max-height: 95vh;
    }

    .privacy-modal-legal-header {
        padding: 20px;
    }

    .privacy-legal-title {
        font-size: 1.3rem;
    }

    .privacy-legal-description {
        padding: 20px;
        max-height: calc(95vh - 100px);
    }

    .legal-section {
        padding: 15px;
        margin-bottom: 18px;
    }

    .legal-section h4 {
        font-size: 1rem;
        margin-bottom: 10px;
    }

    .legal-section p {
        font-size: 0.9rem;
        margin-bottom: 12px;
    }

    .legal-disclaimer {
        padding: 18px;
        margin: 20px 0;
    }

    .privacy-legal-actions {
        flex-direction: row;
        gap: 12px;
        padding-top: 18px;
        margin-top: 20px;
        justify-content: center;
        flex-wrap: wrap;
    }

    .privacy-legal-actions .btn {
        flex: 1;
        min-width: 140px;
        max-width: 200px;
        font-size: 0.85rem;
        padding: 10px 16px;
    }
}

@media (max-width: 480px) {
    .privacy-modal-legal-overlay {
        padding: 5px;
    }

    .privacy-modal-legal-content {
        margin: 5px;
        max-height: 98vh;
    }

    .privacy-modal-legal-header {
        padding: 15px;
    }

    .privacy-legal-title {
        font-size: 1.2rem;
    }

    .privacy-legal-description {
        padding: 15px;
        max-height: calc(98vh - 80px);
    }

    .legal-section {
        padding: 12px;
        margin-bottom: 15px;
    }

    .legal-section h4 {
        font-size: 0.95rem;
        margin-bottom: 8px;
    }

    .legal-section p {
        font-size: 0.85rem;
        margin-bottom: 10px;
    }

    .legal-section li {
        font-size: 0.8rem;
        margin-bottom: 6px;
    }

    .legal-disclaimer {
        padding: 15px;
        margin: 18px 0;
    }

    .legal-disclaimer h4 {
        font-size: 1.1rem;
    }

    .legal-disclaimer h5 {
        font-size: 0.95rem;
        margin: 15px 0 6px 0;
    }

    .legal-disclaimer h6 {
        font-size: 0.9rem;
        margin: 12px 0 5px 0;
        padding-left: 8px;
    }

    .legal-disclaimer p {
        font-size: 0.85rem;
        margin-bottom: 10px;
    }

    .privacy-legal-actions {
        flex-direction: row;
        gap: 8px;
        padding-top: 15px;
        margin-top: 18px;
        justify-content: center;
        flex-wrap: wrap;
    }

    .privacy-legal-actions .btn {
        flex: 1;
        min-width: 120px;
        max-width: 180px;
        font-size: 0.75rem;
        padding: 8px 12px;
    }
}

/* ======================================== */
/* SIMPLE BANNER MOBILE STYLES */
/* ======================================== */

@media (max-width: 768px) {
    .privacy-modal-simple-overlay {
        padding: 4px;
    }

    .privacy-modal-simple-content {
        padding: 4px 8px;
    }

    .privacy-modal-simple-header {
        padding: 2px 0 4px 0;
        margin-bottom: 4px;
    }

    .privacy-simple-title {
        font-size: 0.9rem;
    }

    .privacy-simple-description {
        padding: 2px 0;
    }

    .privacy-simple-description p {
        margin-bottom: 4px;
        font-size: 0.75rem;
        line-height: 1.3;
    }

    .privacy-simple-options {
        flex-direction: row;
        justify-content: center;
        gap: 6px;
        margin: 4px 0;
        flex-wrap: wrap;
    }

    .privacy-simple-options .btn {
        flex: 1;
        min-width: 90px;
        max-width: 120px;
        font-size: 0.75rem;
        padding: 6px 12px;
    }
}

@media (max-width: 480px) {
    .privacy-modal-simple-overlay {
        padding: 2px;
    }

    .privacy-modal-simple-content {
        padding: 2px 6px;
    }

    .privacy-modal-simple-header {
        padding: 1px 0 3px 0;
        margin-bottom: 3px;
    }

    .privacy-simple-title {
        font-size: 0.85rem;
    }

    .privacy-simple-description {
        padding: 1px 0;
    }

    .privacy-simple-description p {
        font-size: 0.7rem;
        margin-bottom: 3px;
        line-height: 1.2;
    }

    .privacy-simple-options {
        flex-direction: row;
        justify-content: center;
        gap: 4px;
        margin: 3px 0;
        flex-wrap: wrap;
    }

    .privacy-simple-options .btn {
        flex: 1;
        min-width: 80px;
        max-width: 100px;
        font-size: 0.7rem;
        padding: 5px 8px;
    }

    .privacy-simple-links {
        margin-top: 2px;
    }

    .privacy-simple-link {
        font-size: 0.65rem;
        padding: 1px 4px;
    }

    .legal-disclaimer h4 {
        font-size: 1rem;
    }

    .legal-disclaimer h5 {
        font-size: 0.9rem;
        margin: 12px 0 5px 0;
    }

    .legal-disclaimer h6 {
        font-size: 0.85rem;
        margin: 10px 0 4px 0;
        padding-left: 6px;
    }

    .legal-disclaimer p {
        font-size: 0.8rem;
        margin-bottom: 8px;
    }
}

/* ======================================== */
/* MOBILE RESPONSIVE PRIVACY STYLES */
/* ======================================== */

@media (max-width: 768px) {
    .privacy-banner-content {
        padding: 15px;
    }

    .privacy-banner-header {
        margin-bottom: 15px;
        padding-bottom: 10px;
    }

    .privacy-title {
        font-size: 1.3rem;
    }

    .privacy-services {
        grid-template-columns: 1fr;
        gap: 15px;
        margin: 20px 0;
    }

    .privacy-service {
        padding: 15px;
    }

    .privacy-data-types {
        padding: 15px;
        margin: 20px 0;
    }

    .privacy-consent-options {
        flex-direction: column;
        align-items: center;
        margin: 20px 0;
    }

    .privacy-consent-options .btn {
        width: 100%;
        max-width: 280px;
    }

    .privacy-links {
        gap: 15px;
        margin-top: 15px;
        padding-top: 15px;
    }

    .privacy-link {
        font-size: 0.8rem;
        padding: 8px 12px;
    }

    .privacy-modal-content {
        margin: 10px;
        max-height: 95vh;
    }

    .privacy-modal-header {
        padding: 20px 15px;
    }

    .privacy-modal-header h3 {
        font-size: 1.3rem;
    }

    .privacy-settings-content {
        padding: 20px 15px;
    }

    .privacy-setting-item {
        flex-direction: column;
        gap: 15px;
        padding: 15px 0;
    }

    .toggle-switch {
        align-self: flex-end;
    }

    .privacy-modal-actions {
        flex-direction: column;
        padding-top: 15px;
    }

    .privacy-modal-actions .btn {
        width: 100%;
        max-width: 300px;
    }
}

@media (max-width: 480px) {
    .privacy-banner {
        max-height: 95vh;
    }

    .privacy-banner-content {
        padding: 12px;
    }

    .privacy-title {
        font-size: 1.2rem;
    }

    .privacy-description p {
        font-size: 0.9rem;
    }

    .privacy-service h4,
    .privacy-data-types h4 {
        font-size: 1rem;
    }

    .privacy-service p,
    .privacy-data-types li {
        font-size: 0.85rem;
    }

    .privacy-links {
        flex-direction: column;
        gap: 10px;
        align-items: center;
    }

    .privacy-link {
        font-size: 0.8rem;
    }
}

/* ======================================== */
/* ACCESSIBILITY IMPROVEMENTS */
/* ======================================== */

.privacy-banner:focus-within,
.privacy-modal-overlay:focus-within {
    outline: 2px solid var(--neon-blue);
    outline-offset: 2px;
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .privacy-banner,
    .privacy-modal-content {
        border: 2px solid var(--neon-blue);
    }

    .privacy-service,
    .privacy-data-types {
        border: 2px solid var(--text-accent);
    }
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
    .privacy-banner,
    .privacy-modal-overlay,
    .privacy-modal-content,
    .privacy-service,
    .privacy-close,
    .privacy-modal-close,
    .privacy-link,
    .toggle-slider,
    .toggle-slider:before {
        transition: none;
    }

    .privacy-banner {
        transform: none;
        opacity: 1;
    }

    .privacy-modal-overlay {
        opacity: 1;
    }

    .privacy-modal-content {
        transform: none;
    }
}

/* Integrated Section Styles from integration-demo.css */
#about .container {
    max-width: 1400px;
    margin: auto;
    display: flex;
    align-items: center;
    gap: 4rem;
}

.gallery-side {
    flex: 1;
    height: 600px;
    display: flex;
    gap: 15px;
    position: relative;
    overflow: hidden;
    perspective: 1500px;
}

.text-side {
    flex: 1;
    max-width: 500px;
}

.mission-text {
    color: #00aaff; /* Neon Blue */
    font-weight: 600;
    font-size: 1.1rem;
}

#about h2 {
    font-size: 2.5rem;
    margin-top: 0.5rem;
    margin-bottom: 1.5rem;
}

/* Gallery Column Styles */
.focus-column {
    display: flex;
    flex-direction: column;
    gap: 15px;
    flex-shrink: 0;
    will-change: transform;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.focus-column img {
    width: 200px;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.4);
}

.focus-column.unfocused {
    transform: translateZ(-300px) rotateY(20deg) scale(0.9);
    opacity: 0.5;
}

.focus-column.unfocused.left {
    transform: translateZ(-300px) rotateY(-20deg) scale(0.9);
}

/* Base Animations - Alternating column movement */
/* scrollUp: Column moves UP (negative Y), images scroll upward */
@keyframes scrollUp {
    from { transform: translateY(0); }
    to { transform: translateY(-50%); }
}

/* scrollDown: Column moves DOWN (positive Y), images scroll downward */
/* Start at -50% to show duplicate, move to 0% to show original - creates downward scroll effect */
@keyframes scrollDown {
    from { transform: translateY(-50%); }
    to { transform: translateY(0%); }
}

/* Integrated Section Styles */
#about .container {
    max-width: 1400px;
    margin: auto;
    display: flex;
    align-items: center;
    gap: 4rem;
    position: relative;
}

.aurora-bg {
    text-align: center;
}

/* Duplicate keyframes removed - using consolidated definitions above */

/* --- Mobile Responsiveness for About Section --- */
@media (max-width: 768px) {
    #about {
        padding: 60px 0;
        display: flex;
        flex-direction: column-reverse; /* Text first */
    }

    #about .gallery-side {
        /* Reset desktop styles */
        position: relative;
        width: 100%;
        height: 410px; /* 2 rows of 200px images + 10px gap */
        margin-top: 2rem;
        display: flex;
        flex-direction: column; /* Stack the two rows vertically */
        gap: 10px;
        overflow: hidden;
    }

    #about .gallery-side .focus-column,
    #about .gallery-side .gallery-row {
        /* This is now a row */
        display: flex;
        flex-direction: row;
        width: max-content; /* Allow row to expand for scrolling */
        will-change: transform;
    }

    /* Apply animations to the rows */
    #about .gallery-side .focus-column:nth-child(1),
    #about .gallery-side .gallery-row:nth-child(1) {
        animation: scroll-left 80s linear infinite; /* Slower speed */
    }

    #about .gallery-side .focus-column:nth-child(2),
    #about .gallery-side .gallery-row:nth-child(2) {
        animation: scroll-right 80s linear infinite; /* Slower speed */
    }

    #about .gallery-side .focus-column img,
    #about .gallery-side .gallery-row img {
        width: 200px; /* Match height for a square look */
        height: 200px;
        object-fit: cover;
        margin-right: 10px;
        box-shadow: none; /* Simplify for mobile */
    }

    #about .container {
        /* Reset desktop styles */
        pointer-events: auto;
        height: auto;
        position: relative;
        z-index: auto;
    }

    #about .text-side {
        max-width: 100%;
        padding: 0 1rem;
        margin: 0;
        text-align: center;
        /* Reset vertical centering from desktop */
        display: block;
        height: auto;
    }

    #about .section-header {
        text-align: center;
    }

    /* Disable 3D hover effects on mobile */
    #about .gallery-side .focus-column.unfocused,
    #about .gallery-side .gallery-column.unfocused {
        transform: none;
        opacity: 1;
    }
}

/* Reduced motion support for gallery animations */
@media (prefers-reduced-motion: reduce) {
    .gallery-column,
    .gallery-row,
    .focus-column {
        animation: none !important;
        transition: none !important;
    }
    
    .gallery-column.unfocused,
    .focus-column.unfocused {
        transform: none !important;
        opacity: 1 !important;
    }
}