/* =========================================================
   GAMING VPN — Gaming theme
   Palette:
     --bg        #07070b  near-black base
     --surface   #12121c  card surface
     --red       #ff2d46  neon brand red (primary)
     --red-deep  #a61d1b  legacy brand red (logo match)
     --cyan      #22e0e8  electric secondary accent
     --gold      #d8b46a  premium accent (sparingly)
   Fonts: 'Chakra Petch' (display) + 'Inter' (body)
   ========================================================= */

:root {
	--bg: #07070b;
	--bg-2: #0c0c14;
	--surface: #12121c;
	--surface-2: #181826;
	--border: #25253a;
	--red: #ff2d46;
	--red-deep: #a61d1b;
	--red-glow: rgba(255, 45, 70, 0.55);
	--cyan: #22e0e8;
	--gold: #d8b46a;
	--text: #f3f3f8;
	--muted: #9a9ab2;
	--lime: #39ff8b;
	--radius: 14px;
	--maxw: 1200px;
	--display: 'Chakra Petch', 'Inter', sans-serif;
}

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

html {
	scroll-behavior: smooth;
}

body {
	background-color: var(--bg);
	color: var(--text);
	font-family: 'Inter', sans-serif;
	font-size: 16px;
	line-height: 1.6;
	overflow-x: hidden;
	/* subtle gaming grid + red radial glow backdrop */
	background-image:
		radial-gradient(1200px 600px at 50% -10%, rgba(255, 45, 70, 0.14), transparent 70%),
		radial-gradient(900px 500px at 90% 10%, rgba(34, 224, 232, 0.06), transparent 70%),
		linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
		linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
	background-size: auto, auto, 48px 48px, 48px 48px;
	background-attachment: fixed;
}

h1, h2, h3, .display {
	font-family: var(--display);
	letter-spacing: 0.5px;
	line-height: 1.12;
}

a { color: var(--cyan); }

::selection {
	background: var(--red);
	color: #fff;
}

.desktop-prison {
	max-width: var(--maxw);
	margin: 0 auto;
	width: 100%;
}

/* =========================================================
   Section wrapper (replaces .html-prison-*)
   ========================================================= */

.section {
	width: 100%;
	padding: 70px 5vw;
	position: relative;
	border-top: 1px solid var(--border);
}

.section--tight { padding-top: 40px; }

.eyebrow {
	display: inline-block;
	font-family: var(--display);
	font-weight: 600;
	font-size: 0.8rem;
	letter-spacing: 3px;
	text-transform: uppercase;
	color: var(--cyan);
	border: 1px solid rgba(34, 224, 232, 0.35);
	border-radius: 100px;
	padding: 5px 16px;
	margin-bottom: 22px;
	background: rgba(34, 224, 232, 0.06);
}

.section-title {
	font-size: clamp(1.9rem, 4vw, 2.8rem);
	font-weight: 700;
	text-transform: uppercase;
	margin-bottom: 14px;
}

.section-title .accent { color: var(--red); }

.section-sub {
	font-size: 1.15rem;
	color: var(--muted);
	max-width: 760px;
}

.center { text-align: center; }
.center .section-sub { margin-left: auto; margin-right: auto; }

/* =========================================================
   Header / Nav
   ========================================================= */

header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	height: 72px;
	padding: 0 5vw;
	position: sticky;
	top: 0;
	z-index: 1000;
	background: rgba(7, 7, 11, 0.78);
	backdrop-filter: blur(12px);
	border-bottom: 1px solid var(--border);
}

.header-left-side {
	display: flex;
	align-items: center;
}

.header-logo {
	width: auto;
	height: 46px;
	display: block;
}

nav ul {
	background: var(--bg-2);
	position: fixed;
	z-index: 999;
	top: 0;
	right: 0;
	height: 100vh;
	margin: 0;
	list-style: none;
	width: 75%;
	max-width: 320px;
	padding: 1.5em;
	text-align: right;
	transform: translateX(100%);
	transition: transform 0.45s ease-in-out;
	border-left: 1px solid var(--border);
}

nav ul li {
	margin: 1em 0;
}

nav ul li:nth-of-type(1) { margin-bottom: 2em; }

nav ul li a {
	color: var(--text);
	text-decoration: none;
	font-weight: 600;
	font-size: 1.05rem;
	transition: color 0.2s;
}

nav ul li a:hover { color: var(--red); }

.nav-menu-button { width: 34px; height: auto; cursor: pointer; }
.nav-menu-close-button { width: 30px; height: auto; }

.nav-menu-cta {
	background: var(--red);
	color: #fff !important;
	border-radius: 8px;
	padding: 9px 18px;
	display: inline-block;
	box-shadow: 0 0 18px var(--red-glow);
	transition: all 0.2s;
}

