/* ============================================================
   GLOBAL 4K IPTV — Main Stylesheet
   Dark premium streaming theme
============================================================ */

/* --- CUSTOM PROPERTIES --- */
:root {
	--bg:          #0A0A0F;
	--bg-alt:      #080810;
	--bg-card:     #12121A;
	--bg-card-2:   #1A1A2E;
	--border:      rgba(255,255,255,.07);
	--border-glow: rgba(79,70,229,.35);

	--text:        #FFFFFF;
	--text-secondary: #A0A0B0;
	--text-muted:  #60607A;

	--accent-1:    #4F46E5;
	--accent-2:    #7C3AED;
	--accent-mid:  #6340EF;
	--accent-blue: #2563EB;
	--accent-cyan: #0EA5E9;
	--success:     #10B981;
	--warning:     #F59E0B;
	--error:       #EF4444;

	--grad-primary: linear-gradient(135deg, var(--accent-1), var(--accent-2));
	--grad-glow:    radial-gradient(ellipse at center, rgba(79,70,229,.2) 0%, transparent 70%);

	--radius-sm:  8px;
	--radius-md:  16px;
	--radius-lg:  24px;
	--radius-xl:  32px;
	--radius-pill: 9999px;

	--shadow-sm:  0 1px 3px rgba(0,0,0,.4);
	--shadow-md:  0 4px 24px rgba(0,0,0,.5);
	--shadow-lg:  0 12px 48px rgba(0,0,0,.6);
	--shadow-glow: 0 0 40px rgba(79,70,229,.25);

	--transition: 0.3s ease;
	--header-h: 72px;
	--container: 1200px;
}

/* --- RESET & BASE --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
	scroll-behavior: smooth;
	-webkit-text-size-adjust: 100%;
}

body {
	background: var(--bg);
	color: var(--text);
	font-family: 'Inter', 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
	font-size: 1rem;
	line-height: 1.65;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	overflow-x: hidden;
}

img, video { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { cursor: pointer; border: none; background: none; font: inherit; }
input, select, textarea { font: inherit; }

h1, h2, h3, h4 {
	font-family: 'Plus Jakarta Sans', 'Inter', sans-serif;
	font-weight: 700;
	line-height: 1.2;
	letter-spacing: -.02em;
}

/* --- ACCESSIBILITY --- */
.sr-only {
	position: absolute; width: 1px; height: 1px;
	padding: 0; margin: -1px; overflow: hidden;
	clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

:focus-visible {
	outline: 2px solid var(--accent-1);
	outline-offset: 3px;
}

/* --- CONTAINER --- */
.container {
	width: 100%;
	max-width: var(--container);
	margin: 0 auto;
	padding: 0 clamp(1rem, 4vw, 2rem);
}

/* --- GRADIENT TEXT --- */
.gradient-text {
	background: var(--grad-primary);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	background-clip: text;
}

.text-link {
	color: var(--accent-1);
	border-bottom: 1px solid transparent;
	transition: border-color var(--transition);
}
.text-link:hover { border-color: var(--accent-1); }

/* --- SECTION --- */
.section {
	padding: clamp(3rem, 5vw, 4.5rem) 0;
}
.section--alt { background: var(--bg-alt); }

.section-header {
	text-align: center;
	max-width: 680px;
	margin: 0 auto clamp(2rem, 3.5vw, 3rem);
}

.section-label {
	display: inline-block;
	font-size: .8rem;
	font-weight: 600;
	letter-spacing: .1em;
	text-transform: uppercase;
	color: var(--accent-1);
	margin-bottom: .75rem;
	padding: .3rem .9rem;
	border: 1px solid var(--border-glow);
	border-radius: var(--radius-pill);
	background: rgba(79,70,229,.08);
}

.section-title {
	font-size: clamp(1.75rem, 3.5vw, 2.75rem);
	font-weight: 800;
	margin-bottom: 1rem;
}

.section-sub {
	color: var(--text-secondary);
	font-size: clamp(.95rem, 1.5vw, 1.1rem);
	line-height: 1.7;
}

/* ============================================================
   BUTTONS
============================================================ */
.btn {
	display: inline-flex;
	align-items: center;
	gap: .5rem;
	padding: .75rem 1.6rem;
	border-radius: var(--radius-pill);
	font-weight: 600;
	font-size: .95rem;
	transition: all var(--transition);
	position: relative;
	overflow: hidden;
	white-space: nowrap;
}

.btn::before {
	content: '';
	position: absolute;
	inset: 0;
	background: rgba(255,255,255,0);
	transition: background var(--transition);
}

.btn:hover::before { background: rgba(255,255,255,.06); }

.btn--gradient {
	background: var(--grad-primary);
	color: #fff;
	box-shadow: 0 4px 20px rgba(79,70,229,.4);
}
.btn--gradient:hover {
	transform: translateY(-2px);
	box-shadow: 0 8px 30px rgba(79,70,229,.55);
}

.btn--outline {
	color: var(--text);
	border: 1.5px solid var(--border);
	background: rgba(255,255,255,.03);
}
.btn--outline:hover {
	border-color: var(--accent-1);
	color: #fff;
	transform: translateY(-2px);
	box-shadow: 0 4px 20px rgba(79,70,229,.2);
}

.btn--sm { padding: .5rem 1.1rem; font-size: .85rem; }
.btn--lg { padding: .9rem 2rem; font-size: 1rem; }

.btn--full { width: 100%; justify-content: center; }

/* ============================================================
   HEADER
============================================================ */
.site-header {
	position: fixed;
	top: 0; left: 0; right: 0;
	height: var(--header-h);
	z-index: 1000;
	transition: all .4s ease;
}

.site-header.scrolled {
	background: rgba(10,10,15,.92);
	backdrop-filter: blur(20px);
	-webkit-backdrop-filter: blur(20px);
	border-bottom: 1px solid var(--border);
	box-shadow: 0 4px 32px rgba(0,0,0,.4);
}

.header__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	height: var(--header-h);
	gap: 1.5rem;
}

.site-logo { display: flex; align-items: center; }
.site-logo svg { display: block; }

.site-nav { display: flex; }
.nav__list {
	display: flex;
	gap: clamp(.5rem, 2vw, 2rem);
	align-items: center;
}

.nav__link {
	font-size: .92rem;
	font-weight: 500;
	color: var(--text-secondary);
	transition: color var(--transition);
	padding: .4rem 0;
	position: relative;
}

.nav__link::after {
	content: '';
	position: absolute;
	bottom: -2px; left: 0; right: 100%;
	height: 2px;
	background: var(--grad-primary);
	border-radius: 1px;
	transition: right var(--transition);
}

.nav__link:hover,
.nav__link--active {
	color: var(--text);
}

.nav__link:hover::after,
.nav__link--active::after {
	right: 0;
}

.header__actions {
	display: flex;
	align-items: center;
	gap: 1rem;
}

.burger {
	display: none;
	flex-direction: column;
	gap: 5px;
	padding: .5rem;
	border-radius: var(--radius-sm);
}

.burger__line {
	display: block;
	width: 22px;
	height: 2px;
	background: var(--text);
	border-radius: 1px;
	transition: all .3s ease;
}

.burger.is-open .burger__line:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.is-open .burger__line:nth-child(2) { opacity: 0; transform: scaleX(0); }
.burger.is-open .burger__line:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ============================================================
   HERO
============================================================ */
.hero {
	min-height: 100svh;
	display: flex;
	align-items: center;
	position: relative;
	overflow: hidden;
	padding-top: var(--header-h);
}

.hero__bg {
	position: absolute;
	inset: 0;
	z-index: 0;
}

.hero__glow {
	position: absolute;
	border-radius: 50%;
	filter: blur(120px);
	pointer-events: none;
}
.hero__glow--1 {
	width: 60vw; height: 60vw;
	background: radial-gradient(ellipse, rgba(79,70,229,.18) 0%, transparent 70%);
	top: -20%; left: -10%;
	animation: glow-float 8s ease-in-out infinite alternate;
}
.hero__glow--2 {
	width: 50vw; height: 50vw;
	background: radial-gradient(ellipse, rgba(124,58,237,.15) 0%, transparent 70%);
	bottom: -20%; right: -10%;
	animation: glow-float 10s ease-in-out infinite alternate-reverse;
}

