:root {
    --blue: #1E63B6;
    --blue-2: #154D8F;
    --cyan: #35A7FF;
    --cyan-2: #8BD4FF;
    --navy: #06182C;
    --navy-2: #0B2746;
    --ink: #0D1B2A;
    --muted: #637189;
    --line: rgba(13, 27, 42, .12);
    --line-dark: rgba(255, 255, 255, .14);
    --white: #FFFFFF;
    --paper: #F5F7FA;
    --paper-2: #E6EAF0;
    --glass: rgba(255, 255, 255, .82);
    --shadow: 0 24px 70px rgba(6, 24, 44, .14);
    --shadow-strong: 0 34px 90px rgba(6, 24, 44, .24);
    --radius: 28px;
    --radius-sm: 18px;
    --container: 1180px;
    --header-height: 88px;
    --ease: cubic-bezier(.16, 1, .3, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
    color: var(--ink);
    background:
        radial-gradient(circle at 15% 5%, rgba(30,99,182,.12), transparent 30%),
        radial-gradient(circle at 85% 25%, rgba(53,167,255,.12), transparent 36%),
        linear-gradient(180deg, #FFFFFF 0%, #F7F9FC 100%);
    overflow-x: hidden;
}
body.is-locked { overflow: hidden; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; }
img { max-width: 100%; display: block; }
::selection { background: var(--blue); color: var(--white); }

.container { width: min(var(--container), calc(100% - 40px)); margin-inline: auto; }
.section { padding: 108px 0; position: relative; }
.section-tight { padding: 74px 0; }
.section-dark {
    position: relative;
    color: var(--white);
    background:
        radial-gradient(circle at 10% 20%, rgba(53,167,255,.26), transparent 35%),
        radial-gradient(circle at 82% 12%, rgba(30,99,182,.44), transparent 30%),
        linear-gradient(135deg, #03111F 0%, #06182C 50%, #082846 100%);
    overflow: hidden;
}
.noise::after,
.site-hero::after,
.section-dark::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    opacity: .45;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180' viewBox='0 0 180 180'%3E%3Cfilter id='n'%3E%3CfeTurbulence baseFrequency='.75' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='180' height='180' filter='url(%23n)' opacity='.12'/%3E%3C/svg%3E");
    mix-blend-mode: overlay;
}

.skip-link {
    position: absolute;
    top: -100px;
    left: 16px;
    background: var(--blue);
    color: var(--white);
    padding: 12px 18px;
    border-radius: 12px;
    z-index: 200;
}
.skip-link:focus { top: 12px; }

.icon { width: 26px; height: 26px; }
.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--cyan);
    font-weight: 800;
    letter-spacing: .14em;
    text-transform: uppercase;
    font-size: .78rem;
}
.eyebrow::before {
    content: "";
    width: 28px;
    height: 2px;
    border-radius: 999px;
    background: currentColor;
    box-shadow: 0 0 16px currentColor;
}

h1, h2, h3, p { margin-top: 0; }
h1 { font-size: clamp(2.8rem, 6vw, 6.1rem); line-height: .92; letter-spacing: -.075em; }
h2 { font-size: clamp(2rem, 4vw, 4rem); line-height: 1; letter-spacing: -.055em; }
h3 { font-size: clamp(1.1rem, 2vw, 1.45rem); letter-spacing: -.025em; }
p { color: var(--muted); line-height: 1.75; }
.section-dark p, .site-hero p, .page-hero p { color: rgba(255,255,255,.78); }

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 52px;
    padding: 0 22px;
    border-radius: 14px;
    font-weight: 800;
    font-size: .92rem;
    border: 1px solid transparent;
    transition: transform .32s var(--ease), box-shadow .32s var(--ease), border-color .32s var(--ease), background .32s var(--ease);
    cursor: pointer;
    position: relative;
    overflow: hidden;
}
.btn::after {
    content: "";
    position: absolute;
    inset: -50% -30%;
    transform: translateX(-80%) rotate(12deg);
    background: linear-gradient(90deg, transparent, rgba(255,255,255,.35), transparent);
    transition: transform .65s var(--ease);
}
.btn:hover::after { transform: translateX(80%) rotate(12deg); }
.btn-primary {
    background: linear-gradient(135deg, var(--blue), #0A74E8);
    color: var(--white);
    box-shadow: 0 18px 42px rgba(30,99,182,.34);
}
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 24px 60px rgba(30,99,182,.42); }
.btn-ghost {
    color: var(--white);
    border-color: rgba(255,255,255,.22);
    background: rgba(255,255,255,.08);
    backdrop-filter: blur(20px);
}
.btn-ghost:hover { border-color: rgba(255,255,255,.46); transform: translateY(-3px); }
.btn-light {
    color: var(--navy);
    background: rgba(255,255,255,.9);
    border-color: rgba(255,255,255,.7);
}

