:root {
    --bg: #020817;
    --panel: #08132a;
    --panel2: #0b1835;
    --line: rgba(132,167,255,.18);
    --text: #f6f8ff;
    --muted: #aab5d1;
    --blue: #2477ff;
    --blue2: #19a8ff;
    --purple: #6d45ff;
    --shadow: 0 18px 55px rgba(0,0,0,.36);
    --radius: 18px;
}

* {
    box-sizing: border-box
}

html {
    scroll-behavior: smooth
}

body {
    margin: 0;
    font-family: Inter,system-ui,sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.55;
    overflow-x: hidden
}

a {
    color: inherit;
    text-decoration: none
}

img {
    max-width: 100%;
    display: block
}

.container {
    width: min(1180px,calc(100% - 40px));
    margin: auto
}

.site-header {
    position: fixed;
    z-index: 1000;
    inset: 0 0 auto;
    background: rgba(2,8,23,.76);
    border-bottom: 1px solid var(--line);
    backdrop-filter: blur(16px)
}

.nav-wrap {
    height: 72px;
    display: flex;
    align-items: center;
    gap: 28px
}

.brand {
    display: flex;
    align-items: center;
    gap: 11px;
    font-size: 21px;
    font-weight: 700;
    white-space: nowrap
}

    .brand strong {
        color: #2684ff
    }

