/* Sagan Technologies Group: home page. One file, no framework. */
:root {
  --space: #060a19;
  --space-2: #0b1130;
  --space-3: #121a45;
  --ink: #0d1330;
  --text: #20284a;
  --muted: #5b6587;
  --line: #e3e7f3;
  --tint: #f5f6fc;
  --white: #fff;
  --violet: #7c6cf2;
  --blue: #4f8cff;
  --cyan: #22d3ee;
  --pink: #f472b6;
  --amber: #f5a524;
  --green: #22c55e;
  --teal: #14b8a6;
  --indigo: #6366f1;
  --grad: linear-gradient(100deg, #a78bfa 0%, #6f8bff 45%, #22d3ee 100%);
  --grad-ink: linear-gradient(100deg, #6d5ae6 0%, #3f6bff 55%, #0ea5c6 100%);
  --radius: 18px;
  --shadow: 0 1px 2px rgba(13, 19, 48, .05), 0 12px 32px -12px rgba(13, 19, 48, .18);
  --font: "Be Vietnam Pro", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font); font-size: 16px; line-height: 1.6; color: var(--text); background: var(--white); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { color: var(--ink); line-height: 1.15; margin: 0; letter-spacing: -.02em; }
p { margin: 0; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.ico { width: 20px; height: 20px; flex: none; }
.ico--sm { width: 16px; height: 16px; }
.wrap { width: min(1200px, 100% - 48px); margin-inline: auto; }
.grad { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.grad--ink { background: var(--grad-ink); -webkit-background-clip: text; background-clip: text; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; border-radius: 6px; }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 44px; padding: 0 20px; border-radius: 12px; font-weight: 600; font-size: 15px; white-space: nowrap; transition: transform .18s ease, box-shadow .18s ease, background .18s ease, border-color .18s ease; }
.btn--sm { height: 38px; padding: 0 16px; font-size: 14px; border-radius: 10px; }
.btn--lg { height: 52px; padding: 0 26px; font-size: 16px; border-radius: 14px; }
.btn--primary { color: #fff; background: linear-gradient(120deg, #7c6cf2, #4f6bff 60%, #2f8cff); box-shadow: 0 8px 24px -8px rgba(92, 96, 255, .7), inset 0 1px 0 rgba(255, 255, 255, .25); }
.btn--primary:hover { transform: translateY(-1px); box-shadow: 0 14px 30px -10px rgba(92, 96, 255, .85), inset 0 1px 0 rgba(255, 255, 255, .25); }
.btn--ghost { color: #dfe4ff; border: 1px solid rgba(255, 255, 255, .18); }
.btn--ghost:hover { border-color: rgba(255, 255, 255, .4); background: rgba(255, 255, 255, .06); }
.btn--glass { color: #fff; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .18); backdrop-filter: blur(10px); }
.btn--glass:hover { background: rgba(255, 255, 255, .14); }

/* ---------- nav ---------- */
.nav { position: fixed; inset: 0 0 auto; z-index: 50; transition: background .25s ease, box-shadow .25s ease, backdrop-filter .25s ease; }
.nav.is-scrolled { background: rgba(6, 10, 25, .94); backdrop-filter: blur(14px) saturate(140%); box-shadow: 0 1px 0 rgba(255, 255, 255, .06); }
.nav__in { display: flex; align-items: center; gap: 28px; height: 72px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: #fff; }
.brand__name { display: flex; flex-direction: column; font-weight: 800; font-size: 18px; letter-spacing: .14em; line-height: 1; }
.brand__name small { font-weight: 500; font-size: 10px; letter-spacing: .08em; opacity: .7; margin-top: 4px; }
.nav__links { display: flex; gap: 26px; margin-left: 12px; }
.nav__links a { color: #c3c9e8; font-size: 14.5px; font-weight: 500; transition: color .15s; }
.nav__links a:hover { color: #fff; }
.nav__cta { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.lang { display: inline-flex; align-items: center; gap: 6px; height: 38px; padding: 0 10px; border-radius: 10px; color: #c3c9e8; font-size: 13.5px; font-weight: 700; letter-spacing: .04em; }
.lang .ico { width: 16px; height: 16px; }
.lang:hover { color: #fff; background: rgba(255, 255, 255, .06); }
.nav__toggle { display: none; width: 42px; height: 42px; border-radius: 10px; border: 1px solid rgba(255, 255, 255, .18); background: transparent; color: #fff; cursor: pointer; align-items: center; justify-content: center; }
.nav__drawer { display: grid; gap: 4px; padding: 12px 24px 20px; background: rgba(6, 10, 25, .96); border-top: 1px solid rgba(255, 255, 255, .06); }
.nav__drawer[hidden] { display: none; }
.nav__drawer a:not(.btn) { color: #dfe4ff; padding: 12px 4px; border-bottom: 1px solid rgba(255, 255, 255, .06); font-weight: 500; }
.nav__drawer .btn { margin-top: 12px; }

/* ---------- sky (stars + nebulae) ---------- */
.sky { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.nebula { position: absolute; border-radius: 50%; filter: blur(70px); opacity: .55; }
.nebula--a { width: 640px; height: 640px; left: -160px; top: -200px; background: radial-gradient(circle, #5b3df5 0%, transparent 65%); animation: drift 18s ease-in-out infinite alternate; }
.nebula--b { width: 720px; height: 560px; right: -220px; top: 60px; background: radial-gradient(circle, #1f6bff 0%, transparent 62%); animation: drift 22s ease-in-out infinite alternate-reverse; }
.nebula--c { width: 520px; height: 520px; left: 40%; bottom: -260px; background: radial-gradient(circle, #c026d3 0%, transparent 62%); opacity: .35; animation: drift 26s ease-in-out infinite alternate; }
.stars { position: absolute; inset: -50%; background-image:
  radial-gradient(1.2px 1.2px at 20px 30px, #fff 50%, transparent 52%),
  radial-gradient(1px 1px at 120px 90px, #cfd8ff 50%, transparent 52%),
  radial-gradient(1.5px 1.5px at 210px 160px, #fff 50%, transparent 52%),
  radial-gradient(1px 1px at 60px 210px, #b9c6ff 50%, transparent 52%),
  radial-gradient(1.2px 1.2px at 280px 40px, #fff 50%, transparent 52%),
  radial-gradient(.9px .9px at 170px 250px, #e8ecff 50%, transparent 52%);
  background-size: 300px 280px; opacity: .55; animation: twinkle 7s ease-in-out infinite alternate; }
.stars--far { background-size: 180px 170px; opacity: .3; animation-duration: 11s; }
@keyframes drift { to { transform: translate3d(40px, 30px, 0) scale(1.08); } }
@keyframes twinkle { from { opacity: .25; } to { opacity: .6; } }

/* ---------- hero ---------- */
.hero { position: relative; padding: 140px 0 0; background: radial-gradient(1200px 600px at 70% 0%, #141c52 0%, transparent 60%), linear-gradient(180deg, var(--space) 0%, #0a1030 70%, #0e1538 100%); color: #c9cfee; overflow: hidden; }
.hero__in { position: relative; display: grid; grid-template-columns: 1.02fr 1fr; gap: 40px; align-items: center; }
.pill { display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px 7px 10px; border-radius: 999px; font-size: 13.5px; font-weight: 500; color: #dcdfff; background: rgba(124, 108, 242, .14); border: 1px solid rgba(167, 139, 250, .35); }
.pill .ico { width: 16px; height: 16px; color: #b8a9ff; }
.pill:hover { background: rgba(124, 108, 242, .22); }
.hero h1 { margin-top: 22px; color: #fff; font-size: clamp(38px, 4.8vw, 60px); font-weight: 800; letter-spacing: -.035em; line-height: 1.06; }
.lead { margin-top: 22px; font-size: 18px; line-height: 1.7; color: #b6bde0; max-width: 580px; }
.lead strong { color: #fff; font-weight: 600; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }
.hero__actions--center { justify-content: center; }
.ticks { list-style: none; padding: 0; margin: 28px 0 0; display: flex; flex-wrap: wrap; gap: 10px 22px; font-size: 14px; color: #aab2d8; }
.ticks li { display: inline-flex; align-items: center; gap: 7px; }
.ticks .ico { width: 16px; height: 16px; color: var(--cyan); }

.hero__art { position: relative; }
.orbit { width: 100%; max-width: 560px; margin-left: auto; overflow: visible; }
.orbit__ring { fill: none; stroke: url(#o-ring); stroke-width: 1.4; opacity: .55; }
.orbit__ring--soft { opacity: .3; }
.orbit__ring--dash { stroke-dasharray: 3 7; opacity: .45; }
.orbit__dot { fill: #c4b8ff; filter: drop-shadow(0 0 6px #8b7cff); }
.orbit__dot--cyan { fill: #7ef0ff; filter: drop-shadow(0 0 6px #22d3ee); }
.orbit__dot--pink { fill: #ffb3dd; filter: drop-shadow(0 0 6px #f472b6); }
.core__pulse { fill: none; stroke: rgba(167, 139, 250, .45); stroke-width: 1.5; transform-box: fill-box; transform-origin: center; animation: pulse 3.2s ease-out infinite; }
.core__ring { fill: rgba(124, 108, 242, .12); stroke: rgba(196, 184, 255, .5); stroke-width: 1.2; }
.core__disc { fill: #120d33; stroke: rgba(255, 255, 255, .12); }
@keyframes pulse { from { transform: scale(.8); opacity: 1; } to { transform: scale(1.35); opacity: 0; } }
.chip rect { fill: rgba(16, 22, 58, .78); stroke: rgba(255, 255, 255, .14); }
.chip text { fill: #eef0ff; font-size: 13px; font-weight: 600; }
.chip .chip__sub { fill: #98a2cf; font-size: 11px; font-weight: 500; }
.chip use { color: #fff; }
.chip__badge--red { fill: #e5484d; } .chip__badge--green { fill: #16a34a; } .chip__badge--blue { fill: #3b6cf6; }
.chip__badge--teal { fill: #0f9f95; } .chip__badge--amber { fill: #d9860b; } .chip__badge--violet { fill: #7c5cf2; }
.chip { animation: bob 6s ease-in-out infinite; }
.chip--2 { animation-delay: -1s; } .chip--3 { animation-delay: -2s; } .chip--4 { animation-delay: -3s; } .chip--5 { animation-delay: -4s; } .chip--6 { animation-delay: -5s; }
@keyframes bob { 50% { translate: 0 -6px; } }

.answer-card { position: absolute; right: 0; bottom: 3%; width: min(330px, 70%); padding: 14px 16px; border-radius: 16px; background: rgba(255, 255, 255, .96); color: #1e2647; box-shadow: 0 24px 50px -18px rgba(0, 0, 0, .6); font-size: 14px; line-height: 1.55; animation: rise 1s .4s both; }
.answer-card__head { display: flex; align-items: center; gap: 7px; font-size: 13px; margin-bottom: 6px; }
.answer-card__head img { border-radius: 6px; }
.answer-card__head span { color: #7a83a6; }
.answer-card__refs { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.ref { display: inline-flex; align-items: center; gap: 4px; padding: 2px 8px; border-radius: 999px; font-size: 11.5px; font-weight: 500; color: #4b3fc4; background: #efecff; }
.ref .ico { width: 12px; height: 12px; }
@keyframes rise { from { opacity: 0; transform: translateY(16px); } }

.showcase { position: relative; margin-top: 64px; padding-bottom: 0; }
.browser { margin: 0; border-radius: 16px; overflow: hidden; background: #fff; border: 1px solid rgba(13, 19, 48, .1); box-shadow: var(--shadow); }
.browser__bar { display: flex; align-items: center; gap: 7px; height: 38px; padding: 0 14px; background: #f2f3f8; border-bottom: 1px solid #e5e7f0; }
.browser__bar i { width: 11px; height: 11px; border-radius: 50%; background: #d9dce7; }
.browser__bar i:nth-child(1) { background: #ff6b6b; } .browser__bar i:nth-child(2) { background: #ffc145; } .browser__bar i:nth-child(3) { background: #3ccf7a; }
.browser__bar span { display: inline-flex; align-items: center; gap: 6px; margin: 0 auto; padding: 3px 14px; border-radius: 8px; background: #fff; font-size: 12.5px; color: #6a7396; border: 1px solid #e5e7f0; transform: translateX(-24px); }
.browser__bar span .ico { width: 12px; height: 12px; color: #22a06b; }
.browser--hero { position: relative; z-index: 2; border-radius: 20px 20px 0 0; border-bottom: 0; box-shadow: 0 -10px 80px -20px rgba(111, 139, 255, .55), 0 0 0 1px rgba(255, 255, 255, .08); }
.showcase::before { content: ""; position: absolute; inset: 40px 6% -40px; background: var(--grad); filter: blur(80px); opacity: .35; z-index: 0; }
.float { position: absolute; z-index: 3; display: flex; align-items: center; gap: 12px; padding: 12px 16px; border-radius: 14px; background: rgba(255, 255, 255, .97); box-shadow: 0 20px 40px -16px rgba(13, 19, 48, .45); font-size: 13px; line-height: 1.35; color: var(--muted); }
.float b { display: block; color: var(--ink); font-size: 14px; }
.float > .ico { width: 36px; height: 36px; padding: 8px; border-radius: 10px; color: #fff; background: linear-gradient(135deg, #7c6cf2, #4f8cff); }
.float--a { left: -18px; top: 38%; animation: bob 7s ease-in-out infinite; }
.float--b { right: -18px; top: 18%; animation: bob 8s -2s ease-in-out infinite; }
.float--b > .ico { background: linear-gradient(135deg, #0ea5c6, #22d3ee); }

/* ---------- stats ---------- */
.stats { position: relative; padding: 56px 0 40px; background: #fff; border-bottom: 1px solid var(--line); }
.stats__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.stat { padding: 6px 4px 6px 22px; border-left: 2px solid transparent; border-image: linear-gradient(180deg, #7c6cf2, #22d3ee) 1; }
.stat b { display: block; font-size: clamp(32px, 3.4vw, 44px); font-weight: 800; letter-spacing: -.03em; color: var(--ink); line-height: 1.1; }
.stat span { display: block; margin-top: 8px; font-size: 14px; color: var(--muted); line-height: 1.5; }
.stats__note { margin-top: 26px; font-size: 12.5px; color: #8a92b2; }

/* ---------- sections ---------- */
.section { position: relative; padding: 112px 0; }
.section--tint { background: var(--tint); }
.section--dark { background: linear-gradient(180deg, #080d22, #0c1235); color: #b6bde0; overflow: hidden; }
.section--dark h2, .section--dark h3 { color: #fff; }
.section__head { max-width: 760px; margin: 0 auto 56px; text-align: center; }
.section__head h2 { font-size: clamp(30px, 3.6vw, 46px); font-weight: 800; letter-spacing: -.03em; margin-top: 16px; }
.section__head p { margin-top: 18px; font-size: 17.5px; color: var(--muted); }
.section__head--light p { color: #aab2d8; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px 6px 8px; border-radius: 999px; font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: #5b4ae0; background: #efecff; }
.eyebrow img { border-radius: 5px; }
.eyebrow--plain { padding: 6px 14px; }
.eyebrow .ico { width: 16px; height: 16px; }
.eyebrow--dark { color: #cfc6ff; background: rgba(124, 108, 242, .18); border: 1px solid rgba(167, 139, 250, .3); padding: 6px 14px; }

/* ---------- tabs ---------- */
.tabs__list { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px; padding: 6px; margin: 0 auto 40px; width: fit-content; max-width: 100%; border-radius: 16px; background: var(--tint); border: 1px solid var(--line); }
.tab { display: inline-flex; align-items: center; gap: 8px; height: 44px; padding: 0 18px; border: 0; border-radius: 12px; background: transparent; font: inherit; font-size: 15px; font-weight: 600; color: var(--muted); cursor: pointer; transition: background .2s, color .2s, box-shadow .2s; }
.tab:hover { color: var(--ink); }
.tab.is-active { background: #fff; color: #4b3fd8; box-shadow: 0 1px 2px rgba(13, 19, 48, .06), 0 6px 16px -8px rgba(13, 19, 48, .2); }
.tabs__body { display: grid; grid-template-columns: .82fr 1.5fr; gap: 48px; align-items: center; }
.panel { display: none; }
.panel.is-active { display: block; animation: fade .45s ease both; }
.panel h3 { font-size: 26px; font-weight: 700; letter-spacing: -.02em; }
.panel p { margin-top: 14px; color: var(--muted); font-size: 16.5px; }
.checks { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 12px; }
.checks li { position: relative; padding-left: 32px; font-size: 15.5px; color: var(--text); }
.checks li::before { content: ""; position: absolute; left: 0; top: 2px; width: 22px; height: 22px; border-radius: 7px; background: #ecebff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12.5l4 4L18 8' fill='none' stroke='%235b4ae0' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/16px no-repeat; }
.tabs__media { position: relative; }
.tabs__media::before { content: ""; position: absolute; inset: 8% -4% -6% 8%; border-radius: 30px; background: linear-gradient(135deg, #c7bdff, #a5d8ff 60%, #b6f3ff); opacity: .55; filter: blur(2px); transform: rotate(2deg); }
.tabs__media .browser { position: relative; display: grid; }
.tabs__media .browser__bar { grid-row: 1; }
.shot { grid-row: 2; grid-column: 1; opacity: 0; transition: opacity .45s ease; }
.shot.is-active { opacity: 1; }
@keyframes fade { from { opacity: 0; transform: translateY(8px); } }

/* ---------- cards ---------- */
.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.card { padding: 26px 24px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); transition: transform .25s ease, box-shadow .25s ease, border-color .25s; }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: #d6d9f0; }
.card h3 { margin-top: 18px; font-size: 17.5px; font-weight: 700; }
.card p { margin-top: 8px; font-size: 14.5px; color: var(--muted); line-height: 1.6; }
.card__icon { display: inline-flex; align-items: center; justify-content: center; width: 46px; height: 46px; border-radius: 13px; color: #fff; box-shadow: 0 8px 18px -10px currentColor; }
.card__icon .ico { width: 23px; height: 23px; color: #fff; }
.card__icon--violet { background: linear-gradient(135deg, #8b7cff, #6247e8); color: #6247e8; }
.card__icon--blue { background: linear-gradient(135deg, #6aa1ff, #2f63f0); color: #2f63f0; }
.card__icon--cyan { background: linear-gradient(135deg, #4fe0f5, #0d9fbf); color: #0d9fbf; }
.card__icon--teal { background: linear-gradient(135deg, #3ddbc4, #0f9483); color: #0f9483; }
.card__icon--pink { background: linear-gradient(135deg, #ff8fcb, #db2f86); color: #db2f86; }
.card__icon--amber { background: linear-gradient(135deg, #ffc35a, #e08a00); color: #e08a00; }
.card__icon--indigo { background: linear-gradient(135deg, #8f93ff, #4b4fd6); color: #4b4fd6; }
.card__icon--green { background: linear-gradient(135deg, #5be08b, #16a34a); color: #16a34a; }

/* ---------- flow diagram ---------- */
.flow { position: relative; padding: 28px; border-radius: 26px; background: rgba(255, 255, 255, .03); border: 1px solid rgba(255, 255, 255, .08); }
.flow svg { width: 100%; height: auto; overflow: visible; }
.flow text { fill: #eef0ff; font-size: 15px; font-weight: 600; }
.flow .flow__sub { fill: #8e98c6; font-size: 12.5px; font-weight: 500; }
.flow__src rect, .flow__out rect { fill: rgba(255, 255, 255, .05); stroke: rgba(255, 255, 255, .14); }
.flow__src use { color: #8fb3ff; } .flow__out use { color: #6fe7f7; }
.flow__lines path { fill: none; stroke-width: 2; stroke-dasharray: 6 8; animation: dash 1.6s linear infinite; opacity: .85; }
@keyframes dash { to { stroke-dashoffset: -28; } }
.flow__core-edge { fill: none; stroke: url(#f-line); stroke-width: 1.5; }
.flow__title { font-size: 22px !important; font-weight: 800 !important; }
.flow__step rect { fill: rgba(255, 255, 255, .06); stroke: rgba(196, 184, 255, .22); }
.flow__num { fill: #a596ff !important; font-size: 13px !important; font-weight: 800 !important; }
.modes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 28px; }
.mode { padding: 20px 22px; border-radius: 16px; background: rgba(255, 255, 255, .04); border: 1px solid rgba(255, 255, 255, .08); }
.mode p { margin-top: 12px; font-size: 14.5px; color: #aab2d8; }
.mode__tag { display: inline-flex; align-items: center; gap: 6px; padding: 5px 12px; border-radius: 999px; font-size: 13px; font-weight: 700; }
.mode__tag .ico { width: 15px; height: 15px; }
.mode__tag--fast { color: #7ef0ff; background: rgba(34, 211, 238, .12); }
.mode__tag--auto { color: #c9bfff; background: rgba(124, 108, 242, .18); }
.mode__tag--deep { color: #ffb8de; background: rgba(244, 114, 182, .14); }

/* ---------- split ---------- */
.split { display: grid; grid-template-columns: 1fr 1.05fr; gap: 64px; align-items: center; }
.split--rev .split__art { order: 2; }
.split__text h2 { margin-top: 18px; font-size: clamp(30px, 3.6vw, 46px); font-weight: 800; letter-spacing: -.03em; }
.split__text > p { margin-top: 18px; font-size: 17.5px; color: var(--muted); }
.section--dark .split__text > p { color: #aab2d8; }
.feature-list { list-style: none; padding: 0; margin: 32px 0 0; display: grid; gap: 22px; }
.feature-list li { display: flex; gap: 16px; }
.feature-list b { color: var(--ink); font-size: 16.5px; }
.feature-list p { margin-top: 4px; color: var(--muted); font-size: 15px; }
.fl-icon { display: inline-flex; align-items: center; justify-content: center; flex: none; width: 44px; height: 44px; border-radius: 12px; background: #efecff; color: #5b4ae0; }
.stack { width: 100%; max-width: 560px; margin: 0 auto; overflow: visible; }
.slab__side { fill: rgba(40, 46, 110, .28); }
.slab__dots rect { fill: rgba(255, 255, 255, .7); }
.slab__grid path { stroke: rgba(255, 255, 255, .55); stroke-width: 1.4; fill: none; }
.slab__cpu rect { fill: rgba(255, 255, 255, .25); stroke: rgba(255, 255, 255, .85); stroke-width: 1.6; }
.slab__cpu path { stroke: rgba(255, 255, 255, .85); stroke-width: 1.6; }
.slab { animation: hover 6s ease-in-out infinite; }
.slab--2 { animation-delay: -1.5s; } .slab--3 { animation-delay: -3s; } .slab--4 { animation-delay: -4.5s; }
@keyframes hover { 50% { translate: 0 -5px; } }
.beam path { stroke: url(#s-top3); stroke: #8b7cff; stroke-width: 1.5; stroke-dasharray: 4 6; opacity: .35; }
.beam circle { fill: #7ef0ff; filter: drop-shadow(0 0 6px #22d3ee); }
.stack__labels text { fill: var(--ink); font-size: 15px; font-weight: 700; }
.stack__labels .stack__sub { fill: var(--muted); font-size: 12.5px; font-weight: 500; }
.stack__labels path { stroke: #b9bfdc; stroke-width: 1.2; stroke-dasharray: 3 4; }

/* ---------- use cases ---------- */
.uses { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.use { display: flex; flex-direction: column; gap: 14px; padding: 26px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); transition: transform .25s, box-shadow .25s; }
.use:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.use__top { display: flex; align-items: center; gap: 14px; }
.use h3 { font-size: 18px; font-weight: 700; }
.use > p:not(.bubble) { color: var(--muted); font-size: 14.5px; }
.bubble { position: relative; align-self: flex-start; max-width: 95%; padding: 10px 14px; border-radius: 14px 14px 14px 4px; background: linear-gradient(135deg, #f1efff, #e9f3ff); color: #2c2a6b; font-size: 14.5px; font-weight: 500; }
.use--demo { background: linear-gradient(160deg, #fff 55%, #f2f0ff); border-color: #d9d3ff; }
.link { display: inline-flex; align-items: center; gap: 6px; margin-top: auto; color: #4b3fd8; font-weight: 600; font-size: 14.5px; }
.link .ico { width: 16px; height: 16px; }
.link:hover { text-decoration: underline; }

/* ---------- security ---------- */
.sec-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; margin-top: 32px; }
.sec { display: grid; grid-template-columns: auto 1fr; column-gap: 12px; align-items: start; padding: 16px; border-radius: 14px; background: rgba(255, 255, 255, .04); border: 1px solid rgba(255, 255, 255, .09); }
.sec .ico { grid-row: span 2; width: 22px; height: 22px; color: #9fb4ff; margin-top: 2px; }
.sec b { color: #fff; font-size: 15px; font-weight: 600; }
.sec span { font-size: 13.5px; color: #98a2cf; }
.split__art { position: relative; }
.shield-art { width: 78%; margin: 0 auto; }
.shield-art svg { width: 100%; overflow: visible; }
.sh-ring { fill: none; stroke: rgba(167, 139, 250, .3); stroke-width: 1.2; }
.sh-ring--dash { stroke-dasharray: 2 8; stroke: rgba(34, 211, 238, .45); transform-box: fill-box; transform-origin: center; animation: spin 40s linear infinite; }
.sh-edge { fill: none; stroke: url(#sh-g); stroke-width: 2.5; }
.sh-lock { fill: #1a1550; stroke: url(#sh-g); stroke-width: 2.5; }
.sh-shackle { fill: none; stroke: #c7bdff; stroke-width: 6; stroke-linecap: round; }
.sh-key { fill: #7ef0ff; } .sh-key-line { stroke: #7ef0ff; stroke-width: 5; stroke-linecap: round; }
.sh-nodes circle { fill: #a596ff; filter: drop-shadow(0 0 6px #8b7cff); }
@keyframes spin { to { transform: rotate(360deg); } }
.browser--small { position: relative; width: 82%; margin: -12% 0 0 auto; box-shadow: 0 30px 60px -24px rgba(0, 0, 0, .7), 0 0 0 1px rgba(255, 255, 255, .1); }

/* ---------- steps ---------- */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; position: relative; counter-reset: s; }
.steps::before { content: ""; position: absolute; left: 28px; right: 28px; top: 28px; height: 2px; background: linear-gradient(90deg, #a78bfa, #4f8cff, #22d3ee); opacity: .5; }
.step { position: relative; padding-right: 8px; }
.step__n { position: relative; display: inline-flex; align-items: center; justify-content: center; width: 56px; height: 56px; border-radius: 18px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); font-size: 20px; font-weight: 800; color: #5b4ae0; }
.step h3 { margin-top: 20px; font-size: 19px; font-weight: 700; }
.step p { margin-top: 8px; color: var(--muted); font-size: 15px; }

/* ---------- CTA ---------- */
.cta { position: relative; padding: 120px 0; text-align: center; background: linear-gradient(180deg, #0a1030, #130f3f); color: #b6bde0; overflow: hidden; }
.cta__in { position: relative; max-width: 760px; }
.cta__mark { margin: 0 auto 24px; border-radius: 16px; box-shadow: 0 0 60px rgba(167, 139, 250, .6); }
.cta h2 { color: #fff; font-size: clamp(30px, 3.8vw, 48px); font-weight: 800; letter-spacing: -.03em; }
.cta p { margin: 18px auto 0; font-size: 17.5px; max-width: 600px; }

/* ---------- footer ---------- */
.footer { background: var(--space); color: #8e98c6; padding: 64px 0 28px; font-size: 14.5px; }
.footer__in { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 32px; }
.footer__brand p { margin-top: 16px; max-width: 340px; line-height: 1.65; }
.footer__col { display: grid; gap: 10px; align-content: start; }
.footer__col b { color: #fff; font-size: 14px; margin-bottom: 4px; }
.footer__col a:hover { color: #fff; }
.footer__base { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 48px; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, .08); font-size: 13px; }

/* ---------- reveal on scroll ---------- */
.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s cubic-bezier(.2, .8, .2, 1); }
.js .reveal.is-in { opacity: 1; transform: none; }

/* ---------- responsive ---------- */
@media (max-width: 1080px) {
  .nav__links { display: none; }
  .nav__toggle { display: inline-flex; }
  .hero__in { grid-template-columns: 1fr; }
  .hero__art { max-width: 560px; margin: 0 auto; width: 100%; }
  .cards { grid-template-columns: repeat(2, 1fr); }
  .tabs__body { grid-template-columns: 1fr; }
  .split, .split--rev { grid-template-columns: 1fr; gap: 48px; }
  .split--rev .split__art { order: 0; }
  .uses { grid-template-columns: repeat(2, 1fr); }
  .stats__grid { grid-template-columns: repeat(2, 1fr); }
  .float--a { left: 8px; } .float--b { right: 8px; }
}
@media (max-width: 720px) {
  .wrap { width: calc(100% - 32px); }
  .nav__cta .btn { display: none; }
  .hero { padding-top: 112px; }
  .lead { font-size: 16.5px; }
  .section { padding: 80px 0; }
  .cards, .uses, .modes, .sec-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; gap: 28px; }
  .steps::before { left: 27px; right: auto; top: 28px; bottom: 28px; width: 2px; height: auto; background: linear-gradient(180deg, #a78bfa, #4f8cff, #22d3ee); }
  .step { display: grid; grid-template-columns: 56px 1fr; column-gap: 18px; }
  .step__n { grid-row: span 2; }
  .step h3 { margin-top: 4px; }
  .float { display: none; }
  .tab { height: 40px; padding: 0 12px; font-size: 14px; }
  .flow { padding: 12px; overflow-x: auto; }
  .flow svg { min-width: 760px; }
  .footer__in { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }
  .answer-card { position: relative; right: auto; bottom: auto; width: 100%; margin-top: -8px; }
  .browser__bar span { transform: none; }
  .shield-art { width: 70%; }
  .browser--small { width: 100%; margin-top: 0; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .js .reveal { opacity: 1; transform: none; }
}
