.bg-grid {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px);
    background-size: 30px 30px;
    mask-image: radial-gradient(ellipse at center, black 40%, transparent 80%);
    z-index: -2;
    pointer-events: none;
}

.bg-code {
    position: absolute;
    top: 15%;
    right: 5%;
    font-family: 'JetBrains Mono', monospace;
    font-size: 10rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.01);
    z-index: -3;
    display: flex;
    flex-direction: column;
    line-height: 1.2;
    user-select: none;
    transform: rotate(-10deg);
    pointer-events: none;
    overflow: hidden;
}

@media (max-width: 768px) {
    .bg-code {
        display: none;
    }
}

:root {
    --bg-color: #09090b;
    --text-primary: #f4f4f5;
    --text-secondary: #a1a1aa;
    --accent: #10b981;
    --accent-hover: #059669;
    --accent-glow: rgba(16, 185, 129, 0.2);
    --font-main: 'Inter', sans-serif;
    --border-color: #27272a;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-main);
    background-color: var(--bg-color);
    color: var(--text-primary);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    overflow-x: hidden;
}

.bg-glow {
    position: fixed;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at center, rgba(16, 185, 129, 0.08) 0%, rgba(0, 0, 0, 0) 50%);
    z-index: -1;
    pointer-events: none;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 25px;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

.navbar {
    padding: 20px 0;
    position: sticky;
    top: 0;
    background: rgba(9, 9, 11, 0.8);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    z-index: 1000;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: -0.5px;
}

.logo span {
    color: var(--accent);
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 40px;
    align-items: center;
}

.nav-links a {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-secondary);
}

.nav-links a:hover {
    color: var(--accent);
}

.btn-nav {
    background: var(--accent-glow);
    color: var(--accent) !important;
    padding: 8px 20px;
    border-radius: 6px;
    transition: 0.3s;
}

.btn-nav:hover {
    background: var(--accent);
    color: #000 !important;
}

.menu-toggle {
    display: none;
    font-size: 1.5rem;
    color: var(--text-primary);
    cursor: pointer;
}

.hero {
    flex: 1;
    display: flex;
    align-items: center;
    padding: 100px 0;
    position: relative;
}

.hero .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 60px;
    width: 100%;
}

.hero-content {
    flex: 1;
    max-width: 600px;
}

.job-badge-container {
    margin-bottom: 30px;
}

.job-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(16, 185, 129, 0.08);
    border: 1px solid rgba(16, 185, 129, 0.2);
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 0.9rem;
    color: var(--accent);
    font-weight: 500;
}

.job-badge a {
    color: #fff;
    font-weight: 600;
    border-bottom: 1px dotted #fff;
}

.job-badge a:hover {
    color: var(--accent);
    border-color: var(--accent);
}

.pulse-dot {
    width: 8px;
    height: 8px;
    background-color: var(--accent);
    border-radius: 50%;
    position: relative;
}

.pulse-dot::after {
    content: '';
    position: absolute;
    top: -4px;
    left: -4px;
    width: 16px;
    height: 16px;
    background-color: var(--accent);
    border-radius: 50%;
    opacity: 0.6;
    animation: pulse 2s infinite;
    z-index: -1;
}

.hero h1 {
    font-size: 4rem;
    margin-bottom: 10px;
    font-weight: 800;
    letter-spacing: -1.5px;
    line-height: 1.1;
    background: linear-gradient(to right, #fff, #94a3b8);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero h2 {
    font-size: 1.8rem;
    color: var(--text-secondary);
    margin-bottom: 25px;
    font-weight: 400;
}

.hero p {
    color: var(--text-secondary);
    margin-bottom: 35px;
    font-size: 1.1rem;
    max-width: 95%;
}

.hero-btns {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.btn-primary {
    background-color: var(--accent);
    color: #000;
    padding: 14px 32px;
    border-radius: 8px;
    font-weight: 600;
    border: 2px solid var(--accent);
    transition: 0.3s;
}

.btn-primary:hover {
    background-color: var(--accent-hover);
    border-color: var(--accent-hover);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px -10px rgba(16, 185, 129, 0.4);
}

.btn-secondary {
    padding: 14px 32px;
    border-radius: 8px;
    font-weight: 600;
    border: 2px solid var(--border-color);
    color: var(--text-primary);
    background: transparent;
}

.btn-secondary:hover {
    border-color: var(--accent);
    color: var(--accent);
    background: rgba(16, 185, 129, 0.05);
}

.hero-image-wrapper {
    position: relative;
    width: 320px;
    height: 320px;
    flex-shrink: 0;
    animation: float 6s ease-in-out infinite;
}

.hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 20px;
    box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.1), 0 20px 50px -10px rgba(0, 0, 0, 0.5);
    transition: 0.5s;
}

.hero-image-wrapper:hover .hero-image {
    filter: grayscale(0%);
    transform: scale(1.02);
}

.ring-light {
    position: absolute;
    top: 10%;
    left: 10%;
    width: 80%;
    height: 80%;
    background: var(--accent);
    filter: blur(80px);
    opacity: 0.15;
    z-index: -1;
}

footer {
    text-align: center;
    padding: 80px 0 40px;
    border-top: 1px solid var(--border-color);
    background: #050505;
}

footer h2 {
    font-size: 2rem;
    margin-bottom: 15px;
    color: #fff;
}

footer p {
    color: var(--text-secondary);
    margin-bottom: 30px;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-bottom: 40px;
}

.social-links a {
    font-size: 1.6rem;
    color: var(--text-secondary);
    transition: 0.3s;
}

.social-links a:hover {
    color: var(--accent);
    transform: translateY(-3px);
}

.copyright {
    font-size: 0.85rem;
    opacity: 0.5;
}

@keyframes float {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-15px);
    }

    100% {
        transform: translateY(0px);
    }
}

@keyframes pulse {
    0% {
        transform: scale(0.5);
        opacity: 1;
    }

    100% {
        transform: scale(2.5);
        opacity: 0;
    }
}

@media (max-width: 900px) {
    .hero {
        padding: 60px 0;
    }

    .hero .container {
        flex-direction: column-reverse;
        text-align: center;
        gap: 40px;
    }

    .hero-image-wrapper {
        width: 220px;
        height: 220px;
        animation: none;
    }

    .hero-image {
        border-radius: 50%;
    }

    .hero h1 {
        font-size: 2.8rem;
    }

    .hero-content p {
        margin: 0 auto 30px;
    }

    .job-badge-container {
        display: flex;
        justify-content: center;
    }

    .hero-btns {
        justify-content: center;
        flex-direction: column;
        width: 100%;
    }

    .btn-primary,
    .btn-secondary {
        width: 100%;
        text-align: center;
    }

    .menu-toggle {
        display: block;
    }

    .nav-links {
        position: fixed;
        top: 70px;
        left: 0;
        width: 100%;
        background: #09090b;
        flex-direction: column;
        padding: 20px 0;
        border-bottom: 1px solid var(--border-color);
        display: none;
    }

    .nav-links.active {
        display: flex;
    }
}