/* Waitlist section */
.waitlist-section {
    background: linear-gradient(135deg, #0052CC 0%, #0075e6, #0099ff 100%);
    padding: 100px 0;
    color: white;
    overflow: hidden;
    position: relative;
}

.waitlist-container {
    display: flex;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    gap: 60px;
    align-items: center;
}

.waitlist-content {
    flex: 1;
    max-width: 550px;
}

.waitlist-title {
    font-family: 'Roboto', sans-serif;
    font-weight: 700;
    font-size: 2.8rem;
    margin-bottom: 16px;
    line-height: 1.2;
    background: linear-gradient(90deg, #ffffff, #e0f3ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.waitlist-description {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 32px;
    opacity: 0.9;
}

.waitlist-form {
    display: flex;
    width: 100%;
    position: relative;
    margin-bottom: 28px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    border-radius: 12px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.waitlist-form:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.15);
}

.waitlist-input-group {
    display: flex;
    flex: 1;
}

.waitlist-input {
    padding: 18px 24px;
    border: none;
    font-family: 'Roboto', sans-serif;
    font-size: 1rem;
    outline: none;
    transition: box-shadow 0.3s ease;
}

.name-input {
    flex: 0.4;
    border-radius: 12px 0 0 12px;
    border-right: 1px solid rgba(0,0,0,0.1);
}

.email-input {
    flex: 0.6;
    border-radius: 0;
}

.waitlist-input:focus {
    box-shadow: inset 0 0 0 2px rgba(0,0,0,0.1);
}

.waitlist-btn {
    padding: 0 32px;
    background: #111;
    color: white;
    border: none;
    border-radius: 0 12px 12px 0;
    font-family: 'Roboto', sans-serif;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: background 0.2s ease;
    white-space: nowrap;
}

.waitlist-btn:hover {
    background: #333;
}

.waitlist-btn:disabled {
    background: #444;
    cursor: not-allowed;
}

/* Waitlist Stats */
.waitlist-stats {
    margin-top: 20px;
}

.waitlist-progress-container {
    height: 8px;
    background: rgba(255,255,255,0.2);
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 12px;
}

.waitlist-progress-bar {
    height: 100%;
    background: linear-gradient(90deg, #ffc107, #ff9800);
    border-radius: 4px;
    transition: width 0.6s ease-out;
}

.waitlist-stats-text {
    font-size: 0.9rem;
    display: flex;
    justify-content: space-between;
    color: rgba(255,255,255,0.8);
}

.waitlist-highlight {
    font-weight: 700;
    color: #ffffff;
}

.waitlist-limited-text {
    background: rgba(255,255,255,0.2);
    border-radius: 4px;
    padding: 4px 10px;
    font-size: 0.8rem;
    letter-spacing: 0.5px;
}

/* Grid components */
.waitlist-graphic {
    flex: 1;
    max-width: 550px;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.waitlist-grid-container {
    width: 100%;
    aspect-ratio: 1;
    display: grid;
    grid-template-columns: repeat(15, 1fr);
    grid-template-rows: repeat(15, 1fr);
    gap: 3px;
    padding: 15px;
    background: rgba(255,255,255,0.1);
    border-radius: 20px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.15);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    border: 1px solid rgba(255,255,255,0.1);
    animation: container-glow 6s infinite alternate;
}

@keyframes container-glow {
    0% {
        box-shadow: 0 20px 50px rgba(0,0,0,0.15);
    }
    100% {
        box-shadow: 0 20px 50px rgba(0,117,230,0.3), 0 0 30px rgba(0,198,251,0.2);
    }
}

.waitlist-grid-spot {
    aspect-ratio: 1;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 0.65rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    overflow: hidden;
}

.waitlist-grid-spot.filled {
    background: rgba(255,255,255,0.15);
    border: 1px solid rgba(255,255,255,0.3);
    color: #fff;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
    animation: spot-pulse 3s infinite alternate;
    animation-delay: calc(var(--spot-delay, 0) * 0.1s);
}

.waitlist-grid-spot.filled:nth-child(3n) {
    animation-delay: 0.3s;
    background: rgba(0,198,251,0.2);
}

.waitlist-grid-spot.filled:nth-child(5n) {
    animation-delay: 0.5s;
    background: rgba(0,117,230,0.2);
}

.waitlist-grid-spot.filled:nth-child(7n) {
    animation-delay: 0.7s;
    background: rgba(115,171,255,0.2);
}

.waitlist-grid-spot.filled:nth-child(11n) {
    animation-delay: 1.1s;
    background: rgba(77,145,240,0.2);
}

@keyframes spot-pulse {
    0% {
        opacity: 0.8;
        transform: scale(1);
    }
    100% {
        opacity: 1;
        transform: scale(1.05);
    }
}

.waitlist-grid-spot.empty {
    background: transparent;
    border: 1.5px dashed rgba(255,255,255,0.25);
    color: rgba(255,255,255,0.6);
    font-size: 0.8rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.waitlist-grid-spot.empty:hover {
    transform: scale(1.15);
    border-color: rgba(255,255,255,0.6);
    color: white;
    background: rgba(255,255,255,0.1);
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
    z-index: 2;
}

/* Mobile responsive adjustments */
@media (max-width: 992px) {
    .waitlist-container {
        flex-direction: column;
        gap: 40px;
    }
    
    .waitlist-content, .waitlist-graphic {
        max-width: 100%;
    }
    
    .waitlist-grid-container {
        max-width: 500px;
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    .waitlist-section {
        padding: 80px 0;
    }
    
    .waitlist-title {
        font-size: 2.2rem;
    }
    
    .waitlist-form {
        flex-direction: column;
    }
    
    .waitlist-input-group {
        flex-direction: column;
    }
    
    .name-input {
        border-radius: 12px 12px 0 0;
        border-right: none;
        border-bottom: 1px solid rgba(0,0,0,0.1);
    }
    
    .email-input {
        border-radius: 0;
    }
    
    .waitlist-btn {
        width: 100%;
        padding: 16px;
        border-radius: 0 0 12px 12px;
    }
    
    /* Hide the waitlist grid on mobile */
    .waitlist-graphic {
        display: none;
    }
}

@media (max-width: 480px) {
    /* Grid container styles no longer needed since the grid is hidden on mobile */
} 