.nav-menu-cta:hover {
	background: #fff;
	color: var(--red) !important;
}

.open { transform: translateX(0%); }

/* =========================================================
   Buttons
   ========================================================= */

.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	font-family: var(--display);
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 1px;
	text-decoration: none;
	cursor: pointer;
	border: none;
	border-radius: 10px;
	transition: transform 0.15s ease, box-shadow 0.2s ease, background 0.2s;
}

.btn-primary {
	background: linear-gradient(135deg, var(--red) 0%, #c01024 100%);
	color: #fff;
	font-size: 1.25rem;
	padding: 16px 38px;
	box-shadow: 0 0 22px var(--red-glow), inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.btn-primary:hover {
	transform: translateY(-2px);
	box-shadow: 0 0 38px var(--red-glow), 0 8px 24px rgba(0, 0, 0, 0.5);
}

.btn-ghost {
	background: transparent;
	color: var(--cyan);
	border: 1px solid rgba(34, 224, 232, 0.45);
	font-size: 1.05rem;
	padding: 14px 30px;
}

.btn-ghost:hover {
	background: rgba(34, 224, 232, 0.1);
	box-shadow: 0 0 20px rgba(34, 224, 232, 0.25);
}

/* trust line under CTAs */
.trust-line {
	display: flex;
	flex-wrap: wrap;
	gap: 8px 22px;
	justify-content: center;
	margin-top: 26px;
}

.trust-line span {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	color: var(--muted);
	font-size: 0.95rem;
}

.trust-line span::before {
	content: "";
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: var(--lime);
	box-shadow: 0 0 8px var(--lime);
}

/* =========================================================
   HERO
   ========================================================= */

.hero {
	text-align: center;
	padding: 70px 5vw 80px;
	position: relative;
	border-top: none;
}

.hero h1 {
	font-size: clamp(2.4rem, 6vw, 4.4rem);
	font-weight: 700;
	text-transform: uppercase;
	margin: 18px 0 20px;
}

.grad {
	background: linear-gradient(100deg, var(--red) 20%, #ff7a5c 60%, var(--gold) 100%);
	-webkit-background-clip: text;
	background-clip: text;
	-webkit-text-fill-color: transparent;
	filter: drop-shadow(0 0 24px var(--red-glow));
}

code {
	font-family: 'Chakra Petch', monospace;
	background: rgba(34, 224, 232, 0.1);
	border: 1px solid rgba(34, 224, 232, 0.25);
	color: var(--cyan);
	border-radius: 5px;
	padding: 1px 7px;
	font-size: 0.9em;
}

.hero .lead {
	font-size: 1.3rem;
	color: var(--text);
	max-width: 760px;
	margin: 0 auto 14px;
}

.hero .sub {
	font-size: 1.05rem;
	color: var(--muted);
	max-width: 720px;
	margin: 0 auto 32px;
}

.hero-cta {
	display: flex;
	gap: 16px;
	justify-content: center;
	flex-wrap: wrap;
}

/* =========================================================
   STAT BAR
   ========================================================= */

.stat-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
	gap: 18px;
	max-width: var(--maxw);
	margin: 0 auto;
}

.stat {
	background: linear-gradient(180deg, var(--surface), var(--bg-2));
	border: 1px solid var(--border);
	border-radius: var(--radius);
	padding: 26px 18px;
	text-align: center;
}

.stat .num {
	font-family: var(--display);
	font-size: 2.4rem;
	font-weight: 700;
	color: var(--red);
	text-shadow: 0 0 18px var(--red-glow);
	line-height: 1;
}

.stat .num.cyan {
	color: var(--cyan);
	text-shadow: 0 0 18px rgba(34, 224, 232, 0.45);
}

.stat .label {
	margin-top: 10px;
	color: var(--muted);
	font-size: 0.92rem;
	text-transform: uppercase;
	letter-spacing: 1px;
}

/* =========================================================
   CAROUSEL
   ========================================================= */

.carousel {
	overflow: hidden;
	position: relative;
	width: 100%;
	margin-top: 36px;
	/* fade edges */
	-webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
	mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.carousel-track {
	display: flex;
	width: max-content;
	animation: scroll-left 45s linear infinite;
}

.carousel img {
	height: 210px;
	width: auto;
	margin: 0 12px;
	object-fit: cover;
	border-radius: 12px;
	border: 1px solid var(--border);
	transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s;
}

.carousel img:hover {
	transform: scale(1.04);
	border-color: var(--red);
	box-shadow: 0 0 26px var(--red-glow);
}

@keyframes scroll-left {
	from { transform: translateX(0); }
	to { transform: translateX(-50%); }
}

/* =========================================================
   FEATURES GRID
   ========================================================= */

.feature-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
	gap: 20px;
	max-width: var(--maxw);
	margin: 44px auto 0;
}

.feature-card {
	background: var(--surface);
	border: 1px solid var(--border);
	border-radius: var(--radius);
	padding: 30px 26px;
	text-align: left;
	position: relative;
	overflow: hidden;
	transition: transform 0.2s, border-color 0.2s, box-shadow 0.2s;
}

.feature-card::before {
	content: "";
	position: absolute;
	inset: 0 0 auto 0;
	height: 3px;
	background: linear-gradient(90deg, var(--red), var(--cyan));
	opacity: 0;
	transition: opacity 0.25s;
}

.feature-card:hover {
	transform: translateY(-4px);
	border-color: rgba(255, 45, 70, 0.5);
	box-shadow: 0 12px 40px rgba(0, 0, 0, 0.5);
}

.feature-card:hover::before { opacity: 1; }

.feature-icon {
	width: 52px;
	height: 52px;
	display: grid;
	place-items: center;
	border-radius: 12px;
	background: rgba(255, 45, 70, 0.1);
	border: 1px solid rgba(255, 45, 70, 0.3);
	margin-bottom: 18px;
}

.feature-icon svg { width: 26px; height: 26px; stroke: var(--red); }

.feature-card h3 {
	font-size: 1.25rem;
	font-weight: 600;
	margin-bottom: 10px;
	text-transform: uppercase;
}

.feature-card p { color: var(--muted); font-size: 1rem; }

/* =========================================================
   HOW IT WORKS (diagram + prose)
   ========================================================= */

.prose {
	max-width: 820px;
	margin: 0 auto;
	text-align: center;
}

.prose p {
	font-size: 1.12rem;
	color: var(--muted);
	margin-top: 18px;
}

.prose .img-1 {
	margin: 30px auto;
	width: 100%;
	max-width: 640px;
	height: auto;
	border-radius: var(--radius);
	border: 1px solid var(--border);
	box-shadow: 0 0 40px rgba(255, 45, 70, 0.12);
}

/* =========================================================
   METRIC CARDS (latency / jitter / packet loss)
   ========================================================= */

.metric-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
	gap: 22px;
	max-width: var(--maxw);
	margin: 44px auto 0;
	text-align: left;
}

.metric-card {
	background: linear-gradient(180deg, var(--surface), var(--bg-2));
	border: 1px solid var(--border);
	border-radius: var(--radius);
	padding: 30px 28px;
	transition: border-color 0.2s, box-shadow 0.2s;
}

.metric-card:hover {
	border-color: rgba(34, 224, 232, 0.45);
	box-shadow: 0 0 30px rgba(34, 224, 232, 0.12);
}

.metric-card .metric-head {
	display: flex;
	align-items: center;
	gap: 12px;
	margin-bottom: 14px;
}

.metric-card h3 {
	font-size: 1.4rem;
	font-weight: 700;
	text-transform: uppercase;
	color: var(--cyan);
}

.metric-tag {
	font-family: var(--display);
	font-size: 0.72rem;
	letter-spacing: 1px;
	text-transform: uppercase;
	color: var(--red);
	border: 1px solid rgba(255, 45, 70, 0.4);
	border-radius: 6px;
	padding: 3px 9px;
}

.metric-card p { color: var(--muted); font-size: 1.02rem; }

/* =========================================================
   DOWNLOAD / STEPS
   ========================================================= */

.download-container {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
	gap: 20px;
	max-width: var(--maxw);
	margin: 44px auto 0;
}

.download-box {
	background: var(--surface);
	border: 1px solid var(--border);
	border-radius: var(--radius);
	padding: 28px;
	text-align: left;
	color: var(--text);
	position: relative;
	transition: border-color 0.2s, transform 0.2s;
}

.download-box:hover {
	border-color: rgba(255, 45, 70, 0.5);
	transform: translateY(-3px);
}

.download-step {
	display: inline-block;
	font-family: var(--display);
	font-weight: 700;
	letter-spacing: 1px;
	text-transform: uppercase;
	background: var(--red);
	color: #fff;
	border-radius: 6px;
	padding: 5px 14px;
	font-size: 0.85rem;
	box-shadow: 0 0 16px var(--red-glow);
}

.download-box h3 {
	font-size: 1.25rem;
	font-weight: 600;
	margin: 18px 0 14px;
	text-transform: uppercase;
}

.download-box p { color: var(--muted); margin-top: 8px; }
.download-p { color: var(--muted); }
.download-p-a, .download-box a { color: var(--cyan); text-decoration: none; }
.download-p-a:hover, .download-box a:hover { text-decoration: underline; }

.available-on {
	margin-top: 44px;
	text-align: center;
}

.available-on .label {
	color: var(--muted);
	text-transform: uppercase;
	letter-spacing: 2px;
	font-size: 0.85rem;
	margin-bottom: 18px;
}

.available-on-container {
	display: flex;
	justify-content: center;
	align-items: center;
	flex-wrap: wrap;
	gap: 26px;
}

.available-on-container img {
	height: 38px;
	width: auto;
	opacity: 0.7;
	filter: grayscale(1) brightness(2);
	transition: opacity 0.2s, transform 0.2s;
}

.available-on-container img:hover {
	opacity: 1;
	transform: translateY(-3px);
}

/* =========================================================
   PRICING
   ========================================================= */

.pricing-container {
	display: flex;
	justify-content: center;
	margin: 44px auto 0;
}

.pricing-box {
	background: linear-gradient(180deg, var(--surface-2), var(--bg-2));
	border: 1px solid rgba(255, 45, 70, 0.5);
	border-radius: 18px;
	padding: 38px 34px;
	text-align: center;
	max-width: 420px;
	width: 100%;
	position: relative;
	box-shadow: 0 0 50px rgba(255, 45, 70, 0.15);
}

.pricing-box .badge {
	position: absolute;
	top: -14px;
	left: 50%;
	transform: translateX(-50%);
	background: var(--red);
	color: #fff;
	font-family: var(--display);
	font-size: 0.75rem;
	letter-spacing: 1.5px;
	text-transform: uppercase;
	padding: 6px 18px;
	border-radius: 100px;
	box-shadow: 0 0 18px var(--red-glow);
	white-space: nowrap;
}

.pricing-box h3 {
	font-size: 1.6rem;
	text-transform: uppercase;
	margin-bottom: 8px;
}

.price {
	margin: 18px 0 6px;
}

.price .amount {
	font-family: var(--display);
	font-size: 3.6rem;
	font-weight: 700;
	color: var(--text);
	line-height: 1;
}

.price .period { color: var(--muted); font-size: 1.1rem; }

.pricing-features {
	list-style: none;
	margin: 24px 0;
	text-align: left;
}

.pricing-features li {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 9px 0;
	color: var(--text);
	border-bottom: 1px solid var(--border);
}

.pricing-features li::before {
	content: "";
	width: 18px;
	height: 18px;
	flex: 0 0 18px;
	border-radius: 50%;
	background: rgba(57, 255, 139, 0.15);
	border: 1px solid var(--lime);
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2339ff8b' stroke-width='3'%3E%3Cpath d='M5 12l4 4L19 7'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: center;
	background-size: 12px;
}

.pricing-button-cta {
	width: 100%;
	margin-top: 10px;
	font-size: 1.2rem;
	padding: 15px;
}

/* =========================================================
   FINAL CTA
   ========================================================= */

.final-cta {
	text-align: center;
	background:
		radial-gradient(700px 300px at 50% 0%, rgba(255, 45, 70, 0.18), transparent 70%);
}

.final-cta h2 {
	font-size: clamp(1.8rem, 4vw, 2.8rem);
	text-transform: uppercase;
	margin-bottom: 16px;
}

/* =========================================================
   FOOTER
   ========================================================= */

footer {
	width: 100%;
	text-align: center;
	padding: 50px 5vw;
	border-top: 1px solid var(--border);
	background: var(--bg-2);
	color: var(--muted);
}

footer .foot-brand {
	font-family: var(--display);
	font-size: 1.3rem;
	font-weight: 700;
	color: var(--text);
	text-transform: uppercase;
	letter-spacing: 2px;
	margin-bottom: 14px;
}

footer p { margin: 4px 0; font-size: 0.92rem; }
footer .foot-accent { color: var(--red); }

/* =========================================================
   RESPONSIVE
   ========================================================= */

@media (min-width: 1024px) {
	.menu-open, .menu-close { display: none; }

	header { height: 80px; }

	.header-logo { height: 56px; }

	nav ul {
		background: transparent;
		position: relative;
		height: auto;
		width: auto;
		max-width: none;
		padding: 0;
		transform: none;
		display: flex;
		align-items: center;
		border: none;
	}

	nav ul li { display: inline-flex; align-items: center; margin: 0 0 0 1.6em; }
	nav ul li:nth-of-type(1) { display: none; } /* close btn */

	nav ul li a { font-size: 1rem; }

	.hero { padding-top: 90px; }
}

@media (max-width: 600px) {
	.section { padding: 50px 6vw; }
	.btn-primary { font-size: 1.1rem; padding: 14px 28px; }
	.carousel img { height: 150px; }
	.header-logo { height: 40px; }
	.price .amount { font-size: 3rem; }
}
