/* CSS Reset & Variables */
:root {
    --bg-color: #030307;
    --card-bg: rgba(10, 10, 20, 0.4);
    --card-border: rgba(255, 255, 255, 0.04);
    --card-border-hover: rgba(168, 85, 247, 0.25);
    
    --text-primary: #f8fafc;
    --text-secondary: #94a3b8;
    --text-muted: #64748b;
    
    --accent-purple: #a855f7;
    --accent-indigo: #6366f1;
    --accent-cyan: #06b6d4;
    --accent-blue: #3b82f6;
    
    --grad-primary: linear-gradient(135deg, var(--accent-purple) 0%, var(--accent-indigo) 100%);
    --grad-cyan-blue: linear-gradient(135deg, var(--accent-cyan) 0%, var(--accent-blue) 100%);
    
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Plus Jakarta Sans', sans-serif;
    
    --glow-shadow: 0 0 30px rgba(168, 85, 247, 0.15);
    --glow-shadow-intense: 0 0 40px rgba(6, 182, 212, 0.3);
}

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

html, body {
    width: 100%;
    height: 100%;
    background-color: var(--bg-color);
    color: var(--text-primary);
    font-family: var(--font-body);
    overflow-x: hidden;
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
}

/* Background Texture and Glows */
#particles-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
}

.cursor-glow {
    position: fixed;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, 
        rgba(168, 85, 247, 0.12) 0%, 
        rgba(99, 102, 241, 0.06) 30%, 
        rgba(6, 182, 212, 0.02) 60%, 
        rgba(0, 0, 0, 0) 100%);
    border-radius: 50%;
    top: -300px;
    left: -300px;
    z-index: 2;
    pointer-events: none;
    transition: transform 0.1s ease-out;
    filter: blur(10px);
}

.noise-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 3;
    opacity: 0.025;
    pointer-events: none;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
}

/* Base Grid Backdrop Overlay */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(255, 255, 255, 0.015) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.015) 1px, transparent 1px);
    background-size: 60px 60px;
    background-position: center;
    z-index: 2;
    pointer-events: none;
}

/* Main Container Layout */
.main-container {
    position: relative;
    width: 100%;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    padding: 2.5rem;
    z-index: 10;
}

/* Header Styling */
.header {
    width: 100%;
    max-width: 1200px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.logo-icon {
    animation: rotateLogo 20s linear infinite;
    cursor: pointer;
}

.logo-text {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.5rem;
    letter-spacing: 2px;
    background: linear-gradient(135deg, #ffffff 60%, var(--text-secondary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.logo-suffix {
    font-weight: 400;
    color: var(--accent-cyan);
    -webkit-text-fill-color: initial;
    background: none;
    -webkit-background-clip: initial;
    text-shadow: 0 0 10px rgba(6, 182, 212, 0.4);
}

.header-status {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 0.5rem 1rem;
    border-radius: 100px;
    backdrop-filter: blur(10px);
}

.status-dot {
    width: 6px;
    height: 6px;
    background-color: var(--accent-cyan);
    border-radius: 50%;
    box-shadow: 0 0 8px var(--accent-cyan);
    animation: pulseGlow 2s infinite alternate;
}

.status-text {
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.5px;
    color: var(--text-secondary);
}

/* Content Wrapper */
.content-wrapper {
    width: 100%;
    max-width: 800px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin: auto 0;
    padding: 2rem 0;
}

/* Coming Soon Badge */
.coming-soon-badge {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.6rem 1.2rem;
    background: rgba(168, 85, 247, 0.06);
    border: 1px solid rgba(168, 85, 247, 0.2);
    border-radius: 100px;
    font-size: 0.8rem;
    font-weight: 600;
    color: #e9d5ff;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 2rem;
    box-shadow: var(--glow-shadow);
    overflow: hidden;
}

.badge-glow-effect {
    position: absolute;
    top: 0;
    left: -50%;
    width: 200%;
    height: 100%;
    background: linear-gradient(90deg, 
        transparent 0%, 
        rgba(255, 255, 255, 0.1) 50%, 
        transparent 100%);
    animation: shine 4s infinite linear;
}

.badge-icon {
    color: var(--accent-purple);
    filter: drop-shadow(0 0 4px var(--accent-purple));
}

/* Title and Gradient Text */
.main-title {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -1px;
    margin-bottom: 1.5rem;
}

.gradient-text {
    background: linear-gradient(to right, #fff 10%, var(--accent-purple) 50%, var(--accent-cyan) 90%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: textFlow 6s linear infinite;
    text-shadow: 0 0 30px rgba(168, 85, 247, 0.1);
}

.description {
    font-size: 1.125rem;
    line-height: 1.7;
    color: var(--text-secondary);
    max-width: 620px;
    margin-bottom: 3rem;
    font-weight: 300;
}

/* Countdown Cards */
.countdown-container {
    display: flex;
    gap: 1.25rem;
    margin-bottom: 3.5rem;
    width: 100%;
    justify-content: center;
    max-width: 600px;
}

.countdown-card {
    position: relative;
    flex: 1;
    min-width: 100px;
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 16px;
    padding: 1.5rem 1rem;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.3);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    overflow: hidden;
}

.countdown-card:hover {
    transform: translateY(-5px);
    border-color: var(--card-border-hover);
    box-shadow: var(--glow-shadow);
}

.countdown-number {
    font-family: var(--font-heading);
    font-size: 2.75rem;
    font-weight: 700;
    color: #ffffff;
    line-height: 1;
    margin-bottom: 0.5rem;
    letter-spacing: -0.5px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.countdown-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--text-muted);
    font-weight: 600;
}

.card-bg-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 120px;
    height: 120px;
    background: radial-gradient(circle, rgba(168, 85, 247, 0.08) 0%, transparent 70%);
    transform: translate(-50%, -50%);
    pointer-events: none;
    z-index: 0;
}

