/*
Theme Name: minetv
Theme URI: https://minetv.net
Description: Brand theme for minetv.net — the shop front for the minetv IPTV subscription, built on WooCommerce and matching the customer dashboard at dashboard.minetv.net.
Version: 1.0.0
Requires at least: 6.0
Requires PHP: 7.4
Author: minetv
Text Domain: minetv
Tags: ecommerce, one-column, custom-colors, block-styles
*/

/* -------------------------------------------------------------------------
 * Tokens — the same palette, radii and shadows as the dashboard, so the shop
 * and the customer's account feel like one product.
 * ---------------------------------------------------------------------- */

:root {
	--brand: #2563eb;
	--brand-deep: color-mix(in srgb, var(--brand) 82%, #000);
	--brand-soft: color-mix(in srgb, var(--brand) 9%, #fff);
	--brand-line: color-mix(in srgb, var(--brand) 26%, #fff);
	--brand-ring: color-mix(in srgb, var(--brand) 32%, transparent);

	--ink: #0f172a;
	--ink-soft: #475569;
	--ink-faint: #7b8799;
	--paper: #f4f6fa;
	--surface: #ffffff;
	--surface-2: #f8fafc;
	--line: #dfe4ec;
	--line-soft: #edf0f5;

	--night: #0f172a;
	--night-2: #131f38;
	--night-ink: #cbd5e1;
	--night-faint: #8b9ab1;

	--ok: #047857;
	--ok-bg: #ecfdf5;
	--ok-line: #a7f3d0;

	--radius: 10px;
	--radius-lg: 14px;
	--radius-xl: 20px;

	--shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.04), 0 2px 8px rgba(15, 23, 42, 0.04);
	--shadow-md: 0 4px 12px rgba(15, 23, 42, 0.07), 0 1px 3px rgba(15, 23, 42, 0.05);
	--shadow-lg: 0 18px 48px rgba(15, 23, 42, 0.16);

	--font-sans: "IBM Plex Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
	--wrap: 1120px;
}

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

body {
	margin: 0;
	background: var(--surface);
	color: var(--ink);
	font-family: var(--font-sans);
	font-size: 17px;
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
}

h1,
h2,
h3 {
	line-height: 1.15;
	letter-spacing: -0.02em;
	margin: 0 0 12px;
}

h1 {
	font-size: clamp(2.1rem, 5vw, 3.4rem);
}

h2 {
	font-size: clamp(1.6rem, 3.4vw, 2.4rem);
}

h3 {
	font-size: 1.15rem;
}

p {
	margin: 0 0 16px;
}

a {
	color: var(--brand-deep);
	text-decoration-thickness: 1px;
	text-underline-offset: 2px;
}

img {
	max-width: 100%;
	height: auto;
}

.wrap {
	width: 100%;
	max-width: var(--wrap);
	margin: 0 auto;
	padding: 0 20px;
}

.section {
	padding: 72px 0;
}

.section-tight {
	padding: 48px 0;
}

.section-paper {
	background: var(--paper);
}

.section-head {
	max-width: 640px;
	margin: 0 0 32px;
}

.section-head p {
	color: var(--ink-soft);
	font-size: 1.05rem;
	margin: 0;
}

.eyebrow {
	display: inline-block;
	margin: 0 0 10px;
	font-size: 0.78rem;
	font-weight: 600;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--brand-deep);
}

.center {
	text-align: center;
}

.center .section-head {
	margin-left: auto;
	margin-right: auto;
}

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

.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	padding: 13px 22px;
	border: 1px solid transparent;
	border-radius: var(--radius);
	background: var(--brand);
	color: #fff;
	font: inherit;
	font-weight: 600;
	text-decoration: none;
	cursor: pointer;
	transition: background 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease;
}

.btn:hover {
	background: var(--brand-deep);
	color: #fff;
	transform: translateY(-1px);
	box-shadow: var(--shadow-md);
}

.btn:focus-visible {
	outline: 3px solid var(--brand-ring);
	outline-offset: 2px;
}

.btn-quiet {
	background: var(--surface);
	border-color: var(--line);
	color: var(--ink);
}

.btn-quiet:hover {
	background: var(--surface-2);
	color: var(--ink);
}

.btn-ghost {
	background: transparent;
	border-color: rgba(255, 255, 255, 0.35);
	color: #fff;
}

.btn-ghost:hover {
	background: rgba(255, 255, 255, 0.12);
	color: #fff;
}

.btn-wide {
	width: 100%;
}

.btn-small {
	padding: 9px 16px;
	font-size: 0.92rem;
}

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

.site-header {
	position: sticky;
	top: 0;
	z-index: 40;
	background: rgba(255, 255, 255, 0.92);
	backdrop-filter: blur(10px);
	border-bottom: 1px solid var(--line-soft);
}

