/* Hero Section - Premium Dark with Gold Accents */

/* ========================================
   ENTRANCE ANIMATIONS
   ======================================== */

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.hero {
    background: transparent;
    margin: 0;
    padding: 0;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    text-align: center;
    position: relative;
    overflow: hidden;
}

/* Hero uses global theme variables */
.hero {
    --hero-text: var(--text-primary);
    --hero-text-secondary: var(--text-secondary);
    --hero-bg: var(--bg-primary);
    --hero-accent: var(--accent-primary);
}

/* 3D Canvas Container */
.hero-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
}

.hero-canvas canvas {
    display: block;
}

.hero-container {
    max-width: 1000px;
    margin: 0 auto;
    width: 100%;
    position: relative;
    z-index: 2;
    padding: 0 6%;
}

.profile-image-wrapper {
    margin: 0 auto 40px;
    width: 160px;
    height: 160px;
    position: relative;
    opacity: 0;
    animation: scaleIn 0.8s cubic-bezier(0.34, 1.56, 0.64, 1) 0.2s forwards;
}

.profile-image-wrapper::before {
    content: '';
    position: absolute;
    inset: -4px;
    border-radius: 50%;
    background: var(--accent-gradient);
    z-index: -1;
    animation: borderGlow 3s ease-in-out infinite alternate;
}

@keyframes borderGlow {
    0% {
        opacity: 0.7;
    }

    100% {
        opacity: 1;
    }
}

.profile-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    border: 4px solid var(--bg-primary);
    transition: var(--transition);
}

.profile-image:hover {
    transform: scale(1.05);
}

/* Hero Name - Large Impact */
.hero-greeting {
    font-size: 5rem;
    font-weight: 700;
    font-family: 'Inter', sans-serif;
    color: var(--hero-text);
    margin-bottom: 20px;
    letter-spacing: -0.03em;
    line-height: 1;
    opacity: 0;
    animation: fadeInUp 0.8s cubic-bezier(0.34, 1.56, 0.64, 1) 0.4s forwards;
}

/* Hero Status */
.hero-status-container {
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
    opacity: 0;
    animation: fadeInUp 0.8s ease-out 0.5s forwards;
}

.hero-status {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: rgba(14, 165, 233, 0.08);
    border: 1px solid rgba(14, 165, 233, 0.25);
    border-radius: 30px;
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--hero-accent);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    backdrop-filter: blur(8px);
}

.status-dot {
    width: 8px;
    height: 8px;
    background-color: #4ade80;
    border-radius: 50%;
    box-shadow: 0 0 10px rgba(74, 222, 128, 0.5);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(74, 222, 128, 0.4);
    }

    70% {
        box-shadow: 0 0 0 6px rgba(74, 222, 128, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(74, 222, 128, 0);
    }
}

/* Hero Roles */
.hero-roles {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
    margin-bottom: 30px;
    opacity: 0;
    animation: fadeInUp 0.8s ease-out 0.6s forwards;
}

.role-item {
    font-size: 0.9rem;
    color: var(--hero-text-secondary);
    font-weight: 500;
    letter-spacing: 0.05em;
    padding: 8px 16px;
    background: rgba(14, 165, 233, 0.08);
    border: 1px solid rgba(14, 165, 233, 0.25);
    border-radius: 30px;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.role-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    position: relative;
}

.role-dot::after {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    border-radius: 50%;
    opacity: 0.4;
    animation: pulse 2s infinite;
}

.dot-primary {
    background-color: #0ea5e9;
}

/* Blue */
.dot-primary::after {
    background-color: #0ea5e9;
}

.dot-secondary {
    background-color: #a855f7;
}

/* Purple */
.dot-secondary::after {
    background-color: #a855f7;
}

.dot-accent {
    background-color: #f59e0b;
}

/* Amber/Gold */
.dot-accent::after {
    background-color: #f59e0b;
}

.role-item:hover {
    background: rgba(14, 165, 233, 0.15);
    border-color: var(--hero-accent);
    color: var(--hero-accent);
    transform: translateY(-2px);
}

.role-separator {
    display: none;
    /* Hide dots, pills separate themselves */
}

.hero-headline {
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--hero-text);
    max-width: 900px;
    margin: 0 auto 40px;
    line-height: 1.2;
    /* Opacity handled by JS for reveal */
    font-family: 'Inter', sans-serif;
    letter-spacing: -0.02em;
}

@media (max-width: 768px) {
    .hero-headline {
        font-size: 2.5rem;
    }
}

.hero-tagline {
    font-size: 1.125rem;
    color: var(--hero-text-secondary);
    font-weight: 300;
    letter-spacing: 0.01em;
    margin-bottom: 24px;
    opacity: 0;
    animation: fadeInUp 0.8s ease-out 0.7s forwards;
}

.hero-description {
    font-size: 1rem;
    color: var(--hero-text-secondary);
    line-height: 1.8;
    max-width: 600px;
    margin: 0 auto 50px;
    font-weight: 300;
    letter-spacing: 0.01em;
    opacity: 0;
    animation: fadeInUp 0.8s ease-out 0.8s forwards;
}

.hero-cta {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 40px;
    opacity: 0;
    animation: fadeInUp 0.8s ease-out 0.9s forwards;
}

.btn-connect {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 36px;
    background: var(--accent-gradient);
    color: #0a0a0f;
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 600;
    font-family: 'Inter', sans-serif;
    letter-spacing: 0.05em;
    border-radius: 10px;
    transition: var(--transition);
    text-transform: uppercase;
    box-shadow: 0 4px 25px rgba(14, 165, 233, 0.35);
}

.btn-connect:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 8px 35px rgba(14, 165, 233, 0.5);
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 36px;
    background: rgba(14, 165, 233, 0.05);
    color: var(--hero-accent);
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 500;
    font-family: 'Inter', sans-serif;
    letter-spacing: 0.05em;
    border: 1px solid rgba(14, 165, 233, 0.35);
    border-radius: 10px;
    transition: var(--transition);
    text-transform: uppercase;
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
}

.btn-secondary:hover {
    background: var(--accent-gradient);
    border-color: transparent;
    color: #0a0a0f;
    transform: translateY(-3px) scale(1.02);
}

/* Responsive Design */
@media (max-width: 968px) {
    .hero-greeting {
        font-size: 3.5rem;
    }

    .hero-headline {
        font-size: 1.25rem;
    }

    .hero-badges {
        gap: 12px;
    }

    .hero-badge {
        padding: 12px 20px;
        font-size: 0.75rem;
    }

    .hero-description {
        font-size: 0.9375rem;
    }

    .profile-image-wrapper {
        width: 140px;
        height: 140px;
        margin-bottom: 35px;
    }

    .hero-cta {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }
}

@media (max-width: 640px) {
    .hero {
        padding: 100px 0 80px;
    }

    .hero-greeting {
        font-size: 2.5rem;
    }

    .hero-headline {
        font-size: 1rem;
    }

    .hero-badges {
        flex-direction: column;
        align-items: center;
    }

    .hero-badge {
        width: fit-content;
    }

    .hero-description {
        font-size: 0.875rem;
        margin-bottom: 40px;
    }

    .profile-image-wrapper {
        width: 120px;
        height: 120px;
        margin-bottom: 30px;
    }

    .btn-connect,
    .btn-secondary {
        padding: 14px 28px;
        font-size: 0.8125rem;
        width: 100%;
        justify-content: center;
        max-width: 280px;
    }
}