:root {
    --blue: #0878c9;
    --blue-dark: #071d45;
    --orange: #ff6b00;
    --orange-soft: #fff0e6;
    --green: #16b978;
    --gray: #f6f9fd;
    --text: #263654;
    --muted: #66758f;
    --white: #ffffff;
    --shadow: 0 24px 70px rgba(7, 29, 69, .10);
    --radius: 26px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    color: var(--text);
    background: var(--white);
    overflow-x: hidden;
}

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

img {
    max-width: 100%;
}

.container {
    width: min(1180px, 92%);
    margin: auto;
}

/* HEADER */

.site-header {
    position: sticky;
    top: 0;
    z-index: 999;
    background: rgba(255,255,255,.94);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(8,120,201,.08);
}

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

.logo {
    font-size: 28px;
    font-weight: 900;
    letter-spacing: .5px;
}

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

.logo strong {
    color: var(--orange);
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 22px;
    font-size: 14px;
    font-weight: 700;
}

.main-nav > a,
.mega-btn {
    color: var(--blue-dark);
    transition: .25s;
}

.main-nav > a:hover,
.mega-btn:hover {
    color: var(--orange);
}

.btn-menu {
    background: var(--orange);
    color: white !important;
    padding: 12px 24px;
    border-radius: 40px;
    box-shadow: 0 12px 30px rgba(255,107,0,.25);
}

.menu-toggle {
    display: none;
    width: 42px;
    height: 42px;
    border: none;
    background: var(--blue);
    border-radius: 12px;
    cursor: pointer;
    padding: 10px;
}

.menu-toggle span {
    display: block;
    height: 2px;
    background: white;
    margin: 5px 0;
    border-radius: 10px;
}

/* MEGA MENU */

.mega-dropdown {
    position: relative;
}

.mega-btn {
    border: none;
    background: none;
    font: inherit;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
}

.mega-menu {
    position: absolute;
    top: 48px;
    left: -160px;
    width: 760px;
    background: white;
    border-radius: 28px;
    box-shadow: var(--shadow);
    opacity: 0;
    visibility: hidden;
    transform: translateY(18px);
    transition: .28s ease;
    overflow: hidden;
}

.small-mega {
    width: 520px;
    left: -120px;
}

.mega-dropdown:hover .mega-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.mega-content {
    display: grid;
    grid-template-columns: 1.4fr .8fr;
}

.mega-content.single {
    grid-template-columns: 1fr;
}

.mega-column {
    padding: 30px;
    display: grid;
    gap: 8px;
}

.mega-column h4 {
    color: var(--orange);
    margin-bottom: 10px;
    font-size: 14px;
    letter-spacing: .8px;
}

.mega-column a {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 13px;
    border-radius: 18px;
    transition: .25s;
}

.mega-column a:hover {
    background: #f5f8ff;
    transform: translateX(4px);
}

.menu-icon {
    width: 48px;
    min-width: 48px;
    height: 48px;
    border-radius: 16px;
    background: var(--orange-soft);
    display: grid;
    place-items: center;
    font-size: 22px;
}

.mega-column strong {
    display: block;
    color: var(--blue-dark);
    margin-bottom: 3px;
}

.mega-column small {
    color: var(--muted);
    font-size: 12px;
}

