/* Custom Animations and Spacing */
:root {
    --primary-purple: #6C5CE7;
    --dark-bg: #111827;
}

body {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    color: #1a1a1a;
    background-color: #fcfcfd;
    line-height: 1.5;
}

/* Typography Refinement */
h1, h2, h3 {
    letter-spacing: -0.05em;
}

/* Modal Transitions */
#registration-modal.flex {
    display: flex !important;
}

#registration-modal.hidden {
    display: none !important;
}

.modal-open {
    overflow: hidden;
}

/* Custom Animation Classes */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fade-in-up {
    animation: fadeInUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    opacity: 0;
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Premium Border Utility */
.premium-border {
    border: 1px solid rgba(108, 92, 231, 0.08);
}

/* Responsive Video Aspect Ratio */
#player {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Pulse Animation for CTA Button */
@keyframes shadowPulse {
    0% {
        box-shadow: 0 0 0 0 rgba(108, 92, 231, 0.4);
    }
    70% {
        box-shadow: 0 0 0 15px rgba(108, 92, 231, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(108, 92, 231, 0);
    }
}

#cta-btn-main, #cta-btn-mobile {
    animation: shadowPulse 2.5s infinite;
}

/* Form Input Focus States */
input:focus {
    box-shadow: 0 0 0 4px rgba(108, 92, 231, 0.1);
}

/* Countdown Styles */
#days, #hours, #minutes, #seconds {
    font-variant-numeric: tabular-nums;
}

/* Loader Styles */
@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.animate-spin {
    animation: spin 0.8s linear infinite;
}

/* Mobile Adjustments */
@media (max-width: 768px) {
    header h1 {
        font-size: 2.25rem !important;
    }
    .min-h-screen {
        height: auto;
        min-height: 100vh;
    }
}

/* High-DPI screens or specific heights */
@media (max-height: 800px) {
    header { padding-top: 1rem !important; }
    h1 { font-size: 2.5rem !important; margin-bottom: 0.5rem !important; }
    .grid-cols-3 { gap: 0.5rem !important; }
}

/* Connection Ladder Steps */
.ladder-step {
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.ladder-step:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px -10px rgba(108, 92, 231, 0.2);
}

/* Section Transitions */
section {
    position: relative;
    z-index: 10;
}

/* Background Accents */
.bg-gray-900 {
    background-color: #0f172a;
}

/* Custom Checkmark List (if needed) */
.check-list-item::before {
    content: "✔";
    color: #10b981;
    font-weight: bold;
    margin-right: 0.75rem;
}

/* Premium Shadows */
.shadow-2xl {
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.1);
}

.shadow-purple-100 {
    box-shadow: 0 20px 40px -10px rgba(108, 92, 231, 0.15);
}

/* Final CTA Section Glassmorphism */
.bg-white\/10 {
    background-color: rgba(255, 255, 255, 0.1);
}

.backdrop-blur-md {
    backdrop-filter: blur(12px);
}

