/* ============================================================================
   HOME, landing page only. Loaded after styles.css so the dashboard, admin and
   legal pages keep the shared look untouched.
   ========================================================================== */

/* ── nav: floating glass pill ─────────────────────────────────────────── */
.home .nav { top: 14px; height: auto; border-bottom: none; background: none; }
.home .nav.scrolled { background: none; backdrop-filter: none; border-bottom: none; }
.home .nav .wrap { display: block; }
.nav-pill {
	display: flex; align-items: center; justify-content: space-between; gap: 16px;
	height: 60px; padding: 0 10px 0 16px; border-radius: 18px;
	border: 1px solid var(--stroke); background: rgba(12, 11, 18, 0.55);
	backdrop-filter: blur(18px) saturate(150%);
	box-shadow: 0 18px 40px -24px rgba(0, 0, 0, 0.9), inset 0 1px 0 rgba(255, 255, 255, 0.05);
	transition: background 0.3s, border-color 0.3s;
}
.nav.scrolled .nav-pill { background: rgba(10, 9, 15, 0.86); border-color: var(--stroke-hard); }
.home .brand { font-size: 17px; }
.home .brand .mark { width: 30px; height: 30px; border-radius: 9px; }
.btn-sm { padding: 9px 16px; font-size: 14px; border-radius: 11px; }

/* ── keycap, shared by hero, layouts and setup ────────────────────────── */
.kc {
	display: inline-grid; place-items: center; min-width: 24px; height: 22px; padding: 0 6px;
	font-family: var(--mono); font-size: 11px; font-weight: 600; color: var(--text);
	border: 1px solid var(--stroke-hard); border-bottom-width: 2px; border-radius: 6px;
	background: linear-gradient(180deg, #23222f, #15141d);
	vertical-align: middle;
}

/* ── hero ─────────────────────────────────────────────────────────────── */
.hero2 { padding-top: calc(var(--nav-h) + 92px); position: relative; }
.hero2-copy { max-width: 900px; margin: 0 auto; text-align: center; display: flex; flex-direction: column; align-items: center; }
.hero2-title { font-size: clamp(50px, 7.4vw, 104px); margin: 26px 0 22px; line-height: 0.98; }
.hero2-copy .lead { margin: 0 auto; max-width: 64ch; }
.hero2 .hero-cta { justify-content: center; }

.pill-news {
	display: inline-flex; align-items: center; gap: 10px; padding: 6px 14px 6px 6px;
	border-radius: 999px; border: 1px solid var(--stroke-hard); background: rgba(255, 255, 255, 0.03);
	font-size: 13.5px; color: var(--text-2); transition: border-color 0.25s, background 0.25s;
	max-width: 100%; text-align: left;
}
.pill-news:hover { border-color: rgba(124, 92, 255, 0.55); background: rgba(124, 92, 255, 0.08); }
.pn-tag { font-family: var(--caps); font-size: 10.5px; letter-spacing: 0.16em; text-transform: uppercase; color: #fff; background: var(--grad); padding: 4px 10px; border-radius: 999px; }
.pn-arrow { color: var(--accent-a); transition: transform 0.25s var(--ease); }
.pill-news:hover .pn-arrow { transform: translateX(3px); }

/* ── stage: both layouts floating over an in game shot ─────────────────── */
.stage {
	position: relative; margin: 70px auto 0; max-width: 1180px; height: 640px;
	border-radius: 30px; overflow: hidden; isolation: isolate;
	border: 1px solid var(--stroke-hard);
	box-shadow: 0 60px 120px -50px rgba(0, 0, 0, 0.95), 0 0 0 1px rgba(124, 92, 255, 0.08), 0 0 120px -30px rgba(124, 92, 255, 0.35);
}
.stage-sky { position: absolute; inset: 0; z-index: -2; }
.stage-sky img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.06); filter: saturate(0.7) brightness(0.42) hue-rotate(-8deg); }
.stage-sky::after {
	content: ''; position: absolute; inset: 0;
	background: linear-gradient(180deg, rgba(10, 9, 15, 0.15) 0%, rgba(10, 9, 15, 0.35) 55%, rgba(10, 9, 15, 0.95) 100%);
}
/* Same aurora as the menu's own header, so the frame reads as part of it. */
.stage-aurora {
	position: absolute; inset: 0; z-index: -1; pointer-events: none; mix-blend-mode: screen;
	background:
		radial-gradient(60% 40% at 18% 0%, rgba(124, 92, 255, 0.55), transparent 70%),
		radial-gradient(50% 35% at 70% 0%, rgba(217, 70, 239, 0.4), transparent 70%),
		radial-gradient(40% 30% at 95% 10%, rgba(255, 138, 61, 0.18), transparent 70%);
	animation: aurora 14s var(--ease-in-out) infinite alternate;
}
@keyframes aurora { from { transform: translateX(-3%); opacity: 0.85; } to { transform: translateX(3%); opacity: 1; } }

