@import url('https://fonts.googleapis.com/css2?family=Ubuntu:ital,wght@0,300;0,400;0,500;0,700;1,300;1,400;1,500;1,700&display=swap');

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

html {
    scroll-behavior: smooth;
    overscroll-behavior-y: none;
}

body {
    font-family: 'Ubuntu', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, sans-serif;
    overflow-x: hidden;
    background: black;
    font-weight: 300;
    overscroll-behavior-y: none;
}

header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 2rem;
    z-index: 100;
    background: transparent;
    transition: background 0.3s ease;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header-buttons .header-button  {
    background: rgba(0, 0, 0, 0.5);
    color: white;
    border: 1px solid gray;
    padding: .75rem 1rem;
    font-size: 1rem;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    letter-spacing: 1px;
    font-family: 'Ubuntu', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, sans-serif;
    font-weight: 300;
    text-decoration: none;
}

.create-button {
    margin-right: 1rem;
}

.header-buttons .header-button:hover {
    background: #545454;
    transform: translateY(-2px);
    border: 1px solid transparent;
}

.header-buttons .header-button:active {
    background: #6b6b6b;
    transform: translateY(0);
    border: 1px solid transparent;
}

.header-buttons .header-button:focus {
    outline: 2px solid #3b82f6;
    outline-offset: 2px;
}

.site-logo {
    height: auto;
    width: 100%;
    max-width: 120px;
    filter: brightness(0) invert(1);
}

.video-section {
    position: relative;
    width: 100%;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    overflow: hidden;
}

#section3, #section4 {
    background: black;
}

.video-bg {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translate(-50%, -50%);
    z-index: 0;
    object-fit: cover;
}

.shared-video-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    min-width: 100%;
    min-height: 100%;
    transform: none;
    z-index: 0;
    object-fit: cover;
    object-position: left;
}

@media (max-width: 1200px) {
    .shared-video-bg {
        object-position: 20%;
    }
}


@media (max-width: 970px) {
    .shared-video-bg {
        object-position: 40%;
    }
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.2);
    z-index: 1;
}

.left-gradient {
    position: absolute;
    top: 0;
    left: 0;
    width: 50%;
    height: 100%;
    background: linear-gradient(to right, rgba(0, 0, 0, 0.8), transparent);
    z-index: 1;
    pointer-events: none;
}

.video-section:nth-of-type(n+3)::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 200px;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.9), transparent);
    z-index: 1;
    pointer-events: none;
}

.video-section:not(:first-of-type)::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 200px;
    background: linear-gradient(to bottom, transparent, rgba(0, 0, 0, 0.9));
    z-index: 1;
    pointer-events: none;
}

.content {
    position: relative;
    z-index: 3;
    text-align: left;
    color: white;
    padding: 0 3rem;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
    width: 100%;
}

.content.visible {
    opacity: 1;
    transform: translateY(0);
}

.content.hidden {
    opacity: 0;
    transform: translateY(30px);
}

.content-text {
    width: 65%;
    max-width: 660px;
}

/* Keyframes for stagger fade-in effect */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.content h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.7);
    line-height: 1.2;
    max-width: 74%;
    opacity: 0;
    transform: translateY(30px);
}

.content.visible h1 {
    animation: fadeInUp 0.8s ease-out forwards;
    animation-delay: 0.2s;
}

.content p {
    max-width: 450px;
    font-size: 1.5rem;
    margin-bottom: 2.5rem;
    line-height: 1.4;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.7);
    font-weight: 300;
    opacity: 0;
    transform: translateY(30px);
}

.content.visible p {
    animation: fadeInUp 0.8s ease-out forwards;
    animation-delay: 0.4s;
}

.cta-button {
    display: flex;
    align-items: center;
    background: #F66100;
    color: white;
    border: none;
    padding: 1rem 1.5rem;
    font-size: 1rem;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    letter-spacing: 1px;
    font-family: 'Ubuntu', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, sans-serif;
    font-weight: 300;
    opacity: 0;
    transform: translateY(30px);
    text-decoration: none;
    justify-content: center;
    width: 100%;
}

.content.visible .cta-button {
    animation: fadeInUp 0.8s ease-out forwards;
    animation-delay: 0.6s;
}

.cta-button:hover {
    transform: translateY(-2px);
    background: #ff7b00;
}

.cta-button:active {
    transform: translateY(0);
    background: #e65c00;
}

.cta-button:focus {
    background: #F66100;
    outline: 2px solid #3b82f6;
    outline-offset: 2px;
}

footer {
    background: #000000;
    color: white;
    padding: 60px 80px 40px;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 40px;
    z-index: 1;
    position: relative;
}

.footer-column h3 {
    font-size: .9rem;
    font-weight: 500;
    margin-bottom: 1rem;
    color: white;
    text-transform: uppercase;
}

.footer-column ul {
    list-style: none;
}

