/* =============================================
   HERO SECTION — minimal, centered
   ============================================= */

.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: var(--header-height);
    position: relative;
    overflow: hidden;
}

/* Single centered column */
.hero__container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    z-index: 1;
    max-width: 800px;
    width: 100%;
    padding: 0 1.5rem;
}

.hero__content {
    display: flex;
    flex-direction: column;
    align-items: center;
    animation: heroEntrance 0.8s cubic-bezier(0.16, 1, 0.3, 1) both;
}

@keyframes heroEntrance {
    from { opacity: 0; transform: translateY(30px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* ── Hero title ── */
.hero__title {
    margin-top: 2.5rem;
    font-size: clamp(2.2rem, 6vw, 4.5rem);
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 0.5rem;
    letter-spacing: -0.03em;
    color: var(--text-primary);
}

/* ── Name — plain, bold ── */
.hero__name {
    display: inline-block;
    color: var(--text-primary);
    font-weight: 800;
    animation: nameReveal 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.3s both;
}

@keyframes nameReveal {
    from { opacity: 0; transform: translateY(16px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* Minimal underline */
.hero__name-decoration {
    width: 40px;
    height: 2px;
    background: var(--text-primary);
    margin: 0.75rem auto 1.5rem;
    animation: decorationFade 0.8s ease 1s both;
}

@keyframes decorationFade {
    from { opacity: 0; width: 0; }
    to   { opacity: 1; width: 40px; }
}

/* ── Subtitle / typing ── */
.hero__subtitle {
    font-size: clamp(1.1rem, 2.5vw, 1.6rem);
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    min-height: 3rem;
    font-weight: 400;
    animation: fadeInUp 0.7s ease 0.5s both;
}

.typing-text  { color: var(--text-primary); font-weight: 600; }
.cursor-blink { color: var(--text-secondary); animation: blink 1s infinite; }

@keyframes blink {
    0%, 50%   { opacity: 1; }
    51%, 100% { opacity: 0; }
}

/* ── Description ── */
.hero__description {
    font-size: 1.05rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    line-height: 1.8;
    max-width: 600px;
    animation: fadeInUp 0.7s ease 0.7s both;
}

/* ── Buttons ── */
.hero__buttons {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
    justify-content: center;
    animation: fadeInUp 0.7s ease 0.9s both;
}

/* ── Socials ── */
.hero__socials {
    display: flex;
    gap: 1rem;
    justify-content: center;
    animation: fadeInUp 0.7s ease 1.1s both;
}

.social-link {
    width: 42px; height: 42px;
    border-radius: 50%;
    background: var(--bg-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-primary);
    transition: all var(--transition-base);
    border: 1px solid var(--glass-border);
}
.social-link:hover {
    background: var(--primary-color);
    color: var(--bg-primary);
    transform: translateY(-4px);
}

/* ── Scroll indicator ── */
.hero__scroll {
    position: absolute;
    bottom: 2rem; left: 50%;
    transform: translateX(-50%);
    z-index: 1;
}
.scroll-down {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-light);
    font-size: 0.85rem;
    transition: all var(--transition-base);
}
.scroll-down:hover { color: var(--text-primary); transform: translateY(4px); }
.scroll-down i { animation: scrollArrow 2s infinite; }

/* ── Shared keyframes ── */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(20px); }
    to   { opacity: 1; transform: translateY(0); }
}

@keyframes scrollArrow {
    0%, 100% { transform: translateY(0); }
    50%       { transform: translateY(8px); }
}

/* ── Responsive ── */
@media screen and (max-width: 768px) {
    .hero__title    { font-size: 2.4rem; }
    .hero__subtitle { font-size: 1.2rem; }
}
@media screen and (max-width: 576px) {
    .hero__title    { font-size: 2rem; }
    .hero__subtitle { font-size: 1rem; }
    .hero__buttons  { flex-direction: column; align-items: center; }
}