.stage-grid {
	position: absolute; left: -20%; right: -20%; bottom: -10%; height: 55%; z-index: -1; pointer-events: none;
	background-image: linear-gradient(rgba(186, 160, 255, 0.16) 1px, transparent 1px), linear-gradient(90deg, rgba(186, 160, 255, 0.16) 1px, transparent 1px);
	background-size: 56px 56px; transform: perspective(500px) rotateX(62deg); transform-origin: 50% 100%;
	mask-image: linear-gradient(180deg, transparent, #000 70%);
}
.stage-shots { position: absolute; inset: 0 0 76px; }
.stage .lay-shot {
	position: absolute; inset: auto; margin: 0; max-width: none; max-height: none; object-fit: fill;
	display: block; height: auto; border-radius: 12px;
	transition: transform 0.7s var(--ease), opacity 0.6s var(--ease), filter 0.6s var(--ease);
	filter: drop-shadow(0 30px 50px rgba(0, 0, 0, 0.75)) brightness(0.55) saturate(0.7);
	opacity: 0.55; z-index: 1; pointer-events: none;
}
.stage .shot-modern { left: 6%; top: 9%; width: 60%; transform: translateX(-2%) scale(0.95); }
.stage .shot-classic { right: 7%; top: 7%; width: 34%; transform: translateX(3%) scale(0.92); }
.stage .lay-shot.on {
	opacity: 1; z-index: 3; transform: none;
	filter: drop-shadow(0 34px 60px rgba(0, 0, 0, 0.8)) drop-shadow(0 0 60px rgba(124, 92, 255, 0.28));
}

.stage-bar {
	position: absolute; left: 50%; bottom: 18px; transform: translateX(-50%);
	display: flex; flex-direction: column; align-items: center; gap: 10px;
}
.stage .lay-tabs { display: flex; gap: 6px; padding: 5px; border-radius: 14px; border: 1px solid var(--stroke-hard); background: rgba(10, 9, 15, 0.7); backdrop-filter: blur(14px); }
.stage .lay-tab {
	display: inline-flex; align-items: center; gap: 9px;
	font-family: var(--caps); font-size: 11.5px; letter-spacing: 0.14em; text-transform: uppercase;
	color: var(--text-dim); padding: 8px 16px 8px 9px; border-radius: 10px; border: none; background: none; cursor: pointer;
	transition: color 0.22s, background 0.22s;
}
.stage .lay-tab:hover { color: var(--text); }
.stage .lay-tab.on { color: #fff; background: var(--grad); box-shadow: 0 6px 22px -8px rgba(124, 92, 255, 0.9); }
.stage .lay-tab.on .kc { border-color: rgba(255, 255, 255, 0.35); background: rgba(0, 0, 0, 0.25); }
.stage .lay-bar { position: relative; width: 140px; height: 2px; border-radius: 2px; background: rgba(255, 255, 255, 0.08); overflow: hidden; }
.stage .lay-bar i { display: block; height: 100%; width: 0; background: var(--grad); }

/* ── stats ────────────────────────────────────────────────────────────── */
.stats {
	display: grid; grid-template-columns: repeat(5, 1fr); margin: 46px auto 0; max-width: 1000px;
	border-top: 1px solid var(--stroke); border-bottom: 1px solid var(--stroke);
}
.st { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 22px 10px; border-right: 1px solid var(--stroke-soft); }
.st:last-child { border-right: none; }
.st-v { font-family: var(--display); font-size: 44px; line-height: 1; letter-spacing: -0.02em; }
.st-v.st-small { font-family: var(--caps); font-size: 18px; letter-spacing: 0.06em; padding: 13px 0 9px; }
.st-v.live { color: var(--success); }
.st-l { font-family: var(--caps); font-size: 10.5px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--text-faint); }

/* ── ticker ───────────────────────────────────────────────────────────── */
.ticker {
	margin-top: 70px; overflow: hidden; border-top: 1px solid var(--stroke-soft); border-bottom: 1px solid var(--stroke-soft);
	background: rgba(0, 0, 0, 0.25);
	mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}
.ticker-track { display: flex; width: max-content; animation: ticker 60s linear infinite; }
.ticker span {
	font-family: var(--caps); font-size: 13px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--text-dim);
	padding: 16px 26px; white-space: nowrap; display: inline-flex; align-items: center; gap: 26px;
}
.ticker span::after { content: ''; width: 6px; height: 6px; transform: rotate(45deg); background: var(--grad); opacity: 0.8; margin-left: 26px; }
@keyframes ticker { to { transform: translateX(-50%); } }

