:root {
    --navy-950: #020b1e;
    --navy-900: #06142d;
    --navy-850: #0a1937;
    --navy-800: #0d2043;
    --blue: #1358ff;
    --blue-light: #4d7cff;
    --cyan: #63a6ff;
    --white: #ffffff;
    --text: #d5def0;
    --muted: #9aa9c5;
    --line: rgba(255, 255, 255, 0.10);
    --card: rgba(13, 32, 67, 0.72);
    --shadow: 0 18px 50px rgba(0, 0, 0, 0.28);
    --radius: 18px;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Inter", Arial, sans-serif;
    background: var(--navy-950);
    color: var(--white);
    line-height: 1.6;
    overflow-x: hidden;
}

img {
    display: block;
    max-width: 100%;
}

a {
    color: inherit;
    text-decoration: none;
}

.container {
    width: min(1160px, calc(100% - 40px));
    margin-inline: auto;
}

.section {
    padding: 62px 0;
}

.eyebrow {
    color: var(--blue-light);
    font-size: 0.9rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    margin-bottom: 12px;
}

h1, h2, h3, h4 {
    line-height: 1.15;
}

h1 {
    font-size: clamp(2.7rem, 5.8vw, 5.5rem);
    letter-spacing: -0.045em;
    max-width: 760px;
}

    h1 span {
        color: var(--blue);
    }

h2 {
    font-size: clamp(2rem, 4vw, 3.5rem);
    letter-spacing: -0.03em;
}