.mega-side {
    background: linear-gradient(135deg, var(--blue), #1b8fe0);
    color: white;
    padding: 34px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.mega-side.orange {
    background: linear-gradient(135deg, var(--orange), #ff9340);
}

.mega-side span {
    display: inline-block;
    background: rgba(255,255,255,.18);
    padding: 7px 14px;
    border-radius: 30px;
    width: fit-content;
    margin-bottom: 16px;
    font-size: 12px;
    font-weight: 800;
}

.mega-side h3 {
    font-size: 28px;
    line-height: 1.1;
    margin-bottom: 14px;
}

.mega-side p {
    color: rgba(255,255,255,.9);
    line-height: 1.6;
    margin-bottom: 22px;
}

.mega-side a {
    background: white;
    color: var(--blue);
    padding: 12px 18px;
    border-radius: 30px;
    width: fit-content;
    font-weight: 800;
}

/* HERO */

.hero {
    position: relative;
    min-height: calc(100vh - 78px);
    display: flex;
    align-items: center;
    overflow: hidden;
    background:
        radial-gradient(circle at 85% 10%, rgba(8,120,201,.10), transparent 30%),
        radial-gradient(circle at 10% 80%, rgba(255,107,0,.08), transparent 28%),
        linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
}

.hero-grid {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1fr 1.05fr;
    gap: 70px;
    align-items: center;
    padding: 80px 0;
}

.hero-tag,
.section-head span {
    color: var(--orange);
    font-size: 13px;
    font-weight: 900;
    letter-spacing: 1.3px;
    display: inline-block;
    margin-bottom: 14px;
}

.hero h1 {
    font-size: clamp(42px, 5.4vw, 72px);
    line-height: 1.04;
    color: var(--blue-dark);
    margin-bottom: 22px;
}

.hero h1 span {
    color: var(--blue);
    display: block;
}

.hero p {
    max-width: 560px;
    color: var(--muted);
    font-size: 17px;
    line-height: 1.8;
}

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

.btn-primary,
.btn-outline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 15px 28px;
    border-radius: 40px;
    font-weight: 800;
    transition: .25s;
}

.btn-primary {
    background: var(--blue);
    color: white;
    box-shadow: 0 16px 34px rgba(8,120,201,.25);
}

.btn-primary:hover {
    background: var(--orange);
    transform: translateY(-3px);
}

.btn-outline {
    border: 1px solid rgba(8,120,201,.35);
    color: var(--blue);
    background: white;
}

.btn-outline:hover {
    border-color: var(--orange);
    color: var(--orange);
}

/* HERO VISUAL */

.hero-visual {
    position: relative;
    min-height: 520px;
}

.laptop {
    position: absolute;
    top: 80px;
    right: 50px;
    width: 440px;
    min-height: 300px;
    background: white;
    border: 14px solid #dcecff;
    border-radius: 30px;
    box-shadow: var(--shadow);
    padding: 24px;
    animation: floatMain 5.5s ease-in-out infinite;
}

.laptop-bar {
    display: flex;
    gap: 8px;
    margin-bottom: 42px;
}

.laptop-bar span {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--orange);
}

.laptop-bar span:nth-child(2) {
    background: var(--blue);
}

.laptop-bar span:nth-child(3) {
    background: var(--green);
}

.screen-logo {
    text-align: center;
    font-size: 38px;
    font-weight: 900;
}

.screen-logo span {
    color: var(--blue);
}

.screen-logo strong {
    color: var(--orange);
}

.screen-chart {
    height: 72px;
    border-radius: 18px;
    margin-top: 28px;
    background:
        linear-gradient(135deg, rgba(8,120,201,.16), rgba(255,107,0,.16));
    position: relative;
}

.screen-chart::after {
    content: "";
    position: absolute;
    left: 28px;
    top: 36px;
    width: 70%;
    height: 4px;
    background: linear-gradient(90deg, var(--blue), var(--orange));
    border-radius: 20px;
    transform: rotate(-6deg);
}

.screen-cards {
    display: flex;
    gap: 12px;
    margin-top: 18px;
}

.screen-cards i {
    flex: 1;
    height: 42px;
    background: #f3f7fc;
    border-radius: 14px;
}

.float-card {
    position: absolute;
    background: white;
    border: 1px solid rgba(8,120,201,.08);
    box-shadow: var(--shadow);
    border-radius: 22px;
    padding: 18px 22px;
    font-size: 24px;
    font-weight: 900;
    animation: floatSmall 4.5s ease-in-out infinite;
}

.code-card {
    top: 40px;
    left: 55px;
    color: var(--blue);
}

.cloud-card {
    top: 72px;
    right: 0;
    color: var(--orange);
}

.phone-card {
    bottom: 50px;
    left: 40px;
    color: var(--green);
}

.gear-card {
    bottom: 80px;
    right: 70px;
    color: var(--blue);
}

.orbit {
    position: absolute;
    border: 1px dashed rgba(8,120,201,.25);
    border-radius: 50%;
    animation: rotateOrbit 18s linear infinite;
}

.orbit-one {
    width: 430px;
    height: 430px;
    right: 35px;
    top: 35px;
}

.orbit-two {
    width: 300px;
    height: 300px;
    right: 100px;
    top: 95px;
    animation-direction: reverse;
}

.shape {
    position: absolute;
    border-radius: 50%;
    opacity: .65;
    z-index: 1;
    animation: shapeMove 8s ease-in-out infinite;
}

.shape-one {
    width: 18px;
    height: 18px;
    background: var(--orange);
    left: 6%;
    top: 22%;
}

.shape-two {
    width: 26px;
    height: 26px;
    border: 5px solid var(--blue);
    left: 10%;
    bottom: 18%;
}

.shape-three {
    width: 22px;
    height: 22px;
    background: var(--green);
    right: 7%;
    top: 22%;
}

.shape-four {
    width: 14px;
    height: 14px;
    background: var(--orange);
    right: 15%;
    bottom: 16%;
}

/* COMMON SECTIONS */

.section {
    padding: 88px 0;
}

.section-head h2 {
    font-size: clamp(30px, 4vw, 46px);
    color: var(--blue-dark);
    line-height: 1.15;
    margin-bottom: 18px;
}

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

.section-head.center h2 {
    margin-left: auto;
    margin-right: auto;
}

.section p {
    color: var(--muted);
    line-height: 1.75;
}

/* SERVICES */

.services-section {
    background: linear-gradient(180deg, #f8fbff, #ffffff);
}

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

.service-card {
    background: white;
    border: 1px solid rgba(8,120,201,.08);
    border-radius: var(--radius);
    padding: 28px;
    box-shadow: 0 18px 46px rgba(7,29,69,.06);
    transition: .25s;
}

.service-card:hover {
    transform: translateY(-8px);
    border-color: rgba(255,107,0,.32);
    box-shadow: 0 28px 70px rgba(7,29,69,.10);
}

.service-icon {
    width: 64px;
    height: 64px;
    background: var(--orange-soft);
    border-radius: 20px;
    display: grid;
    place-items: center;
    font-size: 28px;
    margin-bottom: 20px;
}

.service-card h3 {
    color: var(--blue-dark);
    margin-bottom: 10px;
    font-size: 19px;
}

.service-card p {
    font-size: 14px;
}

/* HIGHLIGHT */

.solution-highlight {
    background: #ffffff;
}

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

.dashboard-illustration {
    min-height: 430px;
    display: grid;
    place-items: center;
}

.dash-main {
    width: 430px;
    height: 330px;
    background: white;
    border-radius: 34px;
    box-shadow: var(--shadow);
    border: 1px solid rgba(8,120,201,.08);
    position: relative;
    transform: rotate(-4deg);
}

.bars {
    position: absolute;
    left: 55px;
    top: 55px;
    display: flex;
    align-items: flex-end;
    gap: 12px;
    height: 120px;
}

.bars span {
    width: 34px;
    border-radius: 14px 14px 0 0;
    background: linear-gradient(180deg, var(--orange), var(--blue));
}

.bars span:nth-child(1) { height: 55px; }
.bars span:nth-child(2) { height: 95px; }
.bars span:nth-child(3) { height: 125px; }

.pie {
    position: absolute;
    right: 55px;
    top: 78px;
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: conic-gradient(var(--blue) 0 45%, var(--orange) 45% 72%, #dcecff 72%);
}

.magnify {
    position: absolute;
    left: 130px;
    bottom: 55px;
    width: 115px;
    height: 115px;
    border: 12px solid var(--blue);
    border-radius: 50%;
}

.magnify::after {
    content: "";
    position: absolute;
    right: -55px;
    bottom: -28px;
    width: 75px;
    height: 12px;
    background: var(--blue);
    border-radius: 20px;
    transform: rotate(38deg);
}

.benefit-list {
    list-style: none;
    margin-top: 28px;
    display: grid;
    gap: 18px;
}

.benefit-list li {
    position: relative;
    padding-left: 46px;
}

.benefit-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    top: 0;
    width: 32px;
    height: 32px;
    background: var(--blue);
    color: white;
    border-radius: 50%;
    display: grid;
    place-items: center;
    font-weight: 900;
}

.benefit-list strong {
    display: block;
    color: var(--blue-dark);
}

.benefit-list small {
    color: var(--muted);
}

/* PROCESS */

.process-section {
    background: var(--gray);
}

.process-grid {
    margin-top: 48px;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 24px;
}

.process-item {
    text-align: center;
    position: relative;
}

.process-item:not(:last-child)::after {
    content: "";
    position: absolute;
    top: 42px;
    right: -20px;
    width: 40px;
    height: 2px;
    background: rgba(8,120,201,.25);
}

.process-item div {
    width: 84px;
    height: 84px;
    background: white;
    border-radius: 50%;
    display: grid;
    place-items: center;
    font-size: 30px;
    margin: 0 auto 18px;
    box-shadow: 0 16px 40px rgba(7,29,69,.08);
}

.process-item h3 {
    color: var(--blue-dark);
    margin-bottom: 8px;
    font-size: 16px;
}

.process-item p {
    font-size: 13px;
}

/* PROJECTS */

.projects-section {
    background: #ffffff;
}

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

.project-card {
    background: white;
    border-radius: var(--radius);
    border: 1px solid rgba(8,120,201,.08);
    box-shadow: 0 18px 46px rgba(7,29,69,.06);
    overflow: hidden;
    transition: .25s;
}

.project-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 28px 70px rgba(7,29,69,.11);
}

.project-preview {
    height: 170px;
    background:
        radial-gradient(circle at top right, rgba(255,107,0,.18), transparent 35%),
        linear-gradient(135deg, #eef6ff, #ffffff);
    display: grid;
    place-items: center;
}

.project-preview span {
    font-size: 54px;
}

.project-card small,
.project-card h3,
.project-card p {
    display: block;
    padding: 0 24px;
}

.project-card small {
    color: var(--orange);
    font-weight: 800;
    margin-top: 20px;
}

.project-card h3 {
    color: var(--blue-dark);
    margin-top: 8px;
}

.project-card p {
    padding-bottom: 24px;
    font-size: 14px;
}

.center-button {
    text-align: center;
    margin-top: 38px;
}

/* COMPANIES */

.companies-section {
    background: var(--gray);
}

.company-grid {
    margin-top: 38px;
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 18px;
}

.company-grid div {
    background: white;
    border: 1px solid rgba(8,120,201,.08);
    border-radius: 18px;
    padding: 22px;
    text-align: center;
    font-weight: 800;
    color: var(--blue-dark);
    box-shadow: 0 14px 36px rgba(7,29,69,.05);
}

/* TECH */

.tech-grid {
    display: grid;
    grid-template-columns: .8fr 1.2fr;
    gap: 60px;
    align-items: center;
}

.tech-list {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}

.tech-list div {
    background: white;
    border-radius: 20px;
    min-height: 100px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(8,120,201,.08);
    box-shadow: 0 16px 42px rgba(7,29,69,.06);
    font-weight: 900;
    color: var(--blue-dark);
}

/* CTA */

.cta-section {
    padding: 70px 0;
}

.cta-box {
    background:
        radial-gradient(circle at 90% 15%, rgba(255,255,255,.25), transparent 25%),
        linear-gradient(135deg, var(--blue), var(--orange));
    border-radius: 34px;
    padding: 46px;
    color: white;
    display: grid;
    grid-template-columns: 160px 1fr auto;
    gap: 32px;
    align-items: center;
    box-shadow: 0 26px 70px rgba(8,120,201,.22);
}

.cta-box span {
    font-weight: 900;
    font-size: 13px;
}

.cta-box h2 {
    font-size: clamp(28px, 4vw, 42px);
    margin: 8px 0;
}

.cta-box p {
    color: rgba(255,255,255,.92);
}

.cta-box a {
    background: white;
    color: var(--blue);
    padding: 15px 28px;
    border-radius: 40px;
    font-weight: 900;
    white-space: nowrap;
}

.cta-illustration {
    height: 130px;
    border-radius: 28px;
    background: rgba(255,255,255,.16);
    display: grid;
    place-items: center;
    position: relative;
}

.paper-plane {
    font-size: 42px;
    transform: rotate(-20deg);
}

.idea-box {
    position: absolute;
    right: 12px;
    bottom: 12px;
}

/* FOOTER */

.footer {
    background: var(--blue-dark);
    color: white;
    padding-top: 70px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 42px;
}

.footer h2 {
    font-size: 34px;
    margin-bottom: 18px;
}

.footer h2 span {
    color: var(--blue);
}

.footer h2 strong {
    color: var(--orange);
}

.footer h4 {
    margin-bottom: 18px;
}

.footer p,
.footer a {
    display: block;
    color: rgba(255,255,255,.75);
    margin-bottom: 12px;
    line-height: 1.6;
}

.footer a:hover {
    color: white;
}

.virtual-text {
    color: #25d366 !important;
    font-weight: 800;
}

.footer-social {
    display: flex;
    gap: 12px;
    margin-top: 22px;
    flex-wrap: wrap;
}

.footer-social a {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: rgba(255,255,255,.08);
    display: grid;
    place-items: center;
    color: white;
    font-weight: 900;
    margin-bottom: 0;
    text-transform: uppercase;
}

.footer-social a:hover {
    background: var(--orange);
    transform: translateY(-3px);
}

.copy {
    text-align: center;
    border-top: 1px solid rgba(255,255,255,.08);
    margin-top: 50px;
    padding: 22px;
    color: rgba(255,255,255,.62);
}

/* WHATSAPP */

.whatsapp-float {
    position: fixed;
    right: 24px;
    bottom: 24px;
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: #25d366;
    color: white;
    display: grid;
    place-items: center;
    z-index: 9999;
    font-size: 28px;
    box-shadow: 0 18px 45px rgba(37,211,102,.35);
    animation: pulseWhatsapp 2.5s infinite;
}

.whatsapp-float:hover {
    transform: scale(1.08);
}

/* ANIMATIONS */

@keyframes floatMain {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-16px); }
}

