@font-face {
    font-family: "Neue Machina";
    src: url("../../public/assets/fonts/neue-machina-free-for-personal-use/NeueMachina-Light.otf") format("opentype");
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: "Tiempos Headline";
    src: url("../../public/assets/fonts/Tiempos-Font/TiemposHeadline-Light.otf") format("opentype");
    /* font-weight: 700; */
    font-style: normal;
}

@font-face {
    font-family: "Tiempos Headline bold";
    src: url("../../public/assets/fonts/Tiempos-Font/TiemposHeadline-Bold.otf") format("opentype");
    /* font-weight: 700; */
    font-style: normal;
}

.hero-section {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 0 2rem;
    position: relative;
    overflow: hidden;
    background: #030712;
    /* Fallback */
}


/* .home-section {
    position: relative;
} */

/* .hero-section::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 50px;
    background: linear-gradient(to bottom,
            rgba(255, 255, 255, 0) 0%,
            rgba(255, 255, 255, 0.05) 10%,
            rgba(255, 255, 255, 0.1) 20%,
            rgba(255, 255, 255, 0.2) 35%,
            rgba(255, 255, 255, 0.35) 50%,
            rgba(255, 255, 255, 0.55) 65%,
            rgba(255, 255, 255, 0.75) 80%,
            rgba(255, 255, 255, 0.9) 90%,
            rgba(255, 255, 255, 1) 100%);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);

    pointer-events: none;
    z-index: 5;
} */

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

.hero-content {
    max-width: 900px;
    z-index: 10;
}

.hero-subtitle {
    font-size: 2.5rem;
    font-weight: 300;
    color: var(--text-main);
    font-style: italic;
    /* margin-bottom: 0.5rem; */
    font-family: "Tiempos Headline";
    line-height: 72px;
    font-size: 48px;
}

.hero-title {
    font-size: 55px;
    font-weight: 800;
    background: linear-gradient(90deg, #3b82f6, #60a5fa, #a3cdfd);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 2rem;
    line-height: 70px;
    font-family: "Tiempos Headline bold";

}

.hero-description {
    color: #FFF;
    text-align: center;
    font-size: 19px;
    font-style: normal;
    font-weight: 300;
    line-height: 28px;
    font-feature-settings: 'liga' off, 'clig' off;
    font-family: "Neue Machina";
    /* 140% */

}

.scroll-indicator {
    position: absolute;
    bottom: 3rem;
    left: 3rem;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 120px;
    height: 120px;
}

.circular-text-container {
    position: absolute;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.circular-text {
    position: relative;
    width: 100%;
    height: 100%;
    font-family: "Neue Machina";
    font-size: 12px;
    font-weight: 300;
    color: #FFF;

    animation: rotateClockwise 10s linear infinite;
}

.circular-text span {
    position: absolute;
    left: 50%;
    transform-origin: 0 60px;
    /* Radius of the circle */
    color: #FFF;
    transform: rotate(calc(var(--i) * 10deg));
    font-size: 0.7rem;
    color: var(--text-muted);
    text-transform: uppercase;
    font-weight: 500;
}

@keyframes rotateClockwise {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

.scroll-icon-svg {
    position: absolute;
    width: 32px;
    height: auto;
    z-index: 5;
    transition: all 0.3s ease;
}

.scroll-icon-svg:hover {
    filter: brightness(0) saturate(100%) invert(42%) sepia(93%) saturate(1500%) hue-rotate(197deg) brightness(98%) contrast(97%);
    transform: scale(1.1);
    width: 62px;
}

.hero-secondary-content {
    position: absolute;
    bottom: 4rem;
    right: 2rem;
    text-align: left;
    max-width: 400px;
    color: rgba(255, 255, 255, 0.50);
    font-feature-settings: 'liga' off, 'clig' off;
    font-family: "Neue Machina";
    font-size: 20px;
    font-style: normal;
    font-weight: 300;
    line-height: 28px;
}

#reveal-text {
    color: rgba(255, 255, 255, 0.50);
    display: flex;
    flex-wrap: wrap;
    column-gap: 0.45rem;
    row-gap: 0.15rem;
}

#reveal-text span {
    transition: all 0.5s ease;
    white-space: nowrap;
    font-family: "Neue Machina";
    font-size: 18px;

}

#reveal-text span.active {
    color: #fff;
    font-weight: 400;
}

@media (max-width: 768px) {
    .hero-section {
        padding: 2rem 1.25rem 5rem;
        justify-content: flex-start;
        padding-top: calc(200px + 1.5rem);
        min-height: 100vh;
        min-height: 100dvh;
    }

    .hero-content {
        max-width: 100%;
        text-align: center;
        width: 100%;
        margin: 0 auto;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .hero-subtitle {
        font-size: 0.9rem;
        line-height: 1.45;
        text-align: center;
        color: rgba(255, 255, 255, 0.95);
        font-style: italic;
        margin-bottom: 0.35rem;
    }

    .hero-title {
        font-size: 32px;
        /* line-height: 1.4;
        text-align: center;
        margin-bottom: 1rem;
        background: linear-gradient(90deg, #3b82f6 0%, #0ea5e9 45%, #22d3ee 100%);
        -webkit-background-clip: text;
        background-clip: text;
        -webkit-text-fill-color: transparent; */
        line-height: 36px;
    }

    .hero-description {
        text-align: center;
        font-size: 12px;
        line-height: 15px;
        margin-top: 0;
        color: rgba(255, 255, 255, 0.95);
        max-width: 100%;
    }

    .hero-secondary-content {
        position: absolute;
        bottom: 8rem;
        right: 1rem;
        /* text-align: left; */
        /* max-width: 400px; */
        max-width: 250px;
        display: flex;
        /* justify-content: center; */
        align-items: center;
    }

    .hero-secondary-content p {
        max-width: 100%;
        margin: 0 auto;
        text-align: center;
        width: 100%;
    }

    .hero-secondary-content p,
    #reveal-text {
        color: rgba(255, 255, 255, 0.55);
        font-size: 11.5px;
        line-height: 15px;
        text-align: center;
    }

    #reveal-text {
        justify-content: center;
        width: 100%;
        max-width: 340px;
        margin: 0 auto;
        text-align: center;
        font-size: 11px;
        line-height: 15px;
    }

    #reveal-text span {
        text-align: center;
        font-size: 11px;
        line-height: 15px;
    }

    .scroll-indicator {
        position: absolute;
        bottom: 1.25rem;
        left: 1.25rem;
        width: 88px;
        height: 88px;
    }

    .scroll-icon-svg {
        width: 24px;
        filter: brightness(0) invert(1);
    }

    .circular-text {
        color: rgba(255, 255, 255, 0.85);
        font-size: 0.5rem;
        text-transform: none;
    }
.scroll-icon-svg:hover {
    width: 44px;
}
    /* Match circle radius to container - 44px = half of 88px for consistent radius */
    .circular-text span {
        transform-origin: 0 44px;
        transform: rotate(calc(var(--i) * 10deg));
    }
}