.brand-mark {
    width: 32px;
    height: 36px;
    display: flex;
    gap: 3px;
    transform: skewY(-18deg)
}

    .brand-mark i {
        width: 14px;
        background: linear-gradient(180deg,#2ca0ff,#2447ff);
        clip-path: polygon(0 0,100% 15%,100% 100%,0 82%)
    }

        .brand-mark i:last-child {
            transform: translateY(7px)
        }

.main-nav {
    display: flex;
    gap: 27px;
    margin-left: auto
}

    .main-nav a {
        font-size: 14px;
        color: #c8d0e4;
        padding: 26px 0 22px;
        border-bottom: 2px solid transparent
    }

        .main-nav a:hover, .main-nav a.active {
            color: #fff;
            border-color: var(--blue)
        }

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    border: 0;
    border-radius: 9px;
    padding: 14px 23px;
    background: linear-gradient(135deg,#1f68ff,#197eff);
    color: #fff;
    font: 600 14px Inter;
    box-shadow: 0 10px 28px rgba(25,105,255,.25);
    cursor: pointer;
    transition: .25s
}

    .btn:hover {
        transform: translateY(-2px);
        filter: brightness(1.08)
    }

.btn-small {
    padding: 11px 17px
}

.btn-ghost {
    background: rgba(7,18,43,.55);
    border: 1px solid rgba(193,209,255,.32);
    box-shadow: none
}

.menu-toggle {
    display: none;
    margin-left: auto;
    background: none;
    border: 0;
    padding: 8px
}

    .menu-toggle span {
        display: block;
        width: 25px;
        height: 2px;
        background: white;
        margin: 5px
    }

.hero {
    height: min(760px,100vh);
    min-height: 650px;
    position: relative;
    display: flex;
    align-items: center;
    overflow: hidden;
    border-bottom: 1px solid var(--line);
    background: #030817
}

.hero-layer {
    position: absolute;
    inset: 0;
    background-repeat: no-repeat
}

.hero-equations {
    background-image: linear-gradient(90deg,rgba(2,8,23,.05),rgba(2,8,23,.95) 57%),url('assets/equations.jpg');
    background-size: 62% 100%,55% 100%;
    background-position: left,left;
    opacity: .7
}

.hero-city {
    background-image: linear-gradient(90deg,rgba(2,8,23,1) 0%,rgba(2,8,23,.18) 58%),url('assets/hero-city.gif');
    background-size: 100%,90% auto;
    background-position: center,center bottom;
    background-repeat: no-repeat;
    mix-blend-mode: screen;
    opacity: .48
}



.hero-glow {
    position: absolute;
    width: 700px;
    height: 500px;
    right: 5%;
    top: 16%;
    background: radial-gradient(circle,rgba(31,101,255,.25),transparent 68%);
    filter: blur(18px)
}

.hero-content {
    position: relative;
    z-index: 2;
    padding-top: 75px;
    max-width: 1100px
}

    .hero-content > * {
        margin-left: 0%
    }

.eyebrow {
    font-size: 11px;
    letter-spacing: .17em;
    color: #43a6ff;
    font-weight: 700;
    margin: 0 0 16px
}

.hero h1 {
    font-size: clamp(42px,5vw,70px);
    line-height: 1.06;
    letter-spacing: -.045em;
    margin-top: 0;
    margin-bottom: 20px;
    max-width: 780px
}

    .hero h1 span, h2 span {
        color: #2a7dff
    }

.hero-copy {
    font-size: 18px;
    color: #c4cce0;
    max-width: 660px;
    margin-bottom: 30px
}

.hero-actions {
    display: flex;
    gap: 13px
}

.scroll-cue {
    position: absolute;
    bottom: 18px;
    left: 50%;
    font-size: 24px;
    color: #80a9ff;
    animation: bounce 1.8s infinite
}

@keyframes bounce {
    50% {
        transform: translateY(6px)
    }
}

.section {
    padding: 82px 0
}

.services {
    background: radial-gradient(circle at 50% -20%,rgba(26,82,185,.17),transparent 45%),#040b1c
}

.services-grid {
    display: grid;
    grid-template-columns: 270px 1fr;
    gap: 38px
}

.section-intro h2, .project-heading h2, .about-copy h2, .contact-copy h2 {
    font-size: clamp(30px,3vw,45px);
    line-height: 1.16;
    letter-spacing: -.035em;
    margin: 0 0 20px
}

.section-intro > p:last-child, .about-copy > p {
    color: var(--muted)
}

.cards-grid {
    display: grid;
    grid-template-columns: repeat(2,1fr);
    gap: 15px
}

.service-card {
    background: linear-gradient(145deg,rgba(14,29,63,.9),rgba(7,16,36,.92));
    border: 1px solid var(--line);
    border-radius: 13px;
    padding: 24px;
    min-height: 225px;
    box-shadow: var(--shadow);
    transition: .3s
}

    .service-card:hover {
        transform: translateY(-5px);
        border-color: rgba(57,126,255,.55)
    }

.icon {
    width: 43px;
    height: 43px;
    border-radius: 10px;
    display: grid;
    place-items: center;
    background: linear-gradient(135deg,#174baf,#276eff);
    box-shadow: 0 0 20px rgba(35,104,255,.3);
    font-weight: 800
}

    .icon.purple {
        background: linear-gradient(135deg,#4023a8,#744cff)
    }

    .icon.cyan {
        background: linear-gradient(135deg,#075b72,#13b6c5)
    }

.service-card h3 {
    margin: 18px 0 7px;
    font-size: 17px
}

.service-card p {
    color: var(--muted);
    font-size: 14px;
    margin: 0 0 18px
}

.service-card a, .text-link {
    font-size: 13px;
    color: #3d8cff
}

.benefits {
    padding: 24px 0;
    background: linear-gradient(90deg,#07132f,#061d4c 50%,#07132f);
    border-block: 1px solid var(--line)
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(4,1fr)
}

.benefits article {
    display: flex;
    gap: 15px;
    padding: 10px 22px;
    border-right: 1px solid var(--line)
}

    .benefits article:last-child {
        border: 0
    }

.benefit-icon {
    font-size: 28px;
    color: #3688ff
}

.benefits h3 {
    font-size: 14px;
    margin: 0
}

.benefits p {
    font-size: 12px;
    color: var(--muted);
    margin: 3px 0
}

.projects {
    background: linear-gradient(180deg,#020817,#030c22)
}

.project-heading {
    display: flex;
    justify-content: space-between;
    align-items: end;
    margin-bottom: 30px
}

    .project-heading h2 {
        margin-bottom: 0
    }

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

.project-card {
    border: 1px solid var(--line);
    border-radius: 13px;
    background: #081126;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: .3s
}

    .project-card:hover {
        transform: translateY(-5px)
    }

.project-image, .dashboard-preview, .app-preview {
    height: 210px
}

.project-image-code {
    background: linear-gradient(180deg,transparent,rgba(2,7,18,.68)),url('assets/code-desk.jpg') center/cover
}

.project-meta {
    display: flex;
    gap: 12px;
    padding: 16px
}

    .project-meta h3 {
        font-size: 14px;
        margin: 0
    }

    .project-meta p {
        font-size: 12px;
        color: var(--muted);
        margin: 2px 0
    }

.project-badge {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    display: grid;
    place-items: center;
    background: #083c79;
    color: #4ba4ff;
    font-size: 10px;
    font-weight: 700
}

    .project-badge.violet {
        background: #281d5c;
        color: #9c7cff
    }

    .project-badge.gold {
        background: #59420b;
        color: #ffc336
    }

.dashboard-preview {
    position: relative;
    background: linear-gradient(150deg,#101d3d,#050b17);
    overflow: hidden
}

.dash-sidebar {
    position: absolute;
    left: 14px;
    top: 14px;
    bottom: 14px;
    width: 22%;
    border-radius: 6px;
    background: #071021
}

.dash-top {
    position: absolute;
    left: 28%;
    right: 14px;
    top: 14px;
    height: 18%;
    border-radius: 6px;
    background: #0d2446
}

.dash-chart {
    position: absolute;
    left: 31%;
    bottom: 28px;
    width: 42%;
    height: 75px;
    display: flex;
    align-items: end;
    gap: 7px
}

    .dash-chart i {
        width: 12%;
        height: 40%;
        background: #1c68ff;
        border-radius: 3px
    }

        .dash-chart i:nth-child(2) {
            height: 65%
        }

        .dash-chart i:nth-child(3) {
            height: 48%
        }

        .dash-chart i:nth-child(4) {
            height: 85%
        }

        .dash-chart i:nth-child(5) {
            height: 58%
        }

        .dash-chart i:nth-child(6) {
            height: 72%
        }

.dash-ring {
    position: absolute;
    right: 9%;
    bottom: 30px;
    width: 75px;
    height: 75px;
    border: 12px solid #1d3260;
    border-top-color: #19a7ff;
    border-right-color: #6e44ff;
    border-radius: 50%
}

.app-preview {
    position: relative;
    background: radial-gradient(circle at 30% 30%,#234f83,#071020 65%)
}

.phone {
    position: absolute;
    width: 90px;
    height: 165px;
    border: 7px solid #dce6f3;
    border-radius: 18px;
    background: linear-gradient(150deg,#1a75da,#091323);
    box-shadow: 0 15px 30px rgba(0,0,0,.5)
}

    .phone.one {
        left: 31%;
        top: 24px;
        transform: rotate(-7deg)
    }

    .phone.two {
        left: 52%;
        top: 36px;
        transform: rotate(8deg);
        background: linear-gradient(150deg,#21a277,#081a18)
    }

.about {
    background: #050c1d
}

.about-grid {
    display: grid;
    grid-template-columns: 1.05fr .95fr;
    gap: 58px;
    align-items: center
}

.about-image {
    position: relative
}

    .about-image:before {
        content: "";
        position: absolute;
        inset: -15px 20px 20px -15px;
        border: 1px solid rgba(39,115,255,.45);
        border-radius: 18px
    }

    .about-image img {
        position: relative;
        border-radius: 16px;
        box-shadow: var(--shadow)
    }

.about-copy ul {
    padding: 0;
    list-style: none;
    margin: 25px 0
}

.about-copy li {
    padding: 7px 0 7px 28px;
    color: #c5cee4;
    position: relative
}

    .about-copy li:before {
        content: "✓";
        position: absolute;
        left: 0;
        color: #2d88ff;
        font-weight: 800
    }

.contact-section {
    background: linear-gradient(180deg,#050c1d,#020713)
}

.contact-card {
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(51,111,255,.3);
    border-radius: 23px;
    background: linear-gradient(115deg,#092066,#111148 43%,#091635);
    padding: 45px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    box-shadow: var(--shadow)
}

    .contact-card:after {
        content: "";
        position: absolute;
        width: 420px;
        height: 420px;
        border-radius: 50%;
        right: -160px;
        top: -190px;
        background: radial-gradient(circle,rgba(53,116,255,.34),transparent 70%)
    }

.contact-copy {
    display: flex;
    gap: 24px;
    align-items: flex-start;
    position: relative;
    z-index: 1
}

.rocket {
    flex: none;
    width: 58px;
    height: 58px;
    border-radius: 12px;
    display: grid;
    place-items: center;
    font-size: 26px;
    background: rgba(67,103,255,.18);
    border: 1px solid rgba(104,141,255,.35)
}

.contact-copy h2 {
    font-size: 35px
}

.contact-copy p:last-child {
    color: #c6cee1
}

.contact-form {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 13px
}

    .contact-form label {
        font-size: 12px;
        color: #b9c5df
    }

    .contact-form input, .contact-form textarea {
        width: 100%;
        margin-top: 6px;
        padding: 12px;
        border-radius: 8px;
        border: 1px solid rgba(174,195,255,.24);
        background: rgba(2,8,23,.55);
        color: white;
        font: inherit;
        resize: vertical
    }

        .contact-form input:focus, .contact-form textarea:focus {
            outline: 2px solid rgba(42,125,255,.55);
            border-color: transparent
        }

.full {
    grid-column: 1/-1
}

.form-note {
    font-size: 11px !important;
    color: #9aa8c7 !important;
    margin: 0
}

.footer {
    border-top: 1px solid var(--line);
    padding: 24px 0;
    background: #010510
}

.footer-inner {
    display: flex;
    align-items: center;
    justify-content: space-between
}

.footer p {
    color: #7f8baa;
    font-size: 12px
}

.whatsapp-float {
    position: fixed;
    z-index: 900;
    right: 24px;
    bottom: 22px;
    display: flex;
    align-items: center;
    gap: 9px;
    background: #0b1021;
    border: 1px solid rgba(169,190,255,.3);
    padding: 8px 18px 8px 8px;
    border-radius: 99px;
    box-shadow: var(--shadow)
}

    .whatsapp-float span {
        width: 39px;
        height: 39px;
        border-radius: 50%;
        display: grid;
        place-items: center;
        background: #08d34f;
        color: white
    }

    .whatsapp-float b {
        font-size: 13px
    }

.reveal {
    opacity: 0;
    transform: translateY(22px);
    transition: opacity .65s,transform .65s
}

    .reveal.visible {
        opacity: 1;
        transform: none
    }

@media(max-width:980px) {
    .nav-cta {
        display: none
    }

    .main-nav {
        position: fixed;
        top: 72px;
        left: 0;
        right: 0;
        background: #040b1c;
        display: none;
        flex-direction: column;
        padding: 16px 24px;
        border-bottom: 1px solid var(--line);
        gap: 0
    }

        .main-nav.open {
            display: flex
        }

        .main-nav a {
            padding: 14px 0
        }

    .menu-toggle {
        display: block
    }

    .hero-content > * {
        margin-left: 0
    }

    .hero-equations {
        opacity: .35;
        background-size: 100% 100%
    }

    .hero-city {
        opacity: .5;
        background-size: 100%,95% auto
    }

    .hero-content {
        max-width: 720px
    }

    .services-grid {
        grid-template-columns: 1fr
    }

    .section-intro {
        max-width: 650px
    }

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

    .benefits article:nth-child(2) {
        border-right: 0
    }

    .project-grid {
        grid-template-columns: 1fr 1fr
    }

    .project-card:last-child {
        grid-column: 1/-1
    }

    .about-grid, .contact-card {
        grid-template-columns: 1fr
    }

    .contact-card {
        gap: 25px
    }
}

@media(max-width:680px) {
    .container {
        width: min(100% - 28px,1180px)
    }

    .site-header .brand {
        font-size: 17px
    }

    .hero {
        min-height: 690px
    }

        .hero h1 {
            font-size: 42px
        }

    .hero-copy {
        font-size: 16px
    }

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

    .hero-city {
        background-size: 100%,130% auto
    }

    .section {
        padding: 62px 0
    }

    .cards-grid, .project-grid, .benefits-grid {
        grid-template-columns: 1fr
    }

    .benefits article {
        border-right: 0;
        border-bottom: 1px solid var(--line)
    }

    .project-card:last-child {
        grid-column: auto
    }

    .project-heading {
        align-items: flex-start;
        gap: 24px;
        flex-direction: column
    }

    .about-grid {
        gap: 40px
    }

    .contact-card {
        padding: 27px 20px
    }

    .contact-copy {
        flex-direction: column
    }

        .contact-copy h2 {
            font-size: 29px
        }

    .contact-form {
        grid-template-columns: 1fr
    }

    .footer-inner {
        flex-direction: column;
        gap: 14px;
        text-align: center
    }

    .whatsapp-float b {
        display: none
    }

    .whatsapp-float {
        padding: 7px;
        right: 14px;
        bottom: 14px
    }
}