.site-header {
    position: fixed;
    inset: 0 0 auto 0;
    z-index: 90;
    height: var(--header-height);
    display: flex;
    align-items: center;
    transition: background .3s var(--ease), backdrop-filter .3s var(--ease), box-shadow .3s var(--ease), height .3s var(--ease);
}
.site-header.is-scrolled {
    height: 76px;
    background: rgba(3, 17, 31, .76);
    backdrop-filter: blur(22px);
    box-shadow: 0 18px 50px rgba(0,0,0,.18);
}
.site-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 178px;
    padding: 8px 10px;
    border-radius: 18px;
    background: rgba(255,255,255,.98);
    box-shadow: 0 16px 36px rgba(0,0,0,.12);
    flex: 0 0 auto;
}
.brand img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: contain;
}
.brand-footer {
    width: 212px;
    padding: 8px;
    background: #fff;
    border-radius: 22px;
}
.main-nav { display: flex; align-items: center; gap: 6px; color: var(--white); }
.nav-item { position: relative; }
.main-nav a {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 12px 13px;
    color: rgba(255,255,255,.82);
    font-size: .78rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .05em;
    border-radius: 12px;
    transition: color .25s var(--ease), background .25s var(--ease);
}
.main-nav a:hover, .main-nav a.is-active { color: var(--white); background: rgba(255,255,255,.1); }
.nav-caret { width: 7px; height: 7px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg) translateY(-2px); }
.dropdown-panel {
    position: absolute;
    top: calc(100% + 14px);
    left: 0;
    min-width: 250px;
    padding: 10px;
    border-radius: 18px;
    background: rgba(255,255,255,.96);
    box-shadow: var(--shadow-strong);
    opacity: 0;
    transform: translateY(10px);
    visibility: hidden;
    transition: .25s var(--ease);
}
.dropdown-panel a { display: flex; color: var(--ink); text-transform: none; font-size: .92rem; letter-spacing: 0; padding: 12px 14px; }
.dropdown-panel a:hover { color: var(--blue); background: rgba(30,99,182,.08); }
.has-dropdown:hover .dropdown-panel { opacity: 1; transform: translateY(0); visibility: visible; }
.btn-header { min-height: 46px; font-size: .8rem; padding-inline: 16px; }
.nav-toggle { display: none; }
.scroll-progress { position: absolute; bottom: 0; left: 0; height: 2px; width: 0; background: linear-gradient(90deg, var(--cyan), var(--blue)); box-shadow: 0 0 14px var(--cyan); }

