.hero {
    min-height: 70vh;
    /* Reduced from 85vh */
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 85px 120px 40px;
    /* Reducted top padding slightly */
    position: relative;
    background: radial-gradient(circle, #707DFF15, transparent 60%), var(--bg);
    overflow: hidden;
}

#github-calendar-skip-to-contributions {
    display: none !important;
}

.hero-container {
    display: flex;
    align-items: center;
    justify-content: center;
    /* Changed from space-between */
    width: 100%;
    max-width: 1400px;
    gap: 80px;
}

.hero-inner {
    max-width: 900px;
    width: 100%;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    /* Changed from flex-start */
    justify-content: center;
    text-align: center;
    /* Changed from left */
    gap: 0;
    /* Removing gap to control margins manually per block */
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}



.hero-footer {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
    margin: 0px auto 0;
    padding-top: 32px;
    border-top: 1px solid var(--line);
    width: 100%;
}

.h-divider-v {
    width: 1px;
    height: 32px;
    background: var(--line);
}

.hero-status-row {
    display: flex;
    align-items: center;
    gap: 8px;
}

.hero-status-meta {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.status-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    background: #FFFFFF;
    border: 1px solid var(--line);
    border-radius: 99px;
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    font-weight: 500;
    color: var(--ink);
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: default;
}

.status-pill:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    border-color: var(--line-strong);
}

.status-pill svg {
    width: 14px;
    height: 14px;
    color: var(--mid);
}

.status-dot {
    width: 7px;
    height: 7px;
    background: #10B981;
    /* Green dot */
    border-radius: 50%;
    position: relative;
    box-shadow: 0 0 8px rgba(16, 185, 129, 0.4);
}

.status-dot::after {
    content: '';
    position: absolute;
    inset: -3px;
    border: 1px solid #10B981;
    border-radius: 50%;
    animation: pulseDot 2s infinite;
    opacity: 0;
}

@keyframes pulseDot {
    0% {
        transform: scale(1);
        opacity: 0.8;
    }

    100% {
        transform: scale(2.5);
        opacity: 0;
    }
}

.hero-title {
    font-family: 'Inter', sans-serif;
    font-size: clamp(2.6rem, 6vw, 5.2rem);
    font-weight: 700;
    line-height: 1.1;
    padding-bottom: 0.1em;
    padding-top: 0.5em;
    letter-spacing: -0.04em;
    color: var(--ink);
    margin: 0;
    margin-bottom: 32px;
    text-align: center;
    width: 100%;
}

.hero-name {
    display: block;
    font-family: 'Inter', sans-serif;
    font-size: 5rem;
    /* Slightly increased for dominance */
    font-weight: 800;
    /* Boldest possible for impact */
    font-style: normal;
    /* Removed italic per request */
    color: var(--ink);
    letter-spacing: -0.03em;
    text-transform: none;
    margin-bottom: 5px;
    /* Increased from 15px */
    /* Tighter gap to the role */
    opacity: 1;
}

.hero-role {
    display: block;
    white-space: normal;
    font-size: 2.2rem;
    font-family: 'Inter';
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -0.03em;
    text-transform: capitalize;
    background: linear-gradient(90deg, #2563EB, #22C55E);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent !important;
    background-clip: text;
}

.hero-role em {
    font-style: normal;
}

.hero-title .line1 {
    display: block;
}

.hero-title em {
    font-style: normal;
    background: linear-gradient(90deg, #6366f1, #818cf8);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    padding-bottom: 0.1em;
    width: 100%;
    margin-top: 0.12em;
}



.hero-sub {
    font-family: 'Inter', sans-serif;
    font-size: 0.98rem;
    /* Slightly reduced */
    font-weight: 500;
    line-height: 1.6;
    letter-spacing: 0.01em;
    color: var(--mid);
    max-width: 580px;
    /* Slightly wider */
    margin: 0 auto;
    /* Centered with auto margins */
    /* margin-bottom: 24px; */
    /* Reduced since tags are now below */
    align-self: center;
    /* Changed from flex-start */
    text-align: center;
    /* Changed from left */
}

.credibility-strip {
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    font-weight: 500;
    color: var(--mid);
    opacity: 0.6;
    letter-spacing: -0.01em;
    text-transform: capitalize;
    display: flex;
    align-items: center;
    justify-content: center;
    /* Changed from startup alignment */
    gap: 16px;
    margin: 26px 0px 30px 0px;
    /* Tightened from 25px */
    /* Space between tags and buttons */
}

.cred-row {
    display: flex;
    align-items: center;
    gap: 16px;
}

.desktop-only {
    display: inline-block;
}

.credibility-strip .dot {
    width: 4px;
    height: 4px;
    background: var(--line-strong);
    border-radius: 50%;
    opacity: 0.6;
}

/* CTA buttons */
.cta-group {
    display: flex;
    align-items: center;
    justify-content: center;
    /* Changed from flex-start */
    gap: 12px;
    flex-wrap: wrap;
    align-self: center;
    /* Changed from flex-start */
    margin-bottom: 34px;
    /* Tightened from 32px */
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 14px 40px !important;
    border-radius: 99px;
    font-family: 'Inter', sans-serif;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.25s cubic-bezier(0.165, 0.84, 0.44, 1);
    border: 1px solid transparent;
    justify-content: center;
}

.btn-primary {
    background: #1D1D1F;
    color: #FFFFFF;
    border: 1px solid #2C2C2E;
}

.btn-primary:hover {
    background: #333333;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.btn-secondary {
    background: #F5F5F7;
    color: #1D1D1F;
    border: 1px solid #E5E5EA;
}

.btn-secondary:hover {
    background: #EEEEF0;
    transform: translateY(-2px);
}

.btn-ghost {
    background: #FFFFFF;
    color: #1D1D1F;
    border: 1px solid #E5E5EA;
}

.btn-ghost:hover {
    background: #F5F5F7;
    border-color: #D2D2D7;
    transform: translateY(-2px);
}

.btn svg {
    width: 14px;
    height: 14px;
}

.socials-row {
    display: flex;
    align-items: center;
    gap: 18px;
}

.hero-social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #333333;
    /* Slightly darker charcoal for better contrast */
    opacity: 0.95;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}


.hero-social-link svg {
    width: 26px;
    height: 26px;
    display: block;
}

.hero-social-link:hover {
    transform: translateY(-4px);
    color: var(--ink);
    opacity: 1;
}

/* Specific hover scaling for extra punch */
.hero-social-link:hover svg {
    transform: scale(1.1);
}







/* Floating Icons - FAANG Infra Vibe */
.floating-icons {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 1;
}

.floating-icon {
    position: absolute;
    opacity: 0.5;
    /* Increased slightly for color visibility */
    filter: blur(0.5px);
    animation: float 12s ease-in-out infinite;
    mix-blend-mode: normal;
    /* Normal mode to showcase colors */
    width: 45px;
    height: 45px;
}

.floating-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* Noise overlay on icons - Apple secret style */
.floating-icon::before {
    content: '';
    position: absolute;
    inset: -5%;
    width: 90%;
    height: 90%;
    /* background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.7' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E"); */
    opacity: 0.5;
    mask-image: linear-gradient(to bottom, black, transparent);
    pointer-events: none;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0px) rotate(0deg) scale(var(--scale, 1));
    }

    50% {
        transform: translateY(-30px) rotate(5deg) scale(calc(var(--scale, 1) * 1.05));
    }
}

