@import url('https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,100..1000;1,9..40,100..1000&display=swap');
body {
    margin: 0;
    padding: 0;
    height: 100vh;
    font-family: 'DM Sans', sans-serif;
    color: #fff;
    overflow: hidden;
    background-image: url('../assets/landing-bg.jpg');
    background-size: cover;
    background-position: center bottom;
    background-repeat: no-repeat;
    position: relative;
}
body::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 40%;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.4) 0%, rgba(0, 0, 0, 0) 100%);
    pointer-events: none;
    z-index: 0;
}
.container {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 2.5rem 4rem;
    box-sizing: border-box;
    position: relative;
    z-index: 1;
}
.transition-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../assets/login-bg.png');
    background-size: cover;
    background-position: center;
    opacity: 0;
    pointer-events: none;
    z-index: 10;
    transition: opacity 1.5s ease-in-out;
}
.transition-overlay.active {
    opacity: 1;
}
.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    opacity: 0;
    animation: fadeInDown 1s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
    animation-delay: 0.2s;
}
.logo {
    font-weight: 700;
    font-size: 1.5rem;
    color: #fff;
    letter-spacing: -0.02em;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}
.hero {
    text-align: center;
    max-width: 900px;
    align-self: center;
    margin-top: -5vh;
}
.headline {
    font-size: 5rem;
    font-weight: 500;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    letter-spacing: -0.04em;
    color: #fff;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.2);
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 1s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
    animation-delay: 0.4s;
}
.subheadline {
    font-size: 1.25rem;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 3rem;
    line-height: 1.6;
    max-width: 650px;
    margin-left: auto;
    margin-right: auto;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 1s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
    animation-delay: 0.6s;
}
.cta-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    opacity: 1;
    transform: translateY(0);
}
.cta-arrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0.1));
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-top-color: rgba(255, 255, 255, 0.7);
    border-left-color: rgba(255, 255, 255, 0.7);
    color: white;
    border-radius: 50%;
    text-decoration: none;
    transition: all 0.3s ease;
    z-index: 20;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}
.cta-arrow i {
    font-size: 2rem;
    transition: transform 0.3s ease;
}
.cta-arrow:hover {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.3), rgba(255, 255, 255, 0.15));
    border-color: rgba(255, 255, 255, 0.9);
    transform: scale(1.05);
}
.cta-arrow:hover i {
    transform: translate(2px, -2px) rotate(-10deg);
}
.cta-text {
    font-size: 0.9rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.8);
    letter-spacing: 0.05em;
    text-transform: uppercase;
    transition: color 0.3s;
}
.cta-wrapper:hover .cta-text {
    color: #fff;
}
.cta-arrow.exiting {
    z-index: 30;
    background: rgba(255, 255, 255, 0.5) !important;
    border-color: #fff !important;
}
.cta-arrow i {
    display: inline-block;
}
@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
@keyframes drawPath {
    from {
        stroke-dashoffset: 200;
    }
    to {
        stroke-dashoffset: 0;
    }
}
.highlight-container {
    position: relative;
    display: inline-block;
}
.flourish-underline {
    position: absolute;
    bottom: -15px;
    left: 0;
    width: 100%;
    height: 12px;
    overflow: visible;
    z-index: -1;
}
.flourish-underline path {
    stroke-dasharray: 200;
    stroke-dashoffset: 200;
    animation: drawPath 1.2s cubic-bezier(0.7, 0, 0.3, 1) forwards;
    animation-delay: 1.2s;
    opacity: 0.9;
}
@media (max-width: 768px) {
    .headline {
        font-size: 3.5rem;
    }
    .flourish-underline {
        bottom: -10px;
    }
    .container {
        padding: 1.5rem;
    }
}