.site-hero {
    min-height: 100vh;
    padding: 150px 0 72px;
    color: var(--white);
    position: relative;
    isolation: isolate;
    overflow: hidden;
    background:
        linear-gradient(90deg, rgba(3,17,31,.98) 0%, rgba(3,17,31,.84) 36%, rgba(3,17,31,.38) 61%, rgba(3,17,31,.72) 100%),
        url('../img/brand/campus-office-hero.png') right center / cover no-repeat;
}
.site-hero__grid { position: relative; z-index: 2; display: grid; grid-template-columns: minmax(0, .9fr) minmax(420px, .8fr); gap: 52px; align-items: center; }
.site-hero__copy { max-width: 700px; }
.site-hero__copy h1 span { color: var(--cyan); text-shadow: 0 0 40px rgba(53,167,255,.34); }
.site-hero__copy p { font-size: 1.08rem; max-width: 640px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 34px; }
.hero-dashboard {
    min-height: 520px;
    position: relative;
    perspective: 900px;
}
.dashboard-card {
    position: absolute;
    inset: 28px 0 auto auto;
    width: min(520px, 100%);
    border: 1px solid rgba(255,255,255,.14);
    border-radius: 34px;
    background: linear-gradient(180deg, rgba(255,255,255,.18), rgba(255,255,255,.06));
    backdrop-filter: blur(22px);
    box-shadow: 0 35px 90px rgba(0,0,0,.35);
    padding: 18px;
    transform: rotateY(-9deg) rotateX(5deg);
    animation: floatCard 7s ease-in-out infinite;
}
.dashboard-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 18px; color: rgba(255,255,255,.76); font-size: .85rem; }
.dashboard-dots { display: flex; gap: 6px; }
.dashboard-dots span { width: 9px; height: 9px; border-radius: 50%; background: rgba(255,255,255,.34); }
.chart-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.mini-panel { min-height: 130px; border-radius: 22px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.1); padding: 16px; overflow: hidden; }
.mini-panel strong { display: block; font-size: 1.6rem; margin-bottom: 8px; }
.bar-chart { display: flex; align-items: end; height: 72px; gap: 8px; }
.bar-chart span { flex: 1; border-radius: 999px 999px 0 0; background: linear-gradient(180deg, var(--cyan), var(--blue)); transform-origin: bottom; animation: barPulse 2.5s ease-in-out infinite; }
.bar-chart span:nth-child(2) { animation-delay: .2s; }
.bar-chart span:nth-child(3) { animation-delay: .35s; }
.bar-chart span:nth-child(4) { animation-delay: .5s; }
.line-chart { height: 72px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 240 80'%3E%3Cpath d='M0 62 C40 20 55 72 92 44 C130 16 145 52 176 30 C198 14 214 28 240 10' fill='none' stroke='%2335A7FF' stroke-width='7' stroke-linecap='round'/%3E%3C/svg%3E") center/contain no-repeat; filter: drop-shadow(0 0 12px rgba(53,167,255,.55)); }
.orbit {
    position: absolute;
    border: 1px solid rgba(53,167,255,.22);
    border-radius: 999px;
    animation: spin 18s linear infinite;
}
.orbit-1 { width: 260px; height: 260px; right: 340px; top: 4px; }
.orbit-2 { width: 150px; height: 150px; right: 12px; bottom: 50px; animation-duration: 12s; animation-direction: reverse; }
.orbit::after { content: ""; position: absolute; top: -5px; left: 50%; width: 10px; height: 10px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 20px var(--cyan); }
.particle-canvas { position: absolute; inset: 0; width: 100%; height: 100%; opacity: .72; z-index: 1; pointer-events: none; }

.metric-strip {
    position: relative;
    z-index: 3;
    margin-top: -50px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    border-radius: 24px;
    background: rgba(255,255,255,.9);
    box-shadow: var(--shadow);
    border: 1px solid rgba(255,255,255,.8);
    overflow: hidden;
    backdrop-filter: blur(18px);
}
.metric-card { padding: 28px 30px; display: grid; grid-template-columns: 42px 1fr; gap: 14px; align-items: center; border-right: 1px solid var(--line); }
.metric-card:last-child { border-right: 0; }
.metric-card__icon { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 14px; color: var(--blue); background: rgba(30,99,182,.09); }
.metric-card strong { display: block; font-size: 1.35rem; color: var(--ink); }
.metric-card small { color: var(--muted); font-weight: 700; }

.section-header { max-width: 760px; margin: 0 auto 48px; text-align: center; }
.section-header.left { margin-inline: 0; text-align: left; }
.section-header h2 { margin: 12px 0 16px; }
.section-header p { font-size: 1.05rem; }

.solution-rail {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 18px;
    padding: 42px 0 8px;
}
.rail-item {
    min-width: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 10px;
    padding: 24px 14px;
    border: 1px solid rgba(13,27,42,.08);
    border-radius: 22px;
    background: rgba(255,255,255,.7);
    box-shadow: 0 12px 30px rgba(6,24,44,.05);
    position: relative;
    overflow: hidden;
}
.rail-item::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 22px;
    background: linear-gradient(180deg, rgba(30,99,182,.08), rgba(53,167,255,.02));
    opacity: 0;
    transition: opacity .3s var(--ease), transform .3s var(--ease);
    transform: scale(.98);
}
.rail-item:hover::before { opacity: 1; transform: scale(1); }
.rail-item span, .rail-item strong, .rail-item small { position: relative; }
.rail-item span { color: var(--blue); }
.rail-item strong { font-size: .92rem; }
.rail-item small { font-size: .75rem; color: var(--muted); line-height: 1.5; }