.hero__grid-lines {
	position: absolute;
	inset: 0;
	background-image:
		linear-gradient(rgba(79,70,229,.04) 1px, transparent 1px),
		linear-gradient(90deg, rgba(79,70,229,.04) 1px, transparent 1px);
	background-size: 60px 60px;
}

@keyframes glow-float {
	from { transform: translate(0,0) scale(1); }
	to   { transform: translate(3%,5%) scale(1.1); }
}

.hero__inner {
	position: relative;
	z-index: 1;
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: clamp(2rem, 5vw, 5rem);
	align-items: center;
	padding-top: 3rem;
	padding-bottom: 3rem;
}

.hero__content { max-width: 580px; }

.badge {
	display: inline-flex;
	align-items: center;
	gap: .5rem;
	font-size: .8rem;
	font-weight: 600;
	color: #fff;
	padding: .35rem 1rem;
	border-radius: var(--radius-pill);
	background: rgba(16,185,129,.12);
	border: 1px solid rgba(16,185,129,.25);
	margin-bottom: 1.5rem;
}

.hero__headline {
	font-size: clamp(2.5rem, 5.5vw, 4.5rem);
	font-weight: 800;
	line-height: 1.07;
	margin-bottom: 1.5rem;
	letter-spacing: -.03em;
}

.hero__sub {
	font-size: clamp(1rem, 1.6vw, 1.2rem);
	color: var(--text-secondary);
	line-height: 1.7;
	margin-bottom: 2rem;
	max-width: 46ch;
}

.hero__stats {
	display: flex;
	align-items: center;
	gap: 1.5rem;
	margin-bottom: 2rem;
	flex-wrap: wrap;
}

.hero__stat strong {
	display: block;
	font-size: clamp(1.3rem, 2vw, 1.75rem);
	font-weight: 800;
	background: var(--grad-primary);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	background-clip: text;
}

.hero__stat span {
	font-size: .75rem;
	color: var(--text-muted);
	letter-spacing: .05em;
	text-transform: uppercase;
}

.hero__stat-divider {
	width: 1px;
	height: 36px;
	background: var(--border);
}

.hero__cta {
	display: flex;
	gap: 1rem;
	flex-wrap: wrap;
	margin-bottom: 1.75rem;
}

.hero__trust {
	display: flex;
	align-items: center;
	gap: .75rem;
	font-size: .85rem;
	color: var(--text-secondary);
}

.trust-avatars {
	display: flex;
}

.trust-avatar {
	width: 28px;
	height: 28px;
	border-radius: 50%;
	border: 2px solid var(--bg);
	margin-left: -8px;
}
.trust-avatars .trust-avatar:first-child { margin-left: 0; }

.trust-stars {
	display: flex;
	gap: 2px;
}

/* ============================================================
   TV MOCKUP HERO VISUAL
============================================================ */

/* --- Animations --- */
@keyframes tv-enter {
	from { opacity: 0; transform: translateX(50px) scale(.96); }
	to   { opacity: 1; transform: translateX(0) scale(1); }
}
@keyframes tv-float {
	0%,100% { transform: translateY(0); }
	50%      { transform: translateY(-12px); }
}
@keyframes badge-float-1 {
	0%,100% { transform: translateY(0) rotate(-3deg); }
	50%      { transform: translateY(-10px) rotate(-3deg); }
}
@keyframes badge-float-2 {
	0%,100% { transform: translateY(0) rotate(2deg); }
	50%      { transform: translateY(-14px) rotate(2deg); }
}
@keyframes badge-float-3 {
	0%,100% { transform: translateY(0) rotate(-1deg); }
	50%      { transform: translateY(-8px) rotate(-1deg); }
}
@keyframes live-pulse {
	0%,100% { opacity: 1; box-shadow: 0 0 0 0 rgba(239,68,68,.7); }
	60%      { opacity: .6; box-shadow: 0 0 0 5px rgba(239,68,68,0); }
}
@keyframes progress-sweep {
	0%   { width: 8%; }
	100% { width: 68%; }
}
@keyframes sig1 { 0%,100%{height:3px} 50%{height:7px} }
@keyframes sig2 { 0%,100%{height:6px} 50%{height:11px} }
@keyframes sig3 { 0%,100%{height:10px} 50%{height:5px} }
@keyframes sig4 { 0%,100%{height:14px} 50%{height:9px} }
@keyframes glow-pulse {
	0%,100% { opacity: .35; transform: scale(1); }
	50%      { opacity: .6; transform: scale(1.08); }
}
@keyframes scanline {
	0%   { top: -8%; }
	100% { top: 108%; }
}

/* --- Wrapper --- */
.hero__visual {
	display: flex;
	justify-content: center;
	align-items: center;
	padding: 2rem 0 2rem 2rem;
}

.tv-mockup {
	position: relative;
	width: min(460px, 100%);
	animation: tv-enter .9s cubic-bezier(.22,1,.36,1) .3s both, tv-float 7s ease-in-out 1.3s infinite;
	filter: drop-shadow(0 24px 56px rgba(79,70,229,.3));
}

/* Ambient glow */
.tv-mockup__glow {
	position: absolute;
	inset: 5% 8%;
	background: radial-gradient(ellipse at 50% 45%, rgba(79,70,229,.55) 0%, rgba(124,58,237,.25) 45%, transparent 70%);
	filter: blur(48px);
	animation: glow-pulse 4s ease-in-out infinite;
	z-index: 0;
	pointer-events: none;
}

/* Frame */
.tv-mockup__frame {
	position: relative;
	z-index: 1;
	background: #181828;
	border-radius: 14px 14px 6px 6px;
	border: 2px solid rgba(255,255,255,.1);
	box-shadow:
		inset 0 1px 0 rgba(255,255,255,.1),
		inset 0 -2px 6px rgba(0,0,0,.6),
		0 0 0 1px rgba(0,0,0,.5);
}