/* Newsletter Signup Section */
.newsletter-wrapper {
    width: 100%;
    max-width: 500px;
}

.newsletter-tagline {
    font-size: 0.875rem;
    color: var(--text-secondary);
    margin-bottom: 1rem;
    font-weight: 500;
    letter-spacing: 0.5px;
}

.subscribe-form {
    width: 100%;
}

.input-group {
    position: relative;
    display: flex;
    width: 100%;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 100px;
    padding: 0.35rem;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    backdrop-filter: blur(10px);
}

.input-group:focus-within {
    border-color: rgba(6, 182, 212, 0.4);
    box-shadow: 0 0 20px rgba(6, 182, 212, 0.15), inset 0 0 10px rgba(6, 182, 212, 0.02);
    background: rgba(255, 255, 255, 0.03);
}

.input-icon {
    position: absolute;
    left: 1.25rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
    pointer-events: none;
    transition: color 0.3s ease;
}

.input-group:focus-within .input-icon {
    color: var(--accent-cyan);
}

.input-group input {
    flex: 1;
    background: transparent;
    border: none;
    outline: none;
    padding: 0.8rem 1rem 0.8rem 3rem;
    font-family: var(--font-body);
    font-size: 0.95rem;
    color: #ffffff;
    width: 100%;
}

.input-group input::placeholder {
    color: var(--text-muted);
}

.submit-btn {
    position: relative;
    background: var(--grad-cyan-blue);
    color: #030307;
    border: none;
    outline: none;
    border-radius: 100px;
    padding: 0.8rem 1.6rem;
    font-family: var(--font-body);
    font-size: 0.9rem;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 4px 15px rgba(6, 182, 212, 0.3);
    overflow: hidden;
}

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

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(6, 182, 212, 0.5);
}

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

.submit-btn:active {
    transform: translateY(0);
}

.btn-arrow {
    transition: transform 0.3s ease;
}

.submit-btn:hover .btn-arrow {
    transform: translateX(3px);
}