.header-inner {
	display: flex;
	align-items: center;
	gap: 20px;
	min-height: 72px;
}

.site-logo {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	text-decoration: none;
	color: var(--ink);
	font-weight: 700;
	font-size: 1.25rem;
	letter-spacing: -0.02em;
}

.site-logo img {
	display: block;
	height: 34px;
	width: auto;
}

.site-nav {
	margin-left: auto;
}

.site-nav ul {
	display: flex;
	align-items: center;
	gap: 26px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.site-nav a {
	color: var(--ink-soft);
	font-size: 0.97rem;
	font-weight: 500;
	text-decoration: none;
}

.site-nav a:hover {
	color: var(--ink);
}

.header-actions {
	display: flex;
	align-items: center;
	gap: 10px;
}

.cart-link {
	position: relative;
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 9px 14px;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	color: var(--ink);
	text-decoration: none;
	font-size: 0.92rem;
	font-weight: 600;
}

.cart-link span {
	color: var(--ink-faint);
	font-weight: 500;
}

.nav-toggle {
	display: none;
	margin-left: auto;
	padding: 9px 12px;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	background: var(--surface);
	font: inherit;
	font-weight: 600;
	cursor: pointer;
}

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

.hero {
	position: relative;
	background: linear-gradient(160deg, var(--night) 0%, var(--night-2) 55%, #1d2c4d 100%);
	color: #fff;
	overflow: hidden;
}

.hero::after {
	content: "";
	position: absolute;
	inset: auto -10% -60% 40%;
	height: 460px;
	background: radial-gradient(closest-side, var(--brand-ring), transparent);
	opacity: 0.55;
	pointer-events: none;
}

.hero-inner {
	position: relative;
	z-index: 1;
	display: grid;
	grid-template-columns: 1.05fr 0.95fr;
	gap: 48px;
	align-items: center;
	/* Keeps .wrap's side gutter: a bare "0" here puts the headline against the
	   screen edge on a phone. */
	padding: 84px 20px 96px;
}

.hero h1 {
	color: #fff;
	margin-bottom: 18px;
}

.hero-lead {
	font-size: 1.15rem;
	color: var(--night-ink);
	max-width: 30rem;
}

.hero-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin: 28px 0 26px;
}

.hero-points {
	display: grid;
	gap: 10px;
	margin: 0;
	padding: 0;
	list-style: none;
	color: var(--night-ink);
	font-size: 0.98rem;
}

.hero-points li {
	display: flex;
	align-items: flex-start;
	gap: 10px;
}

.tick {
	flex: none;
	width: 20px;
	height: 20px;
	margin-top: 2px;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.14);
	color: #fff;
	font-size: 12px;
	line-height: 20px;
	text-align: center;
}

.hero-art {
	position: relative;
}

.hero-art img {
	display: block;
	width: 100%;
	border-radius: var(--radius-xl);
	box-shadow: var(--shadow-lg);
}

.hero-badge {
	position: absolute;
	left: -18px;
	bottom: 26px;
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 12px 16px;
	border-radius: var(--radius-lg);
	background: var(--surface);
	color: var(--ink);
	box-shadow: var(--shadow-lg);
	font-size: 0.9rem;
	font-weight: 600;
}

.hero-badge small {
	display: block;
	color: var(--ink-faint);
	font-weight: 500;
}

.dot-ok {
	width: 10px;
	height: 10px;
	border-radius: 999px;
	background: var(--ok);
	box-shadow: 0 0 0 4px var(--ok-bg);
}

/* Plans ------------------------------------------------------------------ */

.plans {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 18px;
	align-items: start;
}

.plan {
	position: relative;
	display: flex;
	flex-direction: column;
	padding: 26px 22px;
	background: var(--surface);
	border: 1px solid var(--line);
	border-radius: var(--radius-xl);
	box-shadow: var(--shadow-sm);
}

.plan-featured {
	border-color: var(--brand-line);
	box-shadow: var(--shadow-md);
}

.plan-flag {
	position: absolute;
	top: -12px;
	left: 22px;
	padding: 4px 12px;
	border-radius: 999px;
	background: var(--brand);
	color: #fff;
	font-size: 0.75rem;
	font-weight: 700;
	letter-spacing: 0.04em;
	text-transform: uppercase;
}

.plan h3 {
	margin: 0 0 4px;
}

.plan-meta {
	color: var(--ink-faint);
	font-size: 0.92rem;
	margin: 0 0 18px;
}

.plan-price {
	display: flex;
	align-items: baseline;
	gap: 6px;
	margin: 0 0 4px;
}

.plan-price strong {
	font-size: 2.3rem;
	letter-spacing: -0.03em;
}

.plan-price span {
	color: var(--ink-faint);
	font-size: 0.95rem;
}

