*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
	--bg:        #0b0f1a;
	--bg2:       #111727;
	--surface:   #161d2f;
	--border:    rgba(255,255,255,.08);
	--accent:    #5b6cf6;
	--accent2:   #7c8bff;
	--lnx:       #5adf9e;
	--text:      #e8eaf6;
	--muted:     #8892b0;
	--radius:    14px;
	--transition: .25s cubic-bezier(.4,0,.2,1);
}

html { scroll-behavior: smooth; }

body {
	font-family: 'Sora', sans-serif;
	background: var(--bg);
	color: var(--text);
	min-height: 100vh;
	overflow-x: hidden;
}

body::before {
	content: '';
	position: fixed; inset: 0; z-index: 0; pointer-events: none;
	background:
		radial-gradient(ellipse 80% 60% at 20% -10%, rgba(91,108,246,.18) 0%, transparent 65%),
		radial-gradient(ellipse 60% 50% at 90% 110%, rgba(92,223,158,.10) 0%, transparent 65%),
		radial-gradient(ellipse 50% 40% at 70% 40%, rgba(201,184,255,.06) 0%, transparent 60%);
}

/* NAV */
nav {
	position: relative; z-index: 2;
	display: flex; align-items: center; justify-content: space-between;
	padding: 20px 40px;
	border-bottom: 1px solid var(--border);
}
.nav-brand {
	display: flex; align-items: center; gap: 10px;
	font-size: .95rem; font-weight: 600; color: var(--text);
	text-decoration: none;
}
.brand-icon {
	width: 32px; height: 32px; border-radius: 9px;
	background: linear-gradient(135deg, var(--accent), #7c8bff);
	display: flex; align-items: center; justify-content: center;
	font-size: 1rem;
}
.nav-link {
	font-size: .85rem; color: var(--muted); text-decoration: none;
	transition: color var(--transition);
}
.nav-link:hover { color: var(--text); }

/* WRAPPER */
.wrapper {
	position: relative; z-index: 1;
	max-width: 900px;
	margin: 0 auto;
	padding: 60px 24px 80px;
}

/* HERO */
.hero { text-align: center; padding: 64px 0 40px; }

.hero-badge {
	display: inline-flex; align-items: center; gap: 8px;
	background: rgba(91,108,246,.12);
	border: 1px solid rgba(91,108,246,.3);
	border-radius: 99px; padding: 5px 14px;
	font-size: .78rem; font-weight: 500; color: var(--accent2);
	font-family: 'DM Mono', monospace;
	margin-bottom: 28px;
	animation: fadeUp .6s ease both;
}
.version-dot {
	width: 6px; height: 6px; border-radius: 50%;
	background: var(--lnx); box-shadow: 0 0 8px var(--lnx);
}

h1 {
	font-size: clamp(2.4rem, 6vw, 4rem);
	font-weight: 700; letter-spacing: -.03em; line-height: 1.1;
	margin-bottom: 18px;
	animation: fadeUp .6s .1s ease both;
}
h1 span {
	background: linear-gradient(135deg, var(--accent2), var(--lnx) 70%);
	-webkit-background-clip: text; -webkit-text-fill-color: transparent;
}

.hero-sub {
	font-size: 1.05rem; color: var(--muted); line-height: 1.65;
	max-width: 500px; margin: 0 auto 40px;
	animation: fadeUp .6s .2s ease both;
}

.os-badge {
	display: inline-flex; align-items: center; gap: 8px;
	background: var(--surface); border: 1px solid var(--border);
	border-radius: 99px; padding: 7px 16px;
	font-size: .82rem; color: var(--muted);
	margin-bottom: 36px;
	animation: fadeUp .6s .25s ease both;
}
.os-badge strong { color: var(--text); }

/* PRIMARY BUTTON */
.primary-download { animation: fadeUp .6s .3s ease both; margin-bottom: 40px; }

.btn-primary {
	display: inline-flex; align-items: center; gap: 12px;
	background: linear-gradient(135deg, var(--accent) 0%, #7c8bff 100%);
	color: #fff;
	font-family: 'Sora', sans-serif;
	font-size: 1.05rem; font-weight: 600;
	padding: 16px 36px; border-radius: 12px; border: none; cursor: pointer;
	text-decoration: none;
	box-shadow: 0 4px 32px rgba(91,108,246,.4), 0 1px 0 rgba(255,255,255,.1) inset;
	transition: transform var(--transition), box-shadow var(--transition);
	position: relative; overflow: hidden;
}
.btn-primary::after {
	content: '';
	position: absolute; inset: 0;
	background: linear-gradient(to bottom, rgba(255,255,255,.12), transparent);
}
.btn-primary:hover {
	transform: translateY(-2px);
	box-shadow: 0 8px 40px rgba(91,108,246,.55), 0 1px 0 rgba(255,255,255,.12) inset;
}
.btn-primary:active { transform: translateY(0); }
.btn-icon { font-size: 1.3rem; line-height: 1; }
.btn-icon img { display: block; width: 20px; height: 20px; }
.btn-label { display: flex; flex-direction: column; align-items: flex-start; }
.btn-label-main { line-height: 1.2; }
.btn-label-sub { font-size: .72rem; font-weight: 400; opacity: .7; font-family: 'DM Mono', monospace; }

/* SECONDARY BUTTONS */
.other-label {
	font-size: .78rem; color: var(--muted); letter-spacing: .1em;
	text-transform: uppercase; font-weight: 500;
	margin-bottom: 20px;
	animation: fadeUp .6s .35s ease both;
}
.alt-downloads {
	display: flex; flex-wrap: wrap; justify-content: center; gap: 12px;
	animation: fadeUp .6s .4s ease both; margin-bottom: 56px;
}
.btn-secondary {
	display: inline-flex; align-items: center; gap: 10px;
	background: var(--surface); border: 1px solid var(--border);
	color: var(--text);
	font-family: 'Sora', sans-serif;
	font-size: .9rem; font-weight: 500;
	padding: 12px 22px; border-radius: 10px; cursor: pointer;
	text-decoration: none;
	transition: border-color var(--transition), background var(--transition), transform var(--transition);
}
.btn-secondary:hover {
	background: rgba(255,255,255,.05);
	border-color: rgba(255,255,255,.18);
	transform: translateY(-1px);
}
.btn-secondary.win-btn:hover  { border-color: rgba(79,200,255,.4); }
.btn-secondary.mac-btn:hover  { border-color: rgba(201,184,255,.4); }
.btn-secondary.lnx-btn:hover  { border-color: rgba(90,223,158,.4); }
.btn-secondary .os-icon { font-size: 1.1rem; }
.btn-secondary .os-icon img { display: block; width: 18px; height: 18px; }
.btn-secondary .ext-tag {
	font-family: 'DM Mono', monospace; font-size: .7rem; color: var(--muted);
	background: rgba(255,255,255,.05); border-radius: 4px; padding: 2px 6px;
}

/* SLIDESHOW */
.screenshots-section { animation: fadeUp .6s .45s ease both; margin-bottom: 64px; }
.screenshots-title {
	font-size: .78rem; color: var(--muted); letter-spacing: .1em;
	text-transform: uppercase; font-weight: 500;
	margin-bottom: 20px; text-align: center;
}
.slideshow {
	position: relative; border-radius: 18px; overflow: hidden;
	border: 1px solid var(--border);
	box-shadow: 0 24px 80px rgba(0,0,0,.5);
	background: var(--bg2); aspect-ratio: 16/9;
}
.slide { position: absolute; inset: 0; opacity: 0; transition: opacity .8s ease; }
.slide.active { opacity: 1; }
.slide img { width: 100%; height: 100%; object-fit: cover; display: block; }
.slide-caption {
	position: absolute; bottom: 0; left: 0; right: 0;
	padding: 20px 24px 18px;
	background: linear-gradient(to top, rgba(11,15,26,.95), transparent);
	font-size: .82rem; color: var(--muted);
}
.slide-placeholder {
	width: 100%; height: 100%;
	display: flex; flex-direction: column;
	align-items: center; justify-content: center; gap: 12px;
	color: var(--muted); font-size: .9rem;
}
.slide-placeholder .ph-icon { font-size: 2.5rem; }

.slide-dots { display: flex; justify-content: center; gap: 8px; margin-top: 16px; }
.dot {
	width: 6px; height: 6px; border-radius: 50%;
	background: var(--border); cursor: pointer;
	transition: background var(--transition), width var(--transition);
	border: none;
}
.dot.active { background: var(--accent2); width: 20px; border-radius: 3px; }

.slide-arrow {
	position: absolute; top: 50%; transform: translateY(-50%);
	width: 36px; height: 36px; border-radius: 50%;
	background: rgba(255,255,255,.06); backdrop-filter: blur(8px);
	border: 1px solid var(--border); color: var(--text); font-size: 1rem;
	display: flex; align-items: center; justify-content: center;
	cursor: pointer; z-index: 10;
	transition: background var(--transition);
}
.slide-arrow:hover { background: rgba(255,255,255,.12); }
.slide-arrow.prev { left: 12px; }
.slide-arrow.next { right: 12px; }

/* FEATURES */
.features {
	display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px;
	animation: fadeUp .6s .5s ease both; margin-bottom: 64px;
}
@media (max-width: 640px) { .features { grid-template-columns: 1fr; } }
.feat-card {
	background: var(--surface); border: 1px solid var(--border);
	border-radius: var(--radius); padding: 22px 20px;
	transition: border-color var(--transition);
}
.feat-card:hover { border-color: rgba(255,255,255,.16); }
.feat-icon { font-size: 1.4rem; margin-bottom: 10px; }
.feat-title { font-size: .9rem; font-weight: 600; margin-bottom: 6px; }
.feat-desc { font-size: .82rem; color: var(--muted); line-height: 1.6; }

/* REQUIREMENTS */
.reqs {
	background: var(--surface); border: 1px solid var(--border);
	border-radius: var(--radius); padding: 28px 32px;
	display: flex; flex-wrap: wrap; gap: 32px;
	animation: fadeUp .6s .55s ease both; margin-bottom: 48px;
}
.req-group { flex: 1; min-width: 160px; }
.req-os-icon { font-size: 1.3rem; margin-bottom: 8px; }
.req-os-name { font-size: .85rem; font-weight: 600; margin-bottom: 6px; }
.req-detail { font-size: .78rem; color: var(--muted); line-height: 1.7; font-family: 'DM Mono', monospace; }

/* FOOTER */
footer {
	text-align: center; padding: 24px 0;
	border-top: 1px solid var(--border);
	font-size: .8rem; color: var(--muted);
	position: relative; z-index: 1;
}
footer a { color: var(--accent2); text-decoration: none; }
footer a:hover { text-decoration: underline; }

/* ANIMATIONS */
@keyframes fadeUp {
	from { opacity: 0; transform: translateY(20px); }
	to   { opacity: 1; transform: translateY(0); }
}

@media (max-width: 600px) {
	nav { padding: 16px 20px; }
	.wrapper { padding: 40px 16px 60px; }
	h1 { font-size: 2.2rem; }
	.btn-primary { font-size: .95rem; padding: 14px 26px; }
}
