/* Aurora — public brand surface. "Combat OS": near-black drench, one committed violet accent,
   wide technical display type (Archivo Expanded), a CSS-built HUD as product imagery.
   Scoped to .brand-page so it never touches the admin editorial system. */

.brand-page {
	--ink:      #eef3fb;
	--dim:      #9fb2c8;
	--faint-b:  #7c8ca6;
	--bg-b:     #070a12;
	--surf:     #101826;
	--surf-2:   #162032;
	--edge:     #252d44;
	--edge-2:   #323c58;
	/* aurora accent: green → cyan → purple */
	--au-1:     #3ddc97;
	--au-2:     #19d3e0;
	--au-3:     #9b5de5;
	--au-grad:  linear-gradient(118deg, #3ddc97 0%, #19d3e0 48%, #9b5de5 100%);
	--violet:   #19d3e0;        /* primary solid accent (cyan core of the aurora) */
	--violet-2: #74e0d6;        /* lighter for highlights */
	--ion:      #8ef0d6;        /* sparse data signal only */
	--d: "Archivo Expanded", "Archivo", system-ui, sans-serif;
	--b: "Archivo", system-ui, -apple-system, sans-serif;
	--mono: ui-monospace, "SF Mono", Menlo, monospace;

	background:
		radial-gradient(820px 460px at 82% -10%, rgba(155,93,229,.20), transparent 60%),
		radial-gradient(720px 420px at 12% -4%, rgba(61,220,151,.14), transparent 58%),
		radial-gradient(960px 540px at 50% -16%, rgba(25,211,224,.12), transparent 64%),
		linear-gradient(180deg, #090d16, var(--bg-b));
	color: var(--ink);
	font-family: var(--b);
	letter-spacing: -.01em;
}
/* faint instrument grid behind everything */
.brand-page::before {
	content: ""; position: fixed; inset: 0; z-index: 0; pointer-events: none;
	background-image:
		linear-gradient(rgba(255,255,255,.022) 1px, transparent 1px),
		linear-gradient(90deg, rgba(255,255,255,.022) 1px, transparent 1px);
	background-size: 64px 64px;
	mask-image: radial-gradient(circle at 50% 30%, #000 30%, transparent 78%);
}
.brand-page > * { position: relative; z-index: 1; }

/* ---------- nav (overrides shared .nav) ---------- */
.brand-page .nav {
	background: rgba(6,7,9,.7); backdrop-filter: blur(14px);
	border-bottom: 1px solid var(--edge); padding: 1.1rem clamp(1.1rem, 5vw, 3rem);
}
.brand-page .nav .brand { font-family: var(--d); font-weight: 800; letter-spacing: .02em; text-transform: uppercase; }
.brand-page .nav .links a { color: var(--dim); }
.brand-page .nav .links a:hover, .brand-page .nav .links a.active { color: #fff; }

/* ---------- hero ---------- */
.bx-hero {
	max-width: 1240px; margin: 0 auto; padding: clamp(3rem, 8vw, 6rem) clamp(1.1rem, 5vw, 3rem) clamp(3rem, 6vw, 5rem);
	display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center;
}
@media (max-width: 920px) { .bx-hero { grid-template-columns: 1fr; gap: 2.5rem; } }

.bx-kicker {
	display: inline-flex; align-items: center; gap: .5rem;
	font-family: var(--mono); font-size: .74rem; letter-spacing: .18em; text-transform: uppercase;
	color: var(--violet-2); border: 1px solid var(--edge-2); border-radius: 99px; padding: .35rem .8rem;
}
.bx-kicker .pulse { width: 7px; height: 7px; border-radius: 50%; background: var(--violet); box-shadow: 0 0 10px var(--violet); }
.bx-hero h1 {
	font-family: var(--d); font-weight: 800; text-transform: uppercase;
	font-size: clamp(3rem, 8.5vw, 6rem); line-height: .92; letter-spacing: -.03em;
	margin: 1.4rem 0 0; color: #fff; text-wrap: balance;
}
.bx-hero h1 em { font-style: normal; background: var(--au-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.bx-lead { color: #d5e0f0; font-size: clamp(1.05rem, 1.6vw, 1.25rem); line-height: 1.65; max-width: 46ch; margin: 1.6rem 0 0; text-shadow: 0 1px 14px rgba(4, 6, 12, .75); }
.bx-cta { display: flex; gap: .9rem; flex-wrap: wrap; margin-top: 2.2rem; }
.bx-btn {
	display: inline-flex; align-items: center; gap: .55rem; cursor: pointer;
	font-family: var(--b); font-weight: 700; font-size: .98rem; padding: .9rem 1.6rem;
	border-radius: 10px; border: 1px solid transparent; transition: transform .14s var(--ease, ease), filter .14s, background .14s, border-color .14s;
}
.bx-btn.solid { background: var(--au-grad); color: #03161a; text-shadow: none; }
.bx-btn.solid:hover { filter: brightness(1.12); transform: translateY(-2px); }
.bx-btn.line { background: transparent; border-color: var(--edge-2); color: var(--ink); }
.bx-btn.line:hover { border-color: var(--violet); color: #fff; transform: translateY(-2px); }
.bx-tags { display: flex; gap: .6rem; flex-wrap: wrap; margin-top: 3rem; }
.bx-tags span {
	font-family: var(--mono); font-size: .74rem; letter-spacing: .08em; text-transform: uppercase;
	color: var(--dim); border: 1px solid var(--edge-2); border-radius: 99px; padding: .45rem .85rem;
}
.bx-metrics { display: flex; gap: clamp(1.5rem, 4vw, 3rem); margin-top: 3rem; }
.bx-metrics b { font-family: var(--d); font-weight: 800; font-size: 1.7rem; color: #fff; display: block; font-variant-numeric: tabular-nums; }
.bx-metrics span { font-family: var(--mono); font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--faint-b); }

/* ---------- single-column hero (ClickGUI moved to its own section) ---------- */
.bx-hero-solo { grid-template-columns: 1fr; max-width: 900px; }

/* ClickGUI preview styles moved to css/clickui.css (loaded by the clickui fragment). */

/* ---------- section shell ---------- */
.bx-sec { max-width: 1240px; margin: 0 auto; padding: clamp(3.5rem, 8vw, 6.5rem) clamp(1.1rem, 5vw, 3rem); }
.bx-sec-head { max-width: 60ch; margin-bottom: clamp(2rem, 4vw, 3rem); }
.bx-sec-head h2 { font-family: var(--d); font-weight: 800; text-transform: uppercase; font-size: clamp(1.8rem, 4vw, 3rem); letter-spacing: -.02em; line-height: 1; color: #fff; }
.bx-sec-head p { color: var(--dim); font-size: 1.08rem; margin-top: 1rem; line-height: 1.6; }
.bx-index { font-family: var(--mono); font-size: .74rem; letter-spacing: .16em; color: var(--violet); text-transform: uppercase; }

/* ---------- bento features (varied sizes, not a clone grid) ---------- */
.bx-bento { display: grid; grid-template-columns: repeat(6, 1fr); gap: 1rem; }
.bx-cell {
	background: linear-gradient(180deg, var(--surf-2), var(--surf)); border: 1px solid var(--edge);
	border-radius: 14px; padding: 1.6rem; transition: border-color .16s, transform .16s;
}
.bx-cell:hover { border-color: var(--edge-2); transform: translateY(-3px); }
.bx-cell h3 { font-family: var(--d); font-weight: 700; text-transform: uppercase; font-size: 1.15rem; letter-spacing: -.01em; color: #fff; }
.bx-cell p { color: var(--dim); font-size: .94rem; line-height: 1.6; margin: .6rem 0 0; }
.bx-cell .tagline { font-family: var(--mono); font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--violet-2); }
.bx-cell.lg { grid-column: span 4; } .bx-cell.md { grid-column: span 3; } .bx-cell.sm { grid-column: span 2; }
@media (max-width: 900px) { .bx-bento { grid-template-columns: repeat(2, 1fr); } .bx-cell.lg, .bx-cell.md, .bx-cell.sm { grid-column: span 2; } }

/* ---------- AI differentiator band ---------- */
.bx-ai { border: 1px solid var(--edge); border-radius: 18px; padding: clamp(2rem, 5vw, 3.5rem);
	background: radial-gradient(680px 320px at 88% -10%, rgba(155,93,229,.20), transparent 62%), radial-gradient(560px 280px at 6% 0%, rgba(61,220,151,.12), transparent 60%), var(--surf); }
.bx-ai h2 { font-family: var(--d); font-weight: 800; text-transform: uppercase; font-size: clamp(1.8rem, 4vw, 2.8rem); line-height: 1.02; color: #fff; max-width: 18ch; }
.bx-ai p { color: var(--dim); font-size: 1.08rem; line-height: 1.65; max-width: 52ch; margin-top: 1.2rem; }
.bx-ai .models { display: flex; gap: .6rem; flex-wrap: wrap; margin-top: 1.6rem; }
.bx-ai .model { font-family: var(--mono); font-size: .8rem; padding: .4rem .8rem; border: 1px solid var(--edge-2); border-radius: 8px; color: var(--ion); }

/* ---------- loaders / versions ---------- */
.bx-loaders { display: flex; gap: 1rem; flex-wrap: wrap; }
.bx-loaders .l { display: flex; align-items: center; gap: .8rem; background: var(--surf); border: 1px solid var(--edge); border-radius: 12px; padding: 1rem 1.4rem; }
.bx-loaders .l b { font-family: var(--d); text-transform: uppercase; font-weight: 700; }
/* version timeline: a gradient rail with a point per release */
.bx-timeline { position: relative; display: flex; justify-content: space-between; margin-top: 2.2rem; padding: 0 .6rem; }
.bx-timeline .rail {
	position: absolute; left: .6rem; right: .6rem; top: 8px; height: 2px; border-radius: 2px;
	background: linear-gradient(90deg, var(--au-1) 0%, var(--au-2) 30%, var(--au-3) 52%, var(--edge-2) 74%, var(--edge) 100%);
}
.bx-pt { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; gap: .55rem; text-align: center; }
.bx-pt .dot { width: 18px; height: 18px; border-radius: 50%; background: var(--bg-b); border: 2px solid var(--edge-2); }
.bx-pt.live .dot { border-color: var(--violet); background: var(--violet); box-shadow: 0 0 0 4px rgba(25,211,224,.20), 0 0 14px var(--violet); }
.bx-pt b { font-family: var(--d); font-weight: 700; font-size: .92rem; color: var(--ink); font-variant-numeric: tabular-nums; }
.bx-pt .st { font-family: var(--mono); font-size: .66rem; letter-spacing: .12em; text-transform: uppercase; color: var(--faint-b); }
.bx-pt.live .st { color: var(--violet-2); }
@media (max-width: 560px) { .bx-timeline { overflow-x: auto; gap: 2.5rem; justify-content: flex-start; } .bx-pt { flex: 0 0 auto; } }

/* ---------- pricing ---------- */
.bx-tiers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.1rem; }
@media (max-width: 860px) { .bx-tiers { grid-template-columns: 1fr; } }
.bx-tier { background: linear-gradient(180deg, var(--surf-2), var(--surf)); border: 1px solid var(--edge); border-radius: 16px; padding: 1.9rem; display: flex; flex-direction: column; transition: transform 0.25s cubic-bezier(0.2, 0.8, 0.2, 1), border-color 0.25s ease, box-shadow 0.25s ease; }
.bx-tier.clickable-tier:hover { transform: scale(1.02) translateY(-5px); border-color: var(--violet); box-shadow: 0 10px 30px rgba(124, 92, 255, 0.15); }
.bx-tier.featured { border-color: var(--violet); box-shadow: 0 0 0 1px var(--violet), 0 24px 60px rgba(25,211,224,.16); }
.bx-tier .tname { font-family: var(--d); font-weight: 800; text-transform: uppercase; font-size: 1.4rem; color: #fff; }
.bx-tier .badge { display: inline-block; align-self: flex-start; font-family: var(--mono); font-size: .68rem; letter-spacing: .12em; text-transform: uppercase; color: var(--violet-2); border: 1px solid var(--edge-2); border-radius: 99px; padding: .2rem .6rem; margin-bottom: .7rem; }
.bx-tier .badge:empty { border: 0; padding: 0; }
.bx-tier .price { font-family: var(--d); font-weight: 800; font-size: 2.6rem; color: #fff; margin: .6rem 0; font-variant-numeric: tabular-nums; }
.bx-tier .price small { font-family: var(--b); font-weight: 500; font-size: .9rem; color: var(--faint-b); }
.bx-tier ul { list-style: none; padding: 0; margin: 1.2rem 0; display: grid; gap: .55rem; }
.bx-tier li { color: var(--dim); font-size: .92rem; padding-left: 1.4rem; position: relative; }
.bx-tier li::before { content: "›"; position: absolute; left: 0; color: var(--violet); font-weight: 700; }
.bx-tier .bx-btn { margin-top: auto; justify-content: center; }
.bx-tier .purchase-actions { display: flex; gap: .6rem; margin-top: auto; }
.bx-tier .purchase-actions .bx-btn { flex: 1; justify-content: center; }

/* ---------- compact pricing (denser single-flow, less whitespace) ---------- */
.bx-sec.compact { padding: clamp(1.4rem, 3vw, 2.4rem) clamp(1.1rem, 5vw, 3rem); }
.bx-sec.compact:first-of-type { padding-top: clamp(1rem, 2vw, 1.6rem); }
.bx-sec.compact .bx-sec-head { margin-bottom: clamp(.9rem, 2vw, 1.4rem); max-width: 68ch; }
.bx-sec.compact .bx-sec-head h2 { font-size: clamp(1.3rem, 3vw, 1.9rem); }
.bx-sec.compact .bx-sec-head p { font-size: .95rem; margin-top: .4rem; }
.bx-tiers.tight { gap: .8rem; }
.bx-tiers.tight .bx-tier { padding: 1.2rem 1.3rem; border-radius: 12px; }
.bx-tiers.tight .bx-tier .price { font-size: 2rem; margin: .3rem 0; }
.bx-tiers.tight .bx-tier ul { margin: .7rem 0; gap: .4rem; }
.bx-tiers.tight .bx-tier .badge { margin-bottom: .4rem; }

/* ---------- closing CTA + footer ---------- */
.bx-close { text-align: center; padding: clamp(4rem, 9vw, 7rem) 1.4rem; }
.bx-close h2 { font-family: var(--d); font-weight: 800; text-transform: uppercase; font-size: clamp(2.2rem, 6vw, 4.5rem); line-height: .95; letter-spacing: -.03em; color: #fff; }
.bx-close p { color: var(--dim); margin: 1.2rem auto 2rem; max-width: 40ch; }
.brand-page footer { border-top: 1px solid var(--edge); color: var(--faint-b); }

/* ---------- entrance motion (transform/opacity only; content visible by default) ---------- */
@media (prefers-reduced-motion: no-preference) {
	.bx-rise { animation: bx-rise .7s var(--ease, cubic-bezier(.2,.8,.2,1)) both; }
	.bx-rise.d1 { animation-delay: .06s; } .bx-rise.d2 { animation-delay: .12s; }
	.bx-rise.d3 { animation-delay: .18s; } .bx-rise.d4 { animation-delay: .24s; }
	@keyframes bx-rise { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
}

/* ---------- living aurora curtain (hero backdrop) ----------
   Canvas ribbons drift behind the hero headline. Absolute + top-anchored + 100vh so it scrolls
   away with the hero instead of bleeding behind the content sections; masked to fade out before
   the fold. z-index 0 (below .brand-page > * content at z-1). Reduced-motion: JS paints one still
   frame. See the aurora init in landing.html. */
.brand-page > #sky {
	position: absolute; top: 0; left: 0; width: 100%; height: 100vh; z-index: 0; pointer-events: none;
	-webkit-mask-image: linear-gradient(180deg, #000 0%, #000 54vh, transparent 88vh);
	        mask-image: linear-gradient(180deg, #000 0%, #000 54vh, transparent 88vh);
}
.bx-hero h1 em { text-shadow: 0 0 46px rgba(25, 211, 224, .32); }

/* ============================================================
   AURORA MAXIMAL — louder execution of the same identity.
   Appended overrides (base rules above remain the fallback);
   keyed on existing bx-* classes so no template changes.
   ============================================================ */

/* deeper ground, bigger ambient aurora glows */
.brand-page {
	background:
		radial-gradient(900px 520px at 84% -12%, rgba(155,93,229,.28), transparent 60%),
		radial-gradient(820px 480px at 10% -6%, rgba(61,220,151,.20), transparent 58%),
		radial-gradient(1100px 620px at 50% -18%, rgba(25,211,224,.18), transparent 64%),
		linear-gradient(180deg, #070b14, #04060c);
}

/* HERO — bigger, tighter, animated aurora shimmer on the accent word */
.bx-hero h1 { font-size: clamp(3.4rem, 10vw, 7.6rem); letter-spacing: -.045em; line-height: .88; }
.bx-hero h1 em {
	background: linear-gradient(118deg, #3ddc97, #19d3e0 42%, #9b5de5 78%, #3ddc97 120%);
	background-size: 220% 100%;
	-webkit-background-clip: text; background-clip: text;
	animation: au-shimmer 7s linear infinite;
}
@keyframes au-shimmer { to { background-position: 220% 0; } }

/* solid CTA glow */
.bx-btn.solid { box-shadow: 0 10px 34px -8px rgba(25,211,224,.55); font-weight: 800; }

/* section eyebrow → gradient; bigger headings */
.bx-index { color: transparent; background: var(--au-grad); -webkit-background-clip: text; background-clip: text; font-weight: 700; }
.bx-sec-head h2 { font-size: clamp(2.1rem, 5vw, 3.6rem); }

/* CARDS — aurora top-edge that ignites on hover (bento + tiers) */
.bx-cell, .bx-tier { position: relative; overflow: hidden; }
.bx-cell::before, .bx-tier::before {
	content: ""; position: absolute; top: 0; left: 0; right: 0; height: 2px;
	background: var(--au-grad); opacity: .32; transition: opacity .2s ease;
}
.bx-cell:hover::before, .bx-tier:hover::before { opacity: 1; box-shadow: 0 0 18px rgba(25,211,224,.5); }
.bx-cell:hover { border-color: var(--au-2); transform: translateY(-5px); box-shadow: 0 18px 44px -18px rgba(25,211,224,.4); }

/* FEATURED tier — gradient ring + lift + gradient price */
.bx-tier.featured { box-shadow: 0 0 0 1.5px var(--au-2), 0 28px 70px -24px rgba(25,211,224,.5); transform: translateY(-6px); }
.bx-tier.featured::before { opacity: 1; height: 3px; }
.bx-tier .price { background: var(--au-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.bx-tier .price small { -webkit-text-fill-color: var(--faint-b); }
.bx-tier .badge { color: #03161a; background: var(--au-grad); border-color: transparent; font-weight: 700; }

/* metrics numbers in gradient */
.bx-metrics b { background: var(--au-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ---------- feature rows (alternating) — replaces the bento ---------- */
.bx-row { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem,5vw,4rem); align-items: center; margin-top: clamp(2.5rem,5vw,4rem); }
.bx-row.rev .bx-rv { order: -1; }
@media (max-width: 840px) { .bx-row { grid-template-columns: 1fr; } .bx-row.rev .bx-rv { order: 0; } }
.bx-rtag { font-family: var(--mono); font-size: .7rem; letter-spacing: .12em; text-transform: uppercase; color: var(--au-2); }
.bx-rt h3 { font-family: var(--d); font-weight: 800; text-transform: uppercase; font-size: clamp(1.5rem,3vw,2.1rem); margin: .5rem 0 0; letter-spacing: -.02em; color: #fff; }
.bx-rt p { color: var(--dim); font-size: 1.02rem; line-height: 1.65; margin: .9rem 0 0; max-width: 42ch; }
.bx-rt ul { list-style: none; padding: 0; margin: 1.1rem 0 0; display: grid; gap: .5rem; }
.bx-rt li { padding-left: 1.4rem; position: relative; color: var(--dim); font-size: .92rem; }
.bx-rt li::before { content: "›"; position: absolute; left: 0; color: var(--au-2); font-weight: 700; }
.bx-rv { position: relative; aspect-ratio: 4/3; border: 1px solid var(--edge); border-radius: 16px; overflow: hidden;
	background: radial-gradient(120% 120% at 70% 0, rgba(25,211,224,.14), transparent 55%), linear-gradient(180deg, var(--surf-2), var(--surf)); }
.bx-rv::before { content: attr(data-l); position: absolute; inset: 0; display: grid; place-items: center;
	font-family: var(--d); font-weight: 800; text-transform: uppercase; font-size: clamp(2.2rem,5vw,3.4rem); letter-spacing: -.03em;
	background: var(--au-grad); -webkit-background-clip: text; background-clip: text; color: transparent; opacity: .9; }
.bx-rv .scan { position: absolute; inset: 0; background: repeating-linear-gradient(0deg, transparent 0 22px, rgba(255,255,255,.02) 22px 23px); }

/* clickgui showcase — centered heading */
.cg-showcase .bx-sec-head { text-align: center; margin-left: auto; margin-right: auto; }

/* ---------- fix: seamless aurora shimmer on the hero accent word ----------
   Palindrome gradient (a1→a2→a3→a2→a1) at 200% width, horizontal, shifted by exactly one tile so
   the loop has no snap. Appended last to override the earlier maximal shimmer. */
.bx-hero h1 em {
	background: linear-gradient(90deg, #3ddc97, #19d3e0, #9b5de5, #19d3e0, #3ddc97);
	background-size: 200% auto;
	-webkit-background-clip: text; background-clip: text; color: transparent;
	text-shadow: 0 0 46px rgba(25, 211, 224, .3);
	animation: au-shimmer 8s linear infinite;
}
@keyframes au-shimmer { from { background-position: 0 50%; } to { background-position: 200% 50%; } }
@media (prefers-reduced-motion: reduce) { .bx-hero h1 em { animation: none; } }

/* ---------- fix: hero text legibility over the aurora ribbons ----------
   Soft radial scrim behind the centered hero content darkens the cyan locally (no visible box),
   plus a stronger lead shadow. Scrim sits above the canvas (z0) but below the text. */
.bx-hero-solo > div { position: relative; }
.bx-hero-solo > div::before {
	content: ""; position: absolute; inset: -8% -6%; z-index: -1; pointer-events: none;
	background: radial-gradient(58% 62% at 50% 46%, rgba(5,7,13,.62), rgba(5,7,13,.30) 58%, transparent 78%);
}
.bx-hero-solo .bx-lead { color: #e6eef8; text-shadow: 0 1px 16px rgba(3,5,10,.85), 0 0 34px rgba(3,5,10,.55); }
