/* =========================================
   HERO SECTION STYLES
   ========================================= */

   .hero-section-wrapper {
    margin-bottom: 2rem;
    position: relative;
    z-index: 10;
}

/* --- HEADER LAYOUT --- */
.hero-header {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

/* --- AVATAR COMPONENT --- */
.hero-avatar-container {
    width: 5rem;
    height: 5rem;
    border-radius: 9999px;
    overflow: hidden;
    border: 4px solid white;
    background-color: #e5e7eb;
    flex-shrink: 0;
    box-shadow: 0 0 0 1px rgba(241, 245, 249, 1), 
                0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.hero-avatar-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.hero-avatar-container:hover .hero-avatar-img {
    transform: scale(1.1);
}

@media (min-width: 768px) {
    .hero-avatar-container {
        width: 6rem;
        height: 6rem;
    }
}

/* --- HERO INFO & NAME --- */
.hero-info {
    padding-top: 0.25rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.hero-name {
    font-size: 1.875rem;
    font-weight: 800;
    color: #0f172a;
    letter-spacing: -0.025em;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    
    /* Layout Fixes (Compact) */
    line-height: 1;
    margin-bottom: 0;
}

@media (min-width: 768px) {
    .hero-name {
        font-size: 2.25rem;
    }
}

/* Wave Animation (Double Wave + Pause) */
.hero-wave {
    display: inline-block;
    transform-origin: 70% 70%;
    animation: wave 3.5s infinite;
}

@keyframes wave {
    /* Lambaian 1 */
    0% { transform: rotate(0deg); }
    5% { transform: rotate(18deg); }
    10% { transform: rotate(-8deg); }
    15% { transform: rotate(14deg); }
    20% { transform: rotate(-4deg); }
    25% { transform: rotate(0deg); }

    /* Jeda */
    30% { transform: rotate(0deg); }

    /* Lambaian 2 */
    35% { transform: rotate(18deg); }
    40% { transform: rotate(-8deg); }
    45% { transform: rotate(14deg); }
    50% { transform: rotate(-4deg); }
    55% { transform: rotate(0deg); }

    /* Istirahat Panjang (Pause) */
    100% { transform: rotate(0deg); }
}

/* --- INTERACTIVE STATUS INDICATOR --- */

/* 1. Container Link */
.hero-status-link {
    margin-top: 0.35rem; /* Jarak rapat dengan nama */
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    cursor: pointer;
    vertical-align: middle;
}

/* 2. Dots Styling */
.status-dot-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 0.875rem; /* 14px */
    width: 0.875rem;
    flex-shrink: 0;
}

.status-dot-ping {
    animation: ping 1s cubic-bezier(0, 0, 0.2, 1) infinite;
    position: absolute;
    display: inline-flex;
    height: 100%;
    width: 100%;
    border-radius: 9999px;
    background-color: #4ade80;
    opacity: 0.75;
}

.status-dot-solid {
    position: relative;
    display: inline-flex;
    border-radius: 9999px;
    height: 0.875rem; /* 14px */
    width: 0.875rem;
    background-color: #22c55e;
    transition: background-color 0.2s ease;
}

@keyframes ping {
    75%, 100% {
        transform: scale(2);
        opacity: 0;
    }
}

/* 3. Text Window (Masking) */
.status-text-window {
    height: 2.25rem; /* 36px */
    overflow: hidden;
    display: block;
    position: relative;
}

/* 4. Sliding Track */
.status-text-track {
    display: flex;
    flex-direction: column;
    transform: translateY(0);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* 5. Text Item */
.status-text-item {
    height: 2.25rem; /* Sama dengan window */
    display: flex;
    flex-direction: row; /* Agar Icon & Teks sebaris */
    align-items: center;
    font-size: 1rem; /* 16px */
    letter-spacing: 0.01em;
    white-space: nowrap;
}

/* State: Available */
.status-text-item.default {
    color: #64748b;
    font-weight: 400;
    text-decoration: underline;
    text-decoration-style: dashed;
    text-decoration-color: #cbd5e1;
    text-decoration-thickness: 1px;
    text-underline-offset: 4px;
}

/* State: Hover (Reach out) */
.status-text-item.hover {
    color: #0f172a;
    font-weight: 600;
    text-decoration: none;
    gap: 0.5rem;
}

/* Hover Interaction */
.hero-status-link:hover .status-text-track {
    transform: translateY(-2.25rem); /* Geser ke atas */
}

.hero-status-link:hover .status-dot-solid {
    background-color: #16a34a;
}

/* --- BIO DESCRIPTION --- */
.hero-bio p {
    font-size: 1.05rem;
    line-height: 1.8;
    color: #475569;
    font-weight: 400;
}

.highlight-text {
    font-weight: 600;
    color: #0f172a;
    background-color: rgba(254, 249, 195, 0.8);
    padding: 0 0.25rem;
    border-radius: 0.125rem;
}

/* --- ACTION BAR & SOCIALS --- */
.hero-actions {
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid #f1f5f9;
}

.qa-trigger {
    margin-bottom: 1.5rem;
}

.qa-text {
    font-size: 1.125rem;
    font-weight: 700;
    color: #0f172a;
    display: flex;
    align-items: center;
    gap: 0.25rem;
    flex-wrap: wrap;
}

.qa-link {
    background: none;
    border: none;
    font-weight: 800;
    color: #0f172a;
    cursor: pointer;
    text-decoration: underline;
    text-decoration-thickness: 2px;
    text-decoration-color: #cbd5e1;
    transition: all 0.2s;
    padding: 0;
}

.qa-link:hover {
    color: #2563eb;
    text-decoration-color: #60a5fa;
}

.qa-subtext {
    font-size: 0.875rem;
    color: #64748b;
    margin-top: 0.25rem;
}

/* Action Buttons */
.action-buttons {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.btn-resume {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background-color: white;
    border: 1px solid #e2e8f0;
    padding: 0.625rem 1.25rem;
    border-radius: 0.75rem;
    font-weight: 600;
    color: #0f172a;
    font-size: 0.95rem;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
    transition: all 0.2s ease;
}

.btn-resume:hover {
    border-color: #cbd5e1;
    background-color: #f8fafc;
    transform: translateY(-1px);
}

.social-icons {
    display: flex;
    gap: 1rem;
}

.social-btn {
    font-size: 1.5rem;
    color: #64748b;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.social-btn:hover {
    color: #0f172a;
    transform: scale(1.1);
}