.tv-mockup__bezel-top {
	height: 14px;
	display: flex;
	align-items: center;
	justify-content: center;
	background: linear-gradient(180deg, #232336 0%, #181828 100%);
	border-radius: 12px 12px 0 0;
}
.tv-mockup__camera {
	width: 7px; height: 7px;
	border-radius: 50%;
	background: rgba(255,255,255,.12);
	box-shadow: 0 0 0 2px rgba(255,255,255,.05), inset 0 0 3px rgba(79,70,229,.4);
}

/* Screen */
.tv-mockup__screen {
	background: #05050E;
	overflow: hidden;
	position: relative;
}
/* Scanline overlay */
.tv-mockup__screen::after {
	content: '';
	position: absolute;
	inset: 0;
	background: repeating-linear-gradient(
		0deg,
		transparent,
		transparent 3px,
		rgba(0,0,0,.07) 3px,
		rgba(0,0,0,.07) 4px
	);
	pointer-events: none;
	z-index: 20;
}
/* Moving highlight scanline */
.tv-mockup__screen::before {
	content: '';
	position: absolute;
	left: 0; right: 0;
	height: 50px;
	background: linear-gradient(180deg, transparent, rgba(255,255,255,.025), transparent);
	animation: scanline 7s linear infinite;
	z-index: 21;
	pointer-events: none;
}

/* IPTV App Header */
.iptv__header {
	display: flex;
	align-items: center;
	gap: .6rem;
	padding: .45rem .75rem;
	background: rgba(255,255,255,.035);
	border-bottom: 1px solid rgba(255,255,255,.05);
}
.iptv__header-logo {
	display: flex;
	align-items: center;
	gap: .35rem;
	font-size: .68rem;
	font-weight: 800;
	letter-spacing: .05em;
	color: rgba(255,255,255,.9);
	flex-shrink: 0;
}
.iptv__logo-icon {
	width: 16px; height: 16px;
	border-radius: 3px;
	background: var(--grad-primary);
	display: inline-block;
	flex-shrink: 0;
}
.iptv__header-logo strong { color: var(--accent-1); }
.iptv__nav {
	display: flex;
	gap: .4rem;
	flex: 1;
}
.iptv__nav-item {
	font-size: .62rem;
	font-weight: 600;
	color: rgba(255,255,255,.35);
	padding: .18rem .4rem;
	border-radius: 4px;
}
.iptv__nav-item--active {
	color: #fff;
	background: rgba(79,70,229,.3);
}
.iptv__signal {
	display: flex;
	align-items: flex-end;
	gap: 2px;
	height: 14px;
	flex-shrink: 0;
}
.iptv__signal span {
	width: 3px;
	background: var(--accent-1);
	border-radius: 2px 2px 0 0;
}
.iptv__signal span:nth-child(1) { height: 3px;  animation: sig1 2.2s ease-in-out infinite; }
.iptv__signal span:nth-child(2) { height: 6px;  animation: sig2 2.2s ease-in-out infinite .25s; }
.iptv__signal span:nth-child(3) { height: 10px; animation: sig3 2.2s ease-in-out infinite .5s; }
.iptv__signal span:nth-child(4) { height: 14px; animation: sig4 2.2s ease-in-out infinite .75s; opacity: .45; }

/* Featured broadcast */
.iptv__hero {
	position: relative;
	height: 155px;
	overflow: hidden;
}
.iptv__hero-bg { position: absolute; inset: 0; }
.iptv__hero-field {
	width: 100%; height: 100%;
	background:
		radial-gradient(ellipse at 80% 20%, rgba(79,70,229,.4) 0%, transparent 50%),
		radial-gradient(ellipse at 20% 80%, rgba(16,185,129,.15) 0%, transparent 45%),
		linear-gradient(145deg, #0C1829 0%, #16082E 50%, #081421 100%);
}
.iptv__hero-field::before {
	content: '';
	position: absolute;
	bottom: 0; left: 0; right: 0; height: 45%;
	background: linear-gradient(0deg, rgba(16,185,129,.18) 0%, transparent 100%);
}
.iptv__hero-field::after {
	content: '';
	position: absolute; inset: 0;
	background:
		linear-gradient(90deg, transparent 49%, rgba(255,255,255,.04) 49%, rgba(255,255,255,.04) 51%, transparent 51%),
		radial-gradient(ellipse 70% 35% at 50% 78%, rgba(255,255,255,.04) 0%, transparent 100%);
}
.iptv__hero-overlay {
	position: absolute; inset: 0;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	padding: .6rem .75rem;
	background: linear-gradient(180deg, rgba(0,0,0,.1) 0%, transparent 40%, rgba(0,0,0,.55) 100%);
}
.iptv__hero-top { display: flex; gap: .4rem; align-items: center; }
.iptv__live-tag {
	display: inline-flex;
	align-items: center;
	gap: .28rem;
	font-size: .58rem;
	font-weight: 800;
	letter-spacing: .1em;
	color: #fff;
	background: rgba(220,38,38,.9);
	padding: .18rem .45rem;
	border-radius: 4px;
}
.iptv__live-dot {
	width: 5px; height: 5px;
	border-radius: 50%;
	background: #fff;
	animation: live-pulse 1.4s ease-in-out infinite;
}
.iptv__quality-tag {
	font-size: .56rem;
	font-weight: 800;
	letter-spacing: .08em;
	color: var(--accent-1);
	background: rgba(79,70,229,.18);
	border: 1px solid rgba(79,70,229,.45);
	padding: .14rem .38rem;
	border-radius: 4px;
}
.iptv__hero-bottom {}
.iptv__hero-ch {
	font-size: .6rem;
	font-weight: 600;
	color: rgba(255,255,255,.55);
	margin-bottom: .12rem;
	letter-spacing: .04em;
}
.iptv__hero-title {
	font-size: .82rem;
	font-weight: 700;
	color: #fff;
	margin-bottom: .4rem;
}
.iptv__hero-progress {
	height: 3px;
	background: rgba(255,255,255,.15);
	border-radius: 2px;
	overflow: hidden;
}
.iptv__hero-bar {
	height: 100%;
	width: 8%;
	background: linear-gradient(90deg, var(--accent-1), var(--accent-2));
	border-radius: 2px;
	animation: progress-sweep 9s ease-in-out 1.2s forwards;
}

/* Channel row */
.iptv__channels {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: .35rem;
	padding: .55rem .75rem;
	background: rgba(255,255,255,.015);
	border-top: 1px solid rgba(255,255,255,.05);
}
.iptv__ch-item {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: .28rem;
	padding: .38rem .25rem;
	border-radius: 7px;
	background: rgba(255,255,255,.04);
	border: 1px solid rgba(255,255,255,.06);
	font-size: .58rem;
	font-weight: 500;
	color: rgba(255,255,255,.45);
	position: relative;
}
.iptv__ch-item--active {
	background: rgba(79,70,229,.18);
	border-color: rgba(79,70,229,.4);
	color: #fff;
}
.iptv__ch-thumb {
	width: 26px; height: 26px;
	border-radius: 6px;
	background: var(--c, #4F46E5);
	opacity: .85;
}
.iptv__ch-live {
	position: absolute;
	top: 4px; right: 4px;
	width: 5px; height: 5px;
	border-radius: 50%;
	background: #EF4444;
	animation: live-pulse 1.4s ease-in-out infinite;
}

/* Bottom bezel */
.tv-mockup__bezel-bottom {
	height: 12px;
	background: linear-gradient(0deg, #181828 0%, #232336 100%);
	display: flex;
	align-items: center;
	justify-content: center;
}
.tv-mockup__power {
	width: 24px; height: 3px;
	border-radius: 2px;
	background: rgba(255,255,255,.08);
}

/* Stand */
.tv-mockup__stand {
	display: flex;
	flex-direction: column;
	align-items: center;
	position: relative; z-index: 1;
}
.tv-mockup__neck {
	width: 36px; height: 18px;
	background: linear-gradient(180deg, #181828 0%, #232336 100%);
	clip-path: polygon(28% 0%, 72% 0%, 88% 100%, 12% 100%);
}
.tv-mockup__base {
	width: 110px; height: 7px;
	background: linear-gradient(180deg, #2A2A42 0%, #181828 100%);
	border-radius: 0 0 6px 6px;
	box-shadow: 0 4px 16px rgba(0,0,0,.5);
}

/* Floating badges */
.tv-badge {
	position: absolute;
	z-index: 10;
	display: flex;
	align-items: center;
	gap: .5rem;
	padding: .5rem .7rem;
	background: rgba(12,12,22,.92);
	backdrop-filter: blur(14px);
	border: 1px solid rgba(255,255,255,.1);
	border-radius: 12px;
	box-shadow: 0 8px 28px rgba(0,0,0,.5), 0 0 0 1px rgba(79,70,229,.1);
	white-space: nowrap;
}
.tv-badge div { display: flex; flex-direction: column; line-height: 1.3; }
.tv-badge strong { font-size: .75rem; font-weight: 700; color: #fff; }
.tv-badge span   { font-size: .62rem; color: rgba(255,255,255,.45); }
.tv-badge svg    { flex-shrink: 0; }

.tv-badge--1 {
	top: 12%; left: -14%;
	animation: badge-float-1 4.2s ease-in-out infinite;
}
.tv-badge--2 {
	top: -5%; right: -12%;
	animation: badge-float-2 5s ease-in-out infinite .6s;
}
.tv-badge--3 {
	bottom: 20%; right: -12%;
	animation: badge-float-3 4.6s ease-in-out infinite 1.1s;
}

/* Scroll hint */
.hero__scroll {
	position: absolute;
	bottom: 2rem;
	left: 50%;
	transform: translateX(-50%);
}
.scroll-dot {
	width: 20px; height: 32px;
	border: 2px solid var(--border);
	border-radius: var(--radius-pill);
	position: relative;
}
.scroll-dot::before {
	content: '';
	position: absolute;
	top: 5px; left: 50%;
	transform: translateX(-50%);
	width: 4px; height: 6px;
	background: var(--accent-1);
	border-radius: 2px;
	animation: scroll-hint 2s ease-in-out infinite;
}
@keyframes scroll-hint {
	0%,100% { transform: translateX(-50%) translateY(0); opacity: 1; }
	80%      { transform: translateX(-50%) translateY(12px); opacity: 0; }
}

/* ============================================================
   TRUST BAR
============================================================ */
.trust-bar {
	background: var(--bg-alt);
	border-top: 1px solid var(--border);
	border-bottom: 1px solid var(--border);
	padding: 2rem 0;
}

.trust-bar__inner {
	display: flex;
	align-items: center;
	gap: 2rem;
	flex-wrap: wrap;
	justify-content: center;
}

.trust-bar__label {
	font-size: .8rem;
	color: var(--text-muted);
	letter-spacing: .08em;
	text-transform: uppercase;
	white-space: nowrap;
}

.trust-bar__devices {
	display: flex;
	gap: 1.5rem;
	flex-wrap: wrap;
	justify-content: center;
	align-items: center;
}

.trust-bar__device {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: .35rem;
	color: var(--text-muted);
	transition: color var(--transition);
}
.trust-bar__device:hover { color: var(--text); }
.trust-bar__device svg { width: 24px; height: 24px; }
.trust-bar__device span { font-size: .65rem; letter-spacing: .04em; white-space: nowrap; }

/* ============================================================
   FEATURES GRID
============================================================ */
.features-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
	gap: 1.5rem;
}

.features-grid--3 {
	grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
}

.feature-card {
	background: var(--bg-card);
	border: 1px solid var(--border);
	border-radius: var(--radius-md);
	padding: 1.75rem;
	transition: all var(--transition);
	position: relative;
	overflow: hidden;
}

.feature-card::before {
	content: '';
	position: absolute;
	top: 0; left: 0; right: 0;
	height: 2px;
	background: var(--icon-color, var(--accent-1));
	opacity: 0;
	transition: opacity var(--transition);
}

.feature-card:hover {
	border-color: var(--border-glow);
	transform: translateY(-4px);
	box-shadow: var(--shadow-md);
}
.feature-card:hover::before { opacity: 1; }

.feature-card__icon {
	width: 48px;
	height: 48px;
	border-radius: var(--radius-sm);
	background: rgba(79,70,229,.1);
	display: flex;
	align-items: center;
	justify-content: center;
	margin-bottom: 1.25rem;
	color: var(--icon-color, var(--accent-1));
	border: 1px solid rgba(79,70,229,.15);
}
.feature-card__icon svg { width: 22px; height: 22px; }

.feature-card__title {
	font-size: 1rem;
	font-weight: 700;
	margin-bottom: .5rem;
}

.feature-card__desc {
	font-size: .88rem;
	color: var(--text-secondary);
	line-height: 1.65;
}

/* ============================================================
   HOW IT WORKS — Steps
============================================================ */
.steps-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 2rem;
	position: relative;
}

.step-card {
	background: var(--bg-card);
	border: 1px solid var(--border);
	border-radius: var(--radius-md);
	padding: 2rem 1.75rem;
	position: relative;
	transition: all var(--transition);
}

.step-card:hover {
	border-color: var(--border-glow);
	transform: translateY(-4px);
	box-shadow: var(--shadow-md), var(--shadow-glow);
}

.step-card__num {
	font-size: 4rem;
	font-weight: 800;
	line-height: 1;
	background: var(--grad-primary);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	background-clip: text;
	opacity: .15;
	position: absolute;
	top: 1.25rem;
	right: 1.5rem;
}

.step-card__icon {
	width: 52px;
	height: 52px;
	border-radius: var(--radius-md);
	background: var(--grad-primary);
	display: flex;
	align-items: center;
	justify-content: center;
	margin-bottom: 1.25rem;
	color: #fff;
}
.step-card__icon svg { width: 24px; height: 24px; }

.step-card__title { font-size: 1.15rem; font-weight: 700; margin-bottom: .75rem; }
.step-card__desc { font-size: .9rem; color: var(--text-secondary); line-height: 1.65; margin-bottom: 1.5rem; }

.step-card__link {
	display: inline-flex;
	align-items: center;
	gap: .4rem;
	font-size: .88rem;
	font-weight: 600;
	color: var(--accent-1);
	transition: gap var(--transition);
}
.step-card__link:hover { gap: .7rem; }

.step-connector {
	display: none;
}

/* ============================================================
   PRICING CARDS
============================================================ */
.pricing-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 1.5rem;
	align-items: start;
	max-width: 960px;
	margin: 0 auto;
}

.pricing-row {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 1.5rem;
	align-items: start;
	max-width: 960px;
	margin: 0 auto;
}

.price-card {
	background: var(--bg-card);
	border: 1px solid var(--border);
	border-radius: var(--radius-md);
	padding: 2rem 1.75rem;
	transition: all var(--transition);
	position: relative;
	overflow: hidden;
	display: flex;
	flex-direction: column;
}

.price-card .btn--full {
	margin-top: auto;
}

.price-card--popular {
	background: var(--bg-card-2);
	border-color: var(--accent-1);
	box-shadow: var(--shadow-glow);
}

.price-card:hover {
	transform: translateY(-4px);
	box-shadow: var(--shadow-md), var(--shadow-glow);
}

.price-card__badge {
	position: absolute;
	top: -1px;
	left: 50%;
	transform: translateX(-50%);
	background: var(--grad-primary);
	color: #fff;
	font-size: .72rem;
	font-weight: 700;
	letter-spacing: .06em;
	text-transform: uppercase;
	padding: .3rem 1rem;
	border-radius: 0 0 var(--radius-sm) var(--radius-sm);
	white-space: nowrap;
}

.price-card__header { padding-top: 1rem; margin-bottom: 1.5rem; }
.price-card__title { font-size: 1rem; font-weight: 700; margin-bottom: .75rem; color: var(--text-secondary); }

.price-card__price {
	display: flex;
	align-items: baseline;
	gap: .25rem;
	margin-bottom: .35rem;
}

.price-card__amount {
	font-size: clamp(1.75rem, 3vw, 2.5rem);
	font-weight: 800;
	font-family: 'Plus Jakarta Sans', sans-serif;
}

.price-card__period { font-size: .9rem; color: var(--text-muted); }
.price-card__per { font-size: .8rem; color: var(--text-muted); }
.price-card__save { font-size: .8rem; color: var(--success); font-weight: 600; margin-top: .25rem; }

.price-card__features {
	display: flex;
	flex-direction: column;
	gap: .65rem;
	margin-bottom: 1.75rem;
}

.price-card__features li {
	display: flex;
	align-items: center;
	gap: .65rem;
	font-size: .88rem;
	color: var(--text-secondary);
}
.price-card__features svg { flex-shrink: 0; }

/* Device toggle */
.device-toggle {
	display: inline-flex;
	background: var(--bg-card);
	border: 1px solid var(--border);
	border-radius: var(--radius-pill);
	padding: .3rem;
}

.device-toggle__btn {
	padding: .5rem 1.25rem;
	border-radius: var(--radius-pill);
	font-size: .9rem;
	font-weight: 600;
	color: var(--text-secondary);
	transition: all .25s ease;
}

.device-toggle__btn.active {
	background: var(--grad-primary);
	color: #fff;
	box-shadow: 0 2px 12px rgba(79,70,229,.4);
}

.pricing-device-group { margin-bottom: 0; }

/* Pricing page: reduce gap between toggle in hero and cards */
.pricing-full.section { padding-top: 2.5rem; }

/* Homepage: toggle + grid spacing */
.pricing-toggle-wrap { text-align: center; margin-bottom: 2.5rem; }
.pricing-preview .pricing-grid { margin-top: 0; }
.pricing-group-title {
	display: flex;
	align-items: center;
	gap: .75rem;
	font-size: 1.2rem;
	font-weight: 700;
	margin-bottom: 1.5rem;
	color: var(--text-secondary);
}

/* Trust badges under pricing */
.pricing-trust {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 1rem;
	margin-top: 3rem;
	padding-top: 2.5rem;
	border-top: 1px solid var(--border);
}

.pricing-trust__item {
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	gap: .85rem;
	padding: 1.5rem 1rem;
	background: var(--bg-card);
	border: 1px solid var(--border);
	border-radius: var(--radius-md);
	transition: border-color var(--transition), transform var(--transition);
}

.pricing-trust__item:hover {
	border-color: rgba(16,185,129,.35);
	transform: translateY(-3px);
}

.pricing-trust__item svg {
	width: 28px;
	height: 28px;
	flex-shrink: 0;
}

.pricing-trust__item span {
	font-size: .85rem;
	font-weight: 500;
	color: var(--text-secondary);
	line-height: 1.5;
}

/* ============================================================
   COMPATIBILITY
============================================================ */
.compat-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
	gap: 1rem;
}

.compat-card {
	background: var(--bg-card);
	border: 1px solid var(--border);
	border-radius: var(--radius-md);
	padding: 1.5rem 1rem;
	text-align: center;
	transition: all var(--transition);
}

.compat-card:hover {
	border-color: var(--border-glow);
	transform: translateY(-3px);
	box-shadow: var(--shadow-sm);
}

.compat-card__icon {
	display: flex;
	justify-content: center;
	margin-bottom: .75rem;
	color: var(--text-secondary);
	transition: color var(--transition);
}
.compat-card:hover .compat-card__icon { color: var(--accent-1); }
.compat-card__icon svg { width: 28px; height: 28px; }

.compat-card__name { font-size: .8rem; font-weight: 600; margin-bottom: .25rem; }
.compat-card__detail { font-size: .7rem; color: var(--text-muted); }

/* Features page compat */
.compat-full-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
	gap: 1.5rem;
}

.compat-group { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-md); padding: 1.5rem; }
.compat-group__title { font-size: .95rem; font-weight: 700; margin-bottom: 1rem; color: var(--accent-1); }
.compat-group__list { display: flex; flex-direction: column; gap: .5rem; }
.compat-group__list li { display: flex; align-items: center; gap: .5rem; font-size: .85rem; color: var(--text-secondary); }

/* ============================================================
   TESTIMONIALS
============================================================ */
.testimonials-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 1.5rem;
}

