
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    background: #070a12;
    color: #f5f7ff;
    font-family: 'Inter', sans-serif;
    overflow-x: hidden;
}

a {
    color: inherit;
    text-decoration: none;
}

.navbar {
    height: 85px;
    padding: 0 9%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid #ffffff0d;
    background: #070a12;
    position: sticky;
    top: 0;
    z-index: 100;
}

.logo {
    font-size: 23px;
    font-weight: 800;
    letter-spacing: -1px;
}

.logo span {
    color: #3285ff;
}

nav {
    display: flex;
    gap: 35px;
}

nav a {
    color: #9299aa;
    font-size: 13px;
    transition: 0.3s;
}

nav a:hover {
    color: #398bff;
}

.nav-button {
    padding: 12px 19px;
    border: 1px solid #3285ff55;
    border-radius: 8px;
    color: #62a1ff;
    font-size: 12px;
    transition: 0.3s;
}

.nav-button:hover {
    background: #3285ff;
    color: white;
}

.menu-toggle {
    display: none;
    color: white;
    background: none;
    border: none;
    font-size: 25px;
    cursor: pointer;
}

.hero {
    min-height: 690px;
    padding: 100px 9%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 60px;
    position: relative;
}

.hero-content {
    max-width: 650px;
    z-index: 2;
}

.status {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 9px 14px;
    border: 1px solid #ffffff16;
    border-radius: 30px;
    color: #aab4c9;
    font-size: 11px;
    margin-bottom: 35px;
}

.status-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #3eeb9b;
    box-shadow: 0 0 12px #3eeb9b;
}

.eyebrow,
.section-label {
    color: #438dff;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 3px;
    margin-bottom: 22px;
}

.hero h1 {
    font-size: clamp(42px, 6vw, 75px);
    line-height: 1.08;
    letter-spacing: -4px;
    font-weight: 800;
}

.hero h1 span,
.contact h2 span {
    color: #438dff;
}

.hero-description {
    max-width: 490px;
    color: #8993a8;
    font-size: 14px;
    line-height: 1.9;
    margin-top: 25px;
}

.hero-buttons {
    display: flex;
    gap: 15px;
    margin-top: 35px;
}

.primary-button,
.secondary-button {
    display: inline-block;
    padding: 15px 23px;
    border-radius: 7px;
    font-size: 12px;
    font-weight: 600;
    transition: 0.3s;
}

.primary-button {
    background: #287cff;
    color: white;
    box-shadow: 0 5px 25px #287cff35;
}

.primary-button:hover {
    background: #5094ff;
    transform: translateY(-3px);
}

.secondary-button {
    border: 1px solid #ffffff20;
    color: #c4cbd9;
}

.secondary-button:hover {
    border-color: #438dff;
}

.hero-footer {
    display: flex;
    gap: 30px;
    margin-top: 65px;
    color: #596477;
    font-size: 9px;
    letter-spacing: 2px;
}

.hero-visual {
    position: relative;
    width: 420px;
    flex-shrink: 0;
}

.visual-glow {
    position: absolute;
    width: 350px;
    height: 350px;
    background: #1768ff;
    filter: blur(130px);
    opacity: 0.2;
    top: 0;
    left: 30px;
}

.visual-card {
    position: relative;
    background: #0c1220;
    border: 1px solid #26344c;
    border-radius: 13px;
    overflow: hidden;
    box-shadow: 0 30px 80px #0008;
    transform: rotate(2deg);
    transition: 0.4s;
}

.visual-card:hover {
    transform: rotate(0deg) translateY(-7px);
}

.card-top {
    padding: 17px;
    display: flex;
    align-items: center;
    gap: 6px;
    border-bottom: 1px solid #ffffff12;
}

.card-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #ff5f57;
}

.card-dot:nth-child(2) {
    background: #febc2e;
}

.card-dot:nth-child(3) {
    background: #28c840;
}

.card-label {
    color: #64748b;
    font-size: 10px;
    margin-left: auto;
}

.code-preview {
    padding: 30px;
    font-family: monospace;
    font-size: 13px;
    line-height: 2.1;
    color: #d3dded;
}

