:root {
    --bg-color: #0b0c10;
    --card-bg: rgba(22, 24, 30, 0.7);
    --card-border: rgba(255, 176, 55, 0.15);
    --card-border-focus: rgba(255, 176, 55, 0.4);
    --text-primary: #f5f6f9;
    --text-secondary: #94a3b8;
    --primary-color: #ffb037;
    --primary-hover: #ffa114;
    --primary-glow: rgba(255, 176, 55, 0.25);
    --accent-red: #ff4a4a;
    --accent-green: #10b981;
    --font-display: 'Space Grotesk', sans-serif;
    --font-body: 'Outfit', sans-serif;
    --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    background-color: var(--bg-color);
    color: var(--text-primary);
    font-family: var(--font-body);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    overflow-x: hidden;
    position: relative;
}

/* Background Canvas & Grid */
#particle-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
}

.grid-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(to right, rgba(255, 255, 255, 0.02) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
    background-size: 60px 60px;
    z-index: 2;
    pointer-events: none;
}

/* Container */
.container {
    position: relative;
    z-index: 10;
    max-width: 680px;
    width: 90%;
    padding: 40px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

/* Logo Section */
.logo-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 2.5rem;
}

.logo-mark {
    width: 90px;
    height: 90px;
    margin-bottom: 0.75rem;
    position: relative;
}

.laddu-svg {
    width: 100%;
    height: 100%;
    animation: floatLogo 6s ease-in-out infinite;
}

.logo-text {
    font-family: var(--font-display);
    font-size: 2.25rem;
    font-weight: 700;
    letter-spacing: -0.5px;
    color: var(--text-primary);
}

.logo-text span {
    color: var(--primary-color);
}

/* Hero Card */
.hero-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    padding: 3rem 2.5rem;
    border-radius: 24px;
    box-shadow: 0 20px 40px -15px rgba(0, 0, 0, 0.5), 
                0 0 50px 0px rgba(255, 176, 55, 0.03);
    margin-bottom: 2rem;
    width: 100%;
    transition: var(--transition-smooth);
}

.hero-card:hover {
    border-color: var(--card-border-focus);
    box-shadow: 0 24px 48px -12px rgba(0, 0, 0, 0.6), 
                0 0 60px 2px rgba(255, 176, 55, 0.05);
}

/* Badge */
.badge {
    display: inline-flex;
    align-items: center;
    background: rgba(255, 176, 55, 0.1);
    border: 1px solid rgba(255, 176, 55, 0.25);
    color: var(--primary-color);
    padding: 6px 14px;
    border-radius: 100px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    letter-spacing: 0.5px;
}

.badge-dot {
    width: 6px;
    height: 6px;
    background: var(--primary-color);
    border-radius: 50%;
    margin-right: 8px;
    position: relative;
    box-shadow: 0 0 10px var(--primary-color);
}

.badge-dot::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: var(--primary-color);
    border-radius: 50%;
    animation: ping 1.5s cubic-bezier(0, 0, 0.2, 1) infinite;
}

/* Hero Title & Subtitle */
.hero-title {
    font-family: var(--font-display);
    font-size: 2.75rem;
    font-weight: 700;
    line-height: 1.15;
    margin-bottom: 1.25rem;
    letter-spacing: -1px;
}

.gradient-text {
    background: linear-gradient(135deg, #ffd700 0%, #ff9f1c 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subtitle {
    color: var(--text-secondary);
    font-size: 1.05rem;
    line-height: 1.6;
    margin-bottom: 2.25rem;
    max-width: 540px;
    margin-left: auto;
    margin-right: auto;
}

/* Waitlist Form */
#waitlist-form {
    width: 100%;
    margin-bottom: 2rem;
}

.input-group {
    display: flex;
    gap: 12px;
    background: rgba(10, 11, 16, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 8px;
    border-radius: 16px;
    transition: var(--transition-smooth);
}

.input-group:focus-within {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px var(--primary-glow);
}

.input-wrapper {
    display: flex;
    align-items: center;
    flex-grow: 1;
    padding-left: 12px;
    position: relative;
}

.email-icon {
    width: 20px;
    height: 20px;
    color: var(--text-secondary);
    margin-right: 12px;
    flex-shrink: 0;
}

#email-input {
    width: 100%;
    background: transparent;
    border: none;
    outline: none;
    color: var(--text-primary);
    font-family: var(--font-body);
    font-size: 1rem;
}

#email-input::placeholder {
    color: #475569;
}

#submit-btn {
    background: var(--primary-color);
    border: none;
    color: #000;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 0.95rem;
    padding: 14px 24px;
    border-radius: 12px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
}

#submit-btn:hover {
    background: var(--primary-hover);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(255, 176, 55, 0.3);
}

#submit-btn:active {
    transform: translateY(1px);
}

.arrow-icon {
    width: 16px;
    height: 16px;
    transition: var(--transition-smooth);
}

#submit-btn:hover .arrow-icon {
    transform: translateX(4px);
}

/* Form Feedback States */
.form-feedback {
    min-height: 20px;
    margin-top: 10px;
    font-size: 0.9rem;
    font-weight: 500;
    transition: var(--transition-smooth);
    opacity: 0;
}

.form-feedback.visible {
    opacity: 1;
}

.form-feedback.success {
    color: var(--accent-green);
}

.form-feedback.error {
    color: var(--accent-red);
}

/* Stats Bar */
.stats-bar {
    display: flex;
    justify-content: space-around;
    align-items: center;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 2rem;
    margin-top: 1.5rem;
}

.stat-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.stat-number {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
}

.stat-label {
    font-size: 0.8rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.stat-divider {
    width: 1px;
    height: 30px;
    background: rgba(255, 255, 255, 0.08);
}

/* Footer styling */
footer {
    color: #475569;
    font-size: 0.85rem;
    margin-top: 1rem;
}

/* SVG floating animations */
@keyframes floatLogo {
    0% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-8px) rotate(3deg); }
    100% { transform: translateY(0px) rotate(0deg); }
}

@keyframes ping {
    75%, 100% {
        transform: scale(2.5);
        opacity: 0;
    }
}

.float-dot-1 { animation: floatDot 4s ease-in-out infinite alternate; }
.float-dot-2 { animation: floatDot 5s ease-in-out infinite alternate-reverse; }
.float-dot-3 { animation: floatDot 6s ease-in-out infinite alternate; }
.float-dot-4 { animation: floatDot 4.5s ease-in-out infinite alternate-reverse; }

@keyframes floatDot {
    0% { transform: translate(0, 0); opacity: 0.4; }
    100% { transform: translate(3px, -5px); opacity: 0.9; }
}

/* Mobile Responsiveness */
@media (max-width: 580px) {
    .container {
        padding: 20px 10px;
    }
    
    .hero-card {
        padding: 2rem 1.5rem;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .input-group {
        flex-direction: column;
        background: transparent;
        border: none;
        padding: 0;
        gap: 10px;
    }
    
    .input-wrapper {
        background: rgba(10, 11, 16, 0.5);
        border: 1px solid rgba(255, 255, 255, 0.08);
        padding: 14px 16px;
        border-radius: 12px;
        width: 100%;
    }
    
    #submit-btn {
        width: 100%;
        justify-content: center;
        padding: 16px;
    }
    
    .stats-bar {
        flex-direction: column;
        gap: 1.5rem;
    }
    
    .stat-divider {
        display: none;
    }
}
