:root {
    --bg: #050b14;
    --bg-2: #07111f;
    --card: rgba(255, 255, 255, .065);
    --card-2: rgba(255, 255, 255, .095);
    --white: #ffffff;
    --text: #d8e6f7;
    --muted: #8fa4bd;
    --line: rgba(255, 255, 255, .12);
    --blue: #1d8cff;
    --cyan: #28d7ff;
    --green: #27f2b4;
    --purple: #7c5cff;
    --light: #f4f8ff;
    --dark-text: #07111f;
    --shadow: 0 30px 90px rgba(0, 0, 0, .35);
    --radius: 28px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Inter", sans-serif;
    background: var(--bg);
    color: var(--white);
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
}

button,
input,
textarea,
select {
    font-family: inherit;
}

.container {
    width: min(1180px, 92%);
    margin: 0 auto;
}

.noise {
    position: fixed;
    inset: 0;
    pointer-events: none;
    opacity: .04;
    z-index: 1;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
}

#particles {
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
}

.site-header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 50;
    border-bottom: 1px solid var(--line);
    background: rgba(5, 11, 20, .68);
    backdrop-filter: blur(20px);
    transition: .3s ease;
}

.site-header.scrolled {
    background: rgba(5, 11, 20, .94);
}

.nav {
    height: 88px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo-img {
    display: flex;
    align-items: center;
    height: 78px;
    max-width: 190px;
}

.logo-img img {
    display: block;
    width: auto;
    height: auto;
    max-height: 76px;
    max-width: 100%;
    object-fit: contain;
}

@media (max-width: 560px) {
    .logo-img {
        max-width: 150px;
    }

    .logo-img img {
        max-height: 40px;
    }
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 30px;
}

.nav-menu a {
    color: var(--text);
    font-size: .95rem;
    transition: .3s ease;
}

.nav-menu a:hover {
    color: var(--cyan);
}

.nav-cta {
    padding: 11px 18px;
    border-radius: 999px;
    border: 1px solid var(--line);
    background: rgba(255, 255, 255, .06);
}

.menu-toggle {
    display: none;
    background: transparent;
    border: 0;
    color: white;
    font-size: 1.8rem;
    cursor: pointer;
}

.hero {
    position: relative;
    z-index: 2;
    min-height: 100vh;
    padding: 150px 0 90px;
    background:
        radial-gradient(circle at 80% 18%, rgba(40, 215, 255, .22), transparent 28%),
        radial-gradient(circle at 18% 22%, rgba(124, 92, 255, .18), transparent 30%),
        radial-gradient(circle at 50% 95%, rgba(39, 242, 180, .12), transparent 30%);
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.02fr .98fr;
    gap: 68px;
    align-items: center;
}

.eyebrow {
    display: inline-flex;
    padding: 10px 16px;
    border-radius: 999px;
    border: 1px solid var(--line);
    background: rgba(255, 255, 255, .065);
    color: var(--cyan);
    font-weight: 700;
    font-size: .88rem;
    margin-bottom: 26px;
}

h1 {
    font-size: clamp(2.9rem, 6.5vw, 6.1rem);
    line-height: .92;
    letter-spacing: -5px;
    margin-bottom: 28px;
}

.hero p {
    color: var(--text);
    font-size: 1.12rem;
    line-height: 1.75;
    max-width: 650px;
    margin-bottom: 34px;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 32px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 0;
    border-radius: 999px;
    padding: 15px 24px;
    font-weight: 800;
    cursor: pointer;
    transition: .3s ease;
}

.btn-primary {
    color: white;
    background: linear-gradient(135deg, var(--blue), var(--cyan));
    box-shadow: 0 18px 42px rgba(29, 140, 255, .35);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 24px 54px rgba(29, 140, 255, .45);
}

.btn-secondary {
    color: white;
    background: rgba(255, 255, 255, .07);
    border: 1px solid var(--line);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, .12);
}

