/**
 * Nova IPTV Pro — Design System 2026
 * Tendances : typographie expressive, mesh gradients, glass, micro-interactions
 */

:root {
	--nova-font: 'Plus Jakarta Sans', 'Inter', system-ui, -apple-system, sans-serif;
	--nova-radius-xl: 24px;
	--nova-glass: rgba(255, 255, 255, 0.72);
	--nova-glass-border: rgba(255, 255, 255, 0.35);
	--nova-mesh-1: #fafbfc;
	--nova-mesh-2: #fff5f6;
	--nova-mesh-3: #f0f4ff;
	--nova-text: #0f172a;
	--nova-muted: #64748b;
	--nova-ease: cubic-bezier(0.22, 1, 0.36, 1);
}

.nova-body {
	font-family: var(--nova-font);
	color: var(--nova-text);
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

/* ─── Hero 2026 ─── */
.nova-hero {
	position: relative;
	overflow: hidden;
	background: var(--nova-mesh-1);
}

.nova-hero::before {
	content: '';
	position: absolute;
	inset: 0;
	background:
		radial-gradient(ellipse 80% 60% at 10% 20%, rgba(200, 16, 46, 0.08) 0%, transparent 55%),
		radial-gradient(ellipse 60% 50% at 90% 10%, rgba(99, 102, 241, 0.06) 0%, transparent 50%),
		radial-gradient(ellipse 50% 40% at 50% 100%, rgba(200, 16, 46, 0.04) 0%, transparent 50%);
	pointer-events: none;
}

.nova-hero .container {
	position: relative;
	z-index: 1;
}

.nova-hero .hero h1 {
	font-size: clamp(2rem, 5vw, 3.25rem);
	letter-spacing: -0.03em;
	line-height: 1.08;
}

.nova-hero .hero h1 span {
	font-size: clamp(1rem, 2.5vw, 1.65rem);
	letter-spacing: -0.01em;
	font-weight: 600;
	color: var(--nova-muted);
}

.nova-hero .hero-badge {
	background: linear-gradient(135deg, var(--swiss-red), #9b0c24);
	box-shadow: 0 4px 20px rgba(200, 16, 46, 0.3);
	font-size: 13px;
	padding: 10px 20px;
}

.nova-hero__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin-top: 32px;
}

.nova-hero .hero-image {
	background: linear-gradient(145deg, #0f172a 0%, #1e293b 50%, #2d1f28 100%);
	border: 1px solid rgba(255, 255, 255, 0.08);
	box-shadow:
		0 32px 64px -16px rgba(0, 0, 0, 0.35),
		inset 0 1px 0 rgba(255, 255, 255, 0.06);
	backdrop-filter: blur(20px);
}

.nova-hero .stat-item {
	background: var(--nova-glass);
	backdrop-filter: blur(12px);
	border: 1px solid var(--nova-glass-border);
	border-radius: var(--nova-radius-lg);
	padding: 16px 24px;
	box-shadow: 0 4px 24px rgba(15, 23, 42, 0.06);
}

/* ─── Section labels ─── */
.nova-section-label {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-size: 12px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.12em;
	color: var(--swiss-red);
	margin-bottom: 12px;
}

.nova-section-label::before {
	content: '';
	width: 24px;
	height: 2px;
	background: var(--swiss-red);
	border-radius: 2px;
}

.nova-body .section-title {
	letter-spacing: -0.025em;
}

/* ─── Cards premium ─── */
.nova-body .price-card {
	border: 1px solid rgba(15, 23, 42, 0.06);
	background: #fff;
	transition: transform 0.35s var(--nova-ease), box-shadow 0.35s var(--nova-ease);
}

.nova-body .price-card.popular {
	background: linear-gradient(180deg, #fff 0%, #fff8f9 100%);
	border-color: rgba(200, 16, 46, 0.25);
}

.nova-body .feature-card,
.nova-body .step-card,
.nova-body .review-card {
	border: 1px solid rgba(15, 23, 42, 0.05);
	transition: transform 0.35s var(--nova-ease), box-shadow 0.35s var(--nova-ease), border-color 0.35s var(--nova-ease);
}

.nova-body .feature-card:hover,
.nova-body .step-card:hover {
	transform: translateY(-8px);
	box-shadow: 0 24px 48px -12px rgba(15, 23, 42, 0.12);
}

/* ─── Header glass ─── */
.nova-header {
	background: var(--nova-glass);
	backdrop-filter: blur(16px) saturate(180%);
	-webkit-backdrop-filter: blur(16px) saturate(180%);
	border-bottom: 1px solid rgba(15, 23, 42, 0.06) !important;
}

.nova-header.is-scrolled {
	background: rgba(255, 255, 255, 0.92);
}

/* ─── Device tabs modern ─── */
.nova-body .device-tab {
	border-radius: 50px;
	font-weight: 600;
	transition: all 0.25s var(--nova-ease);
}

.nova-body .device-tab.active {
	box-shadow: 0 4px 16px rgba(200, 16, 46, 0.25);
}

/* ─── FAQ accordion polish ─── */
.nova-body .faq-item {
	border-radius: var(--nova-radius);
	overflow: hidden;
	border: 1px solid #e2e8f0;
	transition: border-color 0.25s var(--nova-ease);
}

.nova-body .faq-item:hover {
	border-color: rgba(200, 16, 46, 0.3);
}

.nova-body .faq-question {
	font-weight: 600;
	cursor: pointer;
}

/* ─── Scroll reveal ─── */
[data-nova-reveal] {
	opacity: 0;
	transform: translateY(28px);
	transition: opacity 0.7s var(--nova-ease), transform 0.7s var(--nova-ease);
}

[data-nova-reveal].is-visible {
	opacity: 1;
	transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
	[data-nova-reveal] {
		opacity: 1;
		transform: none;
		transition: none;
	}
}

/* ─── Floating WhatsApp pulse ─── */
.nova-body .floating-whatsapp {
	box-shadow: 0 8px 32px rgba(37, 211, 102, 0.45);
	animation: nova-wa-pulse 3s ease-in-out infinite;
}

@keyframes nova-wa-pulse {
	0%, 100% { box-shadow: 0 8px 32px rgba(37, 211, 102, 0.45); }
	50% { box-shadow: 0 8px 40px rgba(37, 211, 102, 0.65); }
}

/* ─── Trust badges grid ─── */
.nova-body .trust-badges {
	gap: 24px;
}

.nova-body .trust-item {
	border-radius: var(--nova-radius-lg);
	box-shadow: 0 4px 20px rgba(15, 23, 42, 0.04);
}

/* ─── VOD cards cinematic ─── */
.nova-body .vod-card {
	border-radius: var(--nova-radius);
	box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
}

/* ─── Bottom CTA ─── */
.nova-body .bottom-cta,
.nova-body .free-trial-banner {
	border-radius: var(--nova-radius-xl);
}

/* ─── Content readability ─── */
.nova-page-content .entry-content {
	font-size: 1.0625rem;
	line-height: 1.8;
}

.nova-page-content .entry-content a {
	color: var(--swiss-red);
	text-decoration-thickness: 1px;
	text-underline-offset: 3px;
}

/* ─── Focus states (a11y) ─── */
.nova-btn:focus-visible,
.nova-header__nav a:focus-visible,
.nova-mobile-toggle:focus-visible {
	outline: 2px solid var(--swiss-red);
	outline-offset: 3px;
}