/* ── section heads ────────────────────────────────────────────────────── */
.home .section { padding: 110px 0; }
.home .sec-head { margin: 0 auto 54px; text-align: center; display: flex; flex-direction: column; align-items: center; }
.home .sec-head .lead { margin-left: auto; margin-right: auto; }
.home .eyebrow::after { content: ''; width: 22px; height: 1px; background: linear-gradient(90deg, var(--accent-a), var(--ember)); }
.center-head { margin-left: auto; margin-right: auto; text-align: center; display: flex; flex-direction: column; align-items: center; }
.center-head .lead { margin-left: auto; margin-right: auto; }
.center-cta { justify-content: center; }

/* ── why ──────────────────────────────────────────────────────────────── */
.why { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.why-card {
	position: relative; overflow: hidden; padding: 30px; border-radius: var(--r-xl);
	border: 1px solid var(--stroke); background: linear-gradient(180deg, rgba(24, 21, 38, 0.72), rgba(12, 11, 18, 0.82));
	backdrop-filter: blur(8px);
	transition: transform 0.4s var(--ease), border-color 0.4s, box-shadow 0.4s;
}
.why-card:hover { transform: translateY(-4px); border-color: var(--stroke-hard); box-shadow: var(--shadow-lg); }
.why-card::before { content: ''; position: absolute; inset: 0 0 auto; height: 1px; background: linear-gradient(90deg, transparent, rgba(186, 160, 255, 0.5), transparent); }
.why-card h3 { font-size: 19px; margin-bottom: 8px; }
.why-card p { color: var(--text-dim); font-size: 14.5px; }
.why-ic { width: 44px; height: 44px; border-radius: 13px; display: grid; place-items: center; margin-bottom: 20px; color: var(--accent-a); background: var(--grad-soft); border: 1px solid rgba(124, 92, 255, 0.3); }
.why-ic svg { width: 21px; height: 21px; }
.why-hero {
	grid-column: span 2; display: flex; align-items: center; gap: 34px; padding: 38px 40px;
	background: radial-gradient(80% 120% at 0% 0%, rgba(124, 92, 255, 0.22), transparent 60%), linear-gradient(180deg, rgba(24, 21, 38, 0.78), rgba(12, 11, 18, 0.86));
}
.why-num {
	font-family: var(--display); font-size: 168px; line-height: 0.8; letter-spacing: -0.05em; flex-shrink: 0;
	color: transparent; background: linear-gradient(160deg, #fff 10%, var(--accent-a) 55%, var(--accent-b)); -webkit-background-clip: text; background-clip: text;
}
.why-hero h3 { font-family: var(--display); font-weight: 400; font-size: 36px; margin-bottom: 10px; }
.why-hero p { font-size: 15.5px; max-width: 54ch; }
.langs { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 16px; }
.langs span { font-family: var(--mono); font-size: 12px; font-weight: 600; padding: 6px 10px; border-radius: 8px; border: 1px solid rgba(124, 92, 255, 0.35); color: var(--text); background: rgba(124, 92, 255, 0.08); }

/* ── setup ────────────────────────────────────────────────────────────── */
.steps3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; counter-reset: s; }
.s3 { position: relative; padding: 30px; border-radius: var(--r-xl); border: 1px solid var(--stroke); background: rgba(14, 13, 21, 0.7); overflow: hidden; }
.s3-n {
	display: block; font-family: var(--display); font-size: 84px; line-height: 0.9; letter-spacing: -0.03em;
	color: transparent; -webkit-text-stroke: 1px rgba(124, 92, 255, 0.55); margin-bottom: 18px;
}
.s3 h3 { font-size: 19px; margin-bottom: 8px; }
.s3 p { color: var(--text-dim); font-size: 15px; }
.s3:not(:last-child)::after { content: ''; position: absolute; right: -1px; top: 40px; width: 1px; height: 60px; background: linear-gradient(180deg, transparent, var(--accent-a), transparent); }

/* ── pricing tweaks ───────────────────────────────────────────────────── */
.home .tier { backdrop-filter: blur(6px); }
.home .tier.featured { background: radial-gradient(120% 60% at 50% 0%, rgba(124, 92, 255, 0.18), transparent 60%), linear-gradient(180deg, rgba(22, 21, 32, 0.95), rgba(11, 11, 17, 0.95)); }

/* ── faq ──────────────────────────────────────────────────────────────── */
.faq-grid { display: grid; grid-template-columns: 380px minmax(0, 1fr); gap: 56px; align-items: start; }
.faq-side { position: sticky; top: calc(var(--nav-h) + 30px); }
.faq-side .display { margin-top: 16px; }
.truths2 { margin-top: 30px; padding: 22px; border-radius: var(--r-lg); border: 1px solid var(--stroke); background: rgba(14, 13, 21, 0.7); display: flex; flex-direction: column; gap: 14px; }
.truths2 h4 { font-family: var(--caps); font-size: 11px; font-weight: 500; letter-spacing: 0.2em; text-transform: uppercase; color: var(--text-faint); }
.t2 { display: flex; gap: 12px; align-items: flex-start; font-size: 14px; color: var(--text-dim); }
.t2 b { color: var(--text); }
.t2 .t-no { width: 24px; height: 24px; border-radius: 7px; flex-shrink: 0; display: grid; place-items: center; color: var(--danger); background: rgba(244, 63, 94, 0.1); border: 1px solid rgba(244, 63, 94, 0.28); }
.t2 .t-no svg { width: 13px; height: 13px; }
.help-card { margin-top: 14px; display: flex; align-items: center; gap: 14px; padding: 18px 20px; border-radius: var(--r-lg); border: 1px solid rgba(124, 92, 255, 0.35); background: var(--grad-soft); font-size: 14px; color: var(--text-2); transition: transform 0.3s var(--ease), border-color 0.3s; }
.help-card:hover { transform: translateY(-3px); border-color: rgba(124, 92, 255, 0.7); }
.help-card b { color: var(--text); }
.hc-ic { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: #5865f2; color: #fff; flex-shrink: 0; }
.hc-ic svg { width: 22px; height: 22px; }

/* ── cta ──────────────────────────────────────────────────────────────── */
.cta2 { position: relative; overflow: hidden; text-align: center; padding: 80px 40px; border-radius: 34px; border: 1px solid var(--stroke-hard); background: #0d0c14; }
.cta2 > * { position: relative; }
.cta2-aurora {
	position: absolute !important; inset: 0;
	background:
		radial-gradient(50% 70% at 25% 0%, rgba(124, 92, 255, 0.45), transparent 70%),
		radial-gradient(45% 60% at 75% 0%, rgba(217, 70, 239, 0.32), transparent 70%),
		radial-gradient(60% 50% at 50% 120%, rgba(255, 138, 61, 0.14), transparent 70%);
	animation: aurora 12s var(--ease-in-out) infinite alternate;
}
.cta2-mark { width: 58px; height: 58px; margin: 0 auto 22px; border-radius: 17px; display: grid; place-items: center; color: #fff; background: var(--grad); box-shadow: var(--glow-a), var(--glow-b); }
.cta2-mark svg { width: 28px; height: 28px; }
.cta2 .lead { margin: 16px auto 32px; }

/* ── responsive ───────────────────────────────────────────────────────── */
@media (max-width: 1080px) {
	.stage { height: 520px; }
	.why { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.faq-grid { grid-template-columns: minmax(0, 1fr); gap: 30px; }
	.faq-side { position: static; }
}
@media (max-width: 900px) {
	.home .nav-links { display: none; }
	.home .nav-cta { display: none; }
	.home .nav-toggle { display: block; }
	.stats { grid-template-columns: repeat(3, 1fr); }
	.st:nth-child(3) { border-right: none; }
	.st:nth-child(-n+3) { border-bottom: 1px solid var(--stroke-soft); }
	.steps3 { grid-template-columns: minmax(0, 1fr); }
	.s3::after { display: none; }
}
@media (max-width: 700px) {
	.hero2 { padding-top: calc(var(--nav-h) + 60px); }
	.stage { height: auto; aspect-ratio: 4 / 5; border-radius: 22px; margin-top: 46px; }
	.stage .lay-shot { left: 50% !important; right: auto !important; top: 46% !important; width: 88% !important; transform: translate(-50%, -50%) scale(0.94) !important; opacity: 0; }
	.stage .lay-shot.on { opacity: 1; transform: translate(-50%, -50%) !important; }
	.stage .shot-classic { width: 70% !important; }
	.why { grid-template-columns: minmax(0, 1fr); }
	.why-hero { grid-column: span 1; flex-direction: column; align-items: flex-start; gap: 14px; padding: 30px; }
	.why-num { font-size: 120px; }
	.stats { grid-template-columns: repeat(2, 1fr); }
	.st { border-right: 1px solid var(--stroke-soft) !important; border-bottom: 1px solid var(--stroke-soft); }
	.st:nth-child(2n) { border-right: none !important; }
	.st:last-child { grid-column: span 2; border-bottom: none; }
	.cta2 { padding: 60px 22px; }
}
@media (prefers-reduced-motion: reduce) {
	.ticker-track, .stage-aurora, .cta2-aurora { animation: none; }
}

/* mobile nav dropdown */
@media (max-width: 900px) {
	.home .nav.open .nav-links {
		display: flex; flex-direction: column; align-items: stretch; position: absolute; top: 70px; left: 24px; right: 24px;
		padding: 10px; border-radius: 18px; border: 1px solid var(--stroke-hard);
		background: rgba(12, 11, 18, 0.96); backdrop-filter: blur(18px);
	}
	.home .nav.open .nav-links a { padding: 12px 14px; font-size: 14px; }
}
