/* ==========================================================================
   cubic.cool - Coming Soon Design System & Stylesheet
   ========================================================================== */

/* Variables & Design Tokens */
:root {
    --bg-dark: #05050a;
    --bg-card: rgba(13, 13, 25, 0.5);
    --border-color: rgba(255, 255, 255, 0.06);

    /* Neon Palettes */
    --cyan: #06b6d4;
    --cyan-glow: rgba(6, 182, 212, 0.4);
    --violet: #8b5cf6;
    --green: #10b981;
    --red: #ef4444;

    /* Text */
    --text-primary: #f3f4f6;
    --text-secondary: #9ca3af;
    --text-muted: #6b7280;

    /* Transitions */
    --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html,
body {
    height: 100%;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-primary);
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    overflow-x: hidden;
    line-height: 1.6;
}

h1,
.logo {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    letter-spacing: -0.02em;
}

/* Background Video & Overlays */
.video-bg-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -10;
    overflow: hidden;
    background-color: var(--bg-dark);
}

#bg-video {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    min-width: 100%;
    min-height: 100%;
    object-fit: cover;
    transform: translate(-50%, -50%);
    pointer-events: none;
}

.video-scrim {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(5, 5, 10, 0.4) 0%, rgba(5, 5, 10, 0.8) 100%);
    z-index: 1;
    pointer-events: none;
}

.grid-background {
    position: absolute;
    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 center;
    z-index: 2;
    pointer-events: none;
    opacity: 0.8;
}

/* Wrapper to structure layout vertically */
.main-wrapper {
    min-height: 100%;
    display: flex;
    flex-direction: column;
    position: relative;
    z-index: 1;
}

/* Container */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Typography Helpers */
.highlight {
    color: var(--cyan);
    text-shadow: 0 0 10px var(--cyan-glow);
}

.gradient-text {
    background: linear-gradient(135deg, var(--cyan) 0%, var(--violet) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.badge {
    display: inline-block;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-primary);
    border: 1px solid rgba(255, 255, 255, 0.12);
    margin-bottom: 24px;
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.5);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition-smooth);
    text-decoration: none;
    border: none;
}

.btn-primary {
    background: linear-gradient(135deg, var(--cyan) 0%, var(--violet) 100%);
    color: white;
    box-shadow: 0 4px 20px rgba(6, 182, 212, 0.2);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(6, 182, 212, 0.4), 0 0 15px rgba(139, 92, 246, 0.2);
}

/* Navbar */
.navbar {
    height: 80px;
    width: 100%;
}

.nav-container {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    /* Center logo in coming soon */
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.5rem;
    color: var(--text-primary);
    text-decoration: none;
    transition: var(--transition-smooth);
}

.nav-logo-img {
    height: 28px;
    width: auto;
}

/* Main Content Center Layout */
.coming-soon-content {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 16px;
}

.cs-card {
    /*background: rgba(10, 10, 18, 0.45);*/
    border: 0px solid rgba(255, 255, 255, 0.08);
    /*backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(20px);*/
    border-radius: 28px;
    padding: 60px 48px;
    max-width: 650px;
    width: 100%;
    margin: 0 auto;
    text-align: center;
    /*box-shadow: 0 30px 60px rgba(0, 0, 0, 0.6), 
                inset 0 1px 0 rgba(255, 255, 255, 0.15);*/
    position: relative;
    overflow: hidden;
    transition: var(--transition-smooth);
}

/* Logo pulse / float animation */
.logo-wrapper {
    position: relative;
    width: 120px;
    height: 120px;
    margin: 0 auto 32px auto;
    animation: float 5s infinite ease-in-out;
}

.cs-logo {
    width: 100%;
    height: 100%;
    object-fit: contain;
    position: relative;
    z-index: 2;
}

.logo-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 140px;
    height: 140px;
    background: radial-gradient(circle, rgba(139, 92, 246, 0.25) 0%, rgba(6, 182, 212, 0.1) 50%, transparent 70%);
    z-index: 1;
    animation: pulse-glow 5s infinite ease-in-out;
}

@keyframes float {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-8px);
    }

    100% {
        transform: translateY(0px);
    }
}

@keyframes pulse-glow {
    0% {
        transform: translate(-50%, -50%) scale(0.9);
        opacity: 0.8;
    }

    50% {
        transform: translate(-50%, -50%) scale(1.1);
        opacity: 1;
    }

    100% {
        transform: translate(-50%, -50%) scale(0.9);
        opacity: 0.8;
    }
}

.cs-title {
    font-size: clamp(2rem, 3.5vw, 3rem);
    line-height: 1.15;
    margin-bottom: 20px;
    text-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
}

.cs-description {
    color: var(--text-secondary);
    font-size: 1.15rem;
    line-height: 1.65;
    margin-bottom: 40px;
    max-width: 540px;
    margin-left: auto;
    margin-right: auto;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
    font-weight: 400;
    letter-spacing: 0.01em;
}

.cs-description .highlight-cyan {
    color: var(--cyan);
    font-weight: 600;
    text-shadow: 0 0 8px var(--cyan-glow);
}

.cs-description .highlight-violet {
    color: #a78bfa;
    font-weight: 600;
    text-shadow: 0 0 8px rgba(167, 139, 250, 0.3);
}

.cs-description .highlight-gradient {
    background: linear-gradient(135deg, var(--cyan) 0%, var(--violet) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 600;
}

/* Forms */
.tally-form-container {
    max-width: 480px;
    margin: 0 auto;
    width: 100%;
    border-radius: 12px;
    overflow: hidden;
}

.footer {
    padding: 40px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.02);
}

.footer-container {
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 768px) {
    .coming-soon-content {
        padding: 20px 12px;
    }

    .cs-card {
        padding: 40px 24px;
        border-radius: 20px;
    }

    .logo-wrapper {
        width: 90px;
        height: 90px;
        margin-bottom: 24px;
    }

    .logo-glow {
        width: 110px;
        height: 110px;
    }

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

    .cs-description {
        font-size: 1rem;
        margin-bottom: 24px;
    }

    .footer-container {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }
}