.footer-column ul li {
    margin-bottom: 12px;
}

.footer-column ul li a {
    color: #cccccc;
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.3s ease;
    font-weight: 300;
}

.footer-column ul li a:hover {
    color: white;
}







.x-icon {
    width: 30px;
}

.social-column {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.social-column p {
    font-weight: 300;
}

.copyright {
    background: #000000;
    color: #cccccc;
    padding: 20px 80px;
    z-index: 1;
    position: relative;
}

.copyright p {
    margin: 0;
    font-size: 0.9rem;
    font-weight: 300;
}

.animation-graphic {
    position: absolute;
    bottom: 7rem;
    right: 1rem;
    max-width: 450px;
    width: 100%;
    height: auto;
    z-index: 3;
    opacity: 0;
    pointer-events: none;
}


.play-button {
    margin-right: 1rem;
    width: 13px;
}



.animation-graphic.chat-bubbles {
     max-width: 630px;   
}

.animation-graphic.chat-hearts {
    max-width: 590px;
    z-index: 2;
    right: 0;
}

.animation-graphic.chat-tokens {
    max-width: 450px;
}

.search-graphic {
    margin-left: -2rem;
    width: 100%;
    max-width: 600px;
    opacity: 0;
    transform: translateY(30px);
}

.content.visible .search-graphic {
    animation: fadeInUp 0.8s ease-out forwards;
    animation-delay: 0.3s;
}

#section3 .video-bg {
    transform: translate(-45%, -50%);
}

#section4 .video-bg {
    transform: translate(-40%, -50%) ;
}

@media (max-width: 1200px) {
    .animation-graphic.chat-bubbles {
        max-width: 630px;
    }
    
    .animation-graphic.chat-hearts {
        max-width: 560px;
    }
}

@media (max-width: 991px) {
    footer {
        grid-template-columns: repeat(3, 1fr);
        padding: 50px 40px 30px;
        gap: 30px;
    }

    #section2 .content-text p {
        max-width: 370px;
    }

    .animation-graphic.chat-bubbles {
        bottom: 0;
    }

    .animation-graphic.chat-hearts {
        bottom: 0;
    }
}

@media (max-width: 768px) {
    header {
        padding: 1rem;
    }
    .content {
        padding: 0 1rem;   
    }

    #section1 .content {
        bottom: 20vw;
    }

    .content h1 {
        font-size: 2.5rem;
        max-width: 100%;
    }

    .content p {
        font-size: 1.1rem;
        margin-bottom: 2rem;
    }

    .cta-button {
        padding: 14px 36px;
        font-size: 1rem;
    }

    

    .copyright {
        padding: 20px 40px;
    }

    .content-text {
        width: 100%
    }

    .content-text p {
        max-width: 100%;
    }

    .animation-graphic.chat-bubbles {
        max-width: 100%;
        width: 100%;
        left: 0px;
        right: 0px;
        bottom: 0px;
    }
    
    .animation-graphic.chat-hearts {
        max-width: 100%;
        width: 100%;
        left: 0px;
        right: 0px;
        bottom: 0;
    }

    #section2 {
        flex-direction: column;
        justify-content: center;
    }

    #section2 .content-text p {
        max-width: 100%;
    }

    .animation-graphic.chat-tokens {
        max-width: 500px;
        width: 100%;
        position: relative;
        bottom: auto;
        right: auto;
    }


}

@media (max-width: 600px) {
    footer {
        grid-template-columns: repeat(2, 1fr);
        padding: 40px 30px 20px;
        gap: 20px
    }

    .copyright {
        padding: 20px 30px;
    }
}


@media (max-width: 480px) {
    .site-logo {
        max-width: 80px;
    }

    .header-buttons .header-button {
        font-size: 0.7rem;
    }

    .create-button {
        margin-right: 0.5rem;
    }

    .content h1 {
        font-size: 2rem;
    }
}

@media (max-width: 375px) {
    .header-buttons .header-button  {
        font-size: 0.55rem;
    }
}

@media (max-width: 768px) {
    .animation-graphic {
        max-width: 350px;
        width: 40%;
        bottom: 40px;
        right: 40px;
    }
}

@media (max-width: 480px) {
    .animation-graphic {
        max-width: 250px;
        width: 45%;
        bottom: 30px;
        right: 30px;
    }

    .search-graphic {
        margin-left: -25px;
    }
}

@media (min-width: 1500px) {
    .content h1 {
        font-size: 4rem;
    }

    .content p {
        font-size: 2rem;
        max-width: 90%;
    }

    .content-text {
        max-width: 900px;
    }

    .animation-graphic.chat-tokens {
        max-width: 500px;
        right: 2rem;
    }

    #section4 .video-bg {
        transform: translate(-40%, -50%) scale(1.1);
    }

    #section2 p {
        max-width: 550px;
    }
}

@media (min-width: 600px) {
    .content h1 {
        max-width: 60%;
    }
}

