/* NativeSoft AI — business-grade dark presentation. No framework, no tracking. */
:root {
    --bg: #0b1220;
    --bg-2: #0e1626;
    --panel: #121d31;
    --panel-2: #16233b;
    --border: #22304b;
    --border-strong: #31425f;
    --ink: #eef3fb;
    --ink-2: #aebbd0;
    --ink-3: #7e8db0;
    --accent: #5b8cff;
    --accent-2: #7be0c8;
    --accent-ink: #07101f;
    --radius: 14px;
    --radius-lg: 22px;
    --max: 1200px;
    --shadow: 0 30px 70px rgba(0, 0, 0, .5), 0 4px 12px rgba(0, 0, 0, .4);
    --sans: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0; font-family: var(--sans); color: var(--ink); background: var(--bg);
    -webkit-font-smoothing: antialiased; line-height: 1.6; overflow-x: hidden;
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
a { color: var(--accent); text-decoration: none; }
h1, h2, h3 { line-height: 1.12; letter-spacing: -.02em; margin: 0; }
img { max-width: 100%; display: block; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 22px; }
.skip { position: absolute; left: -999px; top: 0; background: var(--accent); color: var(--accent-ink); padding: 10px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 12px; top: 12px; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }

.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; font-size: 1.05rem; color: var(--ink); letter-spacing: -.01em; }
.brand b { color: var(--accent); font-weight: 800; margin-left: 2px; }
.brand-mark { width: 26px; height: 26px; border-radius: 8px; background: conic-gradient(from 210deg, var(--accent), var(--accent-2), var(--accent)); box-shadow: 0 0 0 1px rgba(255,255,255,.08) inset, 0 6px 18px rgba(91,140,255,.35); }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font: inherit; font-weight: 650; font-size: .95rem; padding: 11px 20px; border-radius: 999px; border: 1px solid transparent; cursor: pointer; transition: transform .12s ease, background .2s, border-color .2s, box-shadow .2s; text-decoration: none; }
.btn:active { transform: translateY(1px); }
.btn-primary { background: linear-gradient(180deg, var(--accent), #4878ee); color: #fff; box-shadow: 0 10px 28px rgba(91,140,255,.4); }
.btn-primary:hover { box-shadow: 0 14px 34px rgba(91,140,255,.52); }
.btn-ghost { background: rgba(255,255,255,.04); color: var(--ink); border-color: var(--border-strong); }
.btn-ghost:hover { background: rgba(255,255,255,.08); border-color: var(--accent); }
.btn-lg { padding: 14px 28px; font-size: 1.02rem; }

/* header */
.site-head { position: sticky; top: 0; z-index: 50; background: rgba(11,18,32,.72); backdrop-filter: blur(10px); border-bottom: 1px solid var(--border); }
.head-in { display: flex; align-items: center; gap: 18px; height: 64px; }
.head-nav { margin-left: auto; display: flex; align-items: center; gap: 6px; }
.head-nav a { color: var(--ink-2); font-size: .92rem; font-weight: 550; padding: 8px 12px; border-radius: 8px; }
.head-nav a:hover { color: var(--ink); background: rgba(255,255,255,.05); }
.head-nav .btn { margin-left: 6px; }
@media (max-width: 760px) { .head-nav a:not(.btn) { display: none; } }

/* hero */
.hero { position: relative; padding: clamp(56px, 9vw, 120px) 0 clamp(40px, 6vw, 80px); overflow: hidden; }
.hero-in { position: relative; z-index: 2; max-width: 820px; }
.eyebrow, .section-eyebrow { font-size: .78rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--accent-2); margin: 0 0 16px; }
.hero h1 { font-size: clamp(2.3rem, 1.4rem + 4.2vw, 4.3rem); font-weight: 800; }
.hero h1 span { background: linear-gradient(100deg, var(--accent), var(--accent-2)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lede { color: var(--ink-2); font-size: clamp(1.02rem, .95rem + .4vw, 1.2rem); max-width: 42rem; margin: 22px 0 0; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin: 30px 0 0; }
.hero-facts { list-style: none; display: flex; flex-wrap: wrap; gap: 10px 26px; padding: 0; margin: 30px 0 0; color: var(--ink-2); font-size: .92rem; }
.hero-facts li { display: inline-flex; align-items: center; gap: 9px; }
.hero-facts li::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--accent-2); box-shadow: 0 0 10px var(--accent-2); }
.hero-glow { position: absolute; inset: -20% -10% auto auto; width: 70vw; height: 70vw; max-width: 900px; max-height: 900px; background: radial-gradient(circle at 70% 30%, rgba(91,140,255,.26), transparent 60%), radial-gradient(circle at 85% 50%, rgba(123,224,200,.14), transparent 55%); filter: blur(10px); z-index: 1; pointer-events: none; }

/* sections */
section { position: relative; }
.stage-section, .engine, .adapt, .cta { padding: clamp(56px, 8vw, 104px) 0; }
.engine, .cta { background: linear-gradient(180deg, var(--bg-2), var(--bg)); border-top: 1px solid var(--border); }
.adapt { background: var(--bg-2); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
h2 { font-size: clamp(1.7rem, 1.2rem + 1.8vw, 2.5rem); font-weight: 780; }
.section-lede { color: var(--ink-2); max-width: 44rem; margin: 14px 0 0; font-size: 1.05rem; }

/* 3D product stage */
.stage { margin-top: 44px; }
.stage-track {
    position: relative; height: clamp(440px, 54vw, 560px);
    transform-style: preserve-3d; perspective: 1600px; outline: none;
}
.pcard {
    position: absolute; top: 0; left: 50%; width: min(560px, 82vw);
    margin-left: calc(min(560px, 82vw) / -2);
    background: linear-gradient(180deg, var(--panel-2), var(--panel));
    border: 1px solid var(--border-strong); border-radius: var(--radius-lg);
    overflow: hidden; box-shadow: var(--shadow);
    transform-style: preserve-3d; will-change: transform, opacity;
    transition: transform .6s cubic-bezier(.2,.7,.2,1), opacity .5s ease;
}
.js .pcard { cursor: pointer; }
.pcard.is-center { border-color: color-mix(in srgb, var(--accent) 55%, var(--border-strong)); }
.js .pcard.is-center { cursor: default; }
.pcard-art { aspect-ratio: 1024 / 500; background: #0a1322; border-bottom: 1px solid var(--border); position: relative; }
.pcard-art::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(10,16,28,.55)); }
.pcard-art img { width: 100%; height: 100%; object-fit: cover; }
.pcard-body { padding: 22px 24px 24px; }
.pcard-top { display: flex; align-items: center; gap: 14px; margin-bottom: 12px; }
.pcard-icon { width: 54px; height: 54px; border-radius: 14px; border: 1px solid var(--border-strong); background: #0a1322; flex: none; }
.pcard-top h3 { font-size: 1.3rem; font-weight: 750; }
.pcard-tag { font-size: .74rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--accent-2); }
.pcard-body p { color: var(--ink-2); margin: 0 0 16px; font-size: .98rem; line-height: 1.6; }
.pcard-link { display: inline-flex; align-items: center; gap: 8px; font-weight: 650; color: var(--accent); }
.pcard-link span { transition: transform .15s ease; }
.pcard-link:hover span { transform: translateX(4px); }
/* Static fallback before JS lays the cards out in 3D. */
.no-js .pcard { position: static; width: auto; margin: 0 auto 22px; max-width: 560px; }
.no-js .stage-track { height: auto; }

.stage-controls { display: flex; align-items: center; justify-content: center; gap: 16px; margin-top: 30px; }
.stage-btn { width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--border-strong); background: var(--panel); color: var(--ink); font-size: 1.5rem; line-height: 1; cursor: pointer; transition: background .2s, border-color .2s; }
.stage-btn:hover { background: var(--panel-2); border-color: var(--accent); }
.stage-dots { display: flex; gap: 10px; }
.stage-dots button { width: 10px; height: 10px; padding: 0; border: 0; border-radius: 50%; background: var(--border-strong); cursor: pointer; transition: width .25s, background .25s; }
.stage-dots button[aria-selected="true"] { width: 26px; border-radius: 6px; background: linear-gradient(90deg, var(--accent), var(--accent-2)); }

