:root {
    --bg: #050a12;
    --bg-soft: #09111d;
    --panel: #0b1624;
    --panel-2: #0e1c2d;
    --line: rgba(137, 190, 235, .16);
    --line-strong: rgba(93, 184, 255, .38);
    --text: #f2f7fb;
    --muted: #8ea1b5;
    --blue: #42b8ff;
    --blue-2: #176cff;
    --cyan: #73e5ff;
    --white: #fff;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: var(--bg);
    color: var(--text);
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
    overflow-x: hidden;
}

a {
    color: inherit;
}

a:hover,
a:focus {
    color: var(--cyan);
    text-decoration: none;
}

.scroll-progress {
    position: fixed;
    z-index: 2000;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: transparent;
}

.scroll-progress span {
    display: block;
    width: 0;
    height: 100%;
    background: linear-gradient(90deg, var(--blue-2), var(--cyan));
}

/* NAV */
.cwb-nav {
    min-height: 68px;
    margin: 0;
    border: 0;
    border-radius: 0;
    background: rgba(5, 10, 18, .78);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(255,255,255,.07);
}

.cwb-brand {
    height: 68px;
    display: flex !important;
    align-items: center;
    gap: 10px;
    color: var(--text) !important;
    font-weight: 700;
    letter-spacing: .14em;
    font-size: 12px;
}

.brand-mark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 39px;
    height: 27px;
    border: 1px solid var(--line-strong);
    color: var(--cyan);
    font-size: 10px;
    letter-spacing: .1em;
}

.cwb-nav .navbar-nav > li > a {
    color: #b9c8d7;
    padding-top: 24px;
    padding-bottom: 24px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .1em;
}

.cwb-nav .navbar-nav > li > a:hover {
    color: var(--cyan);
    background: transparent;
}

.cwb-nav .navbar-toggle {
    margin-top: 17px;
    border-color: var(--line-strong);
}

.cwb-nav .navbar-toggle .icon-bar {
    background: var(--cyan);
}

/* HERO */
.hero {
    min-height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    overflow: hidden;
    background:
        radial-gradient(circle at 80% 35%, rgba(23,108,255,.15), transparent 32%),
        linear-gradient(135deg, #050a12 0%, #07121f 55%, #06101a 100%);
}

.hero-grid {
    position: absolute;
    inset: 0;
    opacity: .28;
    background-image:
        linear-gradient(rgba(107,190,255,.06) 1px, transparent 1px),
        linear-gradient(90deg, rgba(107,190,255,.06) 1px, transparent 1px);
    background-size: 55px 55px;
    mask-image: linear-gradient(to right, black, transparent 85%);
    -webkit-mask-image: linear-gradient(to right, black, transparent 85%);
}

.hero-glow {
    position: absolute;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    filter: blur(80px);
    pointer-events: none;
}

.hero-glow-one {
    right: -220px;
    top: 10%;
    background: rgba(23,108,255,.18);
}

.hero-glow-two {
    left: -300px;
    bottom: -300px;
    background: rgba(66,184,255,.08);
}

.hero-inner {
    position: relative;
    z-index: 2;
    padding-top: 100px;
    padding-bottom: 80px;
}

.system-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 11px;
    margin-bottom: 26px;
    border: 1px solid var(--line);
    background: rgba(255,255,255,.025);
    color: #a9bdd0;
    font-size: 10px;
    letter-spacing: .16em;
}

.system-badge b {
    color: var(--cyan);
    font-weight: 600;
}

.status-dot {
    width: 7px;
    height: 7px;
    display: inline-block;
    border-radius: 50%;
    background: #50e5a4;
    box-shadow: 0 0 14px rgba(80,229,164,.7);
}

.hero-kicker,
.eyebrow {
    color: var(--cyan);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .22em;
    text-transform: uppercase;
}

.hero-title {
    max-width: 850px;
    margin: 12px 0 20px;
    font-size: clamp(45px, 7vw, 90px);
    line-height: .93;
    letter-spacing: -.055em;
    font-weight: 800;
}

.hero-title span {
    color: transparent;
    -webkit-text-stroke: 1px rgba(255,255,255,.62);
}

.hero-text {
    max-width: 600px;
    margin-bottom: 28px;
    color: var(--muted);
    font-size: 17px;
    line-height: 1.75;
}

.hero-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.btn-cwb,
.btn-outline-cwb {
    min-width: 175px;
    padding: 13px 20px;
    border-radius: 0;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .13em;
    text-transform: uppercase;
}

.btn-cwb {
    color: #04101a;
    background: var(--cyan);
    border: 1px solid var(--cyan);
}

.btn-cwb:hover {
    color: #04101a;
    background: #a7efff;
}

.btn-outline-cwb {
    color: #dcebf5;
    border: 1px solid var(--line-strong);
    background: rgba(255,255,255,.02);
}

