
.navbar {
    width: 100%;
    background: rgba(5, 8, 20, 0.95);
    backdrop-filter: blur(10px);
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.navbar nav {
    width: min(1100px, calc(100% - 48px));
    margin: 0 auto;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 38px;
}

.navbar nav a {
    color: #c9d1ea;
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    transition: color 0.25s ease;
}

.navbar nav a:hover {
    color: #ffffff;
}

body {
    padding-top: 70px;
}


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

:root {
    --bg: #050814;
    --card: #0b1022;
    --text: #ffffff;
    --muted: #aeb8d6;
    --purple: #7458ff;
    --pink: #de4aa4;
    --blue: #00b9ff;
}

html {
    scroll-behavior: smooth;
}

body {
    min-height: 100vh;
    background:
        radial-gradient(circle at 68% 53%, rgba(0, 184, 255, 0.18), transparent 18%),
        radial-gradient(circle at 55% 48%, rgba(116, 88, 255, 0.16), transparent 25%),
        linear-gradient(180deg, #050814 0%, #060918 100%);
    color: var(--text);
    font-family: "Inter", sans-serif;
    overflow-x: hidden;
}

.hero {
    position: relative;
    min-height: 100vh;
    width: min(1100px, calc(100% - 48px));
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 430px;
    align-items: center;
    gap: 80px;
}

.hero-content {
    transform: translateY(-10px);
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    margin-bottom: 26px;
    border-radius: 999px;
    background: rgba(116, 88, 255, 0.18);
    color: #8892ff;
    font-size: 0.82rem;
    font-weight: 700;
}

.badge span {
    width: 7px;
    height: 7px;
    border-radius: 999px;
    background: #8892ff;
    box-shadow: 0 0 14px #8892ff;
}

h1 {
    max-width: 620px;
    font-size: clamp(3rem, 6vw, 5.3rem);
    line-height: 0.95;
    font-weight: 900;
    letter-spacing: -0.06em;
}

h1 strong {
    display: block;
    font-style: normal;
    background: linear-gradient(135deg, var(--purple), var(--pink));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.subtitle {
    margin-top: 22px;
    color: var(--muted);
    font-size: 1.08rem;
    line-height: 1.7;
}

.hero-actions {
    display: flex;
    gap: 16px;
    margin-top: 34px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 145px;
    padding: 16px 22px;
    border-radius: 13px;
    color: #fff;
    text-decoration: none;
    font-weight: 800;
    font-size: 0.95rem;
    transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.btn:hover {
    transform: translateY(-3px);
}

.btn-primary {
    background: linear-gradient(135deg, #6550ff, #7b56ff);
    box-shadow: 0 15px 35px rgba(101, 80, 255, 0.25);
}

.btn-secondary {
    background: #1b2434;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.socials {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
    margin-top: 28px;
}

.socials a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #c9d1ea;
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.2s ease;
}

.socials a:hover {
    color: #fff;
}

.socials span {
    color: #9aa4c0;
}

.hero-visual {
    position: relative;
    display: grid;
    place-items: center;
    min-height: 460px;
}

.glow {
    position: absolute;
    width: 420px;
    height: 420px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(0, 184, 255, 0.25), transparent 65%);
    filter: blur(10px);
}

.avatar-wrap {
    position: relative;
    width: 315px;
    height: 315px;
    border-radius: 50%;
    padding: 5px;
    background: linear-gradient(135deg, rgba(222, 74, 164, 0.95), rgba(0, 185, 255, 0.65), rgba(116, 88, 255, 0.7));
    box-shadow: 0 0 70px rgba(0, 185, 255, 0.16);
    animation: floatAvatar 6s ease-in-out infinite;
}

.avatar {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    border-radius: 50%;
    border: 4px solid #0b1022;
    filter: saturate(1.04) contrast(1.05);
}

.float-icon {
    position: absolute;
    display: grid;
    place-items: center;
    width: 54px;
    height: 54px;
    border-radius: 16px;
    background: rgba(32, 44, 64, 0.86);
    border: 1px solid rgba(255, 255, 255, 0.16);
    box-shadow: 0 12px 34px rgba(0, 0, 0, 0.28);
    font-size: 1.35rem;
    animation: floatIcon 5s ease-in-out infinite;
}

.icon-laptop {
    top: 74px;
    right: 24px;
}

.icon-rocket {
    left: 22px;
    bottom: 96px;
    animation-delay: 1s;
}

.scroll-indicator {
    position: absolute;
    left: 50%;
    bottom: 42px;
    transform: translateX(-50%);
    display: grid;
    justify-items: center;
    gap: 8px;
    color: #69718d;
    font-size: 0.75rem;
}

.mouse {
    width: 20px;
    height: 34px;
    border: 1px solid #4b536b;
    border-radius: 999px;
    display: flex;
    justify-content: center;
    padding-top: 7px;
}

.mouse i {
    width: 4px;
    height: 7px;
    border-radius: 999px;
    background: #6f7895;
    animation: scrollDot 1.5s ease-in-out infinite;
}

.projects {
    width: min(1100px, calc(100% - 48px));
    margin: 0 auto 80px;
    padding: 60px 0;
    color: var(--muted);
}

.projects h2 {
    color: #fff;
    font-size: 2rem;
    margin-bottom: 12px;
}

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

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

@keyframes scrollDot {
    0% { opacity: 0; transform: translateY(0); }
    40% { opacity: 1; }
    100% { opacity: 0; transform: translateY(12px); }
}

@media (max-width: 900px) {
    .hero {
        grid-template-columns: 1fr;
        gap: 25px;
        padding: 70px 0 110px;
        text-align: center;
    }

    .hero-actions,
    .socials {
        justify-content: center;
    }

    .hero-visual {
        min-height: 360px;
        order: -1;
    }

    .avatar-wrap {
        width: 240px;
        height: 240px;
    }

    .glow {
        width: 320px;
        height: 320px;
    }

    .icon-laptop {
        right: 18%;
        top: 42px;
    }

    .icon-rocket {
        left: 18%;
        bottom: 70px;
    }
}

@media (max-width: 560px) {
    .hero {
        width: min(100% - 28px, 1100px);
    }

    .hero-actions {
        flex-direction: column;
    }

    .btn {
        width: 100%;
    }

    .socials {
        flex-direction: column;
        align-items: center;
    }
}


.contact {
    width: min(760px, calc(100% - 48px));
    margin: 0 auto 100px;
}

.contact-card {
    padding: 34px;
    border-radius: 24px;
    background: rgba(11, 16, 34, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 20px 70px rgba(0, 0, 0, 0.35);
}

.contact-card h2 {
    color: #fff;
    font-size: 2rem;
    margin-bottom: 10px;
}

.contact-subtitle {
    color: var(--muted);
    margin-bottom: 28px;
}

.input-group {
    display: flex;
    flex-direction: column;
    gap: 9px;
    margin-bottom: 20px;
}

.input-group label {
    color: #b7c0df;
    font-size: 0.9rem;
    font-weight: 600;
}

.input-group input,
.input-group textarea {
    width: 100%;
    padding: 15px 16px;
    border-radius: 13px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(17, 22, 46, 0.92);
    color: #fff;
    font-family: inherit;
    font-size: 0.95rem;
    outline: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.input-group textarea {
    resize: none;
}

.input-group input:focus,
.input-group textarea:focus {
    border-color: var(--purple);
    box-shadow: 0 0 0 4px rgba(116, 88, 255, 0.14);
}

.send-btn {
    width: 100%;
    padding: 15px 20px;
    border: none;
    border-radius: 13px;
    background: linear-gradient(135deg, var(--purple), #8b55d9);
    color: #fff;
    font-family: inherit;
    font-size: 0.95rem;
    font-weight: 800;
    cursor: pointer;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.send-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 35px rgba(116, 88, 255, 0.24);
}

.status-msg {
    min-height: 22px;
    margin-top: 15px;
    text-align: center;
    color: var(--muted);
    font-weight: 700;
}

.status-msg.success {
    color: #42f5a7;
}

.status-msg.error {
    color: #ff6b9f;
}

@media (max-width: 560px) {
    .contact {
        width: min(100% - 28px, 760px);
    }

    .contact-card {
        padding: 24px;
    }
}