p {
    color: var(--text);
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    min-height: 52px;
    padding: 0 24px;
    border-radius: 10px;
    font-weight: 700;
    transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

    .btn:hover {
        transform: translateY(-2px);
    }

.btn-primary {
    background: linear-gradient(135deg, #0f4eff, #1f68ff);
    box-shadow: 0 12px 30px rgba(19, 88, 255, 0.28);
}

    .btn-primary:hover {
        box-shadow: 0 16px 38px rgba(19, 88, 255, 0.42);
    }

.btn-outline {
    border: 1px solid rgba(255, 255, 255, 0.34);
    background: rgba(255, 255, 255, 0.02);
}

.btn-dark {
    background: #071630;
    box-shadow: var(--shadow);
}

/* Header */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(2, 11, 30, 0.76);
    border-bottom: 1px solid rgba(255,255,255,0.05);
    backdrop-filter: blur(18px);
}

.nav-wrap {
    height: 82px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
}

.brand img {
    width: 175px;
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 34px;
    margin-left: auto;
}

    .main-nav a {
        color: var(--text);
        font-size: 0.95rem;
        font-weight: 500;
        position: relative;
    }

        .main-nav a::after {
            content: "";
            position: absolute;
            left: 0;
            bottom: -10px;
            width: 0;
            height: 2px;
            background: var(--blue);
            transition: width 0.25s ease;
        }

        .main-nav a:hover::after,
        .main-nav a.active::after {
            width: 100%;
        }

.menu-toggle {
    display: none;
    border: 0;
    background: none;
    cursor: pointer;
}

    .menu-toggle span {
        display: block;
        width: 26px;
        height: 2px;
        margin: 6px 0;
        background: white;
    }

/* Hero */
.hero {     
    align-items: center;
    position: relative;
    padding: 148px 0 76px;    
    overflow: hidden;
}

    .hero::before {
        content: "";        
        inset: 0;
        background: linear-gradient(120deg, transparent 0 62%, rgba(31, 79, 184, 0.08) 62% 72%, transparent 72%);
        pointer-events: none;
    }

.hero-orb {
    position: absolute;
    border-radius: 50%;
    border: 1px solid rgba(44, 102, 245, 0.12);
}

.orb-one {
    width: 540px;
    height: 540px;
    right: -220px;
    top: -140px;
}

.orb-two {
    width: 360px;
    height: 360px;
    right: -80px;
    top: -30px;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 65px;
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero-text {
    max-width: 660px;
    margin: 24px 0 30px;
    font-size: 1.08rem;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}

.stats {
    width: fit-content;
    display: grid;
    grid-template-columns: repeat(3, 1fr);    
    gap: 22px;    
    margin-inline: auto;
    /*border: 1px solid rgba(255,255,255,0.06);
    border-radius: 14px;
    background: rgba(9, 26, 59, 0.7);
    box-shadow: var(--shadow); */
}

.stat {
    min-width: 185px;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 18px 20px;
    border-right: 1px solid var(--line);
    background: linear-gradient(145deg, rgba(18, 43, 88, 0.9), rgba(8, 27, 61, 0.92));
    border: 1px solid rgba(255,255,255,0.07);
    border-radius: var(--radius);
    padding: 28px;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease, border-color 0.3s ease;
}

    .stat:last-child {
        border-right: 0;
    }

.stat-icon {
    color: var(--blue);
    font-size: 1.5rem;
}

.stat strong,
.stat span {
    display: block;
}

.stat strong {
    font-size: 1.35rem;
}

.stat span {
    color: var(--muted);
    font-size: 0.76rem;
}

.hero-visual {
    position: relative;
    min-height: 510px;
    display: grid;
    place-items: center;
}

    .hero-visual img {
        width: min(470px, 90%);
        position: relative;
        z-index: 2;
        filter: drop-shadow(0 28px 35px rgba(0,0,0,0.45));
    }

.logo-glow {
    position: absolute;
    width: 380px;
    height: 130px;
    bottom: 75px;
    background: rgba(16, 82, 255, 0.55);
    filter: blur(55px);
    border-radius: 50%;
}

.light-line {
    position: absolute;
    bottom: 120px;
    width: 88%;
    height: 2px;
    background: linear-gradient(90deg, transparent, #4f91ff, #ffffff, #4f91ff, transparent);
    box-shadow: 0 0 20px #1a5cff;
}

/* Section Heading */
.section-heading {
    margin-bottom: 42px;
}

    .section-heading.centered {
        text-align: center;
    }

        .section-heading.centered p:last-child {
            max-width: 690px;
            margin: 14px auto 0;
            color: var(--muted);
        }

/* Services */
.services-section {
    /*background: linear-gradient(180deg, #071a3a 0%, #04132d 100%);*/
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

.service-card,
.why-card {
    background: linear-gradient(145deg, rgba(18, 43, 88, 0.9), rgba(8, 27, 61, 0.92));
    border: 1px solid rgba(255,255,255,0.07);
    border-radius: var(--radius);
    padding: 28px;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease, border-color 0.3s ease;
}

    .service-card:hover,
    .why-card:hover {
        transform: translateY(-6px);
        border-color: rgba(62, 116, 255, 0.5);
    }

.icon-bubble {
    width: 54px;
    height: 54px;
    display: grid;
    place-items: center;
    margin-bottom: 20px;
    border-radius: 50%;
    background: linear-gradient(135deg, #0d46dc, #1c6dff);
    box-shadow: 0 10px 28px rgba(19, 88, 255, 0.36);
    font-weight: 800;
}

.service-card h3,
.why-card h3 {
    margin-bottom: 12px;
    font-size: 1.18rem;
}

.service-card p,
.why-card p {
    color: var(--muted);
    font-size: 0.92rem;
}

.service-card a {
    display: inline-block;
    margin-top: 22px;
    color: var(--blue-light);
    font-weight: 700;
    font-size: 0.88rem;
}

/* About */
.about-section {
    /*background: linear-gradient(180deg, #031229, #020d20);*/
}

.about-grid {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 70px;
    align-items: center;
}

.about-copy p:not(.eyebrow) {
    margin: 22px 0 28px;
    max-width: 560px;
    color: var(--muted);
}

.mini-line {
    width: 32px;
    height: 3px;
    margin-top: 18px;
    background: var(--blue);
}

.about-visual {
    position: relative;
    min-height: 380px;
    display: grid;
    place-items: center;
}

.screen-card {
    width: 100%;
    max-width: 640px;
    border: 1px solid rgba(255,255,255,0.16);
    border-radius: 18px;
    overflow: hidden;
    background: linear-gradient(145deg, #08182f, #0a2149);
    box-shadow: 0 24px 55px rgba(0,0,0,0.42);
    position: relative;
    z-index: 2;
}

.screen-top {
    height: 42px;
    padding: 0 16px;
    display: flex;
    align-items: center;
    gap: 8px;
    background: #071325;
}

    .screen-top span {
        width: 9px;
        height: 9px;
        border-radius: 50%;
        background: rgba(255,255,255,0.28);
    }

.screen-body {
    min-height: 300px;
    padding: 50px;
    display: grid;
    align-content: center;
    background: linear-gradient(rgba(3, 13, 31, 0.55), rgba(3, 13, 31, 0.78)), url("assets/lagosoft-card-bg.png") center/cover;
}

    .screen-body img {
        object-fit: fill;
        width: 100%;
        height: 100%;
        margin-bottom: 10px;
    }

.code-lines {
    display: grid;
    gap: 12px;
}

    .code-lines i {
        display: block;
        height: 8px;
        border-radius: 99px;
        background: linear-gradient(90deg, #1a60ff, rgba(255,255,255,0.18));
    }

        .code-lines i:nth-child(2) {
            width: 82%;
        }

        .code-lines i:nth-child(3) {
            width: 67%;
        }

        .code-lines i:nth-child(4) {
            width: 90%;
        }

        .code-lines i:nth-child(5) {
            width: 54%;
        }

.desk-glow {
    position: absolute;
    width: 80%;
    height: 90px;
    bottom: -10px;
    background: rgba(15, 84, 255, 0.32);
    filter: blur(50px);
}

/* Why */
.why-section {
    /*background: #061735;*/
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}

.why-card {
    padding: 24px;
}

.icon-bubble.small {
    width: 44px;
    height: 44px;
    margin-bottom: 16px;
}

/* CTA */
.cta-section {
    min-height: 310px;
    position: relative;
    display: grid;
    place-items: center;
    overflow: hidden;    
}

.cta-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 70px 0;
    background: linear-gradient(135deg, #1243dd, #175cff 55%, #194fdb);
    border-radius: 10px;
}

    .cta-content h2 {
        max-width: 730px;
        margin: 0 auto;
    }

    .cta-content p {
        margin: 16px 0 25px;
    }

.cta-shape {
    position: absolute;
    border-radius: 50%;
    /*background: rgba(255,255,255,0.06);*/
}

.cta-left {
    width: 480px;
    height: 480px;
    left: -240px;
    bottom: -280px;
}

.cta-right {
    width: 420px;
    height: 420px;
    right: -230px;
    top: -260px;
}

/* Footer */
.site-footer {
    /*background: #020a1a;*/
    padding: 65px 0 22px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.3fr 0.8fr 1fr 0.9fr;
    gap: 48px;
}

    .footer-grid h4 {
        margin-bottom: 18px;
    }

    .footer-grid a,
    .footer-grid p {
        display: block;
        margin-bottom: 10px;
        color: var(--muted);
        font-size: 0.9rem;
    }

        .footer-grid a:hover {
            color: var(--white);
        }

.footer-brand img {
    width: 190px;
    margin-bottom: 20px;
}

.footer-brand p {
    max-width: 290px;
}

.socials {
    display: flex;
    gap: 10px;
    margin-top: 20px;
}

    .socials a {
        width: 36px;
        height: 36px;
        display: grid;
        place-items: center;
        border-radius: 50%;
        background: #0d1e3d;
        color: white;
        margin: 0;
    }

.footer-bottom {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    margin-top: 45px;
    padding-top: 20px;
    border-top: 1px solid var(--line);
}

    .footer-bottom p,
    .footer-bottom a {
        color: #7f8da8;
        font-size: 0.8rem;
    }

/* Animation */
.reveal {
    opacity: 0;
    transform: translateY(26px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

    .reveal.visible {
        opacity: 1;
        transform: translateY(0);
    }

/* Responsive */
@media (max-width: 980px) {
    .main-nav,
    .nav-cta {
        display: none;
    }

    .menu-toggle {
        display: block;
        margin-left: auto;
    }

    .main-nav.open {
        position: absolute;
        top: 82px;
        left: 20px;
        right: 20px;
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        gap: 22px;
        padding: 26px;
        background: #07152e;
        border: 1px solid var(--line);
        border-radius: 14px;
        box-shadow: var(--shadow);
    }

    .hero-grid,
    .about-grid {
        grid-template-columns: 1fr;
    }

    .hero-visual {
        min-height: 390px;
    }

    .stats {
        width: 100%;
    }

    .stat {
        min-width: 0;
    }

    .service-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .why-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 660px) {
    .container {
        width: min(100% - 28px, 1160px);
    }

    .section {
        padding: 72px 0;
    }

    .hero {
        padding-top: 126px;
    }

    .hero-actions {
        flex-direction: column;
    }

        .hero-actions .btn {
            width: 100%;
        }

    .stats {
        grid-template-columns: 1fr;
    }

    .stat {
        border-right: 0;
        border-bottom: 1px solid var(--line);
    }

        .stat:last-child {
            border-bottom: 0;
        }

    .service-grid,
    .why-grid,
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .screen-body {
        padding: 34px 24px;
    }

    .footer-bottom {
        flex-direction: column;
    }
}
