:root {
    --bg: #07101f;
    --bg-soft: #0b1527;
    --surface: rgba(255,255,255,.055);
    --surface-strong: rgba(255,255,255,.09);
    --border: rgba(255,255,255,.11);
    --text: #f7f9fc;
    --muted: #9ba9bc;
    --cyan: #5de4ff;
    --blue: #5f7dff;
    --violet: #a66cff;
    --success: #69f0c4;
    --shadow: 0 28px 90px rgba(0,0,0,.35);
    --radius: 24px;
    --container: 1180px;
}

* { box-sizing: border-box; }

html {
    scroll-behavior: smooth;
    scroll-padding-top: 96px;
}

body {
    margin: 0;
    overflow-x: hidden;
    font-family: Inter, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    background:
        radial-gradient(circle at 10% -10%, rgba(95,125,255,.12), transparent 34rem),
        radial-gradient(circle at 90% 10%, rgba(166,108,255,.10), transparent 32rem),
        var(--bg);
    color: var(--text);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

body.menu-open { overflow: hidden; }

a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; }

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

.sr-only {
    position: absolute !important;
    width: 1px; height: 1px;
    padding: 0; margin: -1px;
    overflow: hidden; clip: rect(0,0,0,0);
    white-space: nowrap; border: 0;
}

.text-gradient {
    background: linear-gradient(100deg, var(--cyan), #8a9dff 46%, #c284ff);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.site-header {
    position: fixed;
    inset: 0 0 auto;
    z-index: 100;
    transition: background .25s ease, border-color .25s ease, backdrop-filter .25s ease;
    border-bottom: 1px solid transparent;
}

.site-header.is-scrolled {
    background: rgba(7,16,31,.78);
    backdrop-filter: blur(18px);
    border-color: rgba(255,255,255,.07);
}

.header-inner {
    height: 84px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 11px;
    font-weight: 800;
    letter-spacing: -.04em;
}

.brand-logo .custom-logo-link { display: flex; }
.brand-logo .custom-logo { max-height: 44px; width: auto; }

.brand-mark {
    position: relative;
    width: 34px;
    height: 34px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 3px;
    transform: rotate(-5deg);
}

.brand-mark span {
    display: block;
    border-radius: 7px 2px 7px 2px;
    background: linear-gradient(140deg, var(--cyan), var(--violet));
}

.brand-mark span:nth-child(2) { transform: translateY(5px); }
.brand-mark span:nth-child(3) { grid-column: 1 / -1; width: 65%; justify-self: end; }

.brand-name { font-size: 1.4rem; }
.brand-name span { color: var(--cyan); }

.primary-nav {
    display: flex;
    align-items: center;
    gap: 28px;
}

.nav-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 27px;
}

.nav-list a {
    color: #c7d0df;
    font-size: .93rem;
    font-weight: 600;
    transition: color .2s ease;
}