/* Specific Placements & Delays */
/* top: edges & corners */
.icon-k8s {
    top: 18%;
    left: 15%;
    animation-delay: 0s;
    --scale: 1;
}

.icon-terraform {
    top: 25%;
    right: 18%;
    animation-delay: -2s;
    --scale: 0.9;
}

.icon-docker {
    bottom: 30%;
    left: 20%;
    animation-delay: -4s;
    --scale: 1;
}

.icon-aws {
    top: 65%;
    right: 22%;
    animation-delay: -6s;
    --scale: 1.1;
    opacity: 0.3;
}

.icon-linux {
    top: 35%;
    right: 10%;
    animation-delay: -8s;
    --scale: 0.8;
}

.icon-cloudflare {
    bottom: 20%;
    right: 15%;
    animation-delay: -1s;
    --scale: 1.05;
}

.icon-github {
    top: 55%;
    left: 10%;
    animation-delay: -3s;
    --scale: 0.95;
    opacity: 0.3;
}

.icon-grafana {
    bottom: 30%;
    right: 5%;
    animation-delay: -5s;
    --scale: 1.25;
}

/* Parallax Depth Glows - Behind icons */
.floating-icon::after {
    content: '';
    position: absolute;
    inset: -10px;
    background: radial-gradient(circle, #707DFF15 0%, transparent 80%);
    z-index: -1;
    border-radius: 50%;
}

/* Responsiveness - At bottom for priority */
@media (max-width: 1200px) {
    .hero {
        padding: 80px 48px 40px;
    }

    .hero-container {
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 40px;
    }

    .hero-name {
        font-size: clamp(3.2rem, 12vw, 4.5rem);
    }

    .hero-role {
        font-size: clamp(1.8rem, 6vw, 2.2rem);
        white-space: normal;
    }
}

@media (max-width: 768px) {
    .hero {
        padding: 80px 24px 40px;
        min-height: auto;
    }

    .hero-name {
        font-size: clamp(2.8rem, 15vw, 3.8rem);
        line-height: 1;
    }

    .hero-role {
        font-size: 1.5rem;
        line-height: 1.3;
    }

    .hero-sub {
        font-size: 0.9rem;
        line-height: 1.5;
    }

    .credibility-strip {
        font-size: 11px;
        gap: 10px;
        flex-wrap: wrap;
    }

    .hero-footer {
        flex-direction: column;
        gap: 28px;
        margin-top: 40px;
        padding-top: 24px;
    }

    .h-divider-v {
        display: none;
    }

    .hero-status-row {
        flex-direction: column;
        gap: 12px;
        align-items: center;
    }

    .hero-status-meta {
        display: flex;
        gap: 8px;
        justify-content: center;
    }

    .cta-group {
        flex-direction: column;
        /* Stack vertically as requested */
        align-items: center;
        width: 100%;
        gap: 12px;
    }

    .btn {
        width: 90% !important;
        /* Set to 90% as requested */
        white-space: nowrap;
    }

    .floating-icons {
        display: none;
    }
}

@media (max-width: 480px) {
    .hero-name {
        margin-bottom: 5px;
        font-size: 2.7rem;
    }

    .hero-role {
        font-size: 1.4rem;
    }

    .hero-status-row {
        gap: 0px;
    }

    .socials-row {
        gap: 15px;
    }
}