.review-card {
	background: var(--bg-card);
	border: 1px solid var(--border);
	border-radius: var(--radius-md);
	padding: 1.75rem;
	transition: all var(--transition);
}

.review-card:hover {
	border-color: var(--border-glow);
	transform: translateY(-3px);
	box-shadow: var(--shadow-md);
}

.review-card__header {
	display: flex;
	align-items: flex-start;
	gap: .9rem;
	margin-bottom: 1.25rem;
}

.review-card__avatar {
	width: 42px;
	height: 42px;
	border-radius: 50%;
	background: var(--grad-primary);
	display: flex;
	align-items: center;
	justify-content: center;
	font-weight: 700;
	font-size: 1.1rem;
	flex-shrink: 0;
}

.review-card__meta { flex: 1; }
.review-card__name { display: block; font-size: .92rem; font-weight: 700; }
.review-card__country { display: block; font-size: .78rem; color: var(--text-muted); margin-top: .1rem; }
.review-card__stars { display: flex; gap: 2px; margin-top: .3rem; }

.review-card__text p {
	font-size: .9rem;
	color: var(--text-secondary);
	line-height: 1.7;
	font-style: italic;
}

.review-card__footer {
	display: flex;
	align-items: center;
	gap: .5rem;
	margin-top: 1.25rem;
	padding-top: 1rem;
	border-top: 1px solid var(--border);
}

