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

body {
    font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    color: #f3f4f6;
    min-height: 100vh;
    background-image: linear-gradient(180deg, rgba(17, 24, 39, 0.92), rgba(15, 23, 42, 0.92)), url("stock/images/background.jpg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    scroll-behavior: smooth;
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    background: radial-gradient(circle at top right, rgba(56, 189, 248, 0.18), transparent 24%), radial-gradient(circle at bottom left, rgba(168, 85, 247, 0.16), transparent 20%);
    pointer-events: none;
}

.navbar {
    position: sticky;
    top: 20px;
    z-index: 2;
    width: min(1100px, calc(100% - 40px));
    margin: 0 auto 40px;
    padding: 18px 28px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(15, 23, 42, 0.72);
    border: 1px solid rgba(148, 163, 184, 0.12);
    border-radius: 24px;
    backdrop-filter: blur(18px);
}

.logo {
    font-size: 1.3rem;
    font-weight: 700;
    letter-spacing: 0.04em;
}

nav a {
    color: #e5e7eb;
    text-decoration: none;
    margin-left: 28px;
    font-size: 0.95rem;
    transition: color 0.25s ease;
}

nav a:hover {
    color: #7dd3fc;
}

main {
    width: min(1100px, calc(100% - 40px));
    margin: 0 auto 60px;
}

.hero {
    background: rgba(15, 23, 42, 0.7);
    border: 1px solid rgba(148, 163, 184, 0.16);
    border-radius: 30px;
    backdrop-filter: blur(18px);
    padding: 40px;
    display: grid;
    grid-template-columns: 1.7fr 1fr;
    gap: 32px;
    align-items: center;
}

.hero-intro {
    max-width: 580px;
}

.eyebrow {
    display: inline-block;
    margin-bottom: 18px;
    color: #7dd3fc;
    font-size: 0.95rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.hero h1 {
    font-size: clamp(2.75rem, 4vw, 4.2rem);
    line-height: 1.02;
    margin-bottom: 18px;
}

.hero h1 span {
    color: #38bdf8;
}

.hero-copy {
    max-width: 620px;
    color: #d1d5db;
    font-size: 1rem;
    line-height: 1.75;
    margin-bottom: 28px;
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 24px;
    border-radius: 999px;
    background: #0ea5e9;
    color: white;
    text-decoration: none;
    font-weight: 600;
    transition: transform 0.25s ease, background-color 0.25s ease, box-shadow 0.25s ease;
}

.btn:hover {
    background: #38bdf8;
    transform: translateY(-2px);
    box-shadow: 0 18px 40px rgba(56, 189, 248, 0.16);
}

.btn.secondary {
    background: rgba(255, 255, 255, 0.08);
    color: #e5e7eb;
    border: 1px solid rgba(226, 232, 240, 0.12);
}

.hero-card {
    padding: 28px;
    border-radius: 28px;
    background: rgba(30, 41, 59, 0.72);
    border: 1px solid rgba(148, 163, 184, 0.1);
    display: grid;
    gap: 26px;
    justify-items: center;
}

.profile {
    width: 160px;
    height: 160px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid rgba(56, 189, 248, 0.28);
    box-shadow: 0 20px 50px rgba(15, 23, 42, 0.35);
}

.hero-stats {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.hero-stats div {
    background: rgba(148, 163, 184, 0.08);
    padding: 16px;
    border-radius: 18px;
    text-align: center;
}

.hero-stats strong {
    display: block;
    font-size: 1.4rem;
    margin-bottom: 6px;
    color: #f8fafc;
}

.hero-stats span {
    color: #cbd5e1;
    font-size: 0.95rem;
}

.box {
    margin-top: 40px;
    padding: 36px 38px;
    border-radius: 28px;
    background: rgba(15, 23, 42, 0.72);
    border: 1px solid rgba(148, 163, 184, 0.1);
    backdrop-filter: blur(18px);
}

.box h2 {
    margin-bottom: 18px;
    font-size: clamp(2rem, 3vw, 2.8rem);
}

.box p {
    color: #d1d5db;
    line-height: 1.8;
    font-size: 1rem;
}

.project-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
    margin-top: 24px;
}

.project-card {
    padding: 26px;
    border-radius: 24px;
    background: rgba(30, 41, 59, 0.82);
    border: 1px solid rgba(148, 163, 184, 0.08);
    box-shadow: 0 20px 45px rgba(15, 23, 42, 0.2);
    transition: transform 0.25s ease, border-color 0.25s ease;
}

.project-card:hover {
    transform: translateY(-6px);
    border-color: rgba(56, 189, 248, 0.24);
}

.project-card h3 {
    margin-bottom: 14px;
    font-size: 1.4rem;
}

.project-card p {
    color: #cbd5e1;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
    margin-top: 24px;
}

.contact-grid div {
    padding: 22px;
    border-radius: 20px;
    background: rgba(30, 41, 59, 0.82);
    border: 1px solid rgba(148, 163, 184, 0.08);
}

.contact-grid strong {
    color: #7dd3fc;
}

.contact-grid a,
.contact-grid p {
    color: #d1d5db;
    margin-top: 8px;
    display: block;
}

.footer {
    text-align: center;
    padding: 24px 0 38px;
    color: #94a3b8;
    font-size: 0.95rem;
}

@media (max-width: 860px) {
    .hero {
        grid-template-columns: 1fr;
    }

    .hero-stats {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .project-grid,
    .contact-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 620px) {
    .navbar {
        flex-direction: column;
        gap: 16px;
        top: 0;
    }

    nav a {
        margin-left: 0;
        margin-right: 18px;
    }

    .hero {
        padding: 28px;
        gap: 22px;
    }

    .hero-copy {
        margin-bottom: 22px;
    }

    .hero-stats {
        grid-template-columns: 1fr;
    }
}