/* engine grid */
.grid4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 40px; }
.feat { background: var(--panel); border: 1px solid var(--border); border-radius: var(--radius); padding: 22px; }
.feat h3 { font-size: 1.05rem; margin-bottom: 8px; }
.feat p { color: var(--ink-2); margin: 0; font-size: .92rem; }
@media (max-width: 960px) { .grid4 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .grid4 { grid-template-columns: 1fr; } }

/* adapt grid */
.adapt-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 40px; }
.adapt-grid div { background: var(--panel); border: 1px solid var(--border); border-radius: var(--radius); padding: 20px 22px; }
.adapt-grid h3 { font-size: 1.02rem; margin-bottom: 7px; }
.adapt-grid p { color: var(--ink-2); margin: 0; font-size: .92rem; }
.adapt-wide { grid-column: 1 / -1; border-color: var(--border-strong) !important; background: linear-gradient(180deg, var(--panel-2), var(--panel)) !important; }
@media (max-width: 900px) { .adapt-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .adapt-grid { grid-template-columns: 1fr; } }

/* cta */
.cta-in { text-align: center; max-width: 680px; }
.cta-in p { color: var(--ink-2); margin: 14px auto 26px; }
.cta-mail { font-size: .92rem; color: var(--ink-3); margin-top: 18px !important; }