.review-card__plan { font-size: .75rem; color: var(--text-muted); margin-right: auto; }
.review-card__verified { font-size: .75rem; color: var(--success); }

/* ============================================================
   FAQ
============================================================ */
.faq__inner { max-width: 760px; margin: 0 auto; }

.faq__list { display: flex; flex-direction: column; gap: 0; }

.faq__item {
	border-bottom: 1px solid var(--border);
}

.faq__question {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	width: 100%;
	text-align: left;
	padding: 1.25rem 0;
	font-size: .98rem;
	font-weight: 600;
	color: var(--text);
	transition: color var(--transition);
}
.faq__question:hover { color: var(--accent-1); }

.faq__icon {
	flex-shrink: 0;
	transition: transform .3s ease;
	color: var(--text-muted);
}

.faq__item.is-open .faq__icon {
	transform: rotate(180deg);
	color: var(--accent-1);
}

.faq__answer {
	padding-bottom: 1.25rem;
}
.faq__answer p {
	font-size: .9rem;
	color: var(--text-secondary);
	line-height: 1.75;
}

.faq__more {
	text-align: center;
	margin-top: 2.5rem;
	color: var(--text-muted);
	font-size: .92rem;
}

/* ============================================================
   FOOTER CTA BANNER
============================================================ */
.footer-cta {
	background: var(--bg-card-2);
	border-top: 1px solid var(--border);
	border-bottom: 1px solid var(--border);
	padding: 5rem 0;
	position: relative;
	overflow: hidden;
}

.footer-cta::before {
	content: '';
	position: absolute;
	inset: 0;
	background: var(--grad-glow);
	pointer-events: none;
}

.footer-cta__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 2rem;
	flex-wrap: wrap;
	position: relative;
	z-index: 1;
}

.footer-cta__title {
	font-size: clamp(1.5rem, 3vw, 2.25rem);
	font-weight: 800;
	margin-bottom: .75rem;
}

.footer-cta__sub {
	color: var(--text-secondary);
	max-width: 50ch;
	font-size: .95rem;
}

.footer-cta__actions {
	display: flex;
	gap: 1rem;
	flex-shrink: 0;
	flex-wrap: wrap;
}

/* ============================================================
   FOOTER
============================================================ */
.site-footer {
	background: var(--bg-alt);
	padding-top: 4rem;
}

.footer__inner {
	display: grid;
	grid-template-columns: 2fr 1fr 1fr 1fr;
	gap: 3rem;
	padding-bottom: 3rem;
	border-bottom: 1px solid var(--border);
}

.footer__tagline {
	color: var(--text-muted);
	font-size: .85rem;
	line-height: 1.7;
	margin-top: 1rem;
	max-width: 32ch;
}

.footer__social {
	display: flex;
	gap: .75rem;
	margin-top: 1.5rem;
}

.social-link {
	width: 36px;
	height: 36px;
	border-radius: var(--radius-sm);
	background: var(--bg-card);
	border: 1px solid var(--border);
	display: flex;
	align-items: center;
	justify-content: center;
	color: var(--text-muted);
	transition: all var(--transition);
}
.social-link:hover {
	color: #fff;
	border-color: var(--accent-1);
	background: rgba(79,70,229,.1);
}

.footer__nav-title {
	font-size: .8rem;
	font-weight: 700;
	letter-spacing: .1em;
	text-transform: uppercase;
	color: var(--text-muted);
	margin-bottom: 1.25rem;
}

.footer__nav ul { display: flex; flex-direction: column; gap: .65rem; }
.footer__nav li a {
	font-size: .88rem;
	color: var(--text-muted);
	transition: color var(--transition);
}
.footer__nav li a:hover { color: var(--text); }

.footer__bottom {
	padding: 1.5rem 0;
}
.footer__bottom-inner {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 1rem;
	flex-wrap: wrap;
}

.footer__copy, .footer__legal {
	font-size: .78rem;
	color: var(--text-muted);
	line-height: 1.6;
}

/* ============================================================
   PAGE HERO
============================================================ */
.page-hero {
	padding-top: calc(var(--header-h) + 3rem);
	padding-bottom: 3rem;
	position: relative;
	overflow: hidden;
}

.page-hero::before {
	content: '';
	position: absolute;
	inset: 0;
	background:
		radial-gradient(ellipse at 30% 50%, rgba(79,70,229,.12) 0%, transparent 60%),
		radial-gradient(ellipse at 70% 50%, rgba(124,58,237,.08) 0%, transparent 60%);
}

.page-hero--sm { padding-bottom: 4rem; }

.page-hero__inner {
	position: relative;
	z-index: 1;
	text-align: center;
}

.page-hero__title {
	font-size: clamp(2rem, 4.5vw, 3.5rem);
	font-weight: 800;
	margin-bottom: 1rem;
}