.plan-per {
	color: var(--ink-faint);
	font-size: 0.88rem;
	margin: 0 0 20px;
}

.plan ul {
	margin: 0 0 22px;
	padding: 0;
	list-style: none;
	display: grid;
	gap: 9px;
	font-size: 0.95rem;
	color: var(--ink-soft);
}

.plan li {
	display: flex;
	align-items: flex-start;
	gap: 9px;
}

.plan li::before {
	content: "✓";
	flex: none;
	width: 18px;
	height: 18px;
	margin-top: 2px;
	border-radius: 999px;
	background: var(--brand-soft);
	color: var(--brand-deep);
	font-size: 11px;
	font-weight: 700;
	line-height: 18px;
	text-align: center;
}

.plan .btn {
	margin-top: auto;
}

.plans-note {
	margin: 22px 0 0;
	color: var(--ink-faint);
	font-size: 0.93rem;
}

/* Steps, features, devices ------------------------------------------------ */

.cards {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 18px;
}

.card {
	padding: 26px 22px;
	background: var(--surface);
	border: 1px solid var(--line);
	border-radius: var(--radius-lg);
	box-shadow: var(--shadow-sm);
}

.card h3 {
	margin-bottom: 6px;
}

.card p {
	margin: 0;
	color: var(--ink-soft);
	font-size: 0.97rem;
}

.step-number {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 34px;
	height: 34px;
	margin-bottom: 14px;
	border-radius: 999px;
	background: var(--brand);
	color: #fff;
	font-weight: 700;
}

.split {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 48px;
	align-items: center;
}

.split img {
	border-radius: var(--radius-xl);
	box-shadow: var(--shadow-md);
}

.device-list {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 10px;
	margin: 22px 0 0;
	padding: 0;
	list-style: none;
	font-size: 0.97rem;
	color: var(--ink-soft);
}

.device-list li {
	display: flex;
	align-items: center;
	gap: 9px;
	padding: 11px 14px;
	background: var(--surface);
	border: 1px solid var(--line);
	border-radius: var(--radius);
}


/* Four-across card rows (why us, buying steps) --------------------------- */

.cards-4 {
	grid-template-columns: repeat(4, 1fr);
}

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

.compare {
	background: var(--surface);
	border: 1px solid var(--line);
	border-radius: var(--radius-xl);
	box-shadow: var(--shadow-sm);
	overflow: hidden;
}

.compare-head,
.compare-row {
	display: grid;
	grid-template-columns: 0.8fr 1.1fr 1.1fr;
	gap: 16px;
	align-items: center;
	padding: 16px 22px;
}

.compare-head {
	background: var(--surface-2);
	border-bottom: 1px solid var(--line);
	font-size: 0.82rem;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: var(--ink-faint);
}

.compare-head .compare-us {
	color: var(--brand-deep);
}

.compare-row + .compare-row {
	border-top: 1px solid var(--line-soft);
}

.compare-label {
	font-weight: 600;
}

.compare-row .compare-them {
	color: var(--ink-faint);
}

.compare-row .compare-us {
	display: flex;
	align-items: flex-start;
	gap: 9px;
	font-weight: 600;
	color: var(--ink);
}

/* Dashboard panel --------------------------------------------------------- */

.dash {
	background: linear-gradient(165deg, var(--night) 0%, var(--night-2) 100%);
	color: #fff;
	border-radius: var(--radius-xl);
	padding: 44px;
	display: grid;
	grid-template-columns: 1.1fr 0.9fr;
	gap: 40px;
	align-items: center;
}

.dash h2 {
	color: #fff;
}

.dash p {
	color: var(--night-ink);
}

.dash ul {
	display: grid;
	gap: 10px;
	margin: 0 0 26px;
	padding: 0;
	list-style: none;
	color: var(--night-ink);
	font-size: 0.98rem;
}

.dash li {
	display: flex;
	align-items: flex-start;
	gap: 10px;
}

.dash-art img {
	border-radius: var(--radius-lg);
	box-shadow: var(--shadow-lg);
}

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

.faq {
	display: grid;
	gap: 12px;
	max-width: 780px;
}

.faq details {
	padding: 4px 20px;
	background: var(--surface);
	border: 1px solid var(--line);
	border-radius: var(--radius-lg);
}

.faq summary {
	padding: 16px 0;
	font-weight: 600;
	cursor: pointer;
	list-style: none;
	display: flex;
	justify-content: space-between;
	gap: 16px;
}

.faq summary::-webkit-details-marker {
	display: none;
}

.faq summary::after {
	content: "+";
	color: var(--brand);
	font-size: 1.3rem;
	line-height: 1;
}

.faq details[open] summary::after {
	content: "–";
}

.faq p {
	margin: 0 0 16px;
	color: var(--ink-soft);
}

