/* KayaGO — Landing page */

:root {
    --kaya-forest: #1A5C3A;
    --kaya-lime: #8BC34A;
    --kaya-lime-light: #A4D65E;
    --kaya-mist: #F4F9F5;
}

.landing-page {
    color: var(--kaya-forest);
}

.landing-hero {
    position: relative;
    min-height: min(60svh, 420px);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    background:
        radial-gradient(ellipse 80% 60% at 70% 20%, rgba(164, 214, 94, 0.28), transparent 55%),
        radial-gradient(ellipse 70% 50% at 10% 80%, rgba(26, 92, 58, 0.12), transparent 50%),
        linear-gradient(165deg, #e8f5e9 0%, var(--kaya-mist) 45%, #ffffff 100%);
}

.landing-hero::before {
    content: '';
    position: absolute;
    inset: -20% -10% auto auto;
    width: min(72vw, 560px);
    aspect-ratio: 1;
    border-radius: 50%;
    background:
        conic-gradient(
            from 200deg,
            transparent 0deg,
            rgba(26, 92, 58, 0.18) 60deg,
            rgba(139, 195, 74, 0.35) 140deg,
            rgba(26, 92, 58, 0.12) 220deg,
            transparent 300deg
        );
    filter: blur(2px);
    opacity: 0.85;
    animation: landing-swirl-float 12s ease-in-out infinite;
    pointer-events: none;
    z-index: 0;
}

.landing-hero::after {
    content: '';
    position: absolute;
    bottom: -15%;
    left: -8%;
    width: min(50vw, 380px);
    aspect-ratio: 1;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(139, 195, 74, 0.22), transparent 70%);
    animation: landing-swirl-float 14s ease-in-out infinite reverse;
    pointer-events: none;
    z-index: 0;
}

.landing-hero-swirl {
    display: none;
    position: absolute;
    right: -4%;
    top: 50%;
    translate: 0 -50%;
    width: min(42vw, 340px);
    aspect-ratio: 1;
    pointer-events: none;
    z-index: 0;
    opacity: 0.9;
    animation: landing-swirl-float 10s ease-in-out infinite;
}

@media (min-width: 768px) {
    .landing-hero-swirl {
        display: block;
    }
}

.landing-hero-swirl svg {
    width: 100%;
    height: 100%;
    display: block;
}

@keyframes landing-swirl-float {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    50% { transform: translate(-14px, 10px) rotate(6deg); }
}

.landing-nav,
.landing-hero-inner,
.landing-section {
    position: relative;
    z-index: 1;
}

.landing-fade-up {
    opacity: 0;
    transform: translateY(16px);
    animation: landing-fade-up 0.65s ease forwards;
}

.landing-fade-up-delay-1 { animation-delay: 0.1s; }
.landing-fade-up-delay-2 { animation-delay: 0.22s; }
.landing-fade-up-delay-3 { animation-delay: 0.34s; }

@keyframes landing-fade-up {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.landing-cta-btn {
    transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.landing-cta-btn:hover {
    transform: translateY(-2px) scale(1.02);
}

.landing-cta-btn:active {
    transform: translateY(0) scale(0.99);
}

.landing-step-track {
    position: relative;
}

.landing-step-track::before {
    content: '';
    display: none;
    position: absolute;
    top: 1.5rem;
    left: calc(16.666% + 1.25rem);
    right: calc(16.666% + 1.25rem);
    height: 2px;
    background: linear-gradient(
        90deg,
        rgba(139, 195, 74, 0.15),
        rgba(139, 195, 74, 0.55),
        rgba(139, 195, 74, 0.15)
    );
    z-index: 0;
}

@media (min-width: 640px) {
    .landing-step-track::before {
        display: block;
    }
}

.landing-step-num {
    position: relative;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 3rem;
    height: 3rem;
    border-radius: 9999px;
    font-variant-numeric: tabular-nums;
    font-weight: 700;
    font-size: 0.95rem;
    letter-spacing: 0.02em;
    color: var(--kaya-forest);
    background: var(--kaya-lime-light);
    box-shadow: 0 0 0 4px rgba(244, 249, 245, 1);
}

@media (prefers-reduced-motion: reduce) {
    .landing-hero::before,
    .landing-hero::after,
    .landing-hero-swirl {
        animation: none;
    }

    .landing-fade-up,
    .landing-fade-up-delay-1,
    .landing-fade-up-delay-2,
    .landing-fade-up-delay-3 {
        opacity: 1;
        transform: none;
        animation: none;
    }

    .landing-cta-btn:hover {
        transform: none;
    }
}
