:root {
    --primary: #6dff8d;
    --primary-dark: #4bd46b;
    --dark: #080808;
    --dark-secondary: #0e0e0e;
    --card: #121212;
    --border: #262626;
    --text: #ffffff;
    --text-muted: #9b9b9b;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    background: var(--dark);
    color: var(--text);
    overflow-x: hidden;
}


/* ================= NAVBAR ================= */

.custom-navbar {
    padding: 20px 0;
    transition: all 0.3s ease;
}

.navbar-scrolled {
    background: rgba(8, 8, 8, 0.95);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
    padding: 14px 0;
}

.logo {
    font-size: 24px;
    font-weight: 800;
    color: #fff;
}

.logo span,
.footer-logo span {
    color: var(--primary);
}

.nav-link {
    color: #aaa !important;
    margin: 0 8px;
    font-size: 14px;
    transition: 0.3s;
}

.nav-link:hover,
.nav-link.active {
    color: #fff !important;
}


/* ================= BUTTONS ================= */

.btn-primary-custom {
    background: var(--primary);
    color: #000;
    border: 1px solid var(--primary);
    padding: 11px 22px;
    border-radius: 8px;
    font-weight: 600;
    transition: 0.3s;
    text-decoration: none;
}

.btn-primary-custom:hover {
    background: var(--primary-dark);
    color: #000;
    transform: translateY(-2px);
}

.btn-outline-custom {
    border: 1px solid #444;
    color: #fff;
    padding: 11px 22px;
    border-radius: 8px;
    text-decoration: none;
    transition: 0.3s;
}

.btn-outline-custom:hover {
    background: #fff;
    color: #000;
}

.btn-lg-custom {
    padding: 15px 28px;
}


/* ================= HERO ================= */

.hero-section {
    position: relative;
    background: var(--dark);
    overflow: hidden;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-glow {
    position: absolute;
    width: 500px;
    height: 500px;
    background: var(--primary);
    filter: blur(180px);
    opacity: 0.08;
    border-radius: 50%;
}

.glow-one {
    top: -150px;
    left: -200px;
}

.glow-two {
    bottom: -150px;
    right: -200px;
}

.available-badge {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 8px 14px;
    border: 1px solid #303030;
    border-radius: 50px;
    color: #aaa;
    font-size: 13px;
    margin-bottom: 30px;
}

.status-dot {
    width: 8px;
    height: 8px;
    background: var(--primary);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--primary);
}

.hero-intro {
    color: var(--text-muted);
    margin-bottom: 5px;
    font-size: 18px;
}

.hero-section h1 {
    font-size: clamp(48px, 7vw, 82px);
    font-weight: 800;
    line-height: 1;
    letter-spacing: -3px;
    margin-bottom: 15px;
}

.hero-section h1 span {
    color: var(--primary);
}

.hero-section h2 {
    font-size: 22px;
    font-weight: 500;
    color: #b8b8b8;
    margin-bottom: 25px;
}

.hero-description {
    max-width: 620px;
    color: var(--text-muted);
    line-height: 1.8;
    font-size: 16px;
}

.hero-buttons {
    display: flex;
    gap: 15px;
    margin-top: 35px;
    flex-wrap: wrap;
}

.hero-tech {
    margin-top: 60px;
}

.hero-tech > span {
    display: block;
    color: #666;
    font-size: 11px;
    letter-spacing: 2px;
    margin-bottom: 15px;
}

.tech-icons {
    display: flex;
    gap: 12px;
}

.tech-icon {
    width: 45px;
    height: 45px;
    background: #101010;
    border: 1px solid #252525;
    border-radius: 8px;

    display: flex;
    align-items: center;
    justify-content: center;

    color: #aaa;
    font-size: 20px;

    transition: 0.3s;
}

.tech-icon:hover {
    color: var(--primary);
    border-color: var(--primary);
    transform: translateY(-4px);
}


/* ================= CODE CARD ================= */

.developer-card {
    background: #0d0d0d;
    border: 1px solid #272727;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5);
    margin-top: 40px;
}

.card-top {
    height: 55px;
    display: flex;
    align-items: center;
    padding: 0 20px;
    border-bottom: 1px solid #252525;
    position: relative;
}

.window-dots {
    display: flex;
    gap: 7px;
}

.window-dots span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #444;
}

.window-dots span:nth-child(1) {
    background: #ff5f57;
}

.window-dots span:nth-child(2) {
    background: #febc2e;
}

.window-dots span:nth-child(3) {
    background: #28c840;
}

.file-name {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    color: #666;
    font-size: 12px;
}

.code-window {
    padding: 25px;
}

.code-window pre {
    margin: 0;
    white-space: pre-wrap;
}

.code-window code {
    color: #d4d4d4;
    font-size: 13px;
    line-height: 1.8;
}

.purple {
    color: #c586c0;
}

.yellow {
    color: #dcdcaa;
}

.green {
    color: #98c379;
}

.blue {
    color: #9cdcfe;
}

.orange {
    color: #f39c6b;
}


/* ================= STATS ================= */

