/* ==================== RESET & BASE ==================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Outfit', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    overflow: hidden;
    background: #ffffff;
    color: #1a1a1a;
    height: 100vh;
    width: 100vw;
}

/* ==================== HEADER ==================== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.5rem 3rem;
    backdrop-filter: blur(20px) saturate(180%);
    background: rgba(255, 255, 255, 0.7);
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    animation: slideDown 0.8s ease-out;
}

.logo-section {
    display: flex;
    align-items: center;
}

.header-logo {
    height: 85px;
    width: auto;
    filter: drop-shadow(0 2px 8px rgba(59, 130, 246, 0.3));
    transition: transform 0.3s ease;
}

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

.nav-buttons {
    display: flex;
    gap: 1rem;
}

/* ==================== GLASS NAV GLIDER ==================== */
.glass-radio-group {
    --bg: rgba(255, 255, 255, 0.1);
    --text: #6b7280;
    --active-text: #0A57FB;

    display: flex;
    position: relative;
    background: var(--bg);
    border-radius: 1rem;
    backdrop-filter: blur(12px);
    box-shadow:
        inset 1px 1px 4px rgba(255, 255, 255, 0.2),
        inset -1px -1px 6px rgba(0, 0, 0, 0.1),
        0 4px 12px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    width: fit-content;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.glass-radio-group input {
    display: none;
}

.glass-radio-group label {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 100px;
    font-size: 0.9rem;
    padding: 0.8rem 1.5rem;
    cursor: pointer;
    font-weight: 600;
    letter-spacing: 0.05em;
    color: var(--text);
    position: relative;
    z-index: 2;
    transition: color 0.3s ease-in-out;
    font-family: 'Outfit', sans-serif;
    white-space: nowrap;
    /* Prevent text wrapping */
}

.glass-radio-group label:hover {
    color: #4b5563;
}

.glass-radio-group input:checked+label {
    color: var(--active-text);
}

.glass-glider {
    position: absolute;
    top: 5px;
    bottom: 5px;
    /* Calculated width based on 3 items: ~33.33% but slightly adjusted for padding */
    width: calc(100% / 3 - 6px);
    border-radius: 0.8rem;
    z-index: 1;
    transition:
        transform 0.5s cubic-bezier(0.37, 1.95, 0.66, 0.56),
        background 0.4s ease-in-out,
        box-shadow 0.4s ease-in-out;
    left: 3px;
    /* Initial offset */
}

/* Home Active (First Position) */
#glass-home:checked~.glass-glider {
    transform: translateX(0%);
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.8), #e0e7ff);
    box-shadow:
        0 4px 12px rgba(10, 87, 251, 0.15),
        0 0 10px rgba(255, 255, 255, 0.8) inset;
    border: 1px solid rgba(59, 130, 246, 0.2);
}

/* About Active (Second Position) */
#glass-about:checked~.glass-glider {
    transform: translateX(calc(100% + 6px));
    /* Account for gaps/padding if needed, here simple translation */
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.8), #e0e7ff);
    box-shadow:
        0 4px 12px rgba(10, 87, 251, 0.15),
        0 0 10px rgba(255, 255, 255, 0.8) inset;
    border: 1px solid rgba(59, 130, 246, 0.2);
}

/* Contact Active (Third Position) */
#glass-contact:checked~.glass-glider {
    transform: translateX(calc(200% + 12px));
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.8), #e0e7ff);
    box-shadow:
        0 4px 12px rgba(10, 87, 251, 0.15),
        0 0 10px rgba(255, 255, 255, 0.8) inset;
    border: 1px solid rgba(59, 130, 246, 0.2);
}

/* ==================== MAIN CONTENT ==================== */
.content {
    position: relative;
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100vh;
    padding: 2rem;
    padding-top: 2rem;
    gap: 2rem;
}

/* ==================== VIDEO SECTION ==================== */
.video-section {
    width: 90%;
    max-width: 1000px;
    margin: 0;
    margin-top: 0;
    /* Push video down slightly */
    border-radius: 20px;
    overflow: hidden;
    /* box-shadow removed as requested */
    animation: fadeInScale 1.2s ease-out 0.3s backwards;
}

#main-video {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}



/* ==================== COMING SOON TEXT ==================== */
.coming-soon-container {
    text-align: center;
    margin: 0;
    margin-top: -5rem;
    /* Added spacing */
    animation: fadeInUp 1.5s ease-out 0.6s backwards;
}

.coming-soon-text {
    font-family: 'Outfit', sans-serif;
    font-size: clamp(3rem, 10vw, 8rem);
    font-weight: 900;
    line-height: 1;
    letter-spacing: 0.05em;
    position: relative;
}

.word {
    display: inline-block;
    background: linear-gradient(135deg,
            #0A57FB 0%,
            #0A57FB 50%,
            #79aaf7 100%);
    background-size: 300% 300%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(0 4px 12px rgba(10, 87, 251, 0.3));
    /* Updated shadow color */
    animation: gradientShift 8s ease infinite;
    position: relative;
}

.word-1 {
    animation: wordAppear 1.5s ease-out, gradientShift 8s ease infinite, float 4s ease-in-out infinite;
    animation-delay: 0s, 0s, 0s;
}

.word-2 {
    margin-left: 2rem;
    animation: wordAppear 1.5s ease-out 0.3s backwards, gradientShift 8s ease infinite, float 4s ease-in-out infinite 2s;
}

.word::before {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    background: linear-gradient(135deg, #0A57FB 0%, #0A57FB 50%, #79aaf7 100%);
    background-size: 300% 300%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: blur(30px);
    opacity: 0.4;
    z-index: -1;
    animation: gradientShift 8s ease infinite;
}



/* ==================== PARTICLES ==================== */
.particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    overflow: hidden;
}

.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.6), transparent);
    border-radius: 50%;
    animation: particleFloat 15s infinite ease-in-out;
}

