/* hero.css - Hero Section Styles – with CSS variables */

#hero {
    position: relative;
    height: 100vh;
    min-height: 720px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 0 5%;
    overflow: hidden;
    color: var(--text-primary, #000000);
    background: var(--bg-primary, #ffffff);
    /* fallback for light mode */
}

#particles {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 3;
    max-width: 1100px;
}

.logo-small {
    font-size: 3rem;
    font-weight: 700;
    color: var(--logo-color, #2fa7ac);
    margin-bottom: 4rem;
    letter-spacing: -1px;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.9s ease-out 1s;
}

.logo-small.visible {
    opacity: 1;
    transform: translateY(0);
}

.headline {
    font-size: clamp(2.6rem, 8.5vw, 5rem);
    font-weight: 700;
    line-height: 1.02;
    max-width: 100%;
    letter-spacing: -1.8px;
    margin-bottom: 5rem;
    color: var(--text-heading, #000000);
    text-shadow: var(--text-shadow-hero, 0 4px 30px rgba(0, 0, 0, 0.28));
}

.headline span {
    opacity: 0;
    display: inline-block;
}

.headline .cursor {
    display: inline-block;
    width: 5px;
    height: 1.05em;
    background: linear-gradient(90deg, var(--gradient-start, #ffdd00), var(--gradient-middle, #ff8c00), var(--gradient-end, #ff5500));
    vertical-align: middle;
    margin-left: 2px;
    border-radius: 2px;
    animation: blink 0.72s step-end infinite;
}

@keyframes blink {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0;
    }
}

.subheadline {
    font-size: clamp(1.3rem, 3vw, 1.9rem);
    font-weight: 400;
    color: var(--accent, #2fa7ac);
    max-width: 780px;
    margin: 0 auto 5rem;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.9s ease-out 1s;
}

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

.hero-cta {
    opacity: 0;
    transform: translateY(40px);
    transition: all 1s ease-out 1s;
}

.hero-cta.visible {
    opacity: 1;
    transform: translateY(0);
}

.main-download {
    background: var(--btn-primary-bg, #000);
    color: var(--btn-primary-text, white);
    padding: 1rem 2.2rem;
    border-radius: 999px;
    font-size: 1.15rem;
    font-weight: 500;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.7rem;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-btn, 0 6px 20px rgba(0, 0, 0, 0.15));
}

.main-download:hover {
    background: var(--btn-primary-hover, #111);
    transform: translateY(-3px);
    box-shadow: var(--shadow-btn-hover, 0 12px 32px rgba(0, 0, 0, 0.18));
}

.secondary-cta {
    color: var(--text-primary, black);
    font-weight: 500;
    background-color: var(--btn-secondary-bg, rgb(233, 231, 229));
    text-decoration: none;
    font-size: 1.1rem;
    padding: 1rem 1.8rem;
    border-radius: 999px;
    transition: all 0.3s;
}

.secondary-cta:hover {
    background: var(--btn-secondary-hover, rgba(96, 165, 250, 0.12));
}