:root {
    --ink: #07111f;
    --muted: #5b6575;
    --soft: #f5f7fb;
    --line: rgba(7, 17, 31, .1);
    --card: rgba(255, 255, 255, .82);
    --teal: #086b78;
    --blue: #2563eb;
    --mint: #20c997;
    --amber: #f59e0b;
    --violet: #7c3aed;
    --danger: #e11d48;
    --radius: 18px;
    --shadow: 0 24px 70px rgba(15, 23, 42, .12);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    color: var(--ink);
    background:
        radial-gradient(circle at 12% 8%, rgba(32, 201, 151, .16), transparent 28rem),
        radial-gradient(circle at 84% 10%, rgba(37, 99, 235, .13), transparent 30rem),
        linear-gradient(180deg, #f8fbff 0%, #ffffff 38%, #f7f9fc 100%);
    font-family: Inter, Arial, sans-serif;
    line-height: 1.6;
    letter-spacing: 0;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button, input, textarea, select { font: inherit; }
.shell { width: min(1180px, calc(100% - 40px)); margin: 0 auto; }
.skip-link { position: fixed; left: 16px; top: -80px; z-index: 1000; background: var(--ink); color: #fff; padding: 10px 14px; border-radius: 10px; transition: top .2s; }
.skip-link:focus { top: 16px; }

.site-header {
    position: sticky; top: 0; z-index: 100;
    padding: 14px 0;
    backdrop-filter: blur(18px);
    background: rgba(248, 251, 255, .78);
    border-bottom: 1px solid rgba(255,255,255,.6);
}
.site-header.is-scrolled { box-shadow: 0 14px 40px rgba(15, 23, 42, .08); border-bottom-color: var(--line); }
.nav-shell { display: flex; align-items: center; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 12px; min-width: max-content; }
.brand-logo img {
    width: 54px;
    height: 54px;
    object-fit: contain;
    border-radius: 12px;
    background: #fff;
    padding: 4px;
    box-shadow: 0 12px 30px rgba(8,107,120,.12);
}
.brand-mark {
    display: grid; place-items: center; width: 42px; height: 42px; border-radius: 12px;
    color: #fff; font-weight: 800; background: linear-gradient(135deg, var(--teal), var(--blue));
    box-shadow: 0 12px 30px rgba(8,107,120,.22);
}
.brand strong { display: block; font-size: 17px; letter-spacing: .08em; }
.brand small { display: block; color: var(--muted); font-size: 11px; margin-top: -3px; white-space: nowrap; }
.site-nav { display: flex; align-items: center; justify-content: center; gap: 4px; flex: 1; }
.site-nav a { color: #2f3b4d; font-weight: 650; font-size: 14px; padding: 10px 12px; border-radius: 999px; }
.site-nav a:hover, .site-nav a.active { color: var(--ink); background: rgba(255,255,255,.85); box-shadow: inset 0 0 0 1px var(--line); }
.nav-actions { display: flex; align-items: center; gap: 10px; }
.nav-toggle { display: none; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 12px; background: #fff; }
.nav-toggle span { display: block; width: 18px; height: 2px; margin: 4px auto; background: var(--ink); border-radius: 2px; }

.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    min-height: 44px; padding: 0 18px; border-radius: 12px; border: 1px solid transparent;
    font-size: 14px; font-weight: 750; transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn:focus-visible, .site-nav a:focus-visible, .socials a:focus-visible {
    outline: 3px solid rgba(37, 99, 235, .28);
    outline-offset: 3px;
}
.btn-primary { color: #fff; background: linear-gradient(135deg, var(--ink), var(--teal)); box-shadow: 0 16px 34px rgba(7,17,31,.18); }
.btn-secondary { color: var(--ink); background: #fff; border-color: var(--line); box-shadow: 0 10px 24px rgba(15,23,42,.08); }
.btn-ghost { color: #344154; background: rgba(255,255,255,.58); border-color: var(--line); }
.btn-wide { width: 100%; }

.hero { padding: 94px 0 54px; position: relative; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(420px, .95fr); gap: 56px; align-items: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; padding: 7px 11px; border: 1px solid var(--line); border-radius: 999px; background: rgba(255,255,255,.74); color: var(--teal); font-size: 13px; font-weight: 800; }
.eyebrow:before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--mint); box-shadow: 0 0 0 5px rgba(32,201,151,.15); }
h1, h2, h3, p { margin-top: 0; }
.hero h1 { margin: 18px 0 20px; font-size: clamp(44px, 7vw, 82px); line-height: .96; letter-spacing: 0; }
.hero h1 span, .gradient-text { background: linear-gradient(135deg, var(--teal), var(--blue) 48%, var(--violet)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lead { color: #445066; font-size: clamp(18px, 2vw, 22px); line-height: 1.55; max-width: 740px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 32px 0; }
.proof-strip { display: flex; flex-wrap: wrap; gap: 10px; color: #3d4859; }
.proof-strip span { padding: 8px 11px; border-radius: 999px; background: rgba(255,255,255,.72); border: 1px solid var(--line); font-size: 13px; font-weight: 650; }

.dashboard-card {
    position: relative; border: 1px solid rgba(255,255,255,.74); border-radius: 28px;
    padding: 16px; background: linear-gradient(180deg, rgba(255,255,255,.88), rgba(255,255,255,.62));
    box-shadow: var(--shadow); overflow: hidden;
}
.dashboard-card:before {
    content: "";
    position: absolute;
    inset: -1px;
    border-radius: inherit;
    background: linear-gradient(135deg, rgba(32,201,151,.28), rgba(37,99,235,.18), rgba(124,58,237,.22));
    opacity: .42;
    pointer-events: none;
}
.browser-bar { display: flex; gap: 7px; padding: 9px 10px 15px; }
.browser-bar span { width: 10px; height: 10px; border-radius: 50%; background: #d5dbe7; }
.browser-bar span:nth-child(1) { background: var(--danger); } .browser-bar span:nth-child(2) { background: var(--amber); } .browser-bar span:nth-child(3) { background: var(--mint); }
.product-ui { position: relative; background: #07111f; color: #eaf2ff; border-radius: 20px; padding: 18px; min-height: 430px; overflow: hidden; }
.supervision-card .product-ui { min-height: 540px; padding: 0; background: radial-gradient(circle at 10% 0%, rgba(32,201,151,.2), transparent 30%), #07111f; }
.real-dashboard {
    position: absolute;
    inset: 16px;
    border-radius: 18px;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,.12);
    box-shadow: inset 0 0 0 1px rgba(255,255,255,.05), 0 30px 90px rgba(0,0,0,.28);
}
.real-dashboard img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: saturate(1.08) contrast(1.04);
    transform: scale(1.02);
}
.real-dashboard:after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(7,17,31,.16), rgba(7,17,31,.74)),
        radial-gradient(circle at 78% 18%, rgba(32,201,151,.22), transparent 28%),
        linear-gradient(90deg, rgba(7,17,31,.72), transparent 56%);
}
.screen-glow {
    position: absolute;
    width: 220px;
    height: 220px;
    right: -70px;
    top: -70px;
    background: radial-gradient(circle, rgba(32,201,151,.36), transparent 68%);
    animation: pulseGlow 4s ease-in-out infinite;
}
.floating-top, .floating-metrics, .ops-panel { position: relative; z-index: 2; }
.floating-top { padding: 24px 24px 0; }
.floating-metrics { padding: 24px; margin-top: 112px; }
.metric small { display: block; color: #7f95af; margin-top: 4px; font-size: 11px; }
.ui-pill.live { color: #d9fff4; background: rgba(32,201,151,.16); border-color: rgba(32,201,151,.34); }
.ui-pill.live:before { content: ""; display: inline-block; width: 7px; height: 7px; margin-right: 7px; border-radius: 50%; background: var(--mint); box-shadow: 0 0 0 5px rgba(32,201,151,.14); }
.ops-panel {
    margin: 8px 24px 24px;
    padding: 14px;
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 18px;
    background: rgba(7,17,31,.64);
    backdrop-filter: blur(18px);
    box-shadow: 0 18px 54px rgba(0,0,0,.24);
}
.mini-chart { height: 106px; margin: 0 0 12px; }
.ui-top { display: flex; justify-content: space-between; gap: 12px; align-items: center; margin-bottom: 18px; }
.ui-top strong { font-size: 18px; } .ui-pill { color: #b7c8df; padding: 6px 10px; border: 1px solid rgba(255,255,255,.14); border-radius: 999px; font-size: 12px; }
.metric-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.metric { border: 1px solid rgba(255,255,255,.1); border-radius: 16px; padding: 14px; background: rgba(255,255,255,.06); }
.metric span { display: block; color: #a7b8cf; font-size: 12px; } .metric strong { display: block; color: #fff; font-size: 22px; margin-top: 6px; }
.chart { height: 142px; margin: 18px 0; display: flex; align-items: end; gap: 10px; padding: 16px; border-radius: 18px; background: linear-gradient(180deg, rgba(37,99,235,.18), rgba(32,201,151,.06)); }
.chart span { flex: 1; min-height: 24px; border-radius: 999px 999px 6px 6px; background: linear-gradient(180deg, var(--mint), var(--blue)); animation: grow 1.5s ease both; }
.workflow { display: grid; gap: 10px; }
.workflow div { display: flex; justify-content: space-between; gap: 12px; padding: 12px; border-radius: 14px; background: rgba(255,255,255,.06); color: #d8e5f5; font-size: 13px; }
.workflow small { color: #8fa4bd; }
@keyframes grow { from { height: 12px; opacity: .4; } }
@keyframes pulseGlow { 0%, 100% { opacity: .55; transform: scale(.96); } 50% { opacity: 1; transform: scale(1.08); } }

.section { padding: 84px 0; }
.section.alt { background: rgba(255,255,255,.56); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-head { max-width: 760px; margin-bottom: 34px; }
.section-head.center { text-align: center; margin-left: auto; margin-right: auto; }
.section-kicker { color: var(--teal); font-size: 13px; font-weight: 850; letter-spacing: .04em; }
.section h2 { font-size: clamp(30px, 4vw, 54px); line-height: 1.05; margin: 10px 0 14px; }
.section p { color: var(--muted); }
.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.card, .panel {
    border: 1px solid var(--line); border-radius: var(--radius); background: var(--card);
    box-shadow: 0 12px 34px rgba(15,23,42,.06); backdrop-filter: blur(14px);
}
.card { padding: 24px; }
.card { transition: transform .24s ease, box-shadow .24s ease, border-color .24s ease; }
.card:hover { transform: translateY(-4px); box-shadow: 0 22px 54px rgba(15,23,42,.1); border-color: rgba(37,99,235,.18); }
.card h3 { font-size: 20px; margin-bottom: 8px; }
.card p { margin-bottom: 0; }
.icon {
    width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center;
    margin-bottom: 18px; color: #fff; font-weight: 850; background: linear-gradient(135deg, var(--teal), var(--blue));
}
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 34px; }
.stat { padding: 22px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); }
.stat strong { display: block; font-size: 34px; line-height: 1; } .stat span { display: block; color: var(--muted); margin-top: 8px; font-size: 14px; }
.logo-cloud { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; }
.logo-cloud span { display: grid; place-items: center; min-height: 76px; border-radius: 16px; background: #fff; border: 1px solid var(--line); color: #46546a; font-weight: 800; }
.image-cloud span { padding: 14px; }
.image-cloud img { max-height: 38px; width: auto; object-fit: contain; opacity: .78; filter: grayscale(.2); transition: opacity .25s ease, transform .25s ease, filter .25s ease; }
.image-cloud span:hover img { opacity: 1; transform: translateY(-2px); filter: grayscale(0); }
.split { display: grid; grid-template-columns: .9fr 1.1fr; gap: 48px; align-items: center; }
.full-span { grid-column: 1 / -1; }
.image-panel {
    position: relative;
    overflow: hidden;
    border-radius: 26px;
    border: 1px solid rgba(255,255,255,.74);
    background: linear-gradient(180deg, rgba(255,255,255,.92), rgba(255,255,255,.64));
    box-shadow: var(--shadow);
}
.image-panel img {
    width: 100%;
    aspect-ratio: 1.08 / 1;
    object-fit: cover;
    transform: scale(1.01);
    transition: transform .5s ease, filter .5s ease;
}
.image-panel:hover img { transform: scale(1.05); filter: saturate(1.08); }
.image-panel:after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 44%, rgba(7,17,31,.78));
    pointer-events: none;
}
.image-panel-caption {
    position: absolute;
    left: 18px;
    right: 18px;
    bottom: 18px;
    z-index: 2;
    padding: 16px;
    border-radius: 16px;
    background: rgba(255,255,255,.13);
    border: 1px solid rgba(255,255,255,.22);
    color: #fff;
    backdrop-filter: blur(14px);
}
.image-panel-caption strong, .image-panel-caption span { display: block; }
.image-panel-caption span { color: rgba(255,255,255,.78); font-size: 13px; margin-top: 2px; }
.feature-list { display: grid; gap: 12px; margin: 22px 0; padding: 0; list-style: none; }
.feature-list li { display: flex; gap: 10px; color: #2d394a; }
.feature-list li:before { content: ""; flex: 0 0 18px; width: 18px; height: 18px; margin-top: 3px; border-radius: 50%; background: linear-gradient(135deg, var(--mint), var(--blue)); box-shadow: inset 0 0 0 5px rgba(255,255,255,.5); }
.timeline { display: grid; gap: 14px; }
.timeline .item { display: grid; grid-template-columns: 92px 1fr; gap: 18px; padding: 18px; border-radius: 16px; background: #fff; border: 1px solid var(--line); }
.timeline time { color: var(--teal); font-weight: 850; }
.testimonial { padding: 28px; }
.quote { color: var(--ink); font-size: 18px; margin-bottom: 22px; }
.person { color: var(--muted); font-weight: 700; }
.case-card { overflow: hidden; padding: 0; }
.case-card .case-top { min-height: 150px; padding: 22px; color: #fff; background: linear-gradient(135deg, var(--ink), var(--teal)); }
.case-card .case-body { padding: 22px; }
.visual-suite { padding-top: 20px; }
.visual-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: 18px; }
.visual-card {
    position: relative;
    min-height: 255px;
    overflow: hidden;
    border-radius: 24px;
    border: 1px solid rgba(255,255,255,.72);
    background: #07111f;
    box-shadow: var(--shadow);
}
.visual-card.large { grid-row: span 2; min-height: 528px; }
.visual-card img {
    width: 100%;
    height: 100%;
    min-height: inherit;
    object-fit: cover;
    opacity: .9;
    transform: scale(1.02);
    transition: transform .6s ease, opacity .6s ease;
}
.visual-card:after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(7,17,31,.05), rgba(7,17,31,.72));
}
.visual-card:hover img { transform: scale(1.06); opacity: 1; }
.visual-card div {
    position: absolute;
    z-index: 2;
    left: 18px;
    right: 18px;
    bottom: 18px;
    padding: 15px;
    border-radius: 16px;
    color: #fff;
    background: rgba(255,255,255,.13);
    border: 1px solid rgba(255,255,255,.2);
    backdrop-filter: blur(14px);
}
.visual-card strong, .visual-card span { display: block; }
.visual-card span { color: rgba(255,255,255,.78); font-size: 13px; }
.team-card { overflow: hidden; }
.team-card img {
    width: calc(100% + 48px);
    max-width: none;
    margin: -24px -24px 20px;
    aspect-ratio: 1.2 / .72;
    object-fit: cover;
    filter: saturate(1.02);
}
.product-shot-card .product-ui { min-height: 530px; padding-top: 250px; }
.product-shot { bottom: auto; height: 250px; }
.product-shot:after { background: linear-gradient(180deg, rgba(7,17,31,.04), rgba(7,17,31,.34)); }
.product-shot-card .ui-top,
.product-shot-card .metric-grid,
.product-shot-card .chart,
.product-shot-card .workflow {
    position: relative;
    z-index: 2;
}
.faq { display: grid; gap: 12px; }
.faq details { border: 1px solid var(--line); border-radius: 16px; background: #fff; padding: 18px 20px; }
.faq summary { cursor: pointer; font-weight: 800; }
.faq p { margin: 12px 0 0; }
.cta-band { position: relative; overflow: hidden; padding: 48px; border-radius: 28px; color: #fff; background: linear-gradient(135deg, var(--ink), var(--teal) 56%, var(--blue)); display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 24px; }
.cta-band p { color: rgba(255,255,255,.78); margin-bottom: 0; }
.cta-band .btn-secondary { color: var(--ink); }

.page-hero { padding: 88px 0 44px; }
.page-hero h1 { max-width: 880px; font-size: clamp(40px, 6vw, 70px); line-height: 1; margin: 14px 0 18px; }
.form-grid { display: grid; grid-template-columns: .75fr 1.25fr; gap: 24px; align-items: start; }
.contact-card { padding: 28px; }
.contact-form { display: grid; gap: 14px; }
.form-row { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.contact-form label { display: grid; gap: 7px; color: #263346; font-weight: 750; font-size: 14px; }
.contact-form input, .contact-form textarea, .contact-form select {
    width: 100%; min-height: 48px; border: 1px solid var(--line); border-radius: 12px; background: #fff;
    padding: 12px 14px; color: var(--ink); outline: none;
}
.contact-form textarea { min-height: 140px; resize: vertical; }
.contact-form input:focus, .contact-form textarea:focus, .contact-form select:focus { border-color: var(--blue); box-shadow: 0 0 0 4px rgba(37,99,235,.12); }

.site-footer { padding: 72px 0 28px; background: #07111f; color: #d8e5f5; }
.footer-grid { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 34px; }
.site-footer .brand small, .site-footer p { color: #91a3ba; }
.site-footer .footer-logo img { background: rgba(255,255,255,.96); }
.site-footer h3 { color: #fff; font-size: 14px; letter-spacing: .04em; }
.site-footer a, .site-footer span { display: block; color: #b9c8da; margin: 9px 0; }
.site-footer a:hover { color: #fff; }
.trust-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.trust-row span { margin: 0; padding: 7px 9px; border-radius: 999px; background: rgba(255,255,255,.07); color: #dce8f8; font-size: 12px; }
.socials { display: flex; gap: 8px; margin-top: 14px; }
.socials a { display: grid; place-items: center; width: 36px; height: 36px; margin: 0; border-radius: 10px; background: rgba(255,255,255,.08); }
.footer-bottom { display: flex; justify-content: space-between; gap: 16px; margin-top: 44px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.1); color: #8ca0b9; font-size: 13px; }

[data-animate] { opacity: 0; transform: translateY(18px); transition: opacity .65s ease, transform .65s ease; }
[data-animate].in-view { opacity: 1; transform: translateY(0); }

@media (max-width: 980px) {
    .shell { width: min(100% - 28px, 720px); }
    .nav-shell { justify-content: space-between; }
    .nav-toggle { display: block; }
    .site-nav, .nav-actions {
        display: none; position: absolute; left: 14px; right: 14px; top: 74px;
        background: rgba(255,255,255,.96); border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow);
        padding: 12px; 
    }
    .site-nav.is-open { display: grid; gap: 4px; }
    .nav-actions.is-open { display: grid; top: 344px; }
    .site-nav a { text-align: left; padding: 12px; }
    .hero { padding-top: 54px; }
    .hero-grid, .split, .form-grid { grid-template-columns: 1fr; }
    .dashboard-card { order: -1; }
    .grid-3, .grid-4, .stats, .logo-cloud, .footer-grid { grid-template-columns: repeat(2, 1fr); }
    .cta-band { grid-template-columns: 1fr; padding: 32px; }
    .visual-grid { grid-template-columns: 1fr; }
    .visual-card.large { min-height: 360px; }
}
@media (max-width: 640px) {
    .hero h1 { font-size: 44px; }
    .product-ui { min-height: auto; }
    .metric-grid, .grid-2, .grid-3, .grid-4, .stats, .logo-cloud, .footer-grid, .form-row { grid-template-columns: 1fr; }
    .section { padding: 58px 0; }
    .supervision-card .product-ui { min-height: 560px; }
    .floating-metrics { grid-template-columns: 1fr; margin-top: 86px; }
    .ops-panel { margin: 0 14px 14px; }
    .real-dashboard { inset: 10px; }
    .visual-card, .visual-card.large { min-height: 300px; }
    .timeline .item { grid-template-columns: 1fr; }
    .footer-bottom { display: block; }
}

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