/* Help banner -------------------------------------------------------------- */

.help {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 22px;
	padding: 30px 34px;
	background: var(--brand-soft);
	border: 1px solid var(--brand-line);
	border-radius: var(--radius-xl);
}

.help h2 {
	margin: 0 0 4px;
	font-size: 1.5rem;
}

.help p {
	margin: 0;
	color: var(--ink-soft);
}

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

.site-footer {
	margin-top: 8px;
	padding: 56px 0 32px;
	background: var(--night);
	color: var(--night-faint);
	font-size: 0.95rem;
}

.footer-grid {
	display: grid;
	grid-template-columns: 1.4fr 1fr 1fr 1fr;
	gap: 32px;
}

.site-footer h4 {
	margin: 0 0 12px;
	color: #fff;
	font-size: 0.95rem;
	letter-spacing: 0.02em;
}

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

.site-footer a {
	color: var(--night-ink);
	text-decoration: none;
}

.site-footer a:hover {
	color: #fff;
	text-decoration: underline;
}

.footer-logo {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	margin-bottom: 12px;
	color: #fff;
	font-weight: 700;
	font-size: 1.15rem;
	text-decoration: none;
}

.footer-logo img {
	height: 30px;
	width: auto;
}

.footer-bottom {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	justify-content: space-between;
	margin-top: 40px;
	padding-top: 20px;
	border-top: 1px solid rgba(255, 255, 255, 0.1);
	font-size: 0.88rem;
}

/* Inner pages and WooCommerce --------------------------------------------- */

.page-hero {
	padding: 48px 0 8px;
	background: var(--paper);
	border-bottom: 1px solid var(--line-soft);
}

.page-body {
	padding: 40px 0 72px;
}

.page-body .wrap > * {
	max-width: 780px;
}

.page-body .wrap > .woocommerce,
.page-body .wrap > .woocommerce-page {
	max-width: none;
}

.woocommerce .button,
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce #respond input#submit,
.woocommerce a.button.alt,
.woocommerce button.button.alt {
	background: var(--brand);
	color: #fff;
	border-radius: var(--radius);
	padding: 12px 20px;
	font-weight: 600;
	line-height: 1.3;
}

.woocommerce .button:hover,
.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce a.button.alt:hover,
.woocommerce button.button.alt:hover {
	background: var(--brand-deep);
	color: #fff;
}

.woocommerce form .form-row input.input-text,
.woocommerce form .form-row textarea,
.woocommerce form .form-row select,
.woocommerce-page form .form-row input.input-text {
	padding: 12px 14px;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	font: inherit;
	background: var(--surface);
}

.woocommerce form .form-row input.input-text:focus,
.woocommerce form .form-row select:focus {
	outline: 3px solid var(--brand-ring);
	outline-offset: 1px;
	border-color: var(--brand);
}

.woocommerce-checkout #payment {
	background: var(--surface-2);
	border: 1px solid var(--line);
	border-radius: var(--radius-lg);
}

.woocommerce-info,
.woocommerce-message {
	border-top-color: var(--brand);
	background: var(--brand-soft);
}

.woocommerce-message {
	border-top-color: var(--ok);
	background: var(--ok-bg);
}

.woocommerce ul.products li.product .price {
	color: var(--ink);
	font-weight: 700;
}

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

@media (max-width: 1040px) {
	.plans,
	.cards-4 {
		grid-template-columns: repeat(2, 1fr);
	}

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

@media (max-width: 900px) {
	.hero-inner,
	.split,
	.dash {
		grid-template-columns: 1fr;
		gap: 32px;
	}

	.hero-inner {
		padding: 56px 20px 64px;
	}

	.cards,
	.cards-4 {
		grid-template-columns: 1fr;
	}

	/* Stacked on a phone: label, then what others do, then what we do. */
	.compare-head {
		display: none;
	}

	.compare-row {
		grid-template-columns: 1fr;
		gap: 6px;
		padding: 18px 20px;
	}

	.compare-row .compare-them::before {
		content: "Vaak: ";
		font-weight: 600;
	}

	.dash {
		padding: 32px 24px;
	}

	.hero-badge {
		left: 12px;
	}
}

@media (max-width: 760px) {
	body {
		font-size: 16px;
	}

	.section {
		padding: 52px 0;
	}

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

	.site-nav {
		display: none;
		width: 100%;
		margin: 0;
		padding-bottom: 14px;
	}

	.site-nav.is-open {
		display: block;
	}

	.site-nav ul {
		flex-direction: column;
		align-items: flex-start;
		gap: 14px;
	}

	.header-inner {
		flex-wrap: wrap;
	}

	.header-actions .cart-link span {
		display: none;
	}

	.device-list {
		grid-template-columns: 1fr;
	}
}

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

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

	.help {
		padding: 24px;
	}
}
