/* ============================================================
   HOME PAGE CSS
   ============================================================ */

/* ─── Hero Section ─────────────────────────────────────── */
#hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    padding-top: 72px;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 80% 80% at 50% -20%, rgba(124, 58, 237, 0.25), transparent),
        radial-gradient(ellipse 60% 60% at 80% 80%, rgba(6, 182, 212, 0.1), transparent);
    z-index: 0;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 var(--section-px);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    width: 100%;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(124, 58, 237, 0.1);
    border: 1px solid rgba(124, 58, 237, 0.3);
    border-radius: var(--radius-full);
    padding: 0.4rem 1rem;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--violet-light);
    margin-bottom: 1.5rem;
    animation: fadeDown 0.8s ease both;
}

.hero-badge span {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--cyan);
    animation: pulseGlow 2s ease infinite;
    display: inline-block;
}

.hero-heading {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    line-height: 1.1;
    font-weight: 800;
    margin-bottom: 1rem;
    animation: fadeUp 0.8s ease 0.1s both;
}

.hero-role-line {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: clamp(1.1rem, 2vw, 1.5rem);
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    animation: fadeUp 0.8s ease 0.2s both;
}

.hero-role-text {
    color: var(--cyan);
    font-weight: 600;
}

.hero-desc {
    color: var(--text-secondary);
    font-size: 1.05rem;
    line-height: 1.8;
    max-width: 520px;
    margin-bottom: 2.5rem;
    animation: fadeUp 0.8s ease 0.3s both;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    animation: fadeUp 0.8s ease 0.4s both;
}

.hero-socials {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-top: 2rem;
    animation: fadeUp 0.8s ease 0.5s both;
}

.hero-socials span {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.hero-social-icon {
    width: 40px;
    height: 40px;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    font-size: 1.1rem;
    transition: var(--transition);
}

.hero-social-icon:hover {
    border-color: var(--border-glow);
    color: var(--violet-light);
    background: rgba(124, 58, 237, 0.1);
    transform: translateY(-2px);
}

/* ─── Hero Visual Side ─────────────────────────────────── */
.hero-visual {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: fadeLeft 0.8s ease 0.2s both;
}

.hero-avatar-ring {
    position: relative;
    width: 360px;
    height: 360px;
}

.hero-avatar {
    width: 280px;
    height: 280px;
    border-radius: 50%;
    object-fit: cover;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border: 3px solid var(--border-glow);
    box-shadow: 0 0 40px var(--violet-glow), 0 0 80px rgba(6, 182, 212, 0.1);
}

.avatar-ring {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    border: 1px dashed rgba(124, 58, 237, 0.3);
    animation: spin 20s linear infinite;
}

.avatar-ring-2 {
    inset: 20px;
    border-color: rgba(6, 182, 212, 0.2);
    animation: spin 15s linear infinite reverse;
}

.avatar-dot {
    position: absolute;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--violet), var(--cyan));
    box-shadow: 0 0 12px var(--violet-glow);
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
}

/* Floating skill chips */
.hero-chip {
    position: absolute;
    background: var(--bg-card);
    backdrop-filter: blur(12px);
    border: 1px solid var(--border-glow);
    border-radius: var(--radius-md);
    padding: 0.5rem 0.9rem;
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--violet-light);
    white-space: nowrap;
    animation: float 6s ease-in-out infinite;
}

.hero-chip:nth-child(1) {
    top: 5%;
    left: -20%;
    animation-delay: 0s;
}

.hero-chip:nth-child(2) {
    top: 30%;
    right: -25%;
    animation-delay: -2s;
}

.hero-chip:nth-child(3) {
    bottom: 20%;
    left: -30%;
    animation-delay: -1s;
}

.hero-chip:nth-child(4) {
    bottom: 5%;
    right: -20%;
    animation-delay: -3s;
}

.hero-chip-icon {
    margin-right: 4px;
}

/* ─── Stats Bar ─────────────────────────────────────────── */
.hero-stats {
    position: relative;
    z-index: 1;
    max-width: var(--max-width);
    margin: 3rem auto 0;
    padding: 0 var(--section-px) 6rem;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.stat-item {
    text-align: center;
    padding: 1.5rem;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    backdrop-filter: blur(12px);
    transition: var(--transition);
    animation: fadeUp 0.8s ease both;
}

.stat-item:hover {
    border-color: var(--border-glow);
    transform: translateY(-4px);
    box-shadow: var(--shadow-violet);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    font-family: var(--font-heading);
    background: linear-gradient(135deg, var(--violet-light), var(--cyan));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    margin-bottom: 0.4rem;
}

.stat-label {
    font-size: 0.85rem;
    color: var(--text-muted);
    font-weight: 500;
}

/* ─── Quick Nav Cards ───────────────────────────────────── */
#quick-nav {
    background: var(--bg-secondary);
    padding: 5rem var(--section-px);
}

.quick-nav-inner {
    max-width: var(--max-width);
    margin: 0 auto;
}

.quick-nav-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin-top: 3rem;
}

.quick-nav-card {
    padding: 2rem 1.5rem;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    color: inherit;
}

.quick-nav-card:hover {
    transform: translateY(-6px);
    border-color: var(--border-glow);
    box-shadow: var(--shadow-violet);
    background: var(--bg-card-hover);
}

.quick-nav-icon {
    width: 56px;
    height: 56px;
    border-radius: var(--radius-md);
    background: linear-gradient(135deg, rgba(124, 58, 237, 0.2), rgba(6, 182, 212, 0.1));
    border: 1px solid var(--border-glow);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.quick-nav-card h3 {
    font-size: 1rem;
    font-weight: 600;
}

.quick-nav-card p {
    font-size: 0.82rem;
    color: var(--text-muted);
}

/* ─── Responsive ─────────────────────────────────────────── */
@media (max-width: 1024px) {
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 3rem;
    }

    .hero-desc,
    .hero-actions,
    .hero-socials {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-actions {
        justify-content: center;
    }

    .hero-socials {
        justify-content: center;
    }

    .hero-stats {
        grid-template-columns: repeat(2, 1fr);
    }

    .quick-nav-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .hero-visual {
        margin: 0 auto;
    }
}

@media (max-width: 600px) {
    .hero-avatar-ring {
        width: 280px;
        height: 280px;
    }

    .hero-avatar {
        width: 220px;
        height: 220px;
    }

    .hero-chip {
        display: none;
    }

    .hero-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }

    .quick-nav-grid {
        grid-template-columns: 1fr 1fr;
    }
}