/* ============================================
   FONTS
   ============================================ */

@font-face {
    font-family: 'Malvides';
    src: url('../fonts/Malvides.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
}

/* ============================================
   HEADER / NAVIGATION
   ============================================ */

.header {
    position: fixed;
    top: 0;
    width: 100%;
    background: #0000;
    height: 74px;
    display: flex; align-items: center;
    z-index: 1000;
    border: 1px solid transparent;
    transition: all ease 0.8s;
    background: #fafafaee;
    border-radius: 14px;
    backdrop-filter: blur(10px);
}

.header.scrolled {
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}




.header .container {
    display: flex;
    transition: all linear 0.2s;
    justify-content: space-between;
    align-items: center;
    padding: 0 40px;
}

.header .logo {
    font-size: 26px;
    color: var(--text-dark);
    line-height: 1;
    font-weight: 800;
    text-transform: uppercase;
    display: flex; flex-direction: column;
    text-decoration: none;
    width: fit-content;
}

.header .logo .subtitle{
    font-size: 22px; display: flex;
    align-items: center; gap: 10px;
    color: var(--accent-color);
    text-shadow: 0 0 30px var(--accent-color);
    transition: all linear 0.2s;
}

.header .logo .subtitle .filler{
    flex-grow: 1; height: 2px;
    border-radius: 2px;
    transition: all linear 0.2s;
    box-shadow: 0 0 20px var(--accent-color);
    background: var(--accent-color);
}

.header.scrolled .logo .subtitle{font-size: 18px;}


.nav-menu {
    display: flex;
    list-style: none;
    gap: 40px;
    align-items: center;
}

.nav-menu a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    font-size: 14px;
    transition: var(--transition);
    position: relative;
    padding: 4px;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 4px;
    width: 0;
    height: 2px;
    background: var(--accent-color);
    transition: var(--transition);
    box-shadow: 0 0 30px var(--accent-color);
}

.nav-menu a:hover::after {width: calc(100% - 8px);}

.nav-menu a.cta-button {
    background: var(--primary-color);
    color: var(--secondary-color) !important;
    padding: 10px 22px;
    box-shadow: 0 0 20px #0002;
    border-radius: 8px;
}

.nav-menu a.cta-button::after {
    display: none;
}


.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--primary-color);
    border-radius: 4px;
    transition: var(--transition);
}

@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }

    .hamburger {
        display: flex;
    }

    .header .container {
        padding: 20px 20px;
    }
}

@media (min-width : 768px) {
    .header.scrolled{
        border-color: #fffb;
        height: 66px;
        box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
        margin: 10px 20px; width: calc(100% - 40px);
    }
}


/* ============================================
   HERO SECTION (100vh)
   ============================================ */

.hero {
    padding-top: 74px;
    padding-bottom: 0;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.hero-content h1 {
    font-size: 70px;
    font-weight: 800;
    line-height: 1.1;
    color: var(--text-dark);
    margin-bottom: 20px;
}

.hero-line {
    display: block;
}

.hero-subtitle {
    font-size: 18px;
    color: var(--text-light);
    margin-bottom: 40px;
    max-width: 500px;
    line-height: 1.8;
}

.hero-buttons {
    display: flex;
    gap: 10px 20px;
    flex-wrap: wrap;
}

.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
    aspect-ratio: 1;
    background: radial-gradient(ellipsis at 50% 50%, black, transparent 50%);
}

.floating-card {
    width: 300px;
    height: 300px;
    background: linear-gradient(115deg, var(--accent-color) 0%, var(--secondary-color) 100%);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: -40px 40px 80px var(--accent-color);
    animation: float 6s ease-in-out infinite;
    flex-direction: column;
    gap: 20px;
}

.floating-card i {
    font-size: 48px;
    color: var(--secondary-color);
}

.card-content {
    color: var(--secondary-color);
    font-size: 24px;
    font-weight: 700;
    text-align: center;
}


@media (max-width: 968px) {
    .hero .container {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .hero-content h1 {
        font-size: 48px;
    }

    .hero-visual {
        display: none;
    }
}

@media (max-width: 768px) {
    .hero {
        min-height: auto;
        padding: 100px 0;
    }

    .hero-content h1 {
        font-size: 36px;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .btn {
        width: 100%;
    }
}