/* footer */
.site-foot { border-top: 1px solid var(--border); background: var(--bg-2); padding: 48px 0 30px; }
.foot-in { display: flex; flex-wrap: wrap; gap: 36px; justify-content: space-between; }
.foot-brand { max-width: 320px; }
.foot-brand p { color: var(--ink-3); font-size: .9rem; margin: 14px 0 0; }
.foot-cols { display: flex; gap: 56px; }
.foot-cols h2 { font-size: .78rem; text-transform: uppercase; letter-spacing: .1em; color: var(--ink-3); margin: 0 0 12px; }
.foot-cols ul { list-style: none; margin: 0; padding: 0; }
.foot-cols li { margin: 7px 0; }
.foot-cols a { color: var(--ink-2); font-size: .92rem; }
.foot-cols a:hover { color: var(--ink); }
.foot-base { margin-top: 34px; padding-top: 18px; border-top: 1px solid var(--border); color: var(--ink-3); font-size: .82rem; }

/* NativeHelpy section + product notes */
.pcard-note { font-size: .82rem; color: var(--ink-3); margin: -6px 0 14px !important; padding-top: 12px; border-top: 1px dashed var(--border); }
.helpy { padding: clamp(56px, 8vw, 104px) 0; background: linear-gradient(180deg, var(--bg), var(--bg-2)); border-top: 1px solid var(--border); }
.stat-strip { list-style: none; display: flex; flex-wrap: wrap; gap: 14px; padding: 0; margin: 32px 0 0; }
.stat-strip li { flex: 1 1 150px; background: var(--panel); border: 1px solid var(--border); border-radius: var(--radius); padding: 18px 20px; display: flex; flex-direction: column; gap: 2px; }
.stat-strip b { font-size: 1.6rem; font-weight: 800; background: linear-gradient(90deg, var(--accent), var(--accent-2)); -webkit-background-clip: text; background-clip: text; color: transparent; letter-spacing: -.02em; }
.stat-strip span { font-size: .85rem; color: var(--ink-3); }
.helpy-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; margin-top: 24px; }
.helpy-grid > div { background: var(--panel); border: 1px solid var(--border); border-radius: var(--radius); padding: 22px; }
.helpy-grid h3 { font-size: 1.08rem; margin-bottom: 8px; }
.helpy-grid p { color: var(--ink-2); margin: 0; font-size: .94rem; }
.helpy-next { border-color: var(--border-strong) !important; background: linear-gradient(180deg, rgba(91,140,255,.12), var(--panel)) !important; position: relative; }
.helpy-next::before { content: "On the roadmap"; position: absolute; top: 14px; right: 16px; font-size: .68rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--accent-2); }
@media (max-width: 760px) { .helpy-grid { grid-template-columns: 1fr; } }

img.brand-mark { object-fit: cover; display: block; background: none; box-shadow: 0 6px 18px rgba(91,140,255,.35); }