.btn-outline-cwb:hover {
    color: var(--white);
    border-color: var(--cyan);
    background: rgba(115,229,255,.06);
}

.hero-meta {
    display: flex;
    gap: 20px;
    margin-top: 34px;
    color: #5d7288;
    font-size: 9px;
    letter-spacing: .18em;
}

.server-panel {
    position: relative;
    max-width: 410px;
    margin: 70px auto 0;
    padding: 20px;
    border: 1px solid var(--line);
    background: linear-gradient(145deg, rgba(14,28,45,.9), rgba(6,14,24,.78));
    box-shadow: 0 35px 80px rgba(0,0,0,.35);
}

.panel-top,
.panel-bottom,
.profile-top,
.profile-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: #61768a;
    font-size: 8px;
    letter-spacing: .17em;
}

.panel-top b {
    color: #65e8ac;
}

.server-core {
    height: 280px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.server-ring {
    position: absolute;
    border: 1px solid var(--line-strong);
    border-radius: 50%;
}

.ring-one {
    width: 190px;
    height: 190px;
}

.ring-two {
    width: 120px;
    height: 120px;
    border-color: rgba(115,229,255,.55);
}

.server-core-center {
    width: 72px;
    height: 72px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--cyan);
    color: var(--cyan);
    font-size: 14px;
    font-weight: 800;
    letter-spacing: .12em;
    box-shadow: 0 0 35px rgba(66,184,255,.12);
}

