/* ========================================
   HERO SECTION
   ======================================== */

.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    padding-top: 100px;
    padding-bottom: 60px;
    overflow: hidden;
    background-color: var(--bg-dark);
}

/* Background Glow Blobs */
.hero-glow-blob-1 {
    position: absolute;
    top: 10%;
    left: -10%;
    width: 450px;
    height: 450px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(0, 242, 254, 0.08) 0%, transparent 70%);
    filter: blur(80px);
    pointer-events: none;
    z-index: 0;
}

.hero-glow-blob-2 {
    position: absolute;
    bottom: 10%;
    right: -10%;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(157, 78, 221, 0.08) 0%, transparent 70%);
    filter: blur(80px);
    pointer-events: none;
    z-index: 0;
}

#particles-js {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 0;
}

.hero .container {
    position: relative;
    z-index: 1;
    width: 100%;
}

.hero-content {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 4rem;
    align-items: center;
}

/* Left Column: Hero Text */
.availability-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    background: rgba(0, 242, 254, 0.06);
    border: 1px solid rgba(0, 242, 254, 0.2);
    padding: 0.5rem 1.2rem;
    border-radius: 50px;
    margin-bottom: 1.5rem;
    font-size: 0.85rem;
    color: var(--primary-color);
    font-weight: 500;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 20px rgba(0, 242, 254, 0.05);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    animation: fadeInDown 0.6s ease;
}

.pulse-dot {
    width: 8px;
    height: 8px;
    background: var(--primary-color);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--primary-color);
    animation: pulse 2s infinite;
}

.pulse-dot.green {
    background: #10b981;
    box-shadow: 0 0 10px #10b981;
    animation: pulse-green 2s infinite;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(0, 242, 254, 0.7);
    }
    50% {
        transform: scale(1.2);
        box-shadow: 0 0 0 6px rgba(0, 242, 254, 0);
    }
}

@keyframes pulse-green {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
    }
    50% {
        transform: scale(1.2);
        box-shadow: 0 0 0 6px rgba(16, 185, 129, 0);
    }
}

.hero-title {
    font-size: 4rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
    line-height: 1.1;
    letter-spacing: -1px;
}

.hero-subtitle {
    font-size: 2.2rem;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
    min-height: 60px;
    font-family: 'Fira Code', monospace;
    font-weight: 500;
}

.typing-text {
    color: var(--primary-color);
    text-shadow: 0 0 15px rgba(0, 242, 254, 0.15);
}

.typing-text::after {
    content: '|';
    animation: blink 0.7s infinite;
    color: var(--primary-color);
}

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

.hero-description {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
    line-height: 1.7;
    max-width: 580px;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    align-items: center;
    margin-bottom: 3rem;
}

.btn-icon-only {
    width: 48px;
    height: 48px;
    padding: 0;
    border-radius: 50%;
    font-size: 1.2rem;
}

/* Hero Metrics Styling */
.hero-metrics {
    display: flex;
    align-items: center;
    gap: 2rem;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--glass-border);
    padding: 1.5rem 2rem;
    border-radius: var(--border-radius-md);
    max-width: fit-content;
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
}

.hero-metric-item {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

.metric-num-wrapper {
    display: flex;
    align-items: center;
}

.hero-metric-item .num {
    font-size: 1.8rem;
    font-weight: 700;
    background: var(--gradient-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-family: 'Fira Code', monospace;
}

.hero-metric-item .lbl {
    font-size: 0.78rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
}

.hero-metric-divider {
    width: 1px;
    height: 35px;
    background: rgba(255, 255, 255, 0.1);
}

/* Right Column: Profile & Floating Cards */
.hero-image-wrapper {
    display: flex;
    justify-content: center;
    position: relative;
    align-self: flex-start;
    margin-top: 1rem;
}

.hero-image {
    position: relative;
    width: 380px;
    height: 380px;
}

.profile-container {
    width: 100%;
    height: 100%;
    position: relative;
    border-radius: 50%;
    padding: 10px;
    background: linear-gradient(135deg, rgba(0, 242, 254, 0.1) 0%, rgba(157, 78, 221, 0.1) 100%);
    box-sizing: border-box;
}

.profile-container::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 50%;
    padding: 2.5px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    z-index: 2;
    animation: rotate-border 6s linear infinite;
}

@keyframes rotate-border {
    100% { transform: rotate(360deg); }
}

.profile-glow {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(0, 242, 254, 0.3) 0%, rgba(157, 78, 221, 0.2) 60%, transparent 80%);
    filter: blur(25px);
    z-index: 0;
    animation: pulse-glow 4s ease-in-out infinite;
}

@keyframes pulse-glow {
    0%, 100% { transform: scale(1); opacity: 0.5; }
    50% { transform: scale(1.08); opacity: 0.8; }
}