.grid { display: grid; gap: 22px; }
.cards-grid { grid-template-columns: repeat(3, 1fr); }
.feature-card, .segment-card, .differential-card, .case-card, .article-card, .value-card, .contact-card, .tech-card, .job-card {
    position: relative;
    border: 1px solid rgba(13,27,42,.1);
    border-radius: var(--radius);
    background: rgba(255,255,255,.86);
    box-shadow: 0 16px 44px rgba(6,24,44,.08);
    overflow: hidden;
    transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s var(--ease);
}
.feature-card::before, .product-card::before, .segment-card::before, .differential-card::before, .case-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at var(--mx, 50%) var(--my, 30%), rgba(53,167,255,.18), transparent 34%);
    opacity: 0;
    transition: opacity .28s var(--ease);
    pointer-events: none;
}
.feature-card:hover, .product-card:hover, .segment-card:hover, .differential-card:hover, .case-card:hover, .article-card:hover, .tech-card:hover { transform: translateY(-8px); box-shadow: var(--shadow); border-color: rgba(30,99,182,.24); }
.feature-card:hover::before, .product-card:hover::before, .segment-card:hover::before, .differential-card:hover::before, .case-card:hover::before { opacity: 1; }
.feature-card { min-height: 300px; padding: 30px; display: flex; flex-direction: column; }
.feature-card__icon { display: grid; place-items: center; width: 54px; height: 54px; color: var(--blue); background: rgba(30,99,182,.09); border-radius: 16px; margin-bottom: 26px; }
.feature-card h3 { margin-bottom: 12px; }
.feature-card p { flex: 1; }
.card-link { display: inline-flex; align-items: center; gap: 10px; color: var(--blue); font-weight: 900; margin-top: 18px; }
.card-link::after { content: "→"; transition: transform .25s var(--ease); }
.card-link:hover::after { transform: translateX(6px); }