.server-lines {
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

.server-lines div {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    color: #71869a;
    font-size: 9px;
    letter-spacing: .12em;
}

.server-lines b {
    color: #d6e5ef;
}

.panel-bottom {
    padding-top: 16px;
}

.panel-bottom i {
    display: block;
    width: 20px;
    height: 2px;
    background: #23435b;
}

.scroll-hint {
    position: absolute;
    bottom: 35px;
    left: 15px;
    display: flex;
    align-items: center;
    gap: 12px;
    color: #667b90;
    font-size: 8px;
    letter-spacing: .22em;
}

.scroll-hint i {
    width: 35px;
    height: 1px;
    background: var(--line-strong);
}

/* SECTIONS */
.section {
    position: relative;
    padding: 120px 0;
}

.section-dark {
    background: var(--bg);
}

.section-blue {
    background:
        radial-gradient(circle at 85% 15%, rgba(23,108,255,.12), transparent 30%),
        #081421;
    border-top: 1px solid rgba(255,255,255,.035);
    border-bottom: 1px solid rgba(255,255,255,.035);
}

.section-head {
    display: grid;
    grid-template-columns: 150px 1fr;
    gap: 30px;
    margin-bottom: 55px;
}

.section-code {
    padding-top: 7px;
    color: #53697d;
    font-size: 9px;
    letter-spacing: .18em;
}

.section-head h2 {
    max-width: 760px;
    margin: 12px 0 0;
    font-size: clamp(34px, 5vw, 60px);
    line-height: 1;
    letter-spacing: -.04em;
}

.section-subtitle {
    max-width: 560px;
    margin: 10px 0 0;
    color: var(--muted);
    line-height: 1.7;
}

/* SERVICES */
.service-grid {
    display: flex;
    flex-wrap: wrap;
}

.service-grid > div {
    margin-bottom: 20px;
}

.service-card {
    position: relative;
    min-height: 300px;
    padding: 28px;
    border: 1px solid var(--line);
    background: rgba(255,255,255,.018);
    transition: transform .35s ease, border-color .35s ease, background .35s ease;
}

.service-card:hover {
    transform: translateY(-6px);
    border-color: var(--line-strong);
    background: rgba(66,184,255,.035);
}

.card-number {
    color: #496176;
    font-size: 9px;
    letter-spacing: .15em;
}

.card-icon {
    margin-top: 48px;
    color: var(--cyan);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .18em;
}

.service-card h3 {
    margin: 15px 0 12px;
    font-size: 20px;
}

.service-card p {
    color: var(--muted);
    font-size: 13px;
    line-height: 1.7;
}

.card-line {
    position: absolute;
    left: 28px;
    bottom: 28px;
    width: 40px;
    height: 1px;
    background: var(--cyan);
}

/* FEATURES */
.feature-layout {
    display: flex;
    align-items: stretch;
}

.feature-intro {
    height: 100%;
    padding: 34px;
    border: 1px solid var(--line);
    background: rgba(255,255,255,.018);
}

.feature-index {
    color: var(--cyan);
    font-size: 9px;
    letter-spacing: .18em;
}

.feature-intro h3 {
    margin: 30px 0 16px;
    font-size: 30px;
    line-height: 1.1;
}

.feature-intro p,
.feature-item p {
    color: var(--muted);
    line-height: 1.7;
}

.feature-list {
    margin-left: 25px;
}

.feature-item {
    display: flex;
    gap: 22px;
    padding: 22px 0;
    border-bottom: 1px solid var(--line);
}

.feature-item > span {
    color: var(--cyan);
    font-size: 9px;
    letter-spacing: .1em;
}

.feature-item strong {
    display: block;
    margin-bottom: 5px;
    font-size: 16px;
}

.feature-item p {
    margin: 0;
    font-size: 13px;
}

/* METRICS */
.metrics-section {
    padding: 45px 0;
    background: #040910;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

.metric {
    padding: 18px 25px;
    border-left: 1px solid var(--line);
}

.metric strong {
    display: block;
    color: var(--cyan);
    font-size: 28px;
    letter-spacing: .05em;
}

.metric span {
    color: #71869a;
    font-size: 10px;
    letter-spacing: .13em;
    text-transform: uppercase;
}

/* PROCESS */
.process-line {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    border-top: 1px solid var(--line);
}

.process-step {
    min-height: 270px;
    padding: 35px;
    border-right: 1px solid var(--line);
}

.process-step:last-child {
    border-right: 0;
}

.process-step > span {
    color: var(--cyan);
    font-size: 10px;
    letter-spacing: .18em;
}

.process-step h3 {
    margin: 70px 0 13px;
    font-size: 24px;
}

.process-step p {
    max-width: 270px;
    color: var(--muted);
    line-height: 1.7;
}

/* LUCAS */
.lucas-section {
    overflow: hidden;
    background: #07111d;
    border-top: 1px solid rgba(115,229,255,.08);
    border-bottom: 1px solid rgba(115,229,255,.08);

    /* Estado inicial. O JS ativa .scroll-active. */
    opacity: 0;
    transform: translateY(80px) rotate(-360deg) scale(.86);
    transform-origin: 50% 50%;
    transition:
        opacity .8s ease,
        transform 1.35s cubic-bezier(.16, 1, .3, 1);
    will-change: transform, opacity;
}

.lucas-section.scroll-active {
    opacity: 1;
    transform: translateY(0) rotate(0deg) scale(1);
}

.lucas-backdrop {
    position: absolute;
    width: 600px;
    height: 600px;
    right: -260px;
    top: 50px;
    border: 1px solid rgba(115,229,255,.05);
    border-radius: 50%;
    box-shadow:
        0 0 0 90px rgba(115,229,255,.012),
        0 0 0 180px rgba(115,229,255,.008);
}

.lucas-container {
    position: relative;
    z-index: 2;
}

.lucas-head {
    margin-bottom: 50px;
}

.lucas-profile {
    min-height: 460px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 28px;
    border: 1px solid var(--line-strong);
    background:
        linear-gradient(145deg, rgba(20,45,67,.65), rgba(5,13,22,.88));
}

.lucas-title-wrap {
    padding: 55px 0;
}

.profile-label {
    color: #71899e;
    font-size: 9px;
    letter-spacing: .2em;
}

.lucas-title {
    margin: 14px 0 0;
    font-size: clamp(50px, 7vw, 84px);
    line-height: .86;
    letter-spacing: -.07em;
    font-weight: 800;
    color: var(--white);
}

.lucas-title strong {
    display: block;
    color: transparent;
    -webkit-text-stroke: 1px rgba(115,229,255,.72);
}

.profile-footer {
    padding-top: 18px;
    border-top: 1px solid var(--line);
}

.lucas-story {
    padding: 10px 0 0 35px;
}

.lucas-story h3 {
    margin: 14px 0 22px;
    font-size: 34px;
    letter-spacing: -.03em;
}

.lucas-story > p {
    color: var(--muted);
    font-size: 14px;
    line-height: 1.8;
}

.company-list {
    margin-top: 30px;
    border-top: 1px solid var(--line);
}

.company-list > div {
    display: grid;
    grid-template-columns: 35px 1fr auto;
    align-items: center;
    gap: 12px;
    padding: 14px 0;
    border-bottom: 1px solid var(--line);
}

.company-list span {
    color: var(--cyan);
    font-size: 9px;
}

.company-list strong {
    font-size: 13px;
}

.company-list small {
    color: #708398;
    font-size: 10px;
}

.timeline {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    margin-top: 60px;
    border-top: 1px solid var(--line);
}

.timeline-item {
    padding: 22px 18px 0 0;
    border-right: 1px solid var(--line);
}

.timeline-item:not(:first-child) {
    padding-left: 18px;
}

.timeline-item:last-child {
    border-right: 0;
}

.timeline-item span {
    color: var(--cyan);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .15em;
}

.timeline-item p {
    margin: 9px 0 0;
    color: var(--muted);
    font-size: 12px;
    line-height: 1.6;
}

/* FAQ */
.faq-contact-title {
    display: inline-block;
    opacity: 0;
    transform: scale(.62);
    transform-origin: left center;
    transition:
        opacity .8s ease,
        transform .9s cubic-bezier(.22, 1, .36, 1);
}

.faq-contact-title.scroll-active {
    opacity: 1;
    transform: scale(1);
}

.faq-panel {
    margin-bottom: 10px !important;
    border: 1px solid var(--line) !important;
    border-radius: 0 !important;
    background: rgba(255,255,255,.018) !important;
}

.faq-panel .panel-heading {
    padding: 0;
    border: 0;
    background: transparent;
}

.faq-panel .panel-title a {
    display: block;
    padding: 21px 24px;
    color: var(--text);
    font-size: 14px;
    font-weight: 600;
}

.faq-panel .panel-title a:hover {
    color: var(--cyan);
}

.faq-panel .panel-body {
    padding: 0 24px 23px;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.7;
    border-top: 1px solid var(--line) !important;
}

.contact-card {
    margin-left: 30px;
    padding: 32px;
    border: 1px solid var(--line-strong);
    background: rgba(4,12,21,.45);
}

.contact-card h3 {
    margin: 25px 0 15px;
    font-size: 28px;
}

.contact-card p {
    margin-bottom: 25px;
    color: var(--muted);
    line-height: 1.8;
}

/* FOOTER */
.cwb-footer {
    padding: 45px 0 25px;
    background: #03070d;
    border-top: 1px solid var(--line);
}

.footer-main {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    padding-bottom: 35px;
    border-bottom: 1px solid var(--line);
}

.footer-brand {
    color: var(--cyan);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .18em;
}

.footer-main p {
    margin: 8px 0 0;
    color: #687d91;
    font-size: 12px;
}

.footer-status {
    color: #71879b;
    font-size: 9px;
    letter-spacing: .14em;
}

.footer-status .status-dot {
    margin-right: 7px;
}

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding-top: 22px;
    color: #53677a;
    font-size: 10px;
}

.footer-bottom a {
    color: #8ca0b2;
}

.back-top {
    position: fixed;
    z-index: 1000;
    right: 22px;
    bottom: 22px;
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--line-strong);
    color: var(--cyan);
    background: rgba(5,10,18,.8);
    opacity: 0;
    visibility: hidden;
    transition: .25s ease;
}