.hero-trust {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.hero-trust span {
    color: var(--muted);
    font-size: .9rem;
    border: 1px solid var(--line);
    border-radius: 999px;
    padding: 8px 12px;
    background: rgba(255, 255, 255, .04);
}

.hero-visual {
    position: relative;
}

.dashboard-mockup {
    border: 1px solid var(--line);
    border-radius: 34px;
    background: linear-gradient(145deg, rgba(255, 255, 255, .12), rgba(255, 255, 255, .045));
    box-shadow: var(--shadow);
    backdrop-filter: blur(24px);
    overflow: hidden;
    transform: perspective(1000px) rotateY(-8deg) rotateX(4deg);
}

.mockup-header {
    height: 58px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 22px;
    border-bottom: 1px solid var(--line);
}

.mockup-header div {
    display: flex;
    gap: 8px;
}

.mockup-header span {
    width: 11px;
    height: 11px;
    border-radius: 50%;
    background: var(--cyan);
    opacity: .9;
}

.mockup-header small {
    color: var(--muted);
}

.mockup-content {
    display: grid;
    grid-template-columns: 74px 1fr;
    min-height: 430px;
}

.mockup-sidebar {
    border-right: 1px solid var(--line);
    padding: 24px 18px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.mockup-sidebar span {
    height: 34px;
    border-radius: 12px;
    background: rgba(255, 255, 255, .08);
}

.mockup-sidebar .active {
    background: linear-gradient(135deg, var(--blue), var(--cyan));
}

.mockup-main {
    padding: 28px;
}

.mockup-title {
    width: 55%;
    height: 22px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .12);
    margin-bottom: 22px;
}

.mockup-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
    margin-bottom: 24px;
}

.mockup-stats div {
    padding: 18px;
    border-radius: 18px;
    background: rgba(255, 255, 255, .07);
    border: 1px solid var(--line);
}

.mockup-stats small {
    display: block;
    color: var(--muted);
    margin-bottom: 8px;
}

.mockup-stats strong {
    font-size: 1.5rem;
}

.chart {
    height: 150px;
    display: flex;
    align-items: end;
    gap: 14px;
    padding: 18px;
    border-radius: 22px;
    background: rgba(0, 0, 0, .2);
    border: 1px solid var(--line);
    margin-bottom: 22px;
}

.chart span {
    flex: 1;
    border-radius: 999px 999px 8px 8px;
    background: linear-gradient(180deg, var(--cyan), var(--blue));
}

.mockup-table {
    display: grid;
    gap: 11px;
}

.mockup-table span {
    height: 16px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .08);
}

.floating-card {
    position: absolute;
    z-index: 3;
    border: 1px solid var(--line);
    background: rgba(7, 17, 31, .82);
    backdrop-filter: blur(18px);
    border-radius: 20px;
    padding: 18px 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, .25);
    animation: float 4s ease-in-out infinite;
}

.floating-card strong {
    display: block;
    font-size: 1.7rem;
    color: var(--cyan);
}

.floating-card span {
    color: var(--muted);
    font-size: .85rem;
}

.card-one {
    top: -28px;
    right: 26px;
}

.card-two {
    left: -18px;
    bottom: 48px;
    animation-delay: 1s;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-14px);
    }
}

.logos-strip {
    position: relative;
    z-index: 2;
    padding: 28px 0;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    background: rgba(255, 255, 255, .035);
    text-align: center;
}

.logos-strip p {
    color: var(--muted);
}

.section {
    position: relative;
    z-index: 2;
    padding: 110px 0;
}

.light {
    background: var(--light);
    color: var(--dark-text);
}

.section-heading span,
.contact-content span {
    color: var(--cyan);
    text-transform: uppercase;
    font-size: .82rem;
    letter-spacing: 1.7px;
    font-weight: 900;
}

.light .section-heading span {
    color: var(--blue);
}

.section-heading h2,
.contact-content h2 {
    font-size: clamp(2.1rem, 4vw, 4.5rem);
    line-height: 1;
    letter-spacing: -3px;
    margin: 14px 0 18px;
}