.particle:nth-child(1) {
    top: 10%;
    left: 10%;
    animation-delay: 0s;
    animation-duration: 12s;
}

.particle:nth-child(2) {
    top: 20%;
    left: 80%;
    animation-delay: 2s;
    animation-duration: 14s;
}

.particle:nth-child(3) {
    top: 60%;
    left: 15%;
    animation-delay: 4s;
    animation-duration: 16s;
}

.particle:nth-child(4) {
    top: 80%;
    left: 70%;
    animation-delay: 1s;
    animation-duration: 13s;
}

.particle:nth-child(5) {
    top: 40%;
    left: 90%;
    animation-delay: 3s;
    animation-duration: 15s;
}

.particle:nth-child(6) {
    top: 70%;
    left: 30%;
    animation-delay: 5s;
    animation-duration: 11s;
}

.particle:nth-child(7) {
    top: 30%;
    left: 50%;
    animation-delay: 2.5s;
    animation-duration: 14.5s;
}

.particle:nth-child(8) {
    top: 90%;
    left: 60%;
    animation-delay: 4.5s;
    animation-duration: 12.5s;
}

/* ==================== FOOTER ==================== */
.footer {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    animation: footerSlideUp 1s ease-out 0.5s backwards;
    will-change: opacity, transform;
}



.social-links {
    display: flex;
    gap: 2rem;
    justify-content: center;
}

.social-link {
    color: #6b7280;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(59, 130, 246, 0.2);
}

.social-link:hover {
    color: #3b82f6;
    transform: translateY(-5px) scale(1.1);
    background: rgba(59, 130, 246, 0.1);
    border-color: rgba(59, 130, 246, 0.4);
    box-shadow: 0 10px 30px rgba(59, 130, 246, 0.2);
}

.social-link svg {
    width: 20px;
    height: 20px;
}

/* ==================== ANIMATIONS ==================== */
@keyframes gradientShift {

    0%,
    100% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }
}

@keyframes wordAppear {
    0% {
        opacity: 0;
        transform: translateY(100px) scale(0.8);
        filter: blur(20px);
    }

    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
        filter: blur(0);
    }
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0) rotate(0deg);
    }

    33% {
        transform: translateY(-20px) rotate(2deg);
    }

    66% {
        transform: translateY(10px) rotate(-1deg);
    }
}

@keyframes pulse {

    0%,
    100% {
        opacity: 0.8;
        text-shadow: 0 0 20px rgba(100, 200, 255, 0.5);
    }

    50% {
        opacity: 1;
        text-shadow: 0 0 40px rgba(100, 200, 255, 0.8);
    }
}

@keyframes fadeInDown {
    0% {
        opacity: 0;
        transform: translateX(-50%) translateY(-30px);
    }

    100% {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
}

@keyframes fadeInUp {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes particleFloat {

    0%,
    100% {
        transform: translate(0, 0) scale(1);
        opacity: 0;
    }

    10% {
        opacity: 1;
    }

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

    90% {
        opacity: 1;
    }
}

@keyframes slideDown {
    0% {
        transform: translateY(-100%);
        opacity: 0;
    }

    100% {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes footerSlideUp {
    0% {
        transform: translate(-50%, 100%);
        opacity: 0;
    }

    100% {
        transform: translate(-50%, 0);
        opacity: 1;
    }
}

/* ==================== RESPONSIVE ==================== */
@media (max-width: 768px) {
    .header {
        padding: 1rem 1.5rem;
    }

    .header-logo {
        height: 60px;
    }

    .nav-buttons {
        gap: 0.5rem;
    }

    .glass-radio-group label {
        min-width: 70px;
        padding: 0.6rem 0.8rem;
        font-size: 0.8rem;
    }

    .video-section {
        width: 100%;
        max-width: none;
        border-radius: 12px;
    }

    .coming-soon-container {
        margin-top: -1rem;
    }

    .coming-soon-text {
        font-size: clamp(2.5rem, 10vw, 5rem);
    }

    .word-2 {
        margin-left: 1rem;
    }

    .footer {
        bottom: 1.5rem;
    }

    .company-name {
        font-size: 0.9rem;
    }

    .social-links {
        gap: 1.5rem;
    }

    .social-link {
        width: 36px;
        height: 36px;
    }

    .content {
        padding: 1rem;
        padding-top: 2rem;
        gap: 1.5rem;
    }
}

@media (max-width: 480px) {
    .header {
        padding: 0.75rem 1rem;
    }

    .header-logo {
        height: 50px;
    }

    .nav-buttons {
        gap: 0.4rem;
    }

    .glass-radio-group label {
        min-width: 60px;
        padding: 0.5rem 0.5rem;
        font-size: 0.7rem;
    }

    .video-section {
        width: calc(100% + 2rem);
        margin-left: -1rem;
        max-width: none;
        border-radius: 0;
    }

    .coming-soon-text {
        font-size: clamp(1.5rem, 8vw, 2.5rem);
        white-space: nowrap;
    }

    .word {
        display: inline-block;
        margin-bottom: 0;
    }

    .word-2 {
        margin-left: 0.5rem;
    }

    .content {
        gap: 1rem;
        padding-top: 1rem;
        padding-bottom: 8rem;
    }

    .footer {
        bottom: 1rem;
    }
}

/* ==================== PERFORMANCE OPTIMIZATIONS ==================== */
/* @media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
} */