.profile-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    position: relative;
    z-index: 1;
    border: 4px solid var(--bg-dark);
    box-shadow: var(--shadow);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.profile-img:hover {
    transform: scale(1.03);
}

/* Floating Recruiter Card */
.recruiter-quick-card {
    position: absolute;
    bottom: -30px;
    left: -40px;
    width: 280px;
    background: rgba(10, 10, 18, 0.7);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border: 1px solid var(--glass-border);
    border-radius: var(--border-radius-md);
    padding: 1.2rem;
    box-shadow: var(--shadow);
    z-index: 3;
    animation: float 6s ease-in-out infinite;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.recruiter-quick-card:hover {
    border-color: var(--primary-color);
    box-shadow: var(--glow);
}

.recruiter-quick-card .card-glow {
    position: absolute;
    top: 0;
    right: 0;
    width: 60px;
    height: 60px;
    background: radial-gradient(circle, rgba(0, 242, 254, 0.15) 0%, transparent 70%);
    pointer-events: none;
}

.recruiter-header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.8rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding-bottom: 0.5rem;
}

.recruiter-title {
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--text-primary);
    letter-spacing: 0.5px;
}

.recruiter-details {
    list-style: none;
    padding: 0;
    margin: 0 0 1rem 0;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.recruiter-details li {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 0.82rem;
    color: var(--text-secondary);
}

.recruiter-details li i {
    color: var(--primary-color);
    font-size: 0.9rem;
    width: 14px;
    text-align: center;
}

.recruiter-details li strong {
    color: var(--text-primary);
}

.recruiter-actions {
    width: 100%;
}

.btn-quick-contact {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    width: 100%;
    padding: 0.6rem;
    background: var(--gradient);
    color: #05050a;
    border: none;
    border-radius: var(--border-radius-sm);
    font-size: 0.8rem;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
}

.btn-quick-contact:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 242, 254, 0.3);
}

/* Floating GitHub Badge */
.github-mini-preview {
    position: absolute;
    top: 20px;
    right: -30px;
    background: rgba(10, 10, 18, 0.7);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border: 1px solid var(--glass-border);
    border-radius: 50px;
    padding: 0.6rem 1.2rem;
    display: flex;
    align-items: center;
    gap: 0.6rem;
    box-shadow: var(--shadow);
    z-index: 3;
    animation: float 6s ease-in-out infinite;
    animation-delay: -3s;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.github-mini-preview:hover {
    border-color: var(--secondary-color);
    box-shadow: var(--glow-secondary);
}

.github-mini-preview i {
    font-size: 1.4rem;
    color: var(--primary-color);
}

.github-mini-text {
    display: flex;
    flex-direction: column;
}

.github-title {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--text-primary);
}

.github-subtitle {
    font-size: 0.65rem;
    color: var(--text-muted);
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-12px); }
}

/* Animations */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ========================================
   RESPONSIVE LAYOUT
   ======================================== */

@media (max-width: 1024px) {
    .hero-title {
        font-size: 3.5rem;
    }
    .hero-subtitle {
        font-size: 1.8rem;
    }
    .hero-content {
        gap: 2.5rem;
    }
    .hero-image {
        width: 320px;
        height: 320px;
    }
    .recruiter-quick-card {
        left: -30px;
    }
}

@media (max-width: 968px) {
    .hero {
        padding-top: 120px;
        padding-bottom: 60px;
    }
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 4rem;
    }
    .hero-description {
        margin-left: auto;
        margin-right: auto;
    }
    .hero-buttons {
        justify-content: center;
    }
    .hero-metrics {
        margin-left: auto;
        margin-right: auto;
    }
    .hero-image-wrapper {
        order: -1;
    }
    .hero-image {
        width: 300px;
        height: 300px;
    }
    .recruiter-quick-card {
        bottom: -20px;
        left: 50%;
        transform: translateX(-50%) !important;
        animation: float-center 6s ease-in-out infinite;
    }
    .github-mini-preview {
        top: 0;
        right: 0;
    }
    
    @keyframes float-center {
        0%, 100% { transform: translateX(-50%) translateY(0); }
        50% { transform: translateX(-50%) translateY(-10px); }
    }
}

@media (max-width: 600px) {
    .hero-title {
        font-size: 2.8rem;
    }
    .hero-subtitle {
        font-size: 1.4rem;
        min-height: 45px;
    }
    .hero-description {
        font-size: 1rem;
    }
    .hero-metrics {
        flex-direction: column;
        gap: 1.2rem;
        padding: 1.2rem;
        width: 100%;
        max-width: 320px;
    }
    .hero-metric-divider {
        width: 80%;
        height: 1px;
    }
    .recruiter-quick-card {
        width: 260px;
    }
    .github-mini-preview {
        display: none;
    }
}