.section-heading p {
    color: var(--muted);
    line-height: 1.75;
    max-width: 700px;
}

.center {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 64px;
}

.center p {
    margin: 0 auto;
}

.about-grid {
    display: grid;
    grid-template-columns: .85fr 1.15fr;
    gap: 70px;
    align-items: start;
    margin-bottom: 46px;
}

.about-text {
    color: var(--text);
    font-size: 1.05rem;
    line-height: 1.8;
}

.about-text p+p {
    margin-top: 18px;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.stat-card {
    border: 1px solid var(--line);
    border-radius: 24px;
    background: rgba(255, 255, 255, .055);
    padding: 30px;
}

.stat-card strong {
    display: block;
    font-size: 2.4rem;
    color: var(--cyan);
    margin-bottom: 8px;
}

.stat-card span {
    color: var(--muted);
}

.solutions-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.solution-card {
    background: white;
    border: 1px solid #e2eaf5;
    border-radius: 26px;
    padding: 32px;
    transition: .35s ease;
}

.solution-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 24px 70px rgba(7, 17, 31, .12);
}

.icon {
    width: 58px;
    height: 58px;
    border-radius: 18px;
    display: grid;
    place-items: center;
    margin-bottom: 24px;
    background: transparent;
    border: 1.5px solid rgba(29, 140, 255, 0.28);
    color: var(--blue);
    font-size: 1.45rem;
    transition: .3s ease;
}

.solution-card:hover .icon {
    border-color: var(--cyan);
    color: var(--cyan);
    background: rgba(40, 215, 255, 0.08);
    transform: translateY(-3px);
}

.solution-card h3 {
    font-size: 1.25rem;
    margin-bottom: 12px;
}

.solution-card p {
    color: #66788f;
    line-height: 1.65;
}

/* ==========================
   CASES
========================== */

.cases-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.case-card {
    overflow: hidden;

    border-radius: 30px;

    border: 1px solid rgba(255, 255, 255, .12);

    background:
        linear-gradient(145deg,
            rgba(255, 255, 255, .11),
            rgba(255, 255, 255, .04));

    backdrop-filter: blur(18px);

    transition: .4s ease;

    box-shadow:
        0 10px 30px rgba(0, 0, 0, .12);
}

.case-card:hover {
    transform: translateY(-10px);

    border-color: rgba(40, 215, 255, .25);

    box-shadow:
        0 30px 60px rgba(0, 0, 0, .22);
}

.case-image {
    width: 100%;
    height: 240px;

    overflow: hidden;

    margin: 0;
    padding: 0;
}

.case-image img {
    width: 100%;
    height: 100%;

    display: block;

    object-fit: cover;
    object-position: center;

    transition: .7s ease;
}

.case-card:hover .case-image img {
    transform: scale(1.08);
}

.case-content {
    padding: 32px;
}

.case-content small {
    display: inline-block;

    margin-bottom: 14px;

    color: var(--cyan);

    font-size: .8rem;
    font-weight: 800;

    text-transform: uppercase;
    letter-spacing: 1.5px;
}

.case-content h3 {
    font-size: 1.55rem;

    line-height: 1.15;

    letter-spacing: -1px;

    margin-bottom: 18px;
}

.case-content p {
    color: var(--muted);

    line-height: 1.8;

    font-size: .96rem;
}

/* RESPONSIVO */

@media (max-width: 980px) {

    .cases-grid {
        grid-template-columns: 1fr;
    }

    .case-image {
        height: 260px;
    }

}

@media (max-width: 576px) {

    .case-image {
        height: 220px;
    }

    .case-content {
        padding: 24px;
    }

    .case-content h3 {
        font-size: 1.3rem;
    }

}

.timeline {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
}

.timeline-item {
    background: white;
    border: 1px solid #e2eaf5;
    border-radius: 26px;
    padding: 32px;
    position: relative;
}

.timeline-item span {
    display: grid;
    place-items: center;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--bg-2);
    color: var(--cyan);
    font-weight: 900;
    margin-bottom: 22px;
}