.page-hero__sub {
	color: var(--text-secondary);
	font-size: clamp(.95rem, 1.5vw, 1.15rem);
	max-width: 55ch;
	margin: 0 auto 1.5rem;
	line-height: 1.7;
}

.page-hero__toggle { margin-top: 1.5rem; }

/* ============================================================
   HOW IT WORKS — DETAILED
============================================================ */
.hiw-steps {
	display: flex;
	flex-direction: column;
	gap: 0;
	max-width: 900px;
	margin: 0 auto;
}

.hiw-step {
	display: grid;
	grid-template-columns: 80px 1fr;
	gap: 2rem;
	padding: 3rem 0;
	border-bottom: 1px solid var(--border);
}

.hiw-step:last-child { border-bottom: none; }

.hiw-step__num {
	font-size: 3.5rem;
	font-weight: 800;
	line-height: 1;
	background: var(--grad-primary);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	background-clip: text;
	padding-top: .5rem;
}

.hiw-step__icon {
	width: 48px;
	height: 48px;
	border-radius: var(--radius-md);
	background: var(--grad-primary);
	display: flex;
	align-items: center;
	justify-content: center;
	color: #fff;
	margin-bottom: 1.25rem;
}
.hiw-step__icon svg { width: 24px; height: 24px; }

.hiw-step__title { font-size: 1.4rem; font-weight: 800; margin-bottom: .75rem; }

.hiw-step__desc {
	color: var(--text-secondary);
	line-height: 1.75;
	margin-bottom: 1.5rem;
}

.hiw-step__detail h3 {
	font-size: .9rem;
	font-weight: 700;
	margin-bottom: .75rem;
	color: var(--text-secondary);
	text-transform: uppercase;
	letter-spacing: .05em;
}

.hiw-step__detail ul {
	display: flex;
	flex-direction: column;
	gap: .5rem;
	margin-bottom: 1.25rem;
}

.hiw-step__detail li {
	font-size: .9rem;
	color: var(--text-secondary);
	padding-left: 1.25rem;
	position: relative;
}

.hiw-step__detail li::before {
	content: '→';
	position: absolute;
	left: 0;
	color: var(--accent-1);
}

.hiw-step__tip {
	display: flex;
	align-items: flex-start;
	gap: .6rem;
	padding: .85rem 1rem;
	background: rgba(245,158,11,.07);
	border: 1px solid rgba(245,158,11,.2);
	border-radius: var(--radius-sm);
	font-size: .88rem;
	color: var(--text-secondary);
}

.hiw-step__code-block {
	background: var(--bg-card);
	border: 1px solid var(--border);
	border-radius: var(--radius-md);
	overflow: hidden;
}

.code-tabs {
	display: flex;
	border-bottom: 1px solid var(--border);
}

.code-tab {
	padding: .65rem 1.25rem;
	font-size: .82rem;
	font-weight: 600;
	color: var(--text-muted);
	border-bottom: 2px solid transparent;
	transition: all var(--transition);
}

.code-tab.active {
	color: var(--accent-1);
	border-bottom-color: var(--accent-1);
}

.code-content {
	padding: 1.25rem;
}

.code-content code {
	display: block;
	font-family: 'Courier New', monospace;
	font-size: .8rem;
	color: var(--accent-cyan);
	word-break: break-all;
	margin-bottom: .75rem;
	padding: .75rem;
	background: rgba(0,0,0,.3);
	border-radius: var(--radius-sm);
}

.code-note { font-size: .8rem; color: var(--text-muted); }

.xtream-fields { display: flex; flex-direction: column; gap: .5rem; margin-bottom: .75rem; }
.xtream-fields > div { font-size: .85rem; display: flex; gap: .75rem; }
.xtream-fields > div span { color: var(--text-muted); min-width: 75px; }
.xtream-fields code { font-family: 'Courier New', monospace; color: var(--accent-cyan); background: none; padding: 0; }

.hiw-connector { width: 2px; height: 3rem; background: var(--border); margin: 0 auto; display: none; }

.install-accordion { border: 1px solid var(--border); border-radius: var(--radius-md); overflow: hidden; }

.install-item { border-bottom: 1px solid var(--border); }
.install-item:last-child { border-bottom: none; }

.install-item__toggle {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	width: 100%;
	text-align: left;
	padding: 1rem 1.25rem;
	font-size: .9rem;
	font-weight: 600;
	transition: background var(--transition);
}
.install-item__toggle:hover { background: rgba(255,255,255,.02); }
.install-item__toggle .faq__icon { transition: transform .3s ease; }
.install-item.is-open .install-item__toggle .faq__icon { transform: rotate(180deg); }

.install-item__content { padding: 0 1.25rem 1.25rem; }

.install-steps { padding-left: 1.25rem; display: flex; flex-direction: column; gap: .6rem; }
.install-steps li { font-size: .88rem; color: var(--text-secondary); line-height: 1.65; }
.install-steps li::marker { color: var(--accent-1); }

.hiw-cta {
	text-align: center;
	margin-top: 4rem;
	padding: 3rem;
	background: var(--bg-card-2);
	border: 1px solid var(--border-glow);
	border-radius: var(--radius-lg);
}

.hiw-cta h2 { font-size: clamp(1.4rem, 2.5vw, 2rem); margin-bottom: .75rem; }
.hiw-cta p { color: var(--text-secondary); margin-bottom: 2rem; }

/* ============================================================
   CONTACT
============================================================ */
.contact-grid {
	display: grid;
	grid-template-columns: 1fr 1.5fr;
	gap: 3rem;
	align-items: start;
}

.contact-channels { display: flex; flex-direction: column; gap: 1.25rem; }

.contact-card {
	background: var(--bg-card);
	border: 1px solid var(--border);
	border-radius: var(--radius-md);
	padding: 1.75rem;
}

.contact-card__icon {
	width: 44px;
	height: 44px;
	border-radius: var(--radius-sm);
	background: rgba(79,70,229,.1);
	display: flex;
	align-items: center;
	justify-content: center;
	color: var(--icon-color, var(--accent-1));
	margin-bottom: 1rem;
}
.contact-card__icon svg { width: 22px; height: 22px; }

.contact-card h3 { font-size: 1rem; font-weight: 700; margin-bottom: .5rem; }
.contact-card p { font-size: .88rem; color: var(--text-secondary); margin-bottom: 1rem; }
.contact-card__badge { display: block; font-size: .75rem; color: var(--text-muted); margin-top: .75rem; }

.contact-info-box {
	background: var(--bg-card);
	border: 1px solid var(--border);
	border-radius: var(--radius-md);
	padding: 1.5rem;
}

.contact-info-box h3 { font-size: .95rem; font-weight: 700; margin-bottom: 1rem; }

.support-hours { display: flex; flex-direction: column; gap: .85rem; margin-bottom: 1.25rem; }
.support-hours li { display: flex; flex-direction: column; gap: .15rem; }
.support-hours li span { font-size: .8rem; color: var(--text-muted); }
.support-hours li strong { font-size: .88rem; }

.support-status {
	display: flex;
	align-items: center;
	gap: .5rem;
	font-size: .85rem;
	color: var(--text-secondary);
}

.status-dot {
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: var(--text-muted);
}

.status-dot--online {
	background: var(--success);
	box-shadow: 0 0 0 2px rgba(16,185,129,.25);
	animation: pulse-online 2s ease-in-out infinite;
}

@keyframes pulse-online {
	0%,100% { box-shadow: 0 0 0 2px rgba(16,185,129,.25); }
	50%      { box-shadow: 0 0 0 6px rgba(16,185,129,.1); }
}

.contact-form-wrap {
	background: var(--bg-card);
	border: 1px solid var(--border);
	border-radius: var(--radius-md);
	padding: 2rem;
}

.contact-form-wrap__title { font-size: 1.2rem; font-weight: 700; margin-bottom: 1.5rem; }

.contact-form { display: flex; flex-direction: column; gap: 1.25rem; }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }

.form-group { display: flex; flex-direction: column; gap: .45rem; }

.form-group label {
	font-size: .85rem;
	font-weight: 600;
	color: var(--text-secondary);
}

