/* ==========================================================================
   SMARTIFLIX — design system
   Base palette: "Video Streaming / OTT — cinema dark", re-toned to the
   SMARTIFLIX violet. Every colour pair below clears WCAG AA on its surface.
   ========================================================================== */

:root {
	/* Surfaces */
	--bg: #07060f;
	--bg-soft: #0b0918;
	--surface: #110e22;
	--surface-2: #171331;
	--surface-3: #1e1940;

	/* Brand */
	--brand: #8b5cf6;
	--brand-strong: #7c3aed;
	--brand-soft: #a78bfa;
	--magenta: #d946ef;
	--gold: #ffb627;
	--green: #34d399;

	/* Text */
	--fg: #f5f3ff;
	--fg-muted: #a9a3c9;
	--fg-dim: #7d7799;
	--on-brand: #ffffff;

	/* Lines and glows */
	--border: rgba(167, 139, 250, 0.16);
	--border-strong: rgba(167, 139, 250, 0.34);
	--glow: 0 0 0 1px rgba(167, 139, 250, 0.18), 0 24px 60px -20px rgba(124, 58, 237, 0.55);
	--shadow: 0 20px 50px -24px rgba(0, 0, 0, 0.9);

	/* Gradients */
	--grad-brand: linear-gradient(135deg, #7c3aed 0%, #a855f7 45%, #d946ef 100%);
	--grad-text: linear-gradient(100deg, #ffffff 0%, #d8ccff 40%, #c084fc 100%);
	--grad-surface: linear-gradient(160deg, rgba(139, 92, 246, 0.12), rgba(217, 70, 239, 0.04) 55%, transparent);

	/* Spacing scale */
	--sp-1: 4px;
	--sp-2: 8px;
	--sp-3: 12px;
	--sp-4: 16px;
	--sp-5: 24px;
	--sp-6: 32px;
	--sp-7: 48px;
	--sp-8: 64px;
	--sp-9: 96px;

	/* Radii */
	--r-sm: 10px;
	--r-md: 16px;
	--r-lg: 22px;
	--r-xl: 30px;
	--r-full: 999px;

	/* Type */
	--font-display: "Sora", "Segoe UI", system-ui, sans-serif;
	--font-body: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;

	--container: 1200px;
	--nav-h: 74px;

	--ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* --------------------------------------------------------------------------
   Reset / base
   -------------------------------------------------------------------------- */

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

html {
	scroll-behavior: smooth;
	scroll-padding-top: calc(var(--nav-h) + 16px);
	-webkit-text-size-adjust: 100%;
}

body {
	margin: 0;
	background: var(--bg);
	color: var(--fg);
	font-family: var(--font-body);
	font-size: 16px;
	line-height: 1.65;
	-webkit-font-smoothing: antialiased;
	overflow-x: hidden;
}

/* Ambient cinema glow behind everything. */
body::before {
	content: "";
	position: fixed;
	inset: 0;
	pointer-events: none;
	z-index: 0;
	background:
		radial-gradient(760px 420px at 12% -6%, rgba(124, 58, 237, 0.28), transparent 68%),
		radial-gradient(680px 400px at 92% 4%, rgba(217, 70, 239, 0.18), transparent 66%),
		radial-gradient(900px 600px at 50% 108%, rgba(88, 28, 235, 0.16), transparent 70%);
}

img,
svg,
video {
	max-width: 100%;
	height: auto;
	display: block;
}

a {
	color: var(--brand-soft);
	text-decoration: none;
	transition: color 0.2s var(--ease);
}

a:hover {
	color: #e9d5ff;
}

h1, h2, h3, h4, h5 {
	font-family: var(--font-display);
	line-height: 1.14;
	letter-spacing: -0.022em;
	margin: 0 0 var(--sp-4);
	font-weight: 700;
	text-wrap: balance;
}

h1 { font-size: clamp(2.35rem, 5.4vw, 4.15rem); font-weight: 800; }
h2 { font-size: clamp(1.85rem, 3.6vw, 2.85rem); }
h3 { font-size: clamp(1.25rem, 2vw, 1.55rem); }
h4 { font-size: 1.1rem; }

p {
	margin: 0 0 var(--sp-4);
	color: var(--fg-muted);
	text-wrap: pretty;
}

ul, ol {
	color: var(--fg-muted);
}

strong { color: var(--fg); font-weight: 600; }

::selection {
	background: rgba(168, 85, 247, 0.4);
	color: #fff;
}

:focus-visible {
	outline: 3px solid var(--brand-soft);
	outline-offset: 3px;
	border-radius: 6px;
}

.skip-link {
	position: absolute;
	left: -9999px;
	top: 0;
	background: var(--brand);
	color: #fff;
	padding: 12px 20px;
	z-index: 999;
	border-radius: 0 0 var(--r-sm) 0;
}

.skip-link:focus {
	left: 0;
}

.screen-reader-text {
	position: absolute !important;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(1px, 1px, 1px, 1px);
	white-space: nowrap;
}

/* --------------------------------------------------------------------------
   Layout primitives
   -------------------------------------------------------------------------- */

.container {
	width: 100%;
	max-width: var(--container);
	margin-inline: auto;
	padding-inline: var(--sp-5);
	position: relative;
	z-index: 1;
}

.section {
	padding-block: clamp(64px, 8vw, 112px);
	position: relative;
	z-index: 1;
}

.section--tight { padding-block: clamp(48px, 5vw, 72px); }

.section--panel {
	background: linear-gradient(180deg, rgba(139, 92, 246, 0.07), transparent 60%);
	border-block: 1px solid var(--border);
}

.section-head {
	max-width: 720px;
	margin: 0 auto clamp(40px, 5vw, 64px);
	text-align: center;
}

.section-head p {
	font-size: 1.06rem;
	margin-bottom: 0;
}

.section-head--left {
	margin-inline: 0;
	text-align: left;
}

.eyebrow {
	display: inline-flex;
	align-items: center;
	gap: var(--sp-2);
	font-family: var(--font-body);
	font-size: 0.775rem;
	font-weight: 600;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--brand-soft);
	background: rgba(139, 92, 246, 0.12);
	border: 1px solid var(--border-strong);
	padding: 7px 15px;
	border-radius: var(--r-full);
	margin-bottom: var(--sp-4);
}

.eyebrow .ico { width: 15px; height: 15px; }

.grad-text {
	background: var(--grad-text);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
}

.brand-text {
	background: var(--grad-brand);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
}

.grid {
	display: grid;
	gap: var(--sp-5);
}

.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

/* --------------------------------------------------------------------------
   Buttons
   -------------------------------------------------------------------------- */

.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	min-height: 50px;
	padding: 14px 28px;
	border: 0;
	border-radius: var(--r-full);
	font-family: var(--font-body);
	font-size: 0.98rem;
	font-weight: 600;
	letter-spacing: 0.01em;
	cursor: pointer;
	text-align: center;
	transition: transform 0.22s var(--ease), box-shadow 0.22s var(--ease), background 0.22s var(--ease), color 0.22s var(--ease);
}

.btn .ico { width: 18px; height: 18px; }

.btn--primary {
	background: var(--grad-brand);
	color: var(--on-brand);
	box-shadow: 0 14px 34px -14px rgba(168, 85, 247, 0.9);
}

.btn--primary:hover {
	color: #fff;
	transform: translateY(-2px);
	box-shadow: 0 20px 44px -14px rgba(217, 70, 239, 0.95);
}

.btn--ghost {
	background: rgba(255, 255, 255, 0.05);
	color: var(--fg);
	border: 1px solid var(--border-strong);
	backdrop-filter: blur(8px);
}

.btn--ghost:hover {
	background: rgba(139, 92, 246, 0.16);
	color: #fff;
	transform: translateY(-2px);
}

.btn--wa {
	background: #25d366;
	color: #04240f;
}

.btn--wa:hover { background: #33e078; color: #04240f; transform: translateY(-2px); }

.btn--sm { min-height: 42px; padding: 10px 20px; font-size: 0.9rem; }
.btn--block { width: 100%; }

.btn-row {
	display: flex;
	flex-wrap: wrap;
	gap: var(--sp-3);
}

.btn-row--center { justify-content: center; }

/* --------------------------------------------------------------------------
   Header
   -------------------------------------------------------------------------- */

.site-header {
	position: sticky;
	top: 0;
	z-index: 60;
	height: var(--nav-h);
	display: flex;
	align-items: center;
	background: rgba(7, 6, 15, 0.62);
	backdrop-filter: blur(18px) saturate(160%);
	border-bottom: 1px solid transparent;
	transition: background 0.3s var(--ease), border-color 0.3s var(--ease);
}

.site-header.is-stuck {
	background: rgba(7, 6, 15, 0.94);
	border-bottom-color: var(--border);
	box-shadow: 0 12px 40px -24px rgba(0, 0, 0, 1);
}

.nav-wrap {
	display: flex;
	align-items: center;
	gap: var(--sp-5);
	width: 100%;
	max-width: var(--container);
	margin-inline: auto;
	padding-inline: var(--sp-5);
}

.brand {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	flex-shrink: 0;
}

.brand svg { height: 34px; width: auto; }

.brand-name {
	font-family: var(--font-display);
	font-weight: 800;
	font-size: 1.28rem;
	letter-spacing: -0.03em;
	color: #fff;
}

.brand-name span {
	background: var(--grad-brand);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
}

.nav-menu {
	display: flex;
	align-items: center;
	gap: 4px;
	list-style: none;
	margin: 0 auto 0 var(--sp-5);
	padding: 0;
}

.nav-menu a {
	display: block;
	padding: 9px 14px;
	border-radius: var(--r-full);
	color: var(--fg-muted);
	font-size: 0.94rem;
	font-weight: 500;
	transition: color 0.2s var(--ease), background 0.2s var(--ease);
}

.nav-menu a:hover,
.nav-menu .current-menu-item > a,
.nav-menu .current_page_item > a {
	color: #fff;
	background: rgba(139, 92, 246, 0.16);
}

.nav-actions {
	display: flex;
	align-items: center;
	gap: var(--sp-3);
	flex-shrink: 0;
}

.nav-toggle {
	display: none;
	width: 46px;
	height: 46px;
	align-items: center;
	justify-content: center;
	background: rgba(255, 255, 255, 0.06);
	border: 1px solid var(--border);
	border-radius: 12px;
	cursor: pointer;
	padding: 0;
}

.nav-toggle span {
	display: block;
	width: 20px;
	height: 2px;
	background: #fff;
	border-radius: 2px;
	position: relative;
	transition: background 0.2s var(--ease);
}

.nav-toggle span::before,
.nav-toggle span::after {
	content: "";
	position: absolute;
	left: 0;
	width: 20px;
	height: 2px;
	background: #fff;
	border-radius: 2px;
	transition: transform 0.28s var(--ease);
}

.nav-toggle span::before { top: -6px; }
.nav-toggle span::after { top: 6px; }

.nav-toggle[aria-expanded="true"] span { background: transparent; }
.nav-toggle[aria-expanded="true"] span::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span::after { transform: translateY(-6px) rotate(-45deg); }

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */

.hero {
	position: relative;
	padding-block: clamp(56px, 8vw, 104px) clamp(56px, 7vw, 88px);
	overflow: hidden;
}

.hero::after {
	content: "";
	position: absolute;
	inset-inline: 0;
	bottom: 0;
	height: 1px;
	background: linear-gradient(90deg, transparent, var(--border-strong), transparent);
}

.hero-grid {
	display: grid;
	grid-template-columns: minmax(0, 1.06fr) minmax(0, 0.94fr);
	gap: clamp(32px, 5vw, 64px);
	align-items: center;
}

.hero h1 {
	margin-bottom: var(--sp-5);
}

.hero-lede {
	font-size: clamp(1.03rem, 1.4vw, 1.16rem);
	max-width: 56ch;
	margin-bottom: var(--sp-6);
}

.hero-trust {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: var(--sp-5);
	margin-top: var(--sp-6);
	padding-top: var(--sp-5);
	border-top: 1px solid var(--border);
}

.trust-item {
	display: flex;
	align-items: center;
	gap: 9px;
	font-size: 0.88rem;
	color: var(--fg-muted);
}

.trust-item .ico { width: 17px; height: 17px; color: var(--green); flex-shrink: 0; }

.stars {
	display: inline-flex;
	gap: 2px;
	color: var(--gold);
}

.stars .ico { width: 15px; height: 15px; color: var(--gold); }

/* Hero visual — a stylised streaming UI, drawn in CSS so it costs nothing. */
.hero-visual {
	position: relative;
	border-radius: var(--r-xl);
	padding: 14px;
	background: linear-gradient(150deg, rgba(139, 92, 246, 0.3), rgba(217, 70, 239, 0.12) 50%, rgba(255, 255, 255, 0.03));
	border: 1px solid var(--border-strong);
	box-shadow: var(--glow);
}

.screen {
	border-radius: calc(var(--r-xl) - 12px);
	background: linear-gradient(165deg, #150f30, #0a0818 70%);
	overflow: hidden;
}

.screen-bar {
	display: flex;
	align-items: center;
	gap: 6px;
	padding: 11px 14px;
	border-bottom: 1px solid rgba(255, 255, 255, 0.07);
	background: rgba(255, 255, 255, 0.03);
}

.screen-bar i {
	width: 9px;
	height: 9px;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.2);
}

.screen-bar i:first-child { background: #ff5f57; }
.screen-bar i:nth-child(2) { background: #febc2e; }
.screen-bar i:nth-child(3) { background: #28c840; }

.screen-bar em {
	margin-left: auto;
	font-style: normal;
	font-size: 0.7rem;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--fg-dim);
}

.screen-body { padding: 16px; }

.screen-feature {
	position: relative;
	aspect-ratio: 16 / 8;
	border-radius: var(--r-md);
	background:
		radial-gradient(120% 130% at 20% 15%, rgba(217, 70, 239, 0.4), transparent 60%),
		linear-gradient(135deg, #3b1d80, #14103a 65%);
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	padding: 16px;
	overflow: hidden;
}

.screen-feature::before {
	content: "";
	position: absolute;
	inset: 0;
	background: repeating-linear-gradient(115deg, rgba(255, 255, 255, 0.045) 0 2px, transparent 2px 9px);
}

.live-tag {
	position: absolute;
	top: 14px;
	left: 14px;
	display: inline-flex;
	align-items: center;
	gap: 6px;
	background: #e11d48;
	color: #fff;
	font-size: 0.66rem;
	font-weight: 700;
	letter-spacing: 0.11em;
	text-transform: uppercase;
	padding: 4px 10px;
	border-radius: var(--r-full);
}

.live-tag b {
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background: #fff;
	animation: pulse 1.8s ease-in-out infinite;
}

.quality-tag {
	position: absolute;
	top: 14px;
	right: 14px;
	background: rgba(0, 0, 0, 0.5);
	border: 1px solid rgba(255, 255, 255, 0.2);
	color: #fff;
	font-size: 0.66rem;
	font-weight: 700;
	letter-spacing: 0.1em;
	padding: 4px 10px;
	border-radius: 6px;
}

.screen-feature strong {
	position: relative;
	font-family: var(--font-display);
	font-size: 1.02rem;
	color: #fff;
}

.screen-feature small {
	position: relative;
	color: rgba(255, 255, 255, 0.68);
	font-size: 0.78rem;
}

.screen-progress {
	position: relative;
	height: 4px;
	border-radius: 4px;
	background: rgba(255, 255, 255, 0.2);
	margin-top: 10px;
	overflow: hidden;
}

.screen-progress b {
	position: absolute;
	inset-block: 0;
	left: 0;
	width: 38%;
	border-radius: 4px;
	background: var(--grad-brand);
}

.screen-row {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 9px;
	margin-top: 14px;
}

.screen-thumb {
	aspect-ratio: 3 / 4;
	border-radius: 10px;
	background: linear-gradient(160deg, rgba(139, 92, 246, 0.3), rgba(255, 255, 255, 0.04));
	border: 1px solid rgba(255, 255, 255, 0.07);
}

.screen-thumb:nth-child(2) { background: linear-gradient(160deg, rgba(217, 70, 239, 0.3), rgba(255, 255, 255, 0.04)); }
.screen-thumb:nth-child(3) { background: linear-gradient(160deg, rgba(56, 189, 248, 0.24), rgba(255, 255, 255, 0.04)); }
.screen-thumb:nth-child(4) { background: linear-gradient(160deg, rgba(255, 182, 39, 0.24), rgba(255, 255, 255, 0.04)); }

.float-card {
	position: absolute;
	display: flex;
	align-items: center;
	gap: 10px;
	background: rgba(17, 14, 34, 0.92);
	border: 1px solid var(--border-strong);
	border-radius: var(--r-md);
	padding: 11px 15px;
	box-shadow: var(--shadow);
	backdrop-filter: blur(10px);
	animation: float 6s ease-in-out infinite;
}

.float-card .ico { width: 20px; height: 20px; color: var(--brand-soft); }
.float-card b { font-family: var(--font-display); font-size: 0.95rem; color: #fff; display: block; line-height: 1.2; }
.float-card small { font-size: 0.72rem; color: var(--fg-dim); }

.float-card--a { top: 12%; left: -26px; }
.float-card--b { bottom: 12%; right: -22px; animation-delay: -3s; }
.float-card--b .ico { color: var(--green); }

@keyframes float {
	0%, 100% { transform: translateY(0); }
	50% { transform: translateY(-11px); }
}

@keyframes pulse {
	0%, 100% { opacity: 1; }
	50% { opacity: 0.25; }
}

/* --------------------------------------------------------------------------
   Marquee / logo strip
   -------------------------------------------------------------------------- */

.marquee {
	overflow: hidden;
	border-block: 1px solid var(--border);
	background: rgba(139, 92, 246, 0.045);
	padding-block: 18px;
	-webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
	mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.marquee-track {
	display: flex;
	gap: var(--sp-7);
	width: max-content;
	animation: scroll-x 38s linear infinite;
}

.marquee-track span {
	font-family: var(--font-display);
	font-size: 0.98rem;
	font-weight: 600;
	color: var(--fg-dim);
	white-space: nowrap;
	letter-spacing: 0.02em;
	transition: color 0.25s var(--ease);
}

.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track span:hover { color: var(--brand-soft); }

@keyframes scroll-x {
	to { transform: translateX(-50%); }
}

/* --------------------------------------------------------------------------
   Stats
   -------------------------------------------------------------------------- */

.stat-grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 1px;
	background: var(--border);
	border: 1px solid var(--border);
	border-radius: var(--r-lg);
	overflow: hidden;
}

.stat {
	background: var(--surface);
	padding: clamp(22px, 3vw, 34px) var(--sp-5);
	text-align: center;
	transition: background 0.25s var(--ease);
}

.stat:hover { background: var(--surface-2); }

.stat b {
	display: block;
	font-family: var(--font-display);
	font-size: clamp(1.7rem, 3vw, 2.35rem);
	font-weight: 800;
	line-height: 1.1;
	background: var(--grad-brand);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
}

.stat span {
	display: block;
	margin-top: 6px;
	font-weight: 600;
	color: var(--fg);
	font-size: 0.95rem;
}

.stat small {
	display: block;
	margin-top: 2px;
	color: var(--fg-dim);
	font-size: 0.79rem;
}

/* --------------------------------------------------------------------------
   Cards
   -------------------------------------------------------------------------- */

.card {
	position: relative;
	background: var(--surface);
	border: 1px solid var(--border);
	border-radius: var(--r-lg);
	padding: clamp(22px, 2.6vw, 30px);
	transition: transform 0.3s var(--ease), border-color 0.3s var(--ease), background 0.3s var(--ease);
	overflow: hidden;
}

.card::before {
	content: "";
	position: absolute;
	inset: 0;
	background: var(--grad-surface);
	opacity: 0;
	transition: opacity 0.35s var(--ease);
	pointer-events: none;
}

.card:hover {
	transform: translateY(-5px);
	border-color: var(--border-strong);
}

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

.card > * { position: relative; }

.card h3 { margin-bottom: 10px; }
.card p:last-child { margin-bottom: 0; }

.card-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 52px;
	height: 52px;
	border-radius: 15px;
	margin-bottom: var(--sp-4);
	background: linear-gradient(150deg, rgba(139, 92, 246, 0.3), rgba(217, 70, 239, 0.12));
	border: 1px solid var(--border-strong);
	color: var(--brand-soft);
}

.card-icon .ico { width: 25px; height: 25px; }

/* --------------------------------------------------------------------------
   Pricing
   -------------------------------------------------------------------------- */

.price-grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: var(--sp-4);
	align-items: stretch;
}

.plan {
	position: relative;
	display: flex;
	flex-direction: column;
	background: var(--surface);
	border: 1px solid var(--border);
	border-radius: var(--r-lg);
	padding: var(--sp-6) var(--sp-5) var(--sp-5);
	transition: transform 0.3s var(--ease), border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.plan:hover {
	transform: translateY(-6px);
	border-color: var(--border-strong);
	box-shadow: var(--shadow);
}

.plan--featured {
	background: linear-gradient(170deg, rgba(139, 92, 246, 0.16), var(--surface) 55%);
	border-color: var(--brand);
	box-shadow: var(--glow);
}

.plan-badge {
	position: absolute;
	top: -13px;
	left: 50%;
	transform: translateX(-50%);
	background: var(--grad-brand);
	color: #fff;
	font-size: 0.7rem;
	font-weight: 700;
	letter-spacing: 0.11em;
	text-transform: uppercase;
	padding: 6px 16px;
	border-radius: var(--r-full);
	white-space: nowrap;
	box-shadow: 0 8px 22px -8px rgba(168, 85, 247, 0.9);
}

.plan-name {
	font-family: var(--font-display);
	font-size: 1.2rem;
	font-weight: 700;
	color: #fff;
	margin-bottom: 2px;
}

.plan-period {
	font-size: 0.83rem;
	color: var(--fg-dim);
	letter-spacing: 0.06em;
	text-transform: uppercase;
	margin-bottom: var(--sp-4);
}

.plan-price {
	display: flex;
	align-items: flex-start;
	gap: 3px;
	font-family: var(--font-display);
	font-weight: 800;
	line-height: 1;
	color: #fff;
	margin-bottom: 6px;
}

.plan-price sup {
	font-size: 1.25rem;
	margin-top: 6px;
	color: var(--brand-soft);
}

.plan-price em {
	font-size: clamp(2.6rem, 4vw, 3.2rem);
	font-style: normal;
}

.plan-meta {
	display: flex;
	align-items: center;
	gap: 8px;
	font-size: 0.83rem;
	color: var(--fg-dim);
	margin-bottom: var(--sp-4);
	min-height: 22px;
}

.plan-meta del { color: var(--fg-dim); }

.plan-save {
	background: rgba(52, 211, 153, 0.14);
	color: var(--green);
	font-weight: 600;
	padding: 2px 9px;
	border-radius: var(--r-full);
	font-size: 0.76rem;
}

.plan-summary {
	font-size: 0.9rem;
	color: var(--fg-muted);
	padding-bottom: var(--sp-4);
	margin-bottom: var(--sp-4);
	border-bottom: 1px solid var(--border);
	min-height: 62px;
}

.plan-features {
	list-style: none;
	margin: 0 0 var(--sp-5);
	padding: 0;
	display: grid;
	gap: 11px;
	flex: 1;
}

.plan-features li {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	font-size: 0.9rem;
	color: var(--fg-muted);
	line-height: 1.45;
}

.plan-features .ico {
	width: 17px;
	height: 17px;
	color: var(--green);
	flex-shrink: 0;
	margin-top: 3px;
}

.plan-note {
	text-align: center;
	font-size: 0.79rem;
	color: var(--fg-dim);
	margin: 10px 0 0;
}

/* --------------------------------------------------------------------------
   Comparison table
   -------------------------------------------------------------------------- */

.table-wrap {
	overflow-x: auto;
	border: 1px solid var(--border);
	border-radius: var(--r-lg);
	background: var(--surface);
	-webkit-overflow-scrolling: touch;
}

table.compare {
	width: 100%;
	min-width: 640px;
	border-collapse: collapse;
	font-size: 0.94rem;
}

table.compare th,
table.compare td {
	padding: 15px 20px;
	text-align: left;
	border-bottom: 1px solid var(--border);
}

table.compare thead th {
	font-family: var(--font-display);
	font-size: 0.79rem;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--fg-dim);
	background: rgba(139, 92, 246, 0.08);
	font-weight: 600;
}

table.compare thead th:nth-child(2) {
	color: var(--brand-soft);
}

table.compare tbody tr:last-child th,
table.compare tbody tr:last-child td { border-bottom: 0; }

table.compare tbody th {
	font-weight: 500;
	color: var(--fg-muted);
	font-family: var(--font-body);
}

table.compare tbody tr:hover { background: rgba(139, 92, 246, 0.05); }

.cell-yes { color: var(--green); font-weight: 600; }
.cell-no { color: #fb7185; }
.cell-strong { color: #fff; font-weight: 600; }

/* --------------------------------------------------------------------------
   Steps
   -------------------------------------------------------------------------- */

.steps {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: var(--sp-5);
	counter-reset: step;
}

.step {
	position: relative;
	background: var(--surface);
	border: 1px solid var(--border);
	border-radius: var(--r-lg);
	padding: var(--sp-6) var(--sp-5) var(--sp-5);
	transition: border-color 0.3s var(--ease), transform 0.3s var(--ease);
}

.step:hover { border-color: var(--border-strong); transform: translateY(-4px); }

.step::before {
	counter-increment: step;
	content: counter(step, decimal-leading-zero);
	position: absolute;
	top: -18px;
	left: var(--sp-5);
	font-family: var(--font-display);
	font-size: 2.4rem;
	font-weight: 800;
	line-height: 1;
	background: var(--grad-brand);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
	opacity: 0.9;
}

.step h3 { margin-top: 10px; font-size: 1.15rem; }
.step p:last-child { margin-bottom: 0; }

/* --------------------------------------------------------------------------
   Channels
   -------------------------------------------------------------------------- */

.chan-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(215px, 1fr));
	gap: var(--sp-4);
}

.chan {
	background: var(--surface);
	border: 1px solid var(--border);
	border-radius: var(--r-md);
	padding: var(--sp-5);
	transition: transform 0.28s var(--ease), border-color 0.28s var(--ease), background 0.28s var(--ease);
}

.chan:hover {
	transform: translateY(-4px);
	border-color: var(--border-strong);
	background: var(--surface-2);
}

.chan-flag {
	font-family: var(--font-display);
	font-size: 0.72rem;
	font-weight: 700;
	letter-spacing: 0.12em;
	color: var(--brand-soft);
	background: rgba(139, 92, 246, 0.14);
	border-radius: 6px;
	padding: 3px 9px;
	display: inline-block;
	margin-bottom: 12px;
}

.chan h4 { margin: 0 0 4px; font-size: 1.02rem; color: #fff; }
.chan p { margin: 0; font-size: 0.84rem; color: var(--fg-dim); line-height: 1.5; }
.chan b { display: block; margin-top: 10px; font-family: var(--font-display); font-size: 1.15rem; color: var(--fg); }

.pill-row {
	display: flex;
	flex-wrap: wrap;
	gap: 9px;
	justify-content: center;
}

.pill {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	background: var(--surface);
	border: 1px solid var(--border);
	border-radius: var(--r-full);
	padding: 9px 17px;
	font-size: 0.88rem;
	color: var(--fg-muted);
	transition: border-color 0.25s var(--ease), color 0.25s var(--ease), background 0.25s var(--ease);
}

.pill:hover { border-color: var(--border-strong); color: #fff; background: var(--surface-2); }
.pill .ico { width: 16px; height: 16px; color: var(--brand-soft); }

/* --------------------------------------------------------------------------
   Testimonials
   -------------------------------------------------------------------------- */

.quote {
	display: flex;
	flex-direction: column;
	gap: var(--sp-4);
	background: var(--surface);
	border: 1px solid var(--border);
	border-radius: var(--r-lg);
	padding: var(--sp-5);
	transition: transform 0.3s var(--ease), border-color 0.3s var(--ease);
}

.quote:hover { transform: translateY(-5px); border-color: var(--border-strong); }

.quote > .ico { width: 26px; height: 26px; color: var(--brand); opacity: 0.55; }

.quote p {
	margin: 0;
	color: var(--fg);
	font-size: 0.97rem;
	line-height: 1.62;
}

.quote-by {
	display: flex;
	align-items: center;
	gap: 12px;
	margin-top: auto;
	padding-top: var(--sp-4);
	border-top: 1px solid var(--border);
}

.avatar {
	width: 42px;
	height: 42px;
	border-radius: 50%;
	display: grid;
	place-items: center;
	font-family: var(--font-display);
	font-weight: 700;
	font-size: 0.95rem;
	color: #fff;
	background: var(--grad-brand);
	flex-shrink: 0;
}

.quote-by b { display: block; font-size: 0.92rem; color: #fff; font-weight: 600; }
.quote-by small { color: var(--fg-dim); font-size: 0.79rem; }

/* --------------------------------------------------------------------------
   FAQ accordion
   -------------------------------------------------------------------------- */

.faq {
	display: grid;
	gap: 12px;
	max-width: 860px;
	margin-inline: auto;
}

.faq-item {
	background: var(--surface);
	border: 1px solid var(--border);
	border-radius: var(--r-md);
	overflow: hidden;
	transition: border-color 0.25s var(--ease);
}

.faq-item.is-open { border-color: var(--border-strong); background: var(--surface-2); }

.faq-q {
	width: 100%;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: var(--sp-4);
	background: none;
	border: 0;
	padding: 19px 22px;
	min-height: 56px;
	text-align: left;
	font-family: var(--font-display);
	font-size: 1.01rem;
	font-weight: 600;
	color: var(--fg);
	cursor: pointer;
	transition: color 0.2s var(--ease);
}

.faq-q:hover { color: var(--brand-soft); }

.faq-q i {
	position: relative;
	width: 20px;
	height: 20px;
	flex-shrink: 0;
}

.faq-q i::before,
.faq-q i::after {
	content: "";
	position: absolute;
	top: 50%;
	left: 0;
	width: 18px;
	height: 2px;
	background: var(--brand-soft);
	border-radius: 2px;
	transition: transform 0.3s var(--ease);
}

.faq-q i::after { transform: rotate(90deg); }
.faq-item.is-open .faq-q i::after { transform: rotate(0deg); }

.faq-a {
	display: grid;
	grid-template-rows: 0fr;
	transition: grid-template-rows 0.34s var(--ease);
}

.faq-item.is-open .faq-a { grid-template-rows: 1fr; }

.faq-a > div { overflow: hidden; }

.faq-a p {
	margin: 0;
	padding: 0 22px 21px;
	font-size: 0.95rem;
	line-height: 1.68;
}

/* --------------------------------------------------------------------------
   CTA band
   -------------------------------------------------------------------------- */

.cta-band {
	position: relative;
	border-radius: var(--r-xl);
	padding: clamp(38px, 6vw, 68px) clamp(24px, 5vw, 60px);
	text-align: center;
	background:
		radial-gradient(120% 160% at 50% 0%, rgba(217, 70, 239, 0.3), transparent 62%),
		linear-gradient(150deg, #2c1466, #140f30 70%);
	border: 1px solid var(--border-strong);
	overflow: hidden;
	box-shadow: var(--glow);
}

.cta-band::before {
	content: "";
	position: absolute;
	inset: 0;
	background: repeating-linear-gradient(125deg, rgba(255, 255, 255, 0.04) 0 1px, transparent 1px 12px);
	pointer-events: none;
}

.cta-band > * { position: relative; }

.cta-band h2 { margin-bottom: var(--sp-4); }

.cta-band p {
	max-width: 60ch;
	margin-inline: auto;
	margin-bottom: var(--sp-6);
	color: rgba(245, 243, 255, 0.82);
	font-size: 1.03rem;
}

/* --------------------------------------------------------------------------
   Blog
   -------------------------------------------------------------------------- */

.post-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: var(--sp-5);
}

.post-card {
	display: flex;
	flex-direction: column;
	background: var(--surface);
	border: 1px solid var(--border);
	border-radius: var(--r-lg);
	overflow: hidden;
	transition: transform 0.3s var(--ease), border-color 0.3s var(--ease);
}

.post-card:hover { transform: translateY(-6px); border-color: var(--border-strong); }

.post-thumb {
	aspect-ratio: 16 / 9;
	background: linear-gradient(150deg, rgba(139, 92, 246, 0.34), rgba(217, 70, 239, 0.12) 55%, rgba(10, 8, 24, 0.9));
	position: relative;
	display: grid;
	place-items: center;
	overflow: hidden;
}

.post-thumb img { width: 100%; height: 100%; object-fit: cover; }

.post-thumb .ico { width: 42px; height: 42px; color: rgba(255, 255, 255, 0.28); }

.post-body {
	display: flex;
	flex-direction: column;
	flex: 1;
	padding: var(--sp-5);
}

.post-meta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 10px;
	font-size: 0.78rem;
	color: var(--fg-dim);
	margin-bottom: 10px;
}

.post-meta .dot { width: 3px; height: 3px; border-radius: 50%; background: var(--fg-dim); }

.post-card h3 {
	font-size: 1.13rem;
	margin-bottom: 9px;
	line-height: 1.32;
}

.post-card h3 a { color: #fff; }
.post-card h3 a:hover { color: var(--brand-soft); }

.post-card p { font-size: 0.9rem; margin-bottom: var(--sp-4); }

.read-more {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	margin-top: auto;
	font-size: 0.88rem;
	font-weight: 600;
	color: var(--brand-soft);
}

.read-more .ico { width: 16px; height: 16px; transition: transform 0.25s var(--ease); }
.read-more:hover .ico { transform: translateX(4px); }

.cat-tag {
	display: inline-block;
	background: rgba(139, 92, 246, 0.16);
	border: 1px solid var(--border-strong);
	color: var(--brand-soft);
	font-size: 0.72rem;
	font-weight: 600;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	padding: 3px 10px;
	border-radius: var(--r-full);
}

/* Single post */

.entry {
	max-width: 780px;
	margin-inline: auto;
}

.entry-hero {
	text-align: center;
	padding-block: clamp(48px, 6vw, 78px) var(--sp-6);
	border-bottom: 1px solid var(--border);
	margin-bottom: var(--sp-7);
}

.entry-content {
	font-size: 1.04rem;
	line-height: 1.78;
}

.entry-content h2 { margin-top: var(--sp-7); font-size: 1.72rem; }
.entry-content h3 { margin-top: var(--sp-6); font-size: 1.28rem; }
.entry-content p { margin-bottom: var(--sp-4); }
.entry-content ul,
.entry-content ol { margin: 0 0 var(--sp-4); padding-left: 22px; }
.entry-content li { margin-bottom: 9px; }

.entry-content blockquote {
	margin: var(--sp-6) 0;
	padding: var(--sp-4) var(--sp-5);
	border-left: 3px solid var(--brand);
	background: rgba(139, 92, 246, 0.08);
	border-radius: 0 var(--r-md) var(--r-md) 0;
}

.entry-content blockquote p:last-child { margin-bottom: 0; }

.entry-content img { border-radius: var(--r-md); margin-block: var(--sp-5); }

.entry-content table {
	width: 100%;
	border-collapse: collapse;
	margin-bottom: var(--sp-5);
	font-size: 0.94rem;
}

.entry-content th,
.entry-content td {
	padding: 12px 16px;
	border: 1px solid var(--border);
	text-align: left;
}

.entry-content th { background: rgba(139, 92, 246, 0.1); color: #fff; }

.entry-content code {
	background: var(--surface-2);
	border: 1px solid var(--border);
	padding: 2px 6px;
	border-radius: 5px;
	font-size: 0.9em;
}

/* Pagination */

.pagination {
	display: flex;
	justify-content: center;
	gap: 8px;
	margin-top: var(--sp-7);
	flex-wrap: wrap;
}

.pagination .page-numbers {
	display: grid;
	place-items: center;
	min-width: 44px;
	min-height: 44px;
	padding: 0 12px;
	border-radius: var(--r-sm);
	border: 1px solid var(--border);
	color: var(--fg-muted);
	font-weight: 600;
	font-size: 0.92rem;
	transition: all 0.22s var(--ease);
}

.pagination .page-numbers:hover { border-color: var(--border-strong); color: #fff; }
.pagination .current { background: var(--grad-brand); border-color: transparent; color: #fff; }

/* --------------------------------------------------------------------------
   Page hero (inner pages)
   -------------------------------------------------------------------------- */

.page-hero {
	position: relative;
	text-align: center;
	padding-block: clamp(52px, 7vw, 86px) clamp(36px, 4vw, 54px);
	border-bottom: 1px solid var(--border);
}

.page-hero p {
	max-width: 62ch;
	margin-inline: auto;
	font-size: 1.05rem;
	margin-bottom: 0;
}

.crumbs {
	display: flex;
	justify-content: center;
	gap: 8px;
	font-size: 0.82rem;
	color: var(--fg-dim);
	margin-bottom: var(--sp-4);
}

.crumbs a { color: var(--fg-dim); }
.crumbs a:hover { color: var(--brand-soft); }

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */

.site-footer {
	position: relative;
	z-index: 1;
	border-top: 1px solid var(--border);
	background: linear-gradient(180deg, rgba(139, 92, 246, 0.06), transparent 40%);
	padding-block: var(--sp-8) var(--sp-5);
	margin-top: var(--sp-8);
}

.footer-grid {
	display: grid;
	grid-template-columns: 1.6fr repeat(3, 1fr);
	gap: var(--sp-6);
	padding-bottom: var(--sp-7);
	border-bottom: 1px solid var(--border);
}

.footer-about p {
	font-size: 0.92rem;
	margin-top: var(--sp-4);
	max-width: 42ch;
}

.footer-col h4 {
	font-family: var(--font-display);
	font-size: 0.8rem;
	letter-spacing: 0.13em;
	text-transform: uppercase;
	color: var(--fg-dim);
	margin-bottom: var(--sp-4);
}

.footer-col ul {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	gap: 11px;
}

.footer-col a {
	color: var(--fg-muted);
	font-size: 0.92rem;
}

.footer-col a:hover { color: #fff; }

.social-row {
	display: flex;
	gap: 10px;
	margin-top: var(--sp-5);
}

.social-row a {
	display: grid;
	place-items: center;
	width: 44px;
	height: 44px;
	border-radius: 12px;
	background: var(--surface);
	border: 1px solid var(--border);
	color: var(--fg-muted);
	transition: all 0.24s var(--ease);
}

.social-row a:hover {
	color: #fff;
	border-color: var(--border-strong);
	background: rgba(139, 92, 246, 0.2);
	transform: translateY(-3px);
}

.footer-bottom {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: var(--sp-4);
	padding-top: var(--sp-5);
	font-size: 0.85rem;
	color: var(--fg-dim);
}

.footer-bottom p { margin: 0; font-size: 0.85rem; }

.disclaimer {
	margin-top: var(--sp-4);
	font-size: 0.78rem;
	color: var(--fg-dim);
	line-height: 1.6;
	max-width: 90ch;
}

/* Floating WhatsApp button */

.wa-float {
	position: fixed;
	right: 20px;
	bottom: 20px;
	z-index: 70;
	display: inline-flex;
	align-items: center;
	gap: 10px;
	background: #25d366;
	color: #04240f;
	font-weight: 600;
	font-size: 0.92rem;
	padding: 13px 20px;
	border-radius: var(--r-full);
	box-shadow: 0 14px 34px -10px rgba(37, 211, 102, 0.6);
	transition: transform 0.24s var(--ease), box-shadow 0.24s var(--ease);
}

.wa-float:hover {
	color: #04240f;
	transform: translateY(-3px) scale(1.02);
	box-shadow: 0 18px 40px -10px rgba(37, 211, 102, 0.75);
}

.wa-float .ico { width: 22px; height: 22px; }

/* --------------------------------------------------------------------------
   Scroll reveal
   -------------------------------------------------------------------------- */

/* Only hide when main.js has confirmed it is running — see the sf-js class there. */
.sf-js .reveal {
	opacity: 0;
	transform: translateY(22px);
	transition: opacity 0.62s var(--ease), transform 0.62s var(--ease);
}

.sf-js .reveal.is-in {
	opacity: 1;
	transform: none;
}

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */

@media (max-width: 1080px) {
	.price-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.footer-grid { grid-template-columns: 1fr 1fr; }
	.stat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 960px) {
	.hero-grid { grid-template-columns: 1fr; }
	.hero-visual { max-width: 560px; margin-inline: auto; }
	.float-card--a { left: -8px; }
	.float-card--b { right: -8px; }
	.grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.grid-3, .steps, .post-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }

	.nav-toggle { display: inline-flex; }

	.nav-menu {
		position: fixed;
		inset: var(--nav-h) 0 auto;
		flex-direction: column;
		align-items: stretch;
		gap: 2px;
		margin: 0;
		padding: var(--sp-4) var(--sp-5) var(--sp-6);
		background: rgba(8, 6, 18, 0.985);
		backdrop-filter: blur(20px);
		border-bottom: 1px solid var(--border);
		max-height: calc(100vh - var(--nav-h));
		overflow-y: auto;
		transform: translateY(-14px);
		opacity: 0;
		visibility: hidden;
		/* Visibility flips only after the fade finishes on close, and instantly on open. */
		transition: opacity 0.26s var(--ease), transform 0.26s var(--ease), visibility 0s linear 0.26s;
	}

	.nav-menu.is-open {
		opacity: 1;
		visibility: visible;
		transform: none;
		transition: opacity 0.26s var(--ease), transform 0.26s var(--ease), visibility 0s;
	}

	.nav-menu a {
		padding: 14px 16px;
		border-radius: 12px;
		font-size: 1rem;
	}

	.nav-actions .btn--ghost { display: none; }
}

@media (max-width: 720px) {
	:root { --nav-h: 66px; }

	.grid-2, .grid-3, .grid-4, .steps, .post-grid, .price-grid { grid-template-columns: 1fr; }
	.stat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }

	.hero-trust { gap: var(--sp-3) var(--sp-5); }
	.btn-row .btn { width: 100%; }
	.float-card { display: none; }
	.footer-grid { grid-template-columns: 1fr; }
	.footer-bottom { justify-content: center; text-align: center; }

	.wa-float span { display: none; }
	.wa-float { padding: 15px; }
}

@media (max-width: 420px) {
	.stat-grid { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
	*,
	*::before,
	*::after {
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: 0.01ms !important;
		scroll-behavior: auto !important;
	}

	.sf-js .reveal { opacity: 1; transform: none; }
}

@media print {
	body::before, .site-header, .site-footer, .wa-float { display: none; }
	body { background: #fff; color: #000; }
}

/* ==========================================================================
   Hero photography — real stills inside the player mock-up
   ========================================================================== */

.screen-feature img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	z-index: 0;
}

/* Keeps the caption legible over any photograph. */
.screen-feature::after {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 1;
	background: linear-gradient(to top, rgba(7, 6, 15, 0.92) 0%, rgba(7, 6, 15, 0.45) 45%, rgba(20, 16, 58, 0.15) 100%);
}

.screen-feature::before { z-index: 2; }

.screen-feature .live-tag,
.screen-feature .quality-tag,
.screen-feature strong,
.screen-feature small,
.screen-feature .screen-progress {
	z-index: 3;
}

.screen-thumb {
	position: relative;
	overflow: hidden;
}

.screen-thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	transition: transform 0.5s var(--ease);
}

.screen-thumb::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(to top, rgba(11, 9, 24, 0.6), transparent 60%);
}

.hero-visual:hover .screen-thumb img { transform: scale(1.06); }

/* ==========================================================================
   Promotion treatment on the plan cards
   ========================================================================== */

.promo-strip {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 9px;
	margin: 0 auto var(--sp-5);
	width: fit-content;
	max-width: 100%;
	padding: 9px 20px;
	border-radius: var(--r-full);
	background: linear-gradient(120deg, rgba(217, 70, 239, 0.22), rgba(139, 92, 246, 0.18));
	border: 1px solid var(--border-strong);
	color: #fff;
	font-size: 0.84rem;
	font-weight: 600;
	letter-spacing: 0.04em;
	text-align: center;
}

.promo-strip .ico {
	width: 16px;
	height: 16px;
	color: var(--gold);
	flex: none;
}

.plan-off {
	position: absolute;
	top: 16px;
	right: 16px;
	display: inline-flex;
	align-items: center;
	background: var(--gold);
	color: #241800;
	font-family: var(--font-display);
	font-size: 0.78rem;
	font-weight: 800;
	letter-spacing: 0.02em;
	padding: 4px 10px;
	border-radius: var(--r-full);
	box-shadow: 0 8px 20px -8px rgba(255, 182, 39, 0.8);
}

.plan-price {
	flex-wrap: wrap;
	align-items: baseline;
}

.plan-price del {
	font-family: var(--font-body);
	font-size: 1.05rem;
	font-weight: 600;
	color: var(--fg-dim);
	text-decoration-color: var(--magenta);
	text-decoration-thickness: 2px;
	margin-left: 8px;
}

/* ==========================================================================
   Checkout
   ========================================================================== */

.form-alert {
	max-width: 900px;
	margin: 0 auto var(--sp-5);
	padding: 14px 18px;
	border-radius: var(--r-md);
	font-size: 0.92rem;
	border: 1px solid var(--border-strong);
	background: var(--surface);
	color: var(--fg);
}

.form-alert--error {
	border-color: rgba(244, 63, 94, 0.5);
	background: rgba(244, 63, 94, 0.1);
}

.sf-hp {
	position: absolute !important;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(1px, 1px, 1px, 1px);
	white-space: nowrap;
}

.checkout-grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 360px;
	gap: var(--sp-6);
	align-items: start;
}

.checkout-block {
	background: var(--surface);
	border: 1px solid var(--border);
	border-radius: var(--r-lg);
	padding: var(--sp-6) var(--sp-5);
	margin-bottom: var(--sp-4);
}

.checkout-block h2 {
	display: flex;
	align-items: center;
	gap: 12px;
	font-family: var(--font-display);
	font-size: 1.25rem;
	color: #fff;
	margin: 0 0 6px;
}

.step-num {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 32px;
	height: 32px;
	flex: none;
	border-radius: 50%;
	background: var(--grad-brand);
	color: #fff;
	font-size: 0.95rem;
	font-weight: 700;
}

.checkout-hint {
	font-size: 0.88rem;
	color: var(--fg-muted);
	margin: 0 0 var(--sp-5);
}

/* --- Plan picker --- */

.plan-picker {
	display: grid;
	gap: 10px;
}

.plan-opt {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: var(--sp-4);
	padding: 15px 18px;
	border: 1px solid var(--border);
	border-radius: var(--r-md);
	background: var(--bg-soft);
	cursor: pointer;
	transition: border-color 0.25s var(--ease), background 0.25s var(--ease), transform 0.25s var(--ease);
}

.plan-opt:hover { border-color: var(--border-strong); transform: translateY(-2px); }

.plan-opt input {
	position: absolute;
	opacity: 0;
	pointer-events: none;
}

.plan-opt.is-picked,
.plan-opt:has(input:checked) {
	border-color: var(--brand);
	background: linear-gradient(120deg, rgba(139, 92, 246, 0.18), rgba(217, 70, 239, 0.06));
	box-shadow: var(--glow);
}

.plan-opt:focus-within { outline: 2px solid var(--brand-soft); outline-offset: 3px; }

.plan-opt-body { display: grid; gap: 3px; }

.plan-opt-head {
	display: flex;
	align-items: center;
	gap: 10px;
	flex-wrap: wrap;
}

.plan-opt-head b {
	font-family: var(--font-display);
	font-size: 1.02rem;
	color: #fff;
}

.plan-opt-badge {
	font-style: normal;
	font-size: 0.66rem;
	font-weight: 700;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	padding: 3px 9px;
	border-radius: var(--r-full);
	background: var(--grad-brand);
	color: #fff;
}

.plan-opt-term {
	font-size: 0.82rem;
	color: var(--fg-dim);
}

.plan-opt-price {
	text-align: right;
	flex: none;
}

.plan-opt-price b {
	display: block;
	font-family: var(--font-display);
	font-size: 1.5rem;
	font-weight: 800;
	color: #fff;
	line-height: 1.1;
}

.plan-opt-price del {
	font-size: 0.82rem;
	color: var(--fg-dim);
	text-decoration-color: var(--magenta);
}

/* --- Fields --- */

.field-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: var(--sp-4);
}

.field { margin: 0; display: grid; gap: 6px; }
.field--wide { grid-column: 1 / -1; }

.field label {
	font-size: 0.85rem;
	font-weight: 600;
	color: var(--fg);
}

.field input,
.field textarea {
	width: 100%;
	font-family: inherit;
	font-size: 0.95rem;
	color: var(--fg);
	background: var(--bg-soft);
	border: 1px solid var(--border);
	border-radius: var(--r-sm);
	padding: 13px 15px;
	transition: border-color 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

.field textarea { resize: vertical; min-height: 88px; }

.field input::placeholder,
.field textarea::placeholder { color: var(--fg-dim); }

.field input:focus,
.field textarea:focus {
	outline: none;
	border-color: var(--brand);
	box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.25);
}

.field small { font-size: 0.78rem; color: var(--fg-dim); }

.field-error {
	display: block;
	font-size: 0.8rem;
	font-weight: 600;
	color: #fb7185;
}

/* --- Payment picker --- */

.pay-picker { display: grid; gap: 10px; }

.pay-opt {
	position: relative;
	display: block;
	padding: 15px 18px;
	border: 1px solid var(--border);
	border-radius: var(--r-md);
	background: var(--bg-soft);
	cursor: pointer;
	transition: border-color 0.25s var(--ease), background 0.25s var(--ease);
}

.pay-opt:hover { border-color: var(--border-strong); }

.pay-opt input {
	position: absolute;
	opacity: 0;
	pointer-events: none;
}

.pay-opt.is-picked,
.pay-opt:has(input:checked) {
	border-color: var(--brand);
	background: linear-gradient(120deg, rgba(139, 92, 246, 0.16), rgba(217, 70, 239, 0.05));
}

.pay-opt:focus-within { outline: 2px solid var(--brand-soft); outline-offset: 3px; }

.pay-opt-head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: var(--sp-4);
	flex-wrap: wrap;
	margin-bottom: 4px;
}

.pay-opt-head b {
	font-family: var(--font-display);
	font-size: 1rem;
	color: #fff;
}

.pay-opt small { font-size: 0.82rem; color: var(--fg-muted); }

.pay-logos {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	flex-wrap: wrap;
}

.pay-logos--row { margin-top: var(--sp-4); }

.pay-logo {
	display: block;
	width: 46px;
	height: 30px;
	border-radius: 5px;
	border: 1px solid rgba(255, 255, 255, 0.14);
	background: #fff;
	flex: none;
}

/* --- Summary rail --- */

.checkout-side { position: sticky; top: calc(var(--nav-h) + 20px); }

.summary {
	background: linear-gradient(170deg, rgba(139, 92, 246, 0.16), var(--surface) 55%);
	border: 1px solid var(--brand);
	border-radius: var(--r-lg);
	padding: var(--sp-6) var(--sp-5);
	box-shadow: var(--glow);
}

.summary h2 {
	font-family: var(--font-display);
	font-size: 1.15rem;
	color: #fff;
	margin: 0 0 var(--sp-4);
}

.summary-rows { margin: 0 0 var(--sp-4); display: grid; gap: 10px; }

.summary-rows > div {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: var(--sp-3);
	font-size: 0.88rem;
}

.summary-rows dt { color: var(--fg-dim); }

.summary-rows dd {
	margin: 0;
	text-align: right;
	color: var(--fg);
	font-weight: 600;
}

.summary-rows del { color: var(--fg-dim); text-decoration-color: var(--magenta); }
.summary-save { color: var(--green) !important; }

.summary-total {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: var(--sp-3);
	padding-top: var(--sp-4);
	margin: 0 0 var(--sp-4);
	border-top: 1px solid var(--border);
	font-size: 0.95rem;
	color: var(--fg-muted);
}

.summary-total b {
	font-family: var(--font-display);
	font-size: 2rem;
	font-weight: 800;
	color: #fff;
}

.summary-note {
	font-size: 0.78rem;
	color: var(--fg-dim);
	margin: var(--sp-3) 0 var(--sp-4);
	text-align: center;
}

.summary-trust {
	list-style: none;
	margin: 0 0 var(--sp-4);
	padding: var(--sp-4) 0 0;
	border-top: 1px solid var(--border);
	display: grid;
	gap: 9px;
}

.summary-trust li {
	display: flex;
	align-items: center;
	gap: 9px;
	font-size: 0.84rem;
	color: var(--fg-muted);
}

.summary-trust .ico { width: 16px; height: 16px; color: var(--green); flex: none; }

.summary-pay {
	display: flex;
	flex-wrap: wrap;
	gap: 7px;
	justify-content: center;
	padding-top: var(--sp-4);
	border-top: 1px solid var(--border);
}

.summary-help {
	margin: var(--sp-4) 0 0;
	font-size: 0.82rem;
	color: var(--fg-dim);
	text-align: center;
}

.summary-help a { color: var(--brand-soft); font-weight: 600; white-space: nowrap; }

/* ==========================================================================
   Thank-you page
   ========================================================================== */

.success-mark {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 72px;
	height: 72px;
	margin-bottom: var(--sp-4);
	border-radius: 50%;
	background: rgba(52, 211, 153, 0.14);
	border: 1px solid rgba(52, 211, 153, 0.45);
	color: var(--green);
}

.success-mark .ico { width: 34px; height: 34px; }

.order-ref {
	margin-top: var(--sp-4);
	font-size: 0.9rem;
	color: var(--fg-muted);
}

.order-ref b {
	font-family: var(--font-display);
	color: #fff;
	letter-spacing: 0.06em;
}

.footer-contact { margin: 0 0 var(--sp-3); }

.footer-contact a {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-family: var(--font-display);
	font-weight: 700;
	color: #fff;
}

.footer-contact .ico { width: 17px; height: 17px; color: var(--green); }

/* ==========================================================================
   Checkout — responsive
   ========================================================================== */

@media (max-width: 1024px) {
	.checkout-grid { grid-template-columns: 1fr; }
	.checkout-side { position: static; }
}

@media (max-width: 720px) {
	.field-grid { grid-template-columns: 1fr; }
	.checkout-block { padding: var(--sp-5) var(--sp-4); }

	.plan-opt {
		align-items: flex-start;
		flex-direction: column;
		gap: 10px;
	}

	.plan-opt-price { text-align: left; }
	.plan-opt-price b { display: inline; font-size: 1.3rem; }
	.plan-opt-price del { margin-left: 8px; }

	.plan-off { top: 14px; right: 14px; }
	.promo-strip { font-size: 0.78rem; padding: 8px 14px; }
}