.timeline-item h3 {
    margin-bottom: 12px;
}

.timeline-item p {
    color: #66788f;
    line-height: 1.65;
}

.clients-section {
    overflow: hidden;
}

.clients-carousel {
    position: relative;
    width: 100%;
    overflow: hidden;
    padding: 14px 0 24px;
}

.clients-carousel::before,
.clients-carousel::after {
    content: "";
    position: absolute;
    top: 0;
    width: 150px;
    height: 100%;
    z-index: 3;
    pointer-events: none;
}

.clients-carousel::before {
    left: 0;
    background: linear-gradient(90deg, var(--bg), transparent);
}

.clients-carousel::after {
    right: 0;
    background: linear-gradient(270deg, var(--bg), transparent);
}

.clients-track {
    display: flex;
    align-items: center;
    gap: 26px;
    width: max-content;
    animation: clientsScroll 32s linear infinite;
}

.clients-carousel:hover .clients-track {
    animation-play-state: paused;
}

.client-logo {
    width: 440px;
    height: 130px;
    flex: 0 0 240px;

    padding: 14px;

    border-radius: 26px;

    display: flex;
    align-items: center;
    justify-content: center;

    transition: .35s ease;
}

.client-logo-inner {
    width: 100%;
    height: 100%;

    border-radius: 20px;
    background: #ffffff;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 28px;

    box-shadow:
        0 18px 45px rgba(0, 0, 0, .08);
}

.client-logo img {
    display: block;

    width: auto;
    height: auto;

    max-width: 175px;
    max-height: 76px;

    object-fit: contain;
    object-position: center;
}

.client-logo:hover {
    transform: translateY(-7px);
    border-color: rgba(40, 215, 255, .36);
    background: rgba(255, 255, 255, .12);
}

.client-logo:hover .client-logo-inner {
    box-shadow:
        0 24px 60px rgba(0, 0, 0, .13);
}

@keyframes clientsScroll {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-50%);
    }
}

@media (max-width: 768px) {
    .client-logo {
        width: 190px;
        height: 105px;
        flex-basis: 190px;
        padding: 10px;
        border-radius: 22px;
    }

    .client-logo-inner {
        border-radius: 16px;
        padding: 22px;
    }

    .client-logo img {
        max-width: 125px;
        max-height: 44px;
    }

    .clients-track {
        gap: 18px;
        animation-duration: 24s;
    }

    .clients-carousel::before,
    .clients-carousel::after {
        width: 70px;
    }
}

.faq-grid {
    display: grid;
    grid-template-columns: .85fr 1.15fr;
    gap: 70px;
    align-items: start;
}

.faq-list {
    display: grid;
    gap: 14px;
}

.faq-item {
    border: 1px solid var(--line);
    background: rgba(255, 255, 255, .055);
    border-radius: 22px;
    overflow: hidden;
}

.faq-item button {
    width: 100%;
    padding: 22px;
    background: transparent;
    color: white;
    border: 0;
    text-align: left;
    font-size: 1rem;
    font-weight: 800;
    cursor: pointer;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: .35s ease;
}

.faq-answer p {
    padding: 0 22px 22px;
    color: var(--muted);
    line-height: 1.7;
}

.faq-item.active .faq-answer {
    max-height: 180px;
}

.contact-grid {
    display: grid;
    grid-template-columns: .85fr 1.15fr;
    gap: 70px;
    align-items: center;
}

.contact-content p {
    color: var(--text);
    line-height: 1.75;
    margin-bottom: 28px;
}

.contact-form {
    border: 1px solid var(--line);
    background: rgba(255, 255, 255, .075);
    border-radius: 30px;
    padding: 32px;
    box-shadow: var(--shadow);
    backdrop-filter: blur(20px);
    display: grid;
    gap: 18px;
}

.contact-form label {
    display: grid;
    gap: 8px;
    color: var(--text);
    font-weight: 700;
    font-size: .9rem;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
    width: 100%;
    padding: 15px 16px;
    border-radius: 16px;
    border: 1px solid var(--line);
    background: rgba(5, 11, 20, .78);
    color: white;
    outline: none;
}