.form-group input,
.form-group select,
.form-group textarea {
	background: var(--bg);
	border: 1.5px solid var(--border);
	border-radius: var(--radius-sm);
	padding: .75rem 1rem;
	color: var(--text);
	font-size: .9rem;
	transition: border-color var(--transition);
}

.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--text-muted); }

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
	outline: none;
	border-color: var(--accent-1);
}

.form-group select option { background: var(--bg-card); }

/* ============================================================
   FEATURES PAGE — SPECIFIC
============================================================ */
.feature-split {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 4rem;
	align-items: center;
}

.feature-split--reverse { direction: rtl; }
.feature-split--reverse > * { direction: ltr; }

.feature-split__desc {
	color: var(--text-secondary);
	line-height: 1.75;
	margin-bottom: 1.5rem;
}

.feature-list { display: flex; flex-direction: column; gap: .6rem; }
.feature-list li { display: flex; align-items: center; gap: .65rem; font-size: .9rem; color: var(--text-secondary); }

.stat-cluster {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 1rem;
}

.stat-box {
	background: var(--bg-card);
	border: 1px solid var(--border);
	border-radius: var(--radius-md);
	padding: 1.5rem;
	text-align: center;
	transition: all var(--transition);
}

.stat-box:hover { border-color: var(--border-glow); }

.stat-box strong {
	display: block;
	font-size: clamp(1.5rem, 3vw, 2.25rem);
	font-weight: 800;
	background: var(--grad-primary);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	background-clip: text;
}

.stat-box span { display: block; font-size: .8rem; color: var(--text-muted); margin-top: .35rem; }

.stat-box--lg {
	grid-column: 1 / -1;
}

.stat-box--lg strong { font-size: clamp(2.5rem, 5vw, 3.5rem); }

.stats-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 1.5rem;
}

.stats-box {
	background: var(--bg-card);
	border: 1px solid var(--border);
	border-radius: var(--radius-md);
	padding: 2rem 1.5rem;
	text-align: center;
	transition: all var(--transition);
}
.stats-box:hover { border-color: var(--border-glow); transform: translateY(-3px); }

.stats-box strong {
	display: block;
	font-size: clamp(1.75rem, 3vw, 2.5rem);
	font-weight: 800;
	background: var(--grad-primary);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	background-clip: text;
	margin-bottom: .35rem;
}

.stats-box span { font-size: .85rem; color: var(--text-muted); }

.quality-badges { display: flex; flex-wrap: wrap; gap: .75rem; margin: 1.25rem 0; }

.quality-badge {
	padding: .4rem 1rem;
	border-radius: var(--radius-pill);
	font-size: .8rem;
	font-weight: 700;
	letter-spacing: .05em;
}