.nav-list a:hover { color: #fff; }

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 52px;
    padding: 0 22px;
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 14px;
    background: linear-gradient(110deg, #5e78ff, #915df4);
    color: #fff;
    font-weight: 750;
    font-size: .95rem;
    box-shadow: 0 12px 32px rgba(96,101,255,.25);
    transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.button:hover {
    transform: translateY(-2px);
    box-shadow: 0 16px 40px rgba(96,101,255,.34);
}

.button-small { min-height: 42px; padding: 0 17px; border-radius: 12px; font-size: .88rem; }

.button-ghost {
    background: rgba(255,255,255,.04);
    box-shadow: none;
    border-color: var(--border);
    color: #eaf0f7;
}

.button-ghost:hover {
    background: rgba(255,255,255,.075);
    box-shadow: none;
}

.menu-toggle {
    display: none;
    width: 44px;
    height: 44px;
    border: 1px solid var(--border);
    border-radius: 12px;
    background: rgba(255,255,255,.04);
    padding: 10px;
}

.menu-toggle span:not(.sr-only) {
    display: block;
    height: 2px;
    background: #fff;
    margin: 5px 0;
    border-radius: 999px;
}

.hero {
    position: relative;
    min-height: 820px;
    padding: 156px 0 42px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    isolation: isolate;
}

.hero-grid-bg {
    position: absolute;
    inset: 0;
    z-index: -3;
    opacity: .22;
    background-image:
        linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px);
    background-size: 68px 68px;
    mask-image: linear-gradient(to bottom, #000 15%, transparent 90%);
}

.hero::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: -1px;
    width: min(1180px, calc(100% - 40px));
    height: 1px;
    transform: translateX(-50%);
    background: linear-gradient(90deg, transparent, rgba(255,255,255,.14), transparent);
}

.hero-orb {
    position: absolute;
    z-index: -2;
    border-radius: 50%;
    filter: blur(15px);
    pointer-events: none;
}

.hero-orb-one {
    width: 420px; height: 420px;
    right: 5%; top: 17%;
    background: rgba(95,125,255,.11);
}

.hero-orb-two {
    width: 300px; height: 300px;
    left: -7%; top: 40%;
    background: rgba(93,228,255,.07);
}

.hero-layout {
    display: grid;
    grid-template-columns: 1.05fr .95fr;
    gap: 70px;
    align-items: center;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 8px 12px;
    border: 1px solid rgba(93,228,255,.16);
    border-radius: 999px;
    color: #b9c8d9;
    background: rgba(93,228,255,.045);
    font-size: .78rem;
    font-weight: 700;
    letter-spacing: .025em;
}

.eyebrow-dot {
    width: 7px; height: 7px;
    border-radius: 50%;
    background: var(--success);
    box-shadow: 0 0 14px rgba(105,240,196,.75);
}

.hero h1 {
    max-width: 760px;
    margin: 24px 0 23px;
    font-size: clamp(3rem, 5.7vw, 5.6rem);
    line-height: .99;
    letter-spacing: -.065em;
    font-weight: 830;
}

.hero-lead {
    max-width: 650px;
    margin: 0;
    color: var(--muted);
    font-size: clamp(1.03rem, 1.7vw, 1.18rem);
    line-height: 1.75;
}

.hero-actions {
    display: flex;
    align-items: center;
    gap: 13px;
    flex-wrap: wrap;
    margin-top: 34px;
}

.hero-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
    margin-top: 32px;
}

.hero-tags span {
    padding: 7px 10px;
    border-radius: 9px;
    border: 1px solid rgba(255,255,255,.08);
    background: rgba(255,255,255,.025);
    color: #8f9db0;
    font-size: .76rem;
    font-weight: 650;
}

.hero-visual {
    position: relative;
    min-height: 520px;
    display: grid;
    place-items: center;
}

.visual-shell {
    position: relative;
    width: min(100%, 510px);
    aspect-ratio: 1;
    display: grid;
    place-items: center;
}

.visual-shell::before {
    content: "";
    position: absolute;
    inset: 13%;
    border-radius: 50%;
    background:
        radial-gradient(circle, rgba(95,125,255,.22), rgba(166,108,255,.07) 46%, transparent 70%);
    filter: blur(8px);
}

.visual-ring {
    position: absolute;
    border: 1px solid rgba(255,255,255,.105);
    border-radius: 50%;
}

.visual-ring-one { inset: 9%; animation: rotateSlow 28s linear infinite; }
.visual-ring-two { inset: 24%; border-style: dashed; opacity: .85; animation: rotateSlow 20s linear infinite reverse; }

.visual-ring-one::before,
.visual-ring-one::after,
.visual-ring-two::before {
    content: "";
    position: absolute;
    width: 8px; height: 8px;
    border-radius: 50%;
    background: var(--cyan);
    box-shadow: 0 0 16px rgba(93,228,255,.8);
}

.visual-ring-one::before { top: 14%; left: 16%; }
.visual-ring-one::after { right: -4px; top: 50%; background: var(--violet); }
.visual-ring-two::before { bottom: 10%; left: 22%; }