.contact-form textarea {
    min-height: 110px;
    resize: vertical;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
    border-color: var(--cyan);
}

/* ==========================
   FOOTER
========================== */

footer {
    position: relative;
    z-index: 2;

    background:
        linear-gradient(180deg,
            #030812,
            #02060d);

    border-top: 1px solid rgba(255, 255, 255, .08);

    margin-top: 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr;

    gap: 60px;

    padding: 80px 0;
}

.footer-brand p {
    margin-top: 24px;

    color: var(--muted);

    max-width: 420px;

    line-height: 1.8;
}

.footer-column h4 {
    color: white;

    margin-bottom: 24px;

    font-size: 1rem;

    font-weight: 700;
}

.footer-column ul {
    list-style: none;

    display: flex;
    flex-direction: column;

    gap: 14px;
}

.footer-column li {
    color: var(--muted);

    line-height: 1.6;

    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-column i {
    color: var(--cyan);

    width: 18px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, .08);
}

.footer-bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;

    padding: 24px 0;

    color: var(--muted);

    font-size: .9rem;
}

@media(max-width: 900px) {

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .footer-bottom-content {
        flex-direction: column;
        gap: 12px;
        text-align: center;
    }

}

.whatsapp-float {
    position: fixed;
    right: 28px;
    bottom: 28px;
    z-index: 999;

    width: 68px;
    height: 68px;

    border-radius: 50%;

    display: flex;
    align-items: center;
    justify-content: center;

    background: linear-gradient(135deg,
            #25d366,
            #20ba5a);

    color: #fff;

    font-size: 2rem;

    box-shadow:
        0 15px 35px rgba(37, 211, 102, .35),
        0 0 0 0 rgba(37, 211, 102, .5);

    transition: .3s ease;

    animation: whatsappPulse 2s infinite;
}

.whatsapp-float:hover {
    transform: translateY(-5px) scale(1.05);

    box-shadow:
        0 25px 45px rgba(37, 211, 102, .45);
}

.whatsapp-float i {
    line-height: 1;
}

@keyframes whatsappPulse {

    0% {
        box-shadow:
            0 15px 35px rgba(37, 211, 102, .35),
            0 0 0 0 rgba(37, 211, 102, .4);
    }

    70% {
        box-shadow:
            0 15px 35px rgba(37, 211, 102, .35),
            0 0 0 18px rgba(37, 211, 102, 0);
    }

    100% {
        box-shadow:
            0 15px 35px rgba(37, 211, 102, .35),
            0 0 0 0 rgba(37, 211, 102, 0);
    }

}

.reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: .7s ease;
}

.reveal.show {
    opacity: 1;
    transform: translateY(0);
}

@media (max-width: 980px) {
    .menu-toggle {
        display: block;
    }

    .nav-menu {
        position: absolute;
        top: 78px;
        left: 0;
        width: 100%;
        padding: 28px;
        flex-direction: column;
        background: rgba(5, 11, 20, .98);
        border-bottom: 1px solid var(--line);
        display: none;
    }

    .nav-menu.active {
        display: flex;
    }

    .hero-grid,
    .about-grid,
    .stats-grid,
    .solutions-grid,
    .cases-grid,
    .timeline,
    .faq-grid,
    .contact-grid {
        grid-template-columns: 1fr;
    }

    h1 {
        letter-spacing: -2px;
    }

    .dashboard-mockup {
        transform: none;
    }

    .floating-card {
        display: none;
    }

    .footer {
        flex-direction: column;
        gap: 14px;
        text-align: center;
    }
}

@media (max-width: 560px) {
    .hero {
        padding-top: 128px;
    }

    .mockup-content {
        grid-template-columns: 1fr;
    }

    .mockup-sidebar {
        display: none;
    }

    .mockup-stats {
        grid-template-columns: 1fr;
    }

    .section {
        padding: 82px 0;
    }

    .contact-form {
        padding: 24px;
    }
}