:root {
    --dark: #020617;
    --dark2: #071224;
    --dark3: #0B162B;
    --mx-blue: #0f43b4;
    --mx-glow: #1151e5c1;
    --mx-royal: #0057d9aa;
    --white: #ffffff;
    --gray: #cbd5e1;
    --light-bg: #f8fafc;
    --text-dark: #0f172a;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    background: var(--light-bg);
    color: var(--text-dark);
    line-height: 1.6;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: auto;
}

/* HEADER */

.header {
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    background: rgba(2, 6, 23, 0.95);
    backdrop-filter: blur(18px);
    border-bottom: 1px solid rgba(0, 123, 255, 0.25);
}

.nav {
    height: 82px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.brand {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: var(--white);
    font-size: 28px;
    font-weight: 900;
}

.brand img {
    width: 58px;
    height: 58px;
    border-radius: 16px;
    object-fit: cover;
    box-shadow:
        0 0 15px rgba(0, 123, 255, 0.7),
        0 0 35px rgba(0, 166, 255, 0.4);
}

.brand span span {
    color: var(--mx-blue);
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 28px;
}

.nav-links a {
    color: #e2e8f0;
    text-decoration: none;
    font-weight: 600;
    transition: 0.3s;
}

.nav-links a:hover {
    color: var(--mx-glow);
}

.menu-btn {
    display: none;
    background: none;
    color: var(--white);
    border: none;
    font-size: 32px;
    cursor: pointer;
}

/* HERO */

.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 100px;
    color: var(--white);
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(circle at top left, rgba(0, 123, 255, 0.35), transparent 30%),
        radial-gradient(circle at bottom right, rgba(0, 166, 255, 0.20), transparent 30%),
        linear-gradient(135deg, #020617 0%, #071224 40%, #0B162B 100%);
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(90deg, transparent 98%, rgba(0, 123, 255, 0.15) 100%),
        linear-gradient(180deg, transparent 98%, rgba(0, 123, 255, 0.15) 100%);
    background-size: 80px 80px;
    opacity: 0.25;
    pointer-events: none;
}

.hero-grid {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 55px;
    align-items: center;
}

.badge {
    display: inline-block;
    padding: 9px 18px;
    background: rgba(0, 123, 255, 0.14);
    color: var(--mx-glow);
    border: 1px solid rgba(0, 166, 255, 0.45);
    border-radius: 40px;
    font-weight: 800;
    font-size: 14px;
    margin-bottom: 20px;
}

.hero h1 {
    font-size: 62px;
    line-height: 1.05;
    margin-bottom: 24px;
    background: linear-gradient(90deg, #ffffff, #EAF6FF, #B7DDFF);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero p {
    color: var(--gray);
    font-size: 18px;
    max-width: 650px;
}

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

.btn {
    padding: 15px 26px;
    border-radius: 14px;
    text-decoration: none;
    font-weight: 800;
    border: none;
    cursor: pointer;
    display: inline-block;
    transition: 0.3s;
}

.primary {
    background: linear-gradient(135deg, #0057D9, #007BFF, #00A6FF);
    color: var(--white);
    box-shadow:
        0 0 15px rgba(0, 123, 255, 0.5),
        0 0 35px rgba(0, 166, 255, 0.25);
}

.primary:hover {
    transform: translateY(-3px);
    box-shadow:
        0 0 20px rgba(0, 123, 255, 0.7),
        0 0 45px rgba(0, 166, 255, 0.35);
}

.secondary {
    color: var(--mx-glow);
    border: 1px solid rgba(0, 166, 255, 0.45);
    background: rgba(255, 255, 255, 0.06);
}

.secondary:hover {
    background: rgba(0, 123, 255, 0.18);
}

.hero-image img {
    width: 100%;
    border-radius: 28px;
    filter: drop-shadow(0 30px 60px rgba(0, 166, 255, 0.35));
}

/* STATS */

.stats {
    background: var(--dark);
    color: var(--white);
    padding: 50px 0;
    border-top: 1px solid rgba(0, 123, 255, 0.25);
    border-bottom: 1px solid rgba(0, 123, 255, 0.25);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    text-align: center;
    gap: 25px;
}

.stats h2 {
    font-size: 42px;
    color: var(--mx-glow);
    text-shadow: 0 0 18px rgba(0, 166, 255, 0.6);
}

.stats p {
    color: var(--gray);
}

/* GENERAL SECTIONS */

.section {
    padding: 95px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 55px;
}

.section-title span {
    color: var(--mx-blue);
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.section-title h2 {
    font-size: 42px;
    margin: 10px 0;
    color: var(--dark);
}

.section-title p {
    color: #64748b;
}

/* PROJECTS */

.project-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.project-card {
    background: var(--white);
    padding: 30px;
    border-radius: 24px;
    box-shadow: 0 20px 50px rgba(15, 23, 42, 0.08);
    border: 1px solid #e2e8f0;
    transition: 0.35s;
    position: relative;
    overflow: hidden;
}

.project-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(0, 123, 255, 0.08), transparent 45%);
    opacity: 0;
    transition: 0.35s;
}

.project-card:hover::before {
    opacity: 1;
}

.project-card:hover {
    transform: translateY(-10px);
    border-color: var(--mx-blue);
    box-shadow:
        0 15px 40px rgba(0, 123, 255, 0.15),
        0 0 20px rgba(0, 166, 255, 0.12);
}

.icon {
    font-size: 42px;
    margin-bottom: 16px;
}

.project-card h3 {
    font-size: 22px;
    margin-bottom: 12px;
    color: var(--dark);
}

.project-card p {
    color: #64748b;
}

/* DARK SERVICES SECTION */

.dark {
    background:
        radial-gradient(circle at top right, rgba(0, 123, 255, 0.18), transparent 35%),
        radial-gradient(circle at bottom left, rgba(0, 166, 255, 0.12), transparent 35%),
        linear-gradient(135deg, #020617, #071224, #0B162B);
    color: var(--white);
}

.light h2,
.light p {
    color: var(--white);
}

.light span {
    color: var(--mx-glow);
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.service-box {
    background: rgba(255, 255, 255, 0.07);
    padding: 28px;
    border-radius: 22px;
    border: 1px solid rgba(0, 166, 255, 0.25);
    transition: 0.3s;
}

.service-box:hover {
    transform: translateY(-8px);
    border-color: var(--mx-glow);
    box-shadow: 0 0 25px rgba(0, 166, 255, 0.18);
}

.service-box h3 {
    margin-bottom: 12px;
    color: var(--white);
}

.service-box p {
    color: var(--gray);
}

/* TECHNOLOGY */

.tech-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 14px;
}

.tech-grid span {
    background: var(--white);
    padding: 14px 20px;
    border-radius: 14px;
    font-weight: 800;
    box-shadow: 0 12px 35px rgba(15, 23, 42, 0.08);
    border: 1px solid #e2e8f0;
    transition: 0.3s;
}

.tech-grid span:hover {
    color: var(--mx-blue);
    border-color: var(--mx-blue);
    box-shadow: 0 0 22px rgba(0, 123, 255, 0.14);
}

/* FOUNDER */

.founder {
    background: linear-gradient(135deg, #eef6ff, #ffffff);
}

.founder-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 45px;
    align-items: center;
}

.founder h2 {
    font-size: 42px;
    margin-bottom: 18px;
    color: var(--dark);
}

.founder p {
    color: #475569;
    font-size: 17px;
}

.founder-card img {
    width: 100%;
    border-radius: 28px;
    box-shadow:
        0 30px 70px rgba(15, 23, 42, 0.18),
        0 0 35px rgba(0, 123, 255, 0.18);
}

/* CONTACT */

.contact {
    background: #f1f5f9;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 45px;
    align-items: center;
}

.contact h2 {
    font-size: 40px;
    margin-bottom: 18px;
    color: var(--dark);
}

.contact p {
    color: #475569;
}

.contact-info {
    margin-top: 24px;
}

.contact-info p {
    margin-bottom: 10px;
}

.contact-form {
    background: var(--white);
    padding: 32px;
    border-radius: 26px;
    box-shadow: 0 25px 65px rgba(15, 23, 42, 0.1);
    display: flex;
    flex-direction: column;
    gap: 16px;
    border: 1px solid rgba(0, 123, 255, 0.12);
}

.contact-form input,
.contact-form textarea {
    padding: 16px;
    border-radius: 14px;
    border: 1px solid #cbd5e1;
    font-family: inherit;
    font-size: 15px;
    outline: none;
    transition: 0.3s;
}

.contact-form input:focus,
.contact-form textarea:focus {
    border-color: var(--mx-blue);
    box-shadow: 0 0 0 4px rgba(0, 123, 255, 0.12);
}

.contact-form textarea {
    min-height: 130px;
    resize: vertical;
}

/* FOOTER */

.footer {
    background: var(--dark);
    color: var(--gray);
    padding: 30px 0;
    border-top: 1px solid rgba(0, 123, 255, 0.25);
}

.footer-grid {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 25px;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 15px;
}

.footer-brand img {
    width: 60px;
    height: 60px;
    border-radius: 16px;
    box-shadow:
        0 0 15px rgba(0, 123, 255, 0.6),
        0 0 30px rgba(0, 166, 255, 0.3);
}

.footer-brand h3 {
    color: var(--white);
}

/* RESPONSIVE */

@media (max-width: 992px) {
    .hero-grid,
    .founder-grid,
    .contact-grid {
        grid-template-columns: 1fr;
    }

    .hero h1 {
        font-size: 46px;
    }

    .project-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .service-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .menu-btn {
        display: block;
    }

    .nav-links {
        position: absolute;
        top: 82px;
        left: 0;
        width: 100%;
        background: var(--dark);
        flex-direction: column;
        text-align: center;
        padding: 24px 0;
        display: none;
        border-bottom: 1px solid rgba(0, 166, 255, 0.25);
    }

    .nav-links.active {
        display: flex;
    }

    .hero {
        padding-top: 120px;
    }

    .hero h1 {
        font-size: 38px;
    }

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

    .section-title h2,
    .founder h2,
    .contact h2 {
        font-size: 32px;
    }

    .footer-grid {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .brand span {
        font-size: 22px;
    }

    .brand img {
        width: 48px;
        height: 48px;
    }

    .hero h1 {
        font-size: 32px;
    }

    .hero p {
        font-size: 16px;
    }

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

    .btn {
        width: 100%;
        text-align: center;
    }

    .section {
        padding: 70px 0;
    }
}