.stats-section {
    padding: 40px 0;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.stats-wrapper {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
}

.stat-item {
    text-align: center;
    padding: 15px;
    border-right: 1px solid var(--border);
}

.stat-item:last-child {
    border-right: none;
}

.stat-item h3 {
    font-size: 32px;
    font-weight: 800;
    color: var(--primary);
}

.stat-item p {
    margin: 0;
    color: var(--text-muted);
    font-size: 13px;
}


/* ================= GENERAL ================= */

.section-padding {
    padding: 120px 0;
}

.bg-dark-section {
    background: var(--dark-secondary);
}

.section-label {
    color: var(--primary);
    font-size: 12px;
    letter-spacing: 2px;
    font-weight: 700;
    margin-bottom: 15px;
}

.section-title {
    font-size: clamp(35px, 5vw, 56px);
    font-weight: 700;
    letter-spacing: -2px;
    line-height: 1.15;
}

.about-content p {
    color: var(--text-muted);
    line-height: 1.9;
    margin-bottom: 20px;
}

.text-link {
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
}


/* ================= SKILLS ================= */

.skill-card {
    height: 100%;
    padding: 35px;
    background: #111;
    border: 1px solid var(--border);
    border-radius: 14px;
    transition: 0.3s;
}

.skill-card:hover {
    transform: translateY(-6px);
    border-color: #444;
}

.skill-icon {
    width: 55px;
    height: 55px;
    background: rgba(109, 255, 141, 0.08);
    color: var(--primary);
    border-radius: 10px;

    display: flex;
    align-items: center;
    justify-content: center;

    font-size: 22px;
    margin-bottom: 25px;
}

.skill-card h4 {
    margin-bottom: 20px;
}

.skill-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.skill-tags span,
.project-tech span {
    padding: 7px 11px;
    background: #1a1a1a;
    border: 1px solid #292929;
    color: #aaa;
    border-radius: 5px;
    font-size: 12px;
}


/* ================= PROJECTS ================= */

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: end;
    margin-bottom: 50px;
}

.project-card {
    min-height: 350px;
    background: #111;
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 35px;
    position: relative;
    transition: 0.3s;
}

.project-card:hover {
    border-color: #444;
    transform: translateY(-5px);
}

.project-number {
    color: #444;
    font-size: 14px;
    margin-bottom: 40px;
}

.project-category {
    color: var(--primary);
    font-size: 11px;
    letter-spacing: 1.5px;
    margin-bottom: 12px;
}

.project-card h3 {
    font-size: 27px;
    margin-bottom: 15px;
}

.project-card p {
    color: var(--text-muted);
    line-height: 1.8;
    max-width: 500px;
}

.project-tech {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-top: 25px;
}

.project-arrow {
    position: absolute;
    top: 30px;
    right: 30px;

    width: 42px;
    height: 42px;

    border: 1px solid #333;
    border-radius: 50%;

    display: flex;
    align-items: center;
    justify-content: center;

    color: #fff;
    text-decoration: none;
}

.project-arrow:hover {
    background: var(--primary);
    color: #000;
}

.project-cta {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background: linear-gradient(
        135deg,
        #111,
        rgba(109, 255, 141, 0.08)
    );
}

.project-cta h3 {
    font-size: 32px;
}


/* ================= SERVICES ================= */

.service-card {
    padding: 30px;
    border-top: 1px solid #333;
    transition: 0.3s;
}

.service-card:hover {
    border-color: var(--primary);
}

.service-card > span {
    color: var(--primary);
    font-size: 13px;
}

.service-card h4 {
    margin-top: 25px;
    margin-bottom: 15px;
}

.service-card p {
    color: var(--text-muted);
    line-height: 1.8;
    margin: 0;
}


/* ================= CONTACT ================= */

.contact-section {
    padding: 120px 0;
}

.contact-box {
    max-width: 850px;
    margin: auto;
}

.contact-box h2 {
    font-size: clamp(45px, 6vw, 75px);
    font-weight: 800;
    letter-spacing: -3px;
}

.contact-box h2 span {
    color: var(--primary);
}

.contact-box p {
    color: var(--text-muted);
    max-width: 600px;
    margin: 25px auto 35px;
    line-height: 1.8;
}


/* ================= FOOTER ================= */

.footer {
    border-top: 1px solid var(--border);
    padding: 30px 0;
}

.footer-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.footer-logo {
    color: #fff;
    text-decoration: none;
    font-size: 22px;
    font-weight: 800;
}

.social-links {
    display: flex;
    gap: 10px;
}

.social-links a {
    width: 38px;
    height: 38px;

    border: 1px solid #333;
    border-radius: 50%;

    display: flex;
    align-items: center;
    justify-content: center;

    color: #aaa;
    text-decoration: none;

    transition: 0.3s;
}

.social-links a:hover {
    color: #000;
    background: var(--primary);
    border-color: var(--primary);
}

.footer p {
    margin: 0;
    color: #666;
    font-size: 12px;
}


/* ================= RESPONSIVE ================= */

@media (max-width: 991px) {

    .custom-navbar {
        background: rgba(8, 8, 8, 0.98);
    }

    .navbar-collapse {
        padding: 20px 0;
    }

    .nav-link {
        margin: 8px 0;
    }

    .developer-card {
        margin-top: 20px;
    }

    .hero-section {
        padding-top: 50px;
    }

    .stats-wrapper {
        grid-template-columns: repeat(2, 1fr);
    }

    .stat-item:nth-child(2) {
        border-right: none;
    }

    .stat-item:nth-child(-n+2) {
        border-bottom: 1px solid var(--border);
    }

    .section-header {
        align-items: flex-start;
        gap: 25px;
        flex-direction: column;
    }

}


@media (max-width: 576px) {

    .section-padding {
        padding: 80px 0;
    }

    .stats-wrapper {
        grid-template-columns: 1fr 1fr;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .hero-buttons a {
        text-align: center;
    }

    .tech-icons {
        flex-wrap: wrap;
    }

    .developer-card {
        margin-top: 40px;
    }

    .code-window {
        padding: 18px;
    }

    .code-window code {
        font-size: 10px;
    }

    .project-card {
        padding: 25px;
    }

    .footer-content {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }

}