.quality-badge--4k  { background: rgba(79,70,229,.15); border: 1px solid rgba(79,70,229,.4); color: #818CF8; }
.quality-badge--fhd { background: rgba(37,99,235,.15); border: 1px solid rgba(37,99,235,.4); color: #60A5FA; }
.quality-badge--hd  { background: rgba(14,165,233,.15); border: 1px solid rgba(14,165,233,.4); color: #38BDF8; }
.quality-badge--sd  { background: rgba(107,114,128,.15); border: 1px solid rgba(107,114,128,.3); color: #9CA3AF; }

.feature-split__note { font-size: .82rem; color: var(--text-muted); }

.screen-mockup { display: flex; justify-content: center; }
.screen-mockup__bezel {
	background: var(--bg-card);
	border: 2px solid var(--border);
	border-radius: var(--radius-lg);
	padding: 1.5rem;
	width: 100%;
	max-width: 360px;
	box-shadow: var(--shadow-glow), var(--shadow-lg);
}
.screen-mockup__display {
	background: #000;
	border-radius: var(--radius-sm);
	aspect-ratio: 16/9;
	position: relative;
	overflow: hidden;
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	padding: 1rem;
}
.screen-mockup__badge {
	font-size: .7rem;
	font-weight: 700;
	letter-spacing: .08em;
	padding: .25rem .65rem;
	background: rgba(239,68,68,.8);
	border-radius: var(--radius-pill);
	align-self: flex-start;
	margin-bottom: .75rem;
}
.screen-mockup__bars { display: flex; flex-direction: column; gap: .4rem; }
.screen-bar {
	height: 6px;
	border-radius: 3px;
	background: rgba(255,255,255,.1);
}
.screen-bar--1 { width: 80%; background: rgba(255,255,255,.25); }
.screen-bar--2 { width: 55%; }
.screen-bar--3 { width: 40%; }

/* ============================================================
   LEGAL PAGES
============================================================ */

/* Key highlights row */
.legal-highlights {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 1rem;
	margin-bottom: 3rem;
}

.legal-highlight {
	display: flex;
	align-items: flex-start;
	gap: .85rem;
	padding: 1.25rem 1rem;
	background: var(--bg-card);
	border: 1px solid var(--border);
	border-radius: var(--radius-md);
}

.legal-highlight svg { flex-shrink: 0; margin-top: .1rem; }

.legal-highlight div {
	display: flex;
	flex-direction: column;
	gap: .2rem;
}

.legal-highlight strong {
	font-size: .88rem;
	font-weight: 700;
	color: var(--text);
}

.legal-highlight span {
	font-size: .78rem;
	color: var(--text-muted);
	line-height: 1.45;
}

/* Two-column layout */
.legal-layout {
	display: grid;
	grid-template-columns: 220px 1fr;
	gap: 3rem;
	align-items: start;
}

/* Sidebar TOC */
.legal-toc {
	position: sticky;
	top: calc(var(--header-h) + 1.5rem);
}

.legal-toc__inner {
	background: var(--bg-card);
	border: 1px solid var(--border);
	border-radius: var(--radius-md);
	overflow: hidden;
}

.legal-toc__heading {
	font-size: .7rem;
	font-weight: 700;
	letter-spacing: .1em;
	text-transform: uppercase;
	color: var(--text-muted);
	padding: 1rem 1rem .6rem;
	border-bottom: 1px solid var(--border);
}

.legal-toc nav {
	padding: .5rem 0;
}

.legal-toc__link {
	display: block;
	font-size: .8rem;
	color: var(--text-muted);
	padding: .38rem 1rem;
	transition: color var(--transition), background var(--transition);
	border-left: 2px solid transparent;
}

.legal-toc__link:hover {
	color: var(--text);
	background: rgba(79,70,229,.06);
	border-left-color: var(--accent-1);
}

.legal-toc__meta {
	border-top: 1px solid var(--border);
	padding: .85rem 1rem;
}

.legal-toc__meta p {
	font-size: .72rem;
	color: var(--text-muted);
	margin-bottom: .35rem;
}

.legal-toc__contact {
	font-size: .78rem;
	color: var(--accent-1);
	font-weight: 600;
}

.legal-toc__contact:hover { text-decoration: underline; }

/* Content area */
.legal-content { min-width: 0; }

.legal-section {
	padding-bottom: 2rem;
	margin-bottom: 2rem;
	border-bottom: 1px solid var(--border);
}

.legal-section:last-child {
	border-bottom: none;
	margin-bottom: 0;
	padding-bottom: 0;
}

.legal-content h2 {
	font-size: 1.2rem;
	font-weight: 700;
	margin-bottom: 1rem;
	color: var(--text);
	display: flex;
	align-items: center;
	gap: .6rem;
}

.legal-content h2::before {
	content: '';
	display: inline-block;
	width: 3px;
	height: 1.1em;
	background: var(--grad-primary);
	border-radius: 2px;
	flex-shrink: 0;
}

.legal-content h3 {
	font-size: .98rem;
	font-weight: 600;
	margin: 1.25rem 0 .5rem;
	color: var(--text-secondary);
}

.legal-content p {
	color: var(--text-secondary);
	line-height: 1.8;
	margin-bottom: .85rem;
	font-size: .93rem;
}

.legal-content ul,
.legal-content ol {
	margin-bottom: 1rem;
	padding-left: 0;
	display: flex;
	flex-direction: column;
	gap: .5rem;
}

.legal-content ul li,
.legal-content ol li {
	color: var(--text-secondary);
	font-size: .9rem;
	line-height: 1.65;
	padding-left: 1.25rem;
	position: relative;
}

.legal-content ul li::before {
	content: '–';
	position: absolute;
	left: 0;
	color: var(--accent-1);
	font-weight: 600;
}

.legal-content ol { counter-reset: ol-counter; }
.legal-content ol li { counter-increment: ol-counter; }
.legal-content ol li::before {
	content: counter(ol-counter) '.';
	position: absolute;
	left: 0;
	color: var(--accent-1);
	font-size: .8rem;
	font-weight: 700;
}

.legal-content a { color: var(--accent-1); }
.legal-content a:hover { text-decoration: underline; }

/* Callout boxes */
.legal-callout {
	display: flex;
	gap: .85rem;
	align-items: flex-start;
	padding: 1rem 1.15rem;
	background: rgba(79,70,229,.07);
	border: 1px solid rgba(79,70,229,.2);
	border-radius: var(--radius-sm);
	margin: 1rem 0;
}

.legal-callout svg { flex-shrink: 0; margin-top: .15rem; }

.legal-callout p {
	margin: 0;
	font-size: .88rem;
	color: var(--text-secondary);
}

.legal-callout--green {
	background: rgba(16,185,129,.07);
	border-color: rgba(16,185,129,.25);
}

.legal-callout--warn {
	background: rgba(245,158,11,.07);
	border-color: rgba(245,158,11,.25);
}

/* Contact grid */
.legal-contact-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 1rem;
	margin-top: 1rem;
}

.legal-contact-card {
	display: flex;
	align-items: flex-start;
	gap: .75rem;
	padding: 1rem;
	background: var(--bg-card);
	border: 1px solid var(--border);
	border-radius: var(--radius-sm);
}

.legal-contact-card svg { flex-shrink: 0; margin-top: .1rem; }

.legal-contact-card div {
	display: flex;
	flex-direction: column;
	gap: .2rem;
}

.legal-contact-card strong {
	font-size: .8rem;
	font-weight: 600;
	color: var(--text-secondary);
}

.legal-contact-card a {
	font-size: .82rem;
	color: var(--accent-1);
	font-weight: 600;
}

/* Responsive */
@media (max-width: 900px) {
	.legal-highlights { grid-template-columns: 1fr 1fr; }
	.legal-layout { grid-template-columns: 1fr; }
	.legal-toc { display: none; }
	.legal-contact-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 600px) {
	.legal-highlights { grid-template-columns: 1fr; }
	.legal-contact-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   BREADCRUMBS
============================================================ */
.breadcrumbs { margin-bottom: 1.25rem; }

.breadcrumbs__list {
	display: flex;
	align-items: center;
	gap: .35rem;
	flex-wrap: wrap;
}

.breadcrumbs__item a {
	font-size: .8rem;
	color: var(--text-muted);
	transition: color var(--transition);
}
.breadcrumbs__item a:hover { color: var(--text); }

.breadcrumbs__item:last-child a,
.breadcrumbs__item:last-child span {
	color: var(--text-secondary);
	font-size: .8rem;
}

.breadcrumbs__sep { font-size: .8rem; color: var(--text-muted); }

/* ============================================================
   SCROLL REVEAL ANIMATIONS
============================================================ */
.reveal-up {
	opacity: 0;
	transform: translateY(28px);
	transition: opacity .65s ease calc(var(--delay, 0s)), transform .65s ease calc(var(--delay, 0s));
}

.reveal-fade {
	opacity: 0;
	transition: opacity .8s ease calc(var(--delay, 0s));
}

.revealed .reveal-up,
.reveal-up.is-visible {
	opacity: 1;
	transform: translateY(0);
}

.revealed .reveal-fade,
.reveal-fade.is-visible {
	opacity: 1;
}

/* Hero animations trigger immediately */
.hero .reveal-up {
	transition: opacity .65s ease calc(var(--delay, 0s) + .3s), transform .65s ease calc(var(--delay, 0s) + .3s);
}

/* ============================================================
   PARTICLES (hero canvas)
============================================================ */
#hero-particles {
	position: absolute;
	inset: 0;
	pointer-events: none;
}

/* ============================================================
   PRICING PAGE SPECIFICS
============================================================ */
.pricing-preview__more {
	text-align: center;
	margin-top: 2rem;
	color: var(--text-muted);
	font-size: .92rem;
}

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

/* Tablet */
@media (max-width: 1024px) {
	.hero__inner {
		grid-template-columns: 1fr;
		text-align: center;
	}

	.hero__content { max-width: 100%; }
	.hero__stats { justify-content: center; }
	.hero__cta { justify-content: center; }
	.hero__trust { justify-content: center; }

	.hero__visual { display: none; }
	.hero__sub { margin: 0 auto 2rem; }

	.pricing-grid { grid-template-columns: 1fr 1fr; max-width: 100%; }
	.pricing-row  { grid-template-columns: 1fr 1fr; max-width: 100%; }
	.pricing-trust { grid-template-columns: 1fr 1fr; }

	.testimonials-grid { grid-template-columns: 1fr; max-width: 560px; margin: 0 auto; }

	.footer__inner { grid-template-columns: 1fr 1fr; gap: 2rem; }

	.stats-grid { grid-template-columns: repeat(2, 1fr); }

	.feature-split { grid-template-columns: 1fr; gap: 2.5rem; }
	.feature-split--reverse { direction: ltr; }

	.steps-grid { grid-template-columns: 1fr 1fr; }

	.contact-grid { grid-template-columns: 1fr; }

	.hiw-step { grid-template-columns: 60px 1fr; }
}

/* Mobile */
@media (max-width: 768px) {
	.site-nav {
		position: fixed;
		top: var(--header-h);
		left: 0;
		right: 0;
		background: rgba(10,10,15,.97);
		backdrop-filter: blur(20px);
		-webkit-backdrop-filter: blur(20px);
		border-bottom: 1px solid var(--border);
		padding: 1.5rem;
		transform: translateY(-100%);
		opacity: 0;
		pointer-events: none;
		transition: all .35s ease;
		z-index: 999;
	}

	.site-nav.is-open {
		transform: translateY(0);
		opacity: 1;
		pointer-events: all;
	}

	.nav__list { flex-direction: column; gap: 0; align-items: flex-start; }

	.nav__link {
		display: block;
		padding: .85rem 0;
		font-size: 1rem;
		border-bottom: 1px solid var(--border);
		width: 100%;
	}

	.burger { display: flex; }
	.header__actions .btn--gradient { display: none; }

	.steps-grid { grid-template-columns: 1fr; }
	.pricing-grid { grid-template-columns: 1fr; max-width: 440px; margin: 0 auto; }
	.pricing-row  { grid-template-columns: 1fr; max-width: 440px; margin: 0 auto; }
	.pricing-trust { grid-template-columns: 1fr 1fr; }

	.footer__inner { grid-template-columns: 1fr; gap: 2rem; }
	.footer__bottom-inner { flex-direction: column; text-align: center; }

	.footer-cta__inner { flex-direction: column; text-align: center; }
	.footer-cta__actions { justify-content: center; }

	.stats-grid { grid-template-columns: 1fr 1fr; }

	.hiw-step { grid-template-columns: 1fr; }
	.hiw-step__num { font-size: 2rem; position: static; margin-bottom: .5rem; }

	.form-row { grid-template-columns: 1fr; }

	.hero__badge { justify-content: center; }

	.features-grid { grid-template-columns: 1fr; }

	.compat-full-grid { grid-template-columns: 1fr 1fr; }

	.trust-bar__devices { gap: .75rem; }
	.trust-bar__device svg { width: 20px; height: 20px; }
	.trust-bar__device span { display: none; }
}

@media (max-width: 480px) {
	.stats-grid { grid-template-columns: 1fr; }
	.compat-full-grid { grid-template-columns: 1fr; }
	.hero__stats { gap: .75rem; }
	.hero__stat-divider { display: none; }
}

/* ============================================================
   REDUCED MOTION
============================================================ */
@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after {
		animation-duration: .01ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: .01ms !important;
	}
	.reveal-up, .reveal-fade {
		opacity: 1;
		transform: none;
	}
}