@keyframes floatSmall {
    0%, 100% { transform: translateY(0) rotate(0); }
    50% { transform: translateY(-14px) rotate(3deg); }
}

@keyframes rotateOrbit {
    from { transform: rotate(0); }
    to { transform: rotate(360deg); }
}

@keyframes shapeMove {
    0%, 100% { transform: translate(0,0); }
    50% { transform: translate(16px,-18px); }
}

@keyframes pulseWhatsapp {
    0% { box-shadow: 0 0 0 0 rgba(37,211,102,.5); }
    70% { box-shadow: 0 0 0 18px rgba(37,211,102,0); }
    100% { box-shadow: 0 0 0 0 rgba(37,211,102,0); }
}

/* RESPONSIVE */

@media (max-width: 1100px) {
    .main-nav {
        gap: 14px;
        font-size: 13px;
    }

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

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

    .main-nav {
        position: absolute;
        top: 78px;
        left: 0;
        width: 100%;
        background: white;
        display: none;
        flex-direction: column;
        align-items: stretch;
        padding: 22px;
        box-shadow: var(--shadow);
        max-height: calc(100vh - 78px);
        overflow-y: auto;
    }

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

    .main-nav > a,
    .mega-btn,
    .btn-menu {
        width: 100%;
        justify-content: space-between;
        text-align: left;
    }

    .mega-menu,
    .small-mega {
        position: static;
        width: 100%;
        opacity: 1;
        visibility: visible;
        transform: none;
        display: none;
        box-shadow: none;
        border-radius: 18px;
        margin-top: 12px;
        background: #f7faff;
    }

    .mega-dropdown.open .mega-menu {
        display: block;
    }

    .mega-content {
        grid-template-columns: 1fr;
    }

    .mega-side {
        display: none;
    }

    .mega-column {
        padding: 14px;
    }

    .hero-grid,
    .highlight-grid,
    .tech-grid {
        grid-template-columns: 1fr;
    }

    .hero {
        min-height: auto;
    }

    .hero-grid {
        padding: 60px 0;
    }

    .hero-visual {
        min-height: 420px;
    }

    .laptop {
        width: 360px;
        right: 50%;
        transform: translateX(50%);
    }

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

    .process-item::after {
        display: none;
    }

    .company-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .cta-box {
        grid-template-columns: 1fr;
        text-align: left;
    }

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

@media (max-width: 640px) {
    .nav-wrapper {
        height: 70px;
    }

    .main-nav {
        top: 70px;
    }

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

    .hero-buttons {
        flex-direction: column;
        align-items: stretch;
    }

    .hero-visual {
        min-height: 360px;
    }

    .laptop {
        width: 290px;
        min-height: 250px;
        top: 55px;
        padding: 18px;
    }

    .screen-logo {
        font-size: 27px;
    }

    .orbit,
    .cloud-card {
        display: none;
    }

    .float-card {
        padding: 13px 16px;
        font-size: 20px;
    }

    .service-grid,
    .project-grid,
    .process-grid,
    .company-grid,
    .tech-list,
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .section {
        padding: 65px 0;
    }

    .dash-main {
        width: 300px;
        height: 260px;
    }

    .pie {
        width: 85px;
        height: 85px;
        right: 35px;
    }

    .magnify {
        width: 80px;
        height: 80px;
        left: 90px;
    }

    .cta-box {
        padding: 32px;
    }

    .whatsapp-float {
        width: 58px;
        height: 58px;
        right: 18px;
        bottom: 18px;
    }
}