/* Simmerliq Shared Styles */

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

:root {
    --primary: #8B5CF6;
    --primary-light: #A78BFA;
    --primary-dark: #7C3AED;
    --accent-cyan: #06b6d4;
    --accent-pink: #ec4899;
    --accent-blue: #3b82f6;
    --white: #ffffff;
    --black: #000000;
    --dark-bg: #0a0a0a;
    --dark-card: #111111;
    --gray-100: #f5f5f5;
    --gray-300: #d4d4d4;
    --gray-400: #a3a3a3;
    --gray-500: #737373;
    --gray-600: #525252;
    --gray-800: #262626;
    --gray-900: #171717;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: var(--black);
    color: var(--gray-100);
    line-height: 1.6;
    overflow-x: hidden;
    padding-top: 200px;
    /* Space for fixed nav (129px) + countdown (~70px) */
}

/* Countdown Banner */
.countdown-banner {
    position: fixed;
    top: 129px;
    /* Positioned exactly below the header */
    left: 0;
    right: 0;
    z-index: 999;
    background: #0a0a0a;
    /* Dark background matching Build for Traders */
    backdrop-filter: blur(10px);
    padding: 1rem 2rem;
    border-bottom: 1px solid rgba(139, 92, 246, 0.2);
}



.countdown-content {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.countdown-text {
    font-size: 1rem;
    font-weight: 600;
    color: white;
}

.countdown-timer {
    font-size: 1.5rem;
    font-weight: 800;
    color: white;
    letter-spacing: 0.05em;
}

.countdown-cta {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.9);
}

/* Navigation */
nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 1rem 2rem;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(139, 92, 246, 0.1);
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--primary-light), var(--primary), var(--primary-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -0.02em;
    text-decoration: none;
}

.nav-links {
    display: flex;
    gap: 2.5rem;
    list-style: none;
}

.nav-links a {
    color: var(--gray-400);
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--gray-100);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    border-radius: 100px;
    font-size: 0.9375rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: white;
    box-shadow: 0 4px 24px rgba(139, 92, 246, 0.4);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 32px rgba(139, 92, 246, 0.5);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.05);
    color: var(--gray-100);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Responsive */
@media (max-width: 768px) {
    body {
        padding-top: 180px;
    }

    .countdown-content {
        flex-direction: column;
        gap: 0.75rem;
        text-align: center;
    }

    .countdown-timer {
        font-size: 1.25rem;
    }

    .nav-links {
        gap: 1.5rem;
    }
}

/* Countdown Button */
.countdown-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1.25rem;
    background: white;
    color: var(--primary);
    border-radius: 100px;
    font-size: 0.875rem;
    font-weight: 700;
    text-decoration: none;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.countdown-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
    background: var(--gray-100);
}

/* Tradcast Hero Grid */
.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    text-align: left;
    max-width: 1200px;
    margin: 0 auto;
}

.hero-video-container {
    background: var(--dark-card);
    border: 1px solid var(--gray-800);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    position: relative;
    aspect-ratio: 16/9;
}

.hero-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

@media (max-width: 968px) {
    .hero-grid {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }

    .hero-content {
        align-items: center;
    }
}

.split-layout-responsive {
    display: flex;
    gap: 3rem;
    align-items: center;
}

@media (max-width: 768px) {
    .split-layout-responsive {
        flex-direction: column;
    }
}

/* Logo Styling */
.logo img {
    height: 96px !important;
    /* Increased from 32px to 48px to 96px */
    width: auto;
    transition: transform 0.3s ease;
}

.logo:hover img {
    transform: scale(1.05);
}

/* Flow Image Styling */
.flow-container {
    width: 38% !important;
    /* Reduced to ~half of 75% */
    margin: 3rem auto;
    position: relative;
    cursor: zoom-in;
    transition: transform 0.3s ease;
}

.flow-container:hover {
    transform: scale(1.02);
}

.flow-frame {
    width: 100%;
    height: auto;
    border-radius: 20px;
    border: 1px solid rgba(139, 92, 246, 0.3);
    box-shadow: 0 0 0 4px rgba(139, 92, 246, 0.1), 0 20px 50px rgba(0, 0, 0, 0.5);
    background: var(--dark-card);
    padding: 1rem;
}

/* Flow Modal */
.flow-modal {
    display: none;
    position: fixed;
    z-index: 2001;
    /* Above standard modals */
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(20px);
    justify-content: center;
    align-items: center;
    cursor: zoom-out;
}

.flow-modal.active {
    display: flex;
    animation: fadeIn 0.3s ease forwards;
}

/* Vertical Video Container */
.video-vertical-container {
    width: 100%;
    max-width: 320px;
    /* Constrain width for vertical video */
    aspect-ratio: 9 / 16;
    margin: 0 auto;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(139, 92, 246, 0.3);
}

.video-vertical-container video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* Cover is fine if container is 9/16, otherwise use contain */
}

.flow-modal img {
    max-width: 95%;
    max-height: 95%;
    border-radius: 12px;
    box-shadow: 0 0 50px rgba(139, 92, 246, 0.3);
    border: 1px solid rgba(139, 92, 246, 0.2);
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}