.back-top.show {
    opacity: 1;
    visibility: visible;
}

/* REVEAL GERAL */
.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity .7s ease, transform .7s cubic-bezier(.22,1,.36,1);
}

.reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* RESPONSIVO */
@media (max-width: 991px) {
    .hero {
        min-height: auto;
    }

    .server-panel {
        margin-top: 45px;
    }

    .section {
        padding: 90px 0;
    }

    .feature-list {
        margin: 25px 0 0;
    }

    .lucas-story {
        padding: 40px 0 0;
    }

    .contact-card {
        margin: 30px 0 0;
    }
}

@media (max-width: 767px) {
    .cwb-nav .navbar-collapse {
        border-top: 1px solid var(--line);
        background: rgba(5,10,18,.97);
    }

    .cwb-nav .navbar-nav > li > a {
        padding: 15px;
    }

    .hero-inner {
        padding-top: 125px;
    }

    .hero-title {
        font-size: 48px;
    }

    .hero-text {
        font-size: 15px;
    }

    .hero-meta {
        gap: 10px;
        flex-wrap: wrap;
    }

    .scroll-hint {
        display: none;
    }

    .section-head {
        display: block;
    }

    .section-code {
        margin-bottom: 22px;
    }

    .service-card {
        min-height: 260px;
    }

    .process-line {
        display: block;
    }

    .process-step {
        min-height: auto;
        border-right: 0;
        border-bottom: 1px solid var(--line);
    }

    .process-step:last-child {
        border-bottom: 0;
    }

    .process-step h3 {
        margin-top: 35px;
    }

    .lucas-section {
        transform: translateY(50px) rotate(-180deg) scale(.9);
    }

    .lucas-title {
        font-size: 52px;
    }

    .company-list > div {
        grid-template-columns: 30px 1fr;
    }

    .company-list small {
        grid-column: 2;
    }

    .timeline {
        grid-template-columns: 1fr 1fr;
        gap: 0;
    }

    .timeline-item {
        min-height: 110px;
    }

    .footer-main,
    .footer-bottom {
        display: block;
    }

    .footer-status {
        margin-top: 18px;
    }

    .footer-bottom > * {
        display: block;
        margin-bottom: 10px;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .01ms !important;
    }

    .reveal,
    .lucas-section,
    .faq-contact-title {
        opacity: 1 !important;
        transform: none !important;
    }
}