.visual-core {
    position: relative;
    z-index: 4;
    width: 168px;
    aspect-ratio: 1;
    border-radius: 37px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255,255,255,.15);
    background: linear-gradient(145deg, rgba(17,30,53,.94), rgba(10,17,33,.88));
    box-shadow: inset 0 1px 0 rgba(255,255,255,.06), 0 28px 70px rgba(0,0,0,.36), 0 0 60px rgba(95,125,255,.14);
    backdrop-filter: blur(15px);
}

.visual-core small {
    font-size: .78rem;
    color: #9ba9bd;
    letter-spacing: .18em;
    text-transform: uppercase;
}

.visual-core strong {
    margin-top: -2px;
    font-size: 2.7rem;
    line-height: 1.1;
    letter-spacing: -.07em;
    background: linear-gradient(100deg, #fff, var(--cyan) 55%, #c98cff);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.visual-core span {
    margin-top: 8px;
    font-size: .67rem;
    color: #728096;
}

.floating-card {
    position: absolute;
    z-index: 5;
    min-width: 162px;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 13px 15px;
    border-radius: 16px;
    border: 1px solid rgba(255,255,255,.115);
    background: rgba(10,20,38,.82);
    box-shadow: 0 18px 50px rgba(0,0,0,.28);
    backdrop-filter: blur(14px);
    animation: floatCard 6s ease-in-out infinite;
}

.floating-card .card-icon {
    width: 38px; height: 38px;
    border-radius: 11px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(93,228,255,.16);
    background: linear-gradient(145deg, rgba(93,228,255,.10), rgba(166,108,255,.10));
    color: #ccecff;
    font-weight: 800;
}

.floating-card small {
    display: block;
    color: #77869b;
    font-size: .65rem;
    line-height: 1.2;
}

.floating-card strong {
    display: block;
    margin-top: 2px;
    color: #edf3fb;
    font-size: .91rem;
}

.card-site { left: 0; top: 17%; animation-delay: -.8s; }
.card-system { right: -2%; top: 23%; animation-delay: -2.2s; }
.card-automation { left: 1%; bottom: 16%; animation-delay: -3.7s; }
.card-ai { right: 3%; bottom: 12%; animation-delay: -5s; }

.hero-proof {
    display: flex;
    align-items: center;
    gap: 17px;
    margin-top: 58px;
    color: #65748a;
    font-size: .74rem;
    font-weight: 650;
    text-transform: uppercase;
    letter-spacing: .11em;
}

.proof-line {
    height: 1px;
    min-width: 30px;
    flex: 1;
    background: linear-gradient(90deg, rgba(255,255,255,.12), rgba(255,255,255,.025));
}

.section { padding: 110px 0; }

.section-heading {
    display: grid;
    grid-template-columns: 1.25fr .75fr;
    gap: 60px;
    align-items: end;
    margin-bottom: 54px;
}

.section-kicker {
    display: inline-block;
    margin-bottom: 13px;
    color: var(--cyan);
    text-transform: uppercase;
    letter-spacing: .14em;
    font-size: .72rem;
    font-weight: 800;
}

.section-heading h2,
.contact-card h2 {
    margin: 0;
    font-size: clamp(2.2rem, 4vw, 4rem);
    line-height: 1.05;
    letter-spacing: -.055em;
}

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

.services {
    background:
        radial-gradient(circle at 80% 25%, rgba(166,108,255,.055), transparent 28rem),
        linear-gradient(180deg, rgba(255,255,255,.01), transparent);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.service-card {
    position: relative;
    min-height: 335px;
    padding: 24px;
    overflow: hidden;
    border: 1px solid var(--border);
    border-radius: 22px;
    background: linear-gradient(155deg, rgba(255,255,255,.055), rgba(255,255,255,.018));
    transition: transform .25s ease, border-color .25s ease, background .25s ease;
}

.service-card::before {
    content: "";
    position: absolute;
    width: 140px; height: 140px;
    top: -80px; right: -70px;
    border-radius: 50%;
    background: rgba(95,125,255,.16);
    filter: blur(15px);
    opacity: 0;
    transition: opacity .25s ease;
}

.service-card:hover {
    transform: translateY(-6px);
    border-color: rgba(93,228,255,.20);
    background: linear-gradient(155deg, rgba(255,255,255,.072), rgba(255,255,255,.024));
}

.service-card:hover::before { opacity: 1; }

.service-number {
    position: absolute;
    right: 20px; top: 17px;
    color: rgba(255,255,255,.18);
    font-size: .68rem;
    font-weight: 800;
    letter-spacing: .08em;
}

.service-icon {
    width: 48px; height: 48px;
    display: grid;
    place-items: center;
    margin-bottom: 30px;
    border: 1px solid rgba(93,228,255,.15);
    border-radius: 14px;
    background: rgba(93,228,255,.06);
    color: #d8f7ff;
    font-weight: 850;
}

.service-card h3 {
    margin: 0 0 12px;
    font-size: 1.22rem;
    letter-spacing: -.025em;
}

.service-card p {
    margin: 0;
    color: #8f9db0;
    font-size: .9rem;
    line-height: 1.7;
}

.service-link {
    position: absolute;
    left: 24px; right: 24px; bottom: 22px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #c6d0dd;
    font-size: .75rem;
    font-weight: 700;
}

.service-link b { color: var(--cyan); }

.contact-preview { padding-top: 20px; }

.contact-card {
    position: relative;
    overflow: hidden;
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 50px;
    align-items: center;
    padding: 58px;
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 30px;
    background:
        radial-gradient(circle at 90% 10%, rgba(93,228,255,.18), transparent 20rem),
        linear-gradient(120deg, #5e65e6, #774fce 58%, #5a3ea4);
    box-shadow: var(--shadow);
}

.contact-card::after {
    content: "";
    position: absolute;
    width: 280px; height: 280px;
    right: -90px; bottom: -150px;
    border: 1px solid rgba(255,255,255,.18);
    border-radius: 50%;
}

.contact-card h2 { max-width: 780px; font-size: clamp(2rem, 3.7vw, 3.5rem); }
.contact-card p { max-width: 720px; margin: 18px 0 0; color: rgba(255,255,255,.76); }

.button-light {
    position: relative;
    z-index: 2;
    background: #fff;
    color: #20263a;
    box-shadow: 0 16px 36px rgba(0,0,0,.16);
    white-space: nowrap;
}

.site-footer {
    padding: 70px 0 38px;
}

.footer-inner {
    display: flex;
    justify-content: space-between;
    gap: 50px;
    padding-top: 35px;
    border-top: 1px solid rgba(255,255,255,.08);
}

.footer-brand { margin-bottom: 14px; }
.site-footer p { margin: 5px 0; color: #65748a; font-size: .78rem; }
.footer-meta { text-align: right; }

@keyframes rotateSlow { to { transform: rotate(360deg); } }
@keyframes floatCard {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        scroll-behavior: auto !important;
        transition-duration: .01ms !important;
    }
}

@media (max-width: 1024px) {
    .hero { min-height: auto; padding-top: 132px; }
    .hero-layout { grid-template-columns: 1fr; gap: 30px; }
    .hero-copy { text-align: center; }
    .hero-copy .eyebrow { margin-inline: auto; }
    .hero h1, .hero-lead { margin-left: auto; margin-right: auto; }
    .hero-actions, .hero-tags { justify-content: center; }
    .hero-visual { min-height: 460px; }
    .section-heading { grid-template-columns: 1fr; gap: 20px; }
    .services-grid { grid-template-columns: repeat(2, 1fr); }
    .primary-nav { gap: 16px; }
    .nav-list { gap: 18px; }
}

@media (max-width: 780px) {
    .container { width: min(calc(100% - 28px), var(--container)); }
    .header-inner { height: 72px; }
    .menu-toggle { display: block; z-index: 102; }
    .primary-nav {
        position: fixed;
        inset: 0;
        z-index: 101;
        padding: 110px 28px 38px;
        background: rgba(7,16,31,.97);
        backdrop-filter: blur(18px);
        flex-direction: column;
        align-items: stretch;
        transform: translateX(100%);
        transition: transform .28s ease;
    }
    .primary-nav.is-open { transform: translateX(0); }
    .nav-list { flex-direction: column; align-items: stretch; gap: 0; }
    .nav-list a {
        display: block;
        padding: 17px 0;
        border-bottom: 1px solid rgba(255,255,255,.07);
        font-size: 1.1rem;
    }
    .nav-cta { margin-top: 18px; }
    .hero { padding-top: 118px; }
    .hero h1 { font-size: clamp(2.8rem, 13vw, 4.5rem); }
    .hero-visual { min-height: 390px; }
    .visual-shell { width: min(100%, 390px); }
    .visual-core { width: 132px; border-radius: 30px; }
    .visual-core strong { font-size: 2.15rem; }
    .floating-card { min-width: 137px; padding: 10px 11px; }
    .floating-card .card-icon { width: 32px; height: 32px; }
    .card-system { right: 0; }
    .card-ai { right: 0; }
    .hero-proof { display: none; }
    .section { padding: 82px 0; }
    .services-grid { grid-template-columns: 1fr; }
    .service-card { min-height: 300px; }
    .contact-card {
        grid-template-columns: 1fr;
        gap: 30px;
        padding: 34px 26px;
    }
    .button-light { justify-self: start; }
    .footer-inner { flex-direction: column; }
    .footer-meta { text-align: left; }
}

@media (max-width: 480px) {
    .hero-actions { align-items: stretch; }
    .hero-actions .button { width: 100%; }
    .hero-visual { min-height: 330px; }
    .visual-shell { transform: scale(.9); }
    .floating-card { min-width: 126px; }
    .floating-card small { display: none; }
    .contact-card .button { width: 100%; }
}


.button-disabled {
    cursor: default;
    pointer-events: none;
    opacity: .9;
}


/* Seções adicionais da Home */
.problems {
    position: relative;
    border-top: 1px solid rgba(255,255,255,.035);
}

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

.problem-card {
    position: relative;
    min-height: 245px;
    padding: 30px;
    border: 1px solid var(--border);
    border-radius: 22px;
    background: linear-gradient(145deg, rgba(255,255,255,.045), rgba(255,255,255,.016));
    overflow: hidden;
}

.problem-card::after {
    content: "";
    position: absolute;
    inset: auto -50px -70px auto;
    width: 160px;
    height: 160px;
    border-radius: 50%;
    background: rgba(93,228,255,.055);
    filter: blur(8px);
}

.problem-icon {
    display: inline-grid;
    place-items: center;
    width: 38px;
    height: 38px;
    border-radius: 11px;
    border: 1px solid rgba(93,228,255,.16);
    color: var(--cyan);
    background: rgba(93,228,255,.045);
    font-size: .72rem;
    font-weight: 800;
}

.problem-card h3 {
    margin: 22px 0 10px;
    font-size: 1.35rem;
    letter-spacing: -.035em;
}

.problem-card p {
    max-width: 500px;
    margin: 0;
    color: var(--muted);
    font-size: .92rem;
}

.problem-solution {
    display: inline-block;
    margin-top: 22px;
    color: #d9e3f0;
    font-size: .76rem;
    font-weight: 750;
}

.portfolio {
    position: relative;
    background:
        radial-gradient(circle at 10% 60%, rgba(93,228,255,.045), transparent 27rem),
        radial-gradient(circle at 90% 30%, rgba(166,108,255,.05), transparent 28rem);
}

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

.project-card {
    overflow: hidden;
    border: 1px solid var(--border);
    border-radius: 24px;
    background: rgba(255,255,255,.025);
}

.project-card-featured {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: 1.15fr .85fr;
}

.project-preview {
    min-height: 290px;
    display: grid;
    place-items: center;
    overflow: hidden;
    background:
        linear-gradient(135deg, rgba(95,125,255,.12), rgba(166,108,255,.07)),
        #0a1425;
}

.project-card-featured .project-preview {
    min-height: 390px;
}

.project-copy {
    padding: 28px;
}

.project-card-featured .project-copy {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 45px;
}

.project-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 18px;
}

.project-meta span {
    padding: 6px 9px;
    border: 1px solid rgba(255,255,255,.085);
    border-radius: 8px;
    color: #8fa0b4;
    font-size: .67rem;
    font-weight: 750;
    text-transform: uppercase;
    letter-spacing: .05em;
}

.project-copy h3 {
    margin: 0 0 10px;
    font-size: 1.45rem;
    letter-spacing: -.04em;
}

.project-card-featured .project-copy h3 {
    font-size: 2rem;
}

.project-copy p {
    margin: 0;
    color: var(--muted);
    font-size: .9rem;
    line-height: 1.75;
}

.mock-browser {
    width: 80%;
    max-width: 620px;
    min-height: 280px;
    border-radius: 16px;
    border: 1px solid rgba(255,255,255,.12);
    background: #0d182b;
    box-shadow: 0 35px 70px rgba(0,0,0,.35);
    transform: perspective(900px) rotateY(-7deg) rotateX(3deg);
}

.mock-topbar {
    height: 32px;
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 0 12px;
    border-bottom: 1px solid rgba(255,255,255,.07);
}

.mock-topbar span {
    width: 6px; height: 6px;
    border-radius: 50%;
    background: rgba(255,255,255,.22);
}

.mock-site { padding: 30px; }
.mock-nav { width: 45%; height: 7px; border-radius: 4px; background: rgba(255,255,255,.14); margin-bottom: 42px; }
.mock-hero-line { width: 78%; height: 18px; border-radius: 7px; background: linear-gradient(90deg, var(--cyan), var(--violet)); opacity: .75; margin-bottom: 11px; }
.mock-hero-line.short { width: 54%; opacity: .45; }
.mock-button { width: 92px; height: 26px; border-radius: 7px; background: rgba(255,255,255,.14); margin: 24px 0; }
.mock-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 9px; }
.mock-cards i { display: block; height: 62px; border-radius: 9px; background: rgba(255,255,255,.045); border: 1px solid rgba(255,255,255,.055); }

.mock-dashboard {
    width: 82%;
    height: 220px;
    display: grid;
    grid-template-columns: 22% 78%;
    overflow: hidden;
    border-radius: 15px;
    border: 1px solid rgba(255,255,255,.12);
    background: #0d182b;
    box-shadow: 0 28px 60px rgba(0,0,0,.32);
}

.mock-side { background: rgba(255,255,255,.035); border-right: 1px solid rgba(255,255,255,.06); }
.mock-content { padding: 18px; }
.mock-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.mock-stats i { height: 42px; border-radius: 8px; background: rgba(95,125,255,.10); border: 1px solid rgba(255,255,255,.055); }
.mock-chart { height: 78px; margin-top: 12px; border-radius: 9px; background: linear-gradient(135deg, rgba(93,228,255,.1), rgba(166,108,255,.1)); }
.mock-table { height: 35px; margin-top: 12px; border-radius: 8px; background: rgba(255,255,255,.04); }

.ai-window {
    width: 78%;
    min-height: 220px;
    display: grid;
    place-items: center;
    position: relative;
    border-radius: 20px;
    border: 1px solid rgba(255,255,255,.1);
    background:
        radial-gradient(circle at center, rgba(95,125,255,.14), transparent 50%),
        rgba(9,18,34,.72);
}

.ai-orb {
    width: 90px; height: 90px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: radial-gradient(circle at 35% 30%, #b7f5ff, var(--blue) 45%, var(--violet));
    box-shadow: 0 0 55px rgba(95,125,255,.35);
    color: #07101f;
    font-weight: 900;
    letter-spacing: -.05em;
}

.ai-chat {
    position: absolute;
    right: 18px;
    bottom: 18px;
    width: 38%;
    display: grid;
    gap: 6px;
}

.ai-chat i {
    display: block;
    height: 7px;
    border-radius: 99px;
    background: rgba(255,255,255,.13);
}

.ai-chat i:nth-child(2) { width: 75%; }
.ai-chat i:nth-child(3) { width: 52%; }

.process {
    border-top: 1px solid rgba(255,255,255,.035);
    border-bottom: 1px solid rgba(255,255,255,.035);
}

.process-layout {
    display: grid;
    grid-template-columns: .85fr 1.15fr;
    gap: 80px;
    align-items: start;
}

.process-intro {
    position: sticky;
    top: 125px;
}

.process-intro h2,
.about-copy h2,
.faq-intro h2 {
    margin: 0;
    font-size: clamp(2.2rem, 4vw, 4rem);
    line-height: 1.05;
    letter-spacing: -.055em;
}

.process-intro > p,
.about-copy > p,
.faq-intro > p {
    color: var(--muted);
    line-height: 1.8;
}

.process-note {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    margin-top: 28px;
    padding: 16px 18px;
    border: 1px solid rgba(105,240,196,.12);
    border-radius: 14px;
    background: rgba(105,240,196,.035);
}

.process-note span { color: var(--success); font-weight: 900; }
.process-note p { margin: 0; color: #aebdcb; font-size: .82rem; }

.process-steps {
    display: grid;
    gap: 12px;
}

.process-step {
    display: grid;
    grid-template-columns: 72px 1fr;
    gap: 22px;
    padding: 28px;
    border: 1px solid var(--border);
    border-radius: 20px;
    background: rgba(255,255,255,.025);
}

.process-step > span {
    width: 52px; height: 52px;
    display: grid;
    place-items: center;
    border-radius: 15px;
    background: linear-gradient(145deg, rgba(93,228,255,.09), rgba(166,108,255,.08));
    border: 1px solid rgba(93,228,255,.12);
    color: var(--cyan);
    font-size: .72rem;
    font-weight: 800;
}

.process-step small {
    color: #718197;
    text-transform: uppercase;
    letter-spacing: .11em;
    font-size: .64rem;
    font-weight: 800;
}

.process-step h3 {
    margin: 5px 0 6px;
    font-size: 1.25rem;
    letter-spacing: -.03em;
}

.process-step p {
    margin: 0;
    color: var(--muted);
    font-size: .87rem;
}

.about-layout {
    display: grid;
    grid-template-columns: .9fr 1.1fr;
    gap: 80px;
    align-items: center;
}

.about-visual { min-height: 440px; display: grid; place-items: center; }

.about-panel {
    width: min(100%, 430px);
    min-height: 360px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 42px;
    border-radius: 28px;
    border: 1px solid rgba(255,255,255,.11);
    background:
        radial-gradient(circle at 80% 20%, rgba(93,228,255,.13), transparent 14rem),
        linear-gradient(145deg, rgba(255,255,255,.055), rgba(255,255,255,.018));
    box-shadow: var(--shadow);
    transform: rotate(-2deg);
}

.about-label {
    color: var(--cyan);
    text-transform: uppercase;
    letter-spacing: .14em;
    font-size: .68rem;
    font-weight: 850;
}

.about-panel strong {
    display: block;
    margin-top: 20px;
    font-size: 2.4rem;
    line-height: 1.04;
    letter-spacing: -.06em;
}

.about-lines {
    display: grid;
    gap: 8px;
    margin: 34px 0;
}

.about-lines span {
    display: block;
    height: 4px;
    border-radius: 99px;
    background: linear-gradient(90deg, var(--cyan), transparent);
}

.about-lines span:nth-child(2) { width: 74%; opacity: .65; }
.about-lines span:nth-child(3) { width: 48%; opacity: .35; }

.about-stack {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.about-stack i {
    font-style: normal;
    padding: 7px 9px;
    border-radius: 8px;
    border: 1px solid rgba(255,255,255,.08);
    color: #9eacbe;
    font-size: .68rem;
}

.about-values {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin-top: 30px;
}

.about-values span {
    display: flex;
    flex-direction: column;
    gap: 5px;
    padding: 15px;
    border: 1px solid rgba(255,255,255,.08);
    border-radius: 13px;
    color: #d7e0eb;
    font-size: .8rem;
    font-weight: 700;
}

.about-values b {
    color: var(--cyan);
    font-size: .64rem;
    letter-spacing: .08em;
}

.faq {
    background: linear-gradient(180deg, transparent, rgba(255,255,255,.015));
}

.faq-layout {
    display: grid;
    grid-template-columns: .8fr 1.2fr;
    gap: 80px;
}

.faq-intro { position: sticky; top: 125px; align-self: start; }

.faq-list { display: grid; gap: 10px; }

.faq-item {
    overflow: hidden;
    border: 1px solid var(--border);
    border-radius: 18px;
    background: rgba(255,255,255,.025);
}

.faq-question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 25px;
    padding: 22px 24px;
    border: 0;
    background: transparent;
    color: #eef3f9;
    text-align: left;
    font: inherit;
    font-weight: 720;
    cursor: pointer;
}

.faq-question b {
    width: 32px; height: 32px;
    flex: 0 0 32px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: rgba(255,255,255,.055);
    color: var(--cyan);
    font-size: 1.2rem;
    font-weight: 400;
    transition: transform .25s ease;
}

.faq-answer {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows .3s ease;
}

.faq-answer > p {
    overflow: hidden;
    margin: 0;
    padding: 0 24px;
    color: var(--muted);
    font-size: .9rem;
    line-height: 1.75;
    transition: padding .3s ease;
}

.faq-item.is-open .faq-answer { grid-template-rows: 1fr; }
.faq-item.is-open .faq-answer > p { padding: 0 24px 22px; }
.faq-item.is-open .faq-question b { transform: rotate(45deg); }

.reveal {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity .6s ease, transform .6s ease;
}

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

@media (max-width: 1024px) {
    .portfolio-grid { grid-template-columns: 1fr 1fr; }
    .project-card-featured { grid-template-columns: 1fr; }
    .process-layout,
    .about-layout,
    .faq-layout { grid-template-columns: 1fr; gap: 50px; }
    .process-intro,
    .faq-intro { position: static; }
}

@media (max-width: 780px) {
    .problem-grid,
    .portfolio-grid,
    .about-values { grid-template-columns: 1fr; }
    .project-card-featured { grid-column: auto; }
    .project-card-featured .project-preview { min-height: 290px; }
    .project-card-featured .project-copy { padding: 28px; }
    .project-card-featured .project-copy h3 { font-size: 1.55rem; }
    .process-step { grid-template-columns: 54px 1fr; padding: 22px; gap: 15px; }
    .process-step > span { width: 44px; height: 44px; }
    .about-visual { min-height: auto; }
    .about-panel { min-height: 320px; padding: 30px; }
    .about-panel strong { font-size: 2rem; }
}

@media (max-width: 480px) {
    .problem-card { padding: 24px; }
    .mock-browser { width: 90%; transform: none; }
    .mock-dashboard, .ai-window { width: 88%; }
    .project-preview { min-height: 240px; }
    .process-step { grid-template-columns: 1fr; }
    .faq-question { padding: 19px 18px; }
    .faq-answer > p { padding-inline: 18px; }
    .faq-item.is-open .faq-answer > p { padding: 0 18px 19px; }
}

@media (prefers-reduced-motion: reduce) {
    .reveal { opacity: 1; transform: none; }
}


.footer-logo .custom-logo-link {
    display: inline-flex;
    align-items: center;
}

.footer-logo .custom-logo {
    width: auto;
    max-width: 250px;
    max-height: 70px;
}

.footer-brand-block {
    max-width: 460px;
}

@media (max-width: 780px) {
    .footer-logo .custom-logo {
        max-width: 210px;
        max-height: 58px;
    }
}