.product-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.product-card { border-radius: var(--radius); border: 1px solid var(--line); background: #fff; overflow: hidden; box-shadow: 0 18px 48px rgba(6,24,44,.08); transition: .35s var(--ease); position: relative; }
.product-card__media { min-height: 205px; background: var(--navy); position: relative; overflow: hidden; }
.product-card__media img { width: 100%; height: 100%; object-fit: cover; min-height: 205px; transition: transform .6s var(--ease); }
.product-card:hover .product-card__media img { transform: scale(1.06); }
.image-label {
    position: absolute;
    left: 14px;
    bottom: 14px;
    padding: 7px 10px;
    border-radius: 999px;
    background: rgba(255,255,255,.92);
    color: var(--blue);
    font-weight: 900;
    font-size: .68rem;
    letter-spacing: .08em;
    text-transform: uppercase;
}
.product-card__body { padding: 24px; }
.product-card__icon { color: var(--blue); display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 14px; background: rgba(30,99,182,.08); margin-bottom: 16px; }
.product-card ul { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 16px 0 0; }
.product-card li { padding: 7px 10px; border-radius: 999px; background: rgba(30,99,182,.08); color: var(--blue); font-size: .75rem; font-weight: 800; }

.ai-showcase { display: grid; grid-template-columns: .88fr 1.12fr; gap: 48px; align-items: center; }
.phone-demo { position: relative; min-height: 640px; display: grid; place-items: center; }
.phone-frame { width: min(330px, 82vw); height: 620px; border-radius: 46px; background: #07121F; border: 10px solid #0B1F35; box-shadow: var(--shadow-strong); padding: 20px; position: relative; overflow: hidden; }
.phone-screen { height: 100%; border-radius: 34px; background: linear-gradient(180deg, #EAF3F8, #FFF); padding: 18px; overflow: hidden; }
.chat-header { height: 52px; border-radius: 18px; background: var(--navy); color: #fff; display: flex; align-items: center; gap: 10px; padding: 0 12px; font-weight: 900; font-size: .8rem; margin-bottom: 18px; }
.chat-dot { width: 11px; height: 11px; border-radius: 50%; background: #16D46B; box-shadow: 0 0 12px #16D46B; }
.message { max-width: 86%; padding: 12px 14px; border-radius: 18px; margin: 10px 0; font-size: .82rem; line-height: 1.45; opacity: 0; transform: translateY(16px); animation: msgIn .7s var(--ease) forwards; }
.message.bot { background: #fff; color: var(--ink); box-shadow: 0 10px 22px rgba(0,0,0,.07); }
.message.user { margin-left: auto; background: #DCF8C6; color: #163418; }
.message:nth-child(2) { animation-delay: .4s; }
.message:nth-child(3) { animation-delay: 1.1s; }
.message:nth-child(4) { animation-delay: 1.8s; }
.message:nth-child(5) { animation-delay: 2.5s; }
.message:nth-child(6) { animation-delay: 3.2s; }
.message-option { display: block; background: rgba(30,99,182,.08); color: var(--blue); padding: 8px 10px; border-radius: 12px; margin-top: 8px; font-weight: 800; }
.floating-token { position: absolute; border-radius: 24px; padding: 16px 18px; background: rgba(255,255,255,.88); box-shadow: var(--shadow); font-weight: 900; color: var(--blue); animation: floatCard 6s ease-in-out infinite; }
.token-1 { top: 86px; left: 24px; }
.token-2 { bottom: 100px; right: 18px; animation-delay: 1.2s; }
.token-3 { top: 210px; right: 8px; animation-delay: 2s; }

.long-feature { display: grid; grid-template-columns: .96fr 1.04fr; gap: 56px; align-items: center; padding-block: 96px; }
.long-feature.is-reverse { grid-template-columns: 1.04fr .96fr; }
.long-feature.is-reverse .long-feature__media { order: 2; }
.long-feature__media { position: relative; border-radius: 32px; overflow: hidden; min-height: 430px; background: var(--navy); box-shadow: var(--shadow); }
.long-feature__media img { width: 100%; height: 100%; min-height: 430px; object-fit: cover; }
.long-feature__copy h2 { margin: 12px 0 20px; }
.check-list { display: grid; gap: 12px; list-style: none; padding: 0; margin: 26px 0 0; }
.check-list li { position: relative; padding-left: 32px; color: var(--muted); line-height: 1.6; }
.check-list li::before { content: ""; position: absolute; left: 0; top: .45em; width: 18px; height: 18px; border-radius: 50%; background: var(--blue); box-shadow: 0 0 0 6px rgba(30,99,182,.1); }
.check-list li::after { content: ""; position: absolute; left: 6px; top: calc(.45em + 5px); width: 6px; height: 3px; border-left: 2px solid #fff; border-bottom: 2px solid #fff; transform: rotate(-45deg); }

.process-line { display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; position: relative; }
.process-step { position: relative; padding: 28px 22px; border-radius: 24px; border: 1px solid var(--line); background: #fff; box-shadow: 0 16px 44px rgba(6,24,44,.08); }
.process-step span { display: inline-grid; place-items: center; width: 46px; height: 46px; border-radius: 16px; background: linear-gradient(135deg, var(--blue), #0A74E8); color: #fff; font-weight: 900; margin-bottom: 20px; }
.process-step h3 { margin-bottom: 10px; }

.segment-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.segment-card { padding: 26px; min-height: 230px; }
.segment-card span { display: inline-grid; place-items: center; color: var(--blue); width: 54px; height: 54px; background: rgba(30,99,182,.08); border-radius: 16px; margin-bottom: 18px; }

.differential-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.differential-card { padding: 24px; display: flex; gap: 16px; min-height: 170px; }
.differential-card span { flex: 0 0 50px; display: grid; place-items: center; width: 50px; height: 50px; border-radius: 16px; color: var(--blue); background: rgba(30,99,182,.08); }

.values-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.value-card { padding: 24px; }
.value-card strong { color: var(--blue); font-size: 1.1rem; }

.case-grid, .article-grid, .tech-grid, .job-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.case-card, .article-card, .tech-card, .job-card { padding: 28px; }
.case-card__number { color: var(--cyan); font-size: 3.5rem; line-height: 1; font-weight: 900; opacity: .65; }
.article-card small { color: var(--blue); font-weight: 900; text-transform: uppercase; letter-spacing: .1em; }

.page-hero { padding: 150px 0 82px; min-height: 560px; }
.page-hero__grid { position: relative; z-index: 2; display: grid; grid-template-columns: .85fr 1fr; gap: 52px; align-items: center; }
.page-hero__copy h1 { margin: 16px 0 22px; font-size: clamp(2.6rem, 5.5vw, 5.4rem); }
.page-hero__media { position: relative; border-radius: 32px; overflow: hidden; min-height: 360px; box-shadow: 0 34px 80px rgba(0,0,0,.35); border: 1px solid rgba(255,255,255,.16); }
.page-hero__media img { width: 100%; height: 100%; min-height: 360px; object-fit: cover; }

.marquee { overflow: hidden; border-block: 1px solid rgba(255,255,255,.12); background: rgba(255,255,255,.04); color: rgba(255,255,255,.8); }
.marquee__track { display: flex; width: max-content; animation: marquee 28s linear infinite; }
.marquee span { padding: 22px 38px; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; }

.cta-section { position: relative; margin-block: 96px; border-radius: 34px; overflow: hidden; background: linear-gradient(135deg, var(--navy), var(--blue)); color: #fff; padding: 54px; display: flex; align-items: center; justify-content: space-between; gap: 34px; box-shadow: var(--shadow-strong); }
.cta-section h2 { margin: 12px 0; font-size: clamp(2rem, 4vw, 3.6rem); }
.cta-section p { max-width: 650px; }
.cta-section__bg { position: absolute; inset: 0; background: url('../img/patterns/network-grid.svg') center/cover no-repeat; opacity: .36; }
.cta-section > *:not(.cta-section__bg) { position: relative; z-index: 1; }
.cta-section__actions { display: flex; gap: 14px; flex-wrap: wrap; }

.contact-layout { display: grid; grid-template-columns: .85fr 1.15fr; gap: 38px; align-items: start; }
.contact-stack { display: grid; gap: 16px; }
.contact-card { padding: 24px; display: flex; gap: 16px; align-items: flex-start; }
.contact-card span { color: var(--blue); }
.contact-form { border-radius: 32px; padding: 30px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-field { display: grid; gap: 8px; }
.form-field.full { grid-column: 1 / -1; }
.form-field label { font-weight: 900; color: var(--ink); font-size: .88rem; }
.form-field input, .form-field textarea, .form-field select { width: 100%; min-height: 52px; border: 1px solid rgba(13,27,42,.12); border-radius: 14px; padding: 0 14px; outline: 0; background: #F9FBFD; transition: .25s var(--ease); }
.form-field textarea { padding-block: 14px; min-height: 140px; resize: vertical; }
.form-field input:focus, .form-field textarea:focus, .form-field select:focus { border-color: var(--blue); box-shadow: 0 0 0 5px rgba(30,99,182,.1); background: #fff; }
.form-status { margin-top: 16px; padding: 14px 16px; border-radius: 14px; background: rgba(30,99,182,.08); color: var(--blue); font-weight: 800; display: none; }
.form-status.is-visible { display: block; }

.faq-list { display: grid; gap: 14px; max-width: 900px; margin: 0 auto; }
.faq-item { border: 1px solid var(--line); border-radius: 18px; background: #fff; padding: 18px 22px; box-shadow: 0 10px 24px rgba(6,24,44,.06); }
.faq-item summary { cursor: pointer; font-weight: 900; }
.faq-item p { margin: 14px 0 0; }

.site-footer { position: relative; color: #fff; background: #03111F; padding: 74px 0 26px; overflow: hidden; }
.footer-glow { position: absolute; width: 520px; height: 520px; border-radius: 50%; background: rgba(30,99,182,.35); filter: blur(90px); left: -120px; bottom: -160px; }
.footer-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.25fr .8fr .75fr .85fr 1.1fr; gap: 34px; }
.footer-brand p { color: rgba(255,255,255,.72); }
.footer-col { display: flex; flex-direction: column; gap: 11px; }
.footer-col h3 { color: #fff; margin-bottom: 10px; }
.footer-col a, .footer-col p { color: rgba(255,255,255,.68); transition: color .2s var(--ease); margin: 0; }
.footer-col a:hover { color: var(--cyan); }
.footer-contact p { display: flex; gap: 10px; align-items: flex-start; }
.footer-contact .icon { width: 18px; height: 18px; flex: 0 0 18px; color: var(--cyan); margin-top: 4px; }
.social-row { display: flex; gap: 10px; margin-top: 18px; }
.social-row a { width: 38px; height: 38px; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.14); border-radius: 12px; color: #fff; font-size: .72rem; font-weight: 900; }
.footer-bottom { position: relative; z-index: 1; margin-top: 52px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.1); display: flex; justify-content: space-between; gap: 20px; color: rgba(255,255,255,.58); font-size: .86rem; }
.whatsapp-float { position: fixed; right: 22px; bottom: 22px; z-index: 88; width: 58px; height: 58px; display: grid; place-items: center; border-radius: 18px; background: #16C66A; color: #fff; box-shadow: 0 20px 48px rgba(22,198,106,.4); }
.whatsapp-float .icon { width: 30px; height: 30px; }

.reveal-text { overflow: hidden; }
[data-reveal] { opacity: 0; transform: translateY(28px); filter: blur(8px); transition: opacity .8s var(--ease), transform .8s var(--ease), filter .8s var(--ease); transition-delay: var(--delay, 0ms); }
[data-reveal="fade-left"] { transform: translateX(42px); }
[data-reveal="scale-up"] { transform: scale(.94); }
[data-reveal].is-visible { opacity: 1; transform: translate(0) scale(1); filter: blur(0); }
[data-reveal-group] > * { --delay: calc(var(--i, 0) * 80ms); }

@keyframes floatCard { 0%,100% { transform: translateY(0) rotateY(-9deg) rotateX(5deg); } 50% { transform: translateY(-18px) rotateY(-7deg) rotateX(4deg); } }
@keyframes barPulse { 0%,100% { transform: scaleY(.58); } 50% { transform: scaleY(1); } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes msgIn { to { opacity: 1; transform: translateY(0); } }
@keyframes marquee { to { transform: translateX(-50%); } }
@keyframes pulseGlow { 0%,100% { box-shadow: 0 0 0 rgba(53,167,255,0); } 50% { box-shadow: 0 0 45px rgba(53,167,255,.36); } }

@media (max-width: 1120px) {
    .main-nav { display: none; }
    .nav-toggle { display: inline-flex; flex-direction: column; gap: 5px; width: 46px; height: 46px; justify-content: center; align-items: center; border: 1px solid rgba(255,255,255,.18); border-radius: 14px; background: rgba(255,255,255,.08); color: #fff; }
    .nav-toggle span { width: 20px; height: 2px; background: currentColor; border-radius: 99px; transition: .25s var(--ease); }
    .main-nav.is-open { display: flex; position: fixed; inset: 84px 18px auto 18px; flex-direction: column; align-items: stretch; padding: 18px; border-radius: 22px; background: rgba(3,17,31,.96); backdrop-filter: blur(22px); box-shadow: var(--shadow-strong); max-height: calc(100vh - 110px); overflow-y: auto; }
    .main-nav.is-open .nav-item { width: 100%; }
    .main-nav.is-open a { width: 100%; justify-content: space-between; font-size: .92rem; }
    .main-nav.is-open .dropdown-panel { position: static; visibility: visible; opacity: 1; transform: none; background: rgba(255,255,255,.08); box-shadow: none; margin-top: 8px; display: none; }
    .main-nav.is-open .has-dropdown:hover .dropdown-panel { display: block; }
    .main-nav.is-open .dropdown-panel a { color: rgba(255,255,255,.82); }
    .site-hero__grid, .page-hero__grid, .ai-showcase, .contact-layout { grid-template-columns: 1fr; }
    .hero-dashboard { min-height: 480px; }
    .product-grid, .cards-grid, .segment-grid, .differential-grid, .case-grid, .article-grid, .tech-grid, .job-grid, .values-grid { grid-template-columns: repeat(2, 1fr); }
    .process-line { grid-template-columns: repeat(2, 1fr); }
    .solution-rail { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .footer-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 720px) {
    :root { --header-height: 76px; }
    .container { width: min(100% - 28px, var(--container)); }
    .site-header { height: 76px; }
    .brand { width: 154px; padding: 7px 9px; }
    .brand-footer { width: 188px; }
    .btn-header { display: none; }
    .site-hero { padding: 120px 0 54px; min-height: auto; background-position: center; }
    .site-hero__grid { gap: 26px; }
    h1 { font-size: clamp(2.65rem, 16vw, 4.1rem); }
    h2 { font-size: clamp(2rem, 10vw, 3rem); }
    .hero-actions { flex-direction: column; }
    .hero-actions .btn, .cta-section__actions .btn { width: 100%; }
    .hero-dashboard { min-height: 390px; }
    .dashboard-card { width: 100%; transform: none; inset: 20px 0 auto 0; animation: none; }
    .chart-grid { grid-template-columns: 1fr; }
    .mini-panel:nth-child(n+3) { display: none; }
    .metric-strip { grid-template-columns: 1fr; margin-top: 24px; }
    .metric-card { border-right: 0; border-bottom: 1px solid var(--line); }
    .product-grid, .cards-grid, .segment-grid, .differential-grid, .case-grid, .article-grid, .tech-grid, .job-grid, .values-grid, .process-line { grid-template-columns: 1fr; }
    .solution-rail { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
    .section { padding: 72px 0; }
    .long-feature, .long-feature.is-reverse { grid-template-columns: 1fr; padding-block: 64px; }
    .long-feature.is-reverse .long-feature__media { order: initial; }
    .phone-demo { min-height: 560px; }
    .phone-frame { height: 560px; }
    .floating-token { display: none; }
    .cta-section { padding: 34px 22px; flex-direction: column; align-items: flex-start; }
    .form-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; }
    .footer-bottom { flex-direction: column; }
    .page-hero { padding: 120px 0 60px; }
    .page-hero__media, .page-hero__media img { min-height: 280px; }
    .whatsapp-float { right: 16px; bottom: 16px; width: 54px; height: 54px; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
    [data-reveal] {
        opacity: 1;
        transform: none;
        filter: none;
    }
}

/* Ajustes finais: Baron Zap, redes sociais e links limpos */
.ai-showcase {
    position: relative;
    z-index: 2;
    overflow: visible;
}
.section-dark .container {
    position: relative;
    z-index: 2;
}
.section-dark .particle-canvas {
    z-index: 0;
}
.section-dark .check-list li {
    color: rgba(255,255,255,.76);
}
.phone-demo {
    isolation: isolate;
    max-width: 720px;
    margin-inline: auto;
    overflow: visible;
}
.phone-frame {
    z-index: 2;
    overflow: visible;
}
.phone-screen {
    overflow: hidden;
}
.floating-token {
    z-index: 4;
    max-width: 210px;
    white-space: nowrap;
    text-align: center;
    backdrop-filter: blur(16px);
    border: 1px solid rgba(255,255,255,.72);
}
.token-1 {
    top: 112px;
    left: max(12px, calc(50% - 330px));
}
.token-2 {
    right: max(12px, calc(50% - 342px));
    bottom: 118px;
}
.token-3 {
    right: max(12px, calc(50% - 342px));
    top: 250px;
}
.social-row a {
    position: relative;
    overflow: hidden;
    transition: transform .25s var(--ease), border-color .25s var(--ease), background .25s var(--ease), color .25s var(--ease);
}
.social-row a::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--blue), var(--cyan));
    opacity: 0;
    transition: opacity .25s var(--ease);
}
.social-row a:hover {
    transform: translateY(-3px);
    border-color: rgba(53,167,255,.7);
    color: #fff;
}
.social-row a:hover::before {
    opacity: 1;
}
.social-row .icon {
    position: relative;
    z-index: 1;
    width: 18px;
    height: 18px;
}
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

@media (max-width: 1120px) {
    .token-1 { left: 18px; }
    .token-2, .token-3 { right: 18px; }
}

@media (max-width: 720px) {
    .floating-token { display: none; }
    .phone-frame { overflow: hidden; }
}


/* Correção v3: tokens do Baron Zap acima do celular e redes sociais limpas */
.phone-demo .phone-frame {
    position: relative;
    z-index: 20 !important;
}
.phone-demo .floating-token {
    z-index: 80 !important;
    pointer-events: none;
    transform: translateZ(0);
}
.phone-demo .token-1 {
    left: -32px !important;
    top: 128px !important;
}
.phone-demo .token-3 {
    right: -38px !important;
    top: 278px !important;
}
.phone-demo .token-2 {
    right: -34px !important;
    bottom: 138px !important;
}
.social-row {
    align-items: center;
    gap: 12px;
}
.social-row a {
    width: 42px !important;
    height: 42px !important;
    border-radius: 50% !important;
    display: inline-grid !important;
    place-items: center !important;
    color: #ffffff !important;
    font-size: 0 !important;
    line-height: 0 !important;
    text-decoration: none !important;
    background: rgba(255,255,255,.055);
    border: 1px solid rgba(255,255,255,.18) !important;
}
.social-row a span,
.social-row a .sr-only {
    display: none !important;
}
.social-row a .icon {
    width: 20px !important;
    height: 20px !important;
    display: block !important;
    stroke-width: 2.15 !important;
}
.social-row a:hover {
    background: linear-gradient(135deg, var(--blue), var(--cyan));
    border-color: rgba(53,167,255,.9) !important;
    transform: translateY(-4px);
}

@media (max-width: 1120px) {
    .phone-demo .token-1 { left: 0 !important; }
    .phone-demo .token-2,
    .phone-demo .token-3 { right: 0 !important; }
}

@media (max-width: 720px) {
    .phone-demo .floating-token { display: none !important; }
}


/* Correção v4: balões mais afastados do celular, posicionados nas laterais */
.phone-demo .token-1 {
    left: -112px !important;
    top: 150px !important;
}
.phone-demo .token-3 {
    right: -126px !important;
    top: 300px !important;
}
.phone-demo .token-2 {
    right: -116px !important;
    bottom: 118px !important;
}

@media (max-width: 1280px) {
    .phone-demo .token-1 { left: -78px !important; }
    .phone-demo .token-2,
    .phone-demo .token-3 { right: -82px !important; }
}

@media (max-width: 1120px) {
    .phone-demo .token-1 { left: 0 !important; }
    .phone-demo .token-2,
    .phone-demo .token-3 { right: 0 !important; }
}