.indent {
    padding-left: 20px;
}

.code-purple {
    color: #c792ea;
}

.code-green {
    color: #b0e59a;
}

.code-blue {
    color: #61a8ff;
}

.card-bottom {
    padding: 14px 20px;
    border-top: 1px solid #ffffff12;
    display: flex;
    justify-content: space-between;
    color: #3fdb9b;
    font-size: 9px;
}

.section {
    padding: 110px 9%;
    border-top: 1px solid #ffffff0d;
}

.section h2 {
    font-size: clamp(35px, 5vw, 52px);
    letter-spacing: -2px;
}

.section h2 span {
    color: #438dff;
}

.section-description {
    color: #8993a8;
    font-size: 14px;
    line-height: 1.9;
    max-width: 580px;
    margin-top: 20px;
}

.skills {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 35px;
}

.skill {
    background: #0d1422;
    border: 1px solid #1d2b42;
    border-radius: 7px;
    padding: 16px 20px;
    font-size: 13px;
    min-width: 140px;
}

.skill span {
    color: #438dff;
    margin-left: 15px;
    font-size: 10px;
}

.project-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 45px;
}

.project-card {
    padding: 28px;
    background: #0c1220;
    border: 1px solid #1b2940;
    border-radius: 10px;
    transition: 0.3s;
}

.project-card:hover {
    border-color: #438dff;
    transform: translateY(-7px);
}

.project-number {
    color: #53647d;
    font-size: 10px;
    letter-spacing: 2px;
}

.project-icon {
    font-size: 30px;
    color: #438dff;
    margin: 30px 0 20px;
}

.project-card h3 {
    font-size: 19px;
}

.project-card p {
    color: #8993a8;
    font-size: 12px;
    line-height: 1.8;
    margin-top: 12px;
}

.project-tags {
    display: flex;
    gap: 8px;
    margin: 22px 0;
}

.project-tags span {
    padding: 7px 10px;
    background: #15233a;
    color: #72aaff;
    border-radius: 4px;
    font-size: 10px;
}

.project-card > a {
    color: #438dff;
    font-size: 12px;
}

.contact {
    text-align: center;
    padding-top: 130px;
    padding-bottom: 130px;
}

.contact h2 {
    font-size: clamp(42px, 6vw, 65px);
    line-height: 1.15;
}

.contact p {
    color: #8993a8;
    margin: 22px 0 30px;
    font-size: 13px;
}

footer {
    padding: 30px 9%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid #ffffff0d;
}

footer p,
footer > a:last-child {
    color: #647087;
    font-size: 11px;
}

footer > a:last-child:hover {
    color: #438dff;
}

@media (max-width: 1000px) {
    .hero {
        gap: 30px;
    }

    .hero-visual {
        width: 350px;
    }

    .project-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 750px) {
    .navbar {
        padding: 0 6%;
    }

    nav {
        display: none;
        position: absolute;
        top: 85px;
        left: 0;
        width: 100%;
        background: #0c1220;
        flex-direction: column;
        padding: 25px 6%;
        gap: 25px;
        border-bottom: 1px solid #ffffff15;
    }

    nav.active {
        display: flex;
    }

    .nav-button {
        display: none;
    }

    .menu-toggle {
        display: block;
    }

    .hero {
        padding: 80px 6%;
        flex-direction: column;
        align-items: flex-start;
    }

    .hero-visual {
        width: 100%;
        max-width: 420px;
        margin: 20px auto 0;
    }

    .hero h1 {
        letter-spacing: -2px;
    }

    .hero-footer {
        flex-wrap: wrap;
    }

    .section {
        padding: 85px 6%;
    }

    .project-grid {
        grid-template-columns: 1fr;
    }

    footer {
        padding: 30px 6%;
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
}

@media (max-width: 400px) {
    .hero-buttons {
        flex-direction: column;
        align-items: flex-start;
    }

    .hero-footer {
        gap: 15px;
    }

    .skill {
        min-width: 100%;
    }
}

.hidden {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.visible {
    opacity: 1;
    transform: translateY(0);
}