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

html {
    scroll-behavior: smooth;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    background: #07111f;
    color: #f8fafc;
    line-height: 1.6;
}

body::selection {
    background: #38bdf8;
    color: #07111f;
}

a {
    color: inherit;
}

nav {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 8%;
    background: rgba(7, 17, 31, 0.9);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(14px);
}

.logo {
    color: #ffffff;
    font-size: 0.95rem;
    font-weight: 900;
    letter-spacing: 1.5px;
    text-decoration: none;
}

nav ul {
    display: flex;
    align-items: center;
    gap: 30px;
    list-style: none;
}

nav a {
    color: #cbd5e1;
    font-size: 0.92rem;
    font-weight: 700;
    text-decoration: none;
    transition: color 0.25s ease;
}

nav a:hover {
    color: #38bdf8;
}

.hero {
    min-height: 50vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 150px 8% 100px;
    position: relative;
    overflow: hidden;
    text-align: center;
    background:
        radial-gradient(circle at 85% 15%, rgba(56, 189, 248, 0.22), transparent 28%),
        radial-gradient(circle at 15% 85%, rgba(37, 99, 235, 0.2), transparent 30%),
        linear-gradient(135deg, #07111f 0%, #0d1b31 55%, #10233c 100%);
}

.hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
    background-size: 48px 48px;
    mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.75), transparent 90%);
}

.hero-content {
    max-width: 920px;
    position: relative;
    z-index: 2;
}

.eyebrow,
.section-label {
    color: #7dd3fc;
    font-size: 0.75rem;
    font-weight: 900;
    letter-spacing: 2px;
}

.eyebrow {
    display: inline-block;
    margin-bottom: 24px;
    padding: 8px 15px;
    border: 1px solid rgba(56, 189, 248, 0.28);
    border-radius: 999px;
    background: rgba(56, 189, 248, 0.09);
}

.hero h1 {
    margin-bottom: 24px;
    font-size: clamp(3rem, 7vw, 6rem);
    line-height: 0.98;
    letter-spacing: -3px;
}

.hero-text {
    max-width: 730px;
    margin: 0 auto;
    color: #cbd5e1;
    font-size: 1.1rem;
}

.hero-actions {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 34px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 155px;
    padding: 13px 22px;
    border-radius: 10px;
    font-weight: 900;
    text-decoration: none;
    transition: 0.25s ease;
}

