:root {
    --primary-color: #0ea5e9;
    /* Sky Blue 500 */
    --secondary-color: #38bdf8;
    /* Sky Blue 400 */
    --accent-color: #0284c7;
    /* Sky Blue 600 */
    --bg-light: #f8fafc;
    /* Slate 50 */
    --text-main: #0f172a;
    /* Slate 900 */
    --text-muted: #64748b;
    /* Slate 500 */
    --glass-bg: rgba(255, 255, 255, 0.85);
    --glass-border: rgba(255, 255, 255, 0.6);
    --font-family: 'Outfit', sans-serif;
    --transition-speed: 0.4s;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-family);
    /* background-color: var(--bg-light); Removed to show fluid background */
    color: var(--text-main);
    overflow: hidden;
    /* Lock scroll for desktop */
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Fluid Background */
.fluid-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -1;
    overflow: hidden;
    background: #f0f9ff;
}

.cube {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.8;
    animation: fluidMove 20s infinite alternate ease-in-out;
}

.cube-1 {
    width: 50vw;
    height: 50vw;
    background: linear-gradient(135deg, #a5f3fc, #38bdf8);
    top: -10%;
    left: -10%;
    animation-duration: 25s;
}

.cube-2 {
    width: 60vw;
    height: 60vw;
    background: linear-gradient(135deg, #e0f2fe, #7dd3fc);
    bottom: -20%;
    right: -10%;
    animation-duration: 30s;
    animation-delay: -5s;
}

.cube-3 {
    width: 40vw;
    height: 40vw;
    background: linear-gradient(135deg, #bae6fd, #0ea5e9);
    top: 40%;
    left: 40%;
    animation-duration: 22s;
    animation-delay: -10s;
    opacity: 0.5;
}

.cube-4 {
    width: 30vw;
    height: 30vw;
    background: #dbeafe;
    /* Very light blue */
    top: 10%;
    right: 20%;
    animation-duration: 28s;
    animation-delay: -15s;
    opacity: 0.6;
}

@keyframes fluidMove {
    0% {
        transform: translate(0, 0) scale(1) rotate(0deg);
    }

    33% {
        transform: translate(30px, -50px) scale(1.1) rotate(10deg);
    }

    66% {
        transform: translate(-20px, 20px) scale(0.9) rotate(-5deg);
    }

    100% {
        transform: translate(0, 0) scale(1) rotate(0deg);
    }

    100% {
        transform: translate(0, 0) scale(1) rotate(0deg);
    }
}

/* Hexagon Glass Grid */
.hex-grid {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -1;

    /* Glassmorphism Effect */
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    background: radial-gradient(circle at center, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));

    /* Grid Pattern (Blue) */
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='104' viewBox='0 0 60 104' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg stroke='%230ea5e9' stroke-width='1.5' stroke-opacity='0.25'%3E%3Cpath d='M30 52L60 35V17L30 0L0 17v18L30 52zM30 52L0 69v18l30 17l30-17V69L30 52z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");

    mask-image: radial-gradient(circle at center, black 70%, transparent 100%);
    -webkit-mask-image: radial-gradient(circle at center, black 70%, transparent 100%);

    pointer-events: none;
}

/* Main Grid Layout */
.main-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    width: 100%;
    max-width: 1600px;
    height: 100vh;
    padding: 2rem 6rem;
    gap: 4rem;
    align-items: center;
}

/* Left Side: Content */
.content-side {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 3rem;
    animation: slideRight 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.brand {
    display: flex;
    align-items: baseline;
    gap: 1.5rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

.logo {
    font-size: 4rem;
    font-weight: 800;
    line-height: 1;
    background: linear-gradient(135deg, var(--accent-color), var(--primary-color));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: -0.04em;
}

.badge {
    background: #e0f2fe;
    color: var(--accent-color);
    padding: 0.5rem 1rem;
    border-radius: 100px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    vertical-align: middle;
}

.tagline {
    font-size: 1.75rem;
    font-weight: 300;
    color: var(--text-muted);
    line-height: 1.4;
    max-width: 600px;
}

/* Countdown */
.countdown-section {
    margin-top: 2rem;
}

.countdown-timer {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.time-unit {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    min-width: 80px;
}

.number {
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--text-main);
    line-height: 1;
    font-variant-numeric: tabular-nums;
    letter-spacing: -0.03em;
}

.label {
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    color: var(--text-muted);
    letter-spacing: 0.1em;
    margin-top: 0.5rem;
}

/* Footer */
footer {
    margin-top: auto;
    font-size: 0.85rem;
    color: var(--text-muted);
    opacity: 0.8;
}

/* Right Side: Visual */
.visual-side {
    position: relative;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    perspective: 1500px;
    animation: fadeIn 1s ease-out 0.3s backwards;
}

.image-card {
    position: relative;
    width: 100%;
    max-width: 800px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow:
        0 20px 40px -10px rgba(14, 165, 233, 0.2),
        0 0 0 10px rgba(255, 255, 255, 0.5);
    /* Glass border effect */
    transform: rotateY(-10deg) rotateX(5deg);
    transition: transform var(--transition-speed) ease;
    background: #fff;
}

.image-card:hover {
    transform: rotateY(-5deg) rotateX(2deg) scale(1.02);
    box-shadow:
        0 30px 60px -15px rgba(14, 165, 233, 0.3),
        0 0 0 10px rgba(255, 255, 255, 0.8);
}

.image-card img {
    width: 100%;
    height: auto;
    display: block;
}

.glow-effect {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 50% 0%, rgba(255, 255, 255, 0.4), transparent 60%);
    pointer-events: none;
}

/* Custom Cursor */
.cursor-dot,
.cursor-outline {
    position: fixed;
    top: 0;
    left: 0;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    z-index: 9999;
    pointer-events: none;
}

.cursor-dot {
    width: 8px;
    height: 8px;
    background-color: var(--primary-color);
}

.cursor-outline {
    width: 40px;
    height: 40px;
    border: 1px solid var(--primary-color);
    transition: width 0.2s, height 0.2s, background-color 0.2s;
}

/* Hover state for links/buttons */
body:has(a:hover, button:hover) .cursor-outline {
    width: 60px;
    height: 60px;
    background-color: rgba(14, 165, 233, 0.1);
}

/* Animations */
@keyframes slideRight {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

/* Responsive - Mobile/Tablet */
@media (max-width: 1024px) {
    html {
        background-color: var(--bg-light);
        /* Fallback for overscroll/gaps */
    }

    body {
        display: block;
        /* Remove flex centering to prevent content clipping */
        overflow-y: auto;
        height: auto;
        min-height: 100vh;
        padding-bottom: 2rem;
        /* Add some breathing room at the bottom */
    }

    .main-layout {
        grid-template-columns: 1fr;
        height: auto;
        padding: 3rem 2rem;
        gap: 3rem;
        text-align: center;
    }

    .content-side {
        align-items: center;
        gap: 2rem;
    }

    .brand {
        justify-content: center;
    }

    .tagline {
        font-size: 1.2rem;
    }

    .countdown-timer {
        justify-content: center;
        gap: 1rem;
    }

    .time-unit {
        align-items: center;
        min-width: 60px;
    }

    .number {
        font-size: 2.5rem;
    }

    .visual-side {
        height: auto;
        margin-top: 1rem;
    }

    .image-card {
        transform: none;
        /* Remove 3D effect on mobile for cleanliness */
        max-width: 100%;
        box-shadow: 0 15px 30px -5px rgba(14, 165, 233, 0.2);
    }

    .image-card:hover {
        transform: scale(1.01);
    }

    footer {
        margin-top: 2rem;
    }
}