/* Spinner Loader for Submit Button */
.btn-loader {
    display: none;
    width: 16px;
    height: 16px;
    border: 2px solid rgba(0, 0, 0, 0.15);
    border-top: 2px solid #000000;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

.submit-btn.loading .btn-text,
.submit-btn.loading .btn-arrow {
    display: none;
}

.submit-btn.loading .btn-loader {
    display: inline-block;
}

.submit-btn.loading {
    pointer-events: none;
    opacity: 0.8;
}

/* Form Feedback Area */
.form-feedback {
    margin-top: 0.8rem;
    font-size: 0.85rem;
    font-weight: 500;
    min-height: 20px;
    transition: all 0.3s ease;
    opacity: 0;
    transform: translateY(-5px);
}

.form-feedback.show {
    opacity: 1;
    transform: translateY(0);
}

.form-feedback.success {
    color: #4ade80;
    text-shadow: 0 0 10px rgba(74, 222, 128, 0.2);
}

.form-feedback.error {
    color: #f87171;
    text-shadow: 0 0 10px rgba(248, 113, 113, 0.2);
}

/* Footer Styling */
.footer {
    width: 100%;
    max-width: 1200px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 2rem;
    margin-top: 2rem;
}

.copyright {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.contact-email {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.3s ease;
    background: rgba(255, 255, 255, 0.01);
    padding: 0.5rem 1rem;
    border-radius: 100px;
    border: 1px solid rgba(255, 255, 255, 0.03);
}

.contact-email:hover {
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.03);
}

.contact-email svg {
    color: var(--text-muted);
    transition: color 0.3s ease;
}

.contact-email:hover svg {
    color: var(--accent-cyan);
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    color: var(--text-secondary);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    text-decoration: none;
}

.social-link:hover {
    color: #ffffff;
    border-color: var(--card-border-hover);
    background: rgba(168, 85, 247, 0.05);
    transform: translateY(-3px);
    box-shadow: var(--glow-shadow);
}

/* Keyframe Animations */
@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@keyframes rotateLogo {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@keyframes pulseGlow {
    0% {
        box-shadow: 0 0 4px var(--accent-cyan), 0 0 8px rgba(6, 182, 212, 0.4);
        opacity: 0.7;
    }
    100% {
        box-shadow: 0 0 12px var(--accent-cyan), 0 0 20px rgba(6, 182, 212, 0.8);
        opacity: 1;
    }
}

@keyframes shine {
    0% { left: -100%; }
    50% { left: 100%; }
    100% { left: 100%; }
}

@keyframes textFlow {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* Entrance Animation Classes */
.animate-fade-in {
    opacity: 0;
    animation: fadeIn 1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.animate-slide-up {
    opacity: 0;
    transform: translateY(20px);
    animation: slideUp 1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes fadeIn {
    to { opacity: 1; }
}

@keyframes slideUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Media Queries */
@media (max-width: 768px) {
    .main-container {
        padding: 1.5rem;
    }
    
    .header {
        margin-bottom: 3rem;
    }

    .main-title {
        font-size: 2.5rem;
    }
    
    .description {
        font-size: 1rem;
        margin-bottom: 2.5rem;
    }

    .countdown-container {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
        max-width: 400px;
    }
    
    .countdown-card {
        padding: 1.25rem 0.75rem;
    }

    .countdown-number {
        font-size: 2.25rem;
    }
    
    .footer {
        flex-direction: column;
        gap: 1.5rem;
        text-align: center;
        padding-top: 1.5rem;
    }
    
    .footer-left {
        order: 3;
    }
    
    .footer-center {
        order: 1;
    }
    
    .footer-right {
        order: 2;
    }
}

@media (max-width: 480px) {
    .main-title {
        font-size: 2rem;
    }
    
    .input-group {
        flex-direction: column;
        background: transparent;
        border: none;
        box-shadow: none;
        gap: 0.75rem;
        padding: 0;
    }
    
    .input-group:focus-within {
        box-shadow: none;
        background: transparent;
    }
    
    .input-group input {
        background: rgba(255, 255, 255, 0.02);
        border: 1px solid rgba(255, 255, 255, 0.08);
        border-radius: 100px;
        padding: 1rem 1rem 1rem 3.2rem;
        text-align: left;
    }
    
    .input-group input:focus {
        border-color: rgba(6, 182, 212, 0.4);
        box-shadow: 0 0 20px rgba(6, 182, 212, 0.15);
    }
    
    .submit-btn {
        width: 100%;
        justify-content: center;
        padding: 1rem;
    }
    
    .coming-soon-badge {
        font-size: 0.75rem;
        padding: 0.5rem 1rem;
    }
}