.btn-primary {
    background: linear-gradient(135deg, #38bdf8, #2563eb);
    color: #ffffff;
    box-shadow: 0 14px 35px rgba(37, 99, 235, 0.3);
}

.btn-secondary {
    border: 1px solid rgba(255, 255, 255, 0.18);
    background: rgba(255, 255, 255, 0.04);
    color: #ffffff;
}

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

.section {
    width: min(1180px, 100%);
    margin: 0 auto;
    padding: 95px 7%;
}

.section h2,
.contact-section h2 {
    margin: 10px 0 18px;
    font-size: clamp(2rem, 4vw, 3.3rem);
    line-height: 1.1;
    letter-spacing: -1.5px;
}

.section-intro,
.about-section > p:last-child,
.contact-content > p:last-of-type {
    max-width: 760px;
    color: #94a3b8;
    font-size: 1.04rem;
}

.about-section {
    text-align: center;
}

.about-section > p:last-child {
    margin: 0 auto;
}

.projects-section {
    width: min(1320px, 100%);
}

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

.project-card {
    min-height: 340px;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
    padding: 34px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    background:
        radial-gradient(circle at top right, rgba(56, 189, 248, 0.11), transparent 35%),
        linear-gradient(145deg, rgba(30, 41, 59, 0.96), rgba(15, 23, 42, 0.98));
    box-shadow: 0 20px 55px rgba(0, 0, 0, 0.22);
    transition: 0.3s ease;
}

.project-card:hover {
    transform: translateY(-8px);
    border-color: rgba(56, 189, 248, 0.42);
    box-shadow: 0 26px 65px rgba(0, 0, 0, 0.34);
}

.project-number {
    position: absolute;
    top: 20px;
    right: 25px;
    color: rgba(255, 255, 255, 0.08);
    font-size: 4.2rem;
    font-weight: 900;
    line-height: 1;
}

.project-type {
    margin-bottom: 14px;
    color: #38bdf8;
    font-size: 0.73rem;
    font-weight: 900;
    letter-spacing: 1.7px;
}

.project-card h3 {
    max-width: 82%;
    margin-bottom: 14px;
    font-size: 1.65rem;
    line-height: 1.15;
}

.project-card > p:not(.project-type) {
    max-width: 92%;
    color: #aebbd0;
}

.project-tech {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: auto;
    padding-top: 24px;
    margin-bottom: 22px;
}

.project-tech span {
    padding: 6px 10px;
    border: 1px solid rgba(125, 211, 252, 0.24);
    border-radius: 999px;
    background: rgba(56, 189, 248, 0.08);
    color: #bae6fd;
    font-size: 0.74rem;
    font-weight: 800;
}

.project-link,
.status-badge {
    width: fit-content;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 11px 16px;
    border-radius: 9px;
    font-size: 0.88rem;
    font-weight: 900;
    text-decoration: none;
}

.project-link {
    background: #38bdf8;
    color: #07111f;
    transition: 0.25s ease;
}

.project-link:hover {
    background: #ffffff;
    transform: translateY(-2px);
}

.status-badge {
    background: rgba(148, 163, 184, 0.12);
    color: #cbd5e1;
}

.coming-project {
    border-style: dashed;
}

.project-card-wide {
    grid-column: 1 / -1;
    min-height: 300px;
}

.skills-section {
    text-align: center;
}

.tags {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    margin-top: 30px;
}

.tags span {
    padding: 10px 16px;
    border: 1px solid rgba(56, 189, 248, 0.28);
    border-radius: 999px;
    background: rgba(56, 189, 248, 0.09);
    color: #bae6fd;
    font-size: 0.9rem;
    font-weight: 800;
    transition: 0.25s ease;
}

.tags span:hover {
    background: #38bdf8;
    color: #07111f;
    transform: translateY(-2px);
}

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

.service-card {
    min-height: 210px;
    padding: 28px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 18px;
    background: linear-gradient(145deg, rgba(30, 41, 59, 0.82), rgba(15, 23, 42, 0.95));
    transition: 0.3s ease;
}

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

.service-icon {
    display: inline-flex;
    width: 42px;
    height: 42px;
    align-items: center;
    justify-content: center;
    margin-bottom: 22px;
    border-radius: 10px;
    background: rgba(56, 189, 248, 0.11);
    color: #7dd3fc;
    font-size: 0.82rem;
    font-weight: 900;
}

.service-card h3 {
    margin-bottom: 10px;
    font-size: 1.28rem;
}

.service-card p {
    color: #9fb0c7;
}

.contact-section {
    width: min(1050px, calc(100% - 10%));
    margin: 30px auto 90px;
    padding: 80px 7%;
    border: 1px solid rgba(56, 189, 248, 0.2);
    border-radius: 28px;
    text-align: center;
    background:
        radial-gradient(circle at top right, rgba(56, 189, 248, 0.17), transparent 32%),
        linear-gradient(135deg, rgba(37, 99, 235, 0.19), rgba(56, 189, 248, 0.06));
}

.contact-content > p:last-of-type {
    margin: 0 auto;
}

.contact-links {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 13px;
    margin-top: 28px;
}

.contact-links a {
    padding: 12px 19px;
    border-radius: 9px;
    background: #ffffff;
    color: #07111f;
    font-weight: 900;
    text-decoration: none;
    transition: 0.25s ease;
}

.contact-links a:hover {
    background: #38bdf8;
    transform: translateY(-3px);
}

footer {
    padding: 28px 7%;
    border-top: 1px solid rgba(255, 255, 255, 0.07);
    background: #040b14;
    color: #64748b;
    text-align: center;
}

@media (max-width: 900px) {
    nav ul {
        gap: 18px;
    }

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

    .project-card-wide {
        grid-column: auto;
    }
}

@media (max-width: 720px) {
    nav {
        justify-content: center;
        padding: 18px 5%;
    }

    nav ul {
        display: none;
    }

    .hero {
        min-height: 90vh;
        padding: 130px 6% 80px;
    }

    .hero h1 {
        font-size: clamp(2.7rem, 13vw, 4.2rem);
        letter-spacing: -2px;
    }

    .hero-text {
        font-size: 1rem;
    }

    .section {
        padding: 75px 6%;
    }

    .project-card {
        min-height: 330px;
        padding: 27px;
    }

    .project-number {
        font-size: 3.3rem;
    }

    .project-card h3 {
        max-width: 76%;
        font-size: 1.42rem;
    }

    .project-card > p:not(.project-type) {
        max-width: 100%;
    }

    .contact-section {
        width: calc(100% - 10%);
        padding: 65px 7%;
    }
}

@media (max-width: 430px) {
    .logo {
        font-size: 0.78rem;
    }

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

    .btn {
        width: 100%;
        max-width: 260px;
    }

    .project-card {
        min-height: 350px;
    }
}
.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-links {
    display: flex;
    gap: 20px;
}

.footer-links a {
    color: #94a3b8;
    text-decoration: none;
    font-weight: 600;
    transition: 0.3s ease;
}

.footer-links a:hover {
    color: #38bdf8;
}

@media (max-width: 700px) {
    .footer-content {
        flex-direction: column;
        text-align: center;
    }

    .footer-links {
        justify-content: center;
    }
    
}