/* ==========================================================================
   TVStoreLive – main stylesheet
   Dark, high-contrast UI built on the logo blue (#1e88e5).
   ========================================================================== */

:root {
	--bg: #070b18;
	--bg-2: #0b1124;
	--surface: #10182f;
	--surface-2: #16203d;
	--line: rgba(148, 170, 220, .14);
	--text: #e8eefc;
	--muted: #9aa8c7;
	--brand: #1e88e5;
	--brand-2: #0b5ed7;
	--brand-glow: rgba(30, 136, 229, .35);
	--accent: #38bdf8;
	--wa: #25d366;
	--tp: #00b67a;
	--warn: #ffb020;
	--radius: 16px;
	--radius-sm: 10px;
	--shadow: 0 20px 50px -20px rgba(0, 0, 0, .6);
	--container: 1180px;
	--font: "Poppins", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}

/* Reset ------------------------------------------------------------------ */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 88px; }
body {
	margin: 0;
	background: var(--bg);
	color: var(--text);
	font-family: var(--font);
	font-size: 16px;
	line-height: 1.65;
	-webkit-font-smoothing: antialiased;
	overflow-x: hidden;
}
img, svg, video { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); text-decoration: none; }
a:hover { color: #7dd3fc; }
h1, h2, h3, h4 { line-height: 1.2; margin: 0 0 .6em; font-weight: 700; letter-spacing: -.01em; color: #fff; }
h1 { font-size: clamp(2rem, 4.6vw, 3.4rem); font-weight: 800; }
h2 { font-size: clamp(1.6rem, 3.2vw, 2.4rem); }
h3, .h3 { font-size: 1.15rem; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; }
button { font: inherit; cursor: pointer; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: -9999px; top: 8px; z-index: 1000; background: #fff; color: #000; padding: 8px 14px; border-radius: 8px; }
.skip-link:focus { left: 8px; }
.center { text-align: center; }

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

/* Buttons ---------------------------------------------------------------- */
.btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px;
	padding: 12px 22px; border-radius: 999px; border: 2px solid transparent;
	font-weight: 600; font-size: .95rem; line-height: 1.2; white-space: nowrap;
	transition: transform .15s ease, box-shadow .2s ease, background .2s ease, color .2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-lg { padding: 15px 28px; font-size: 1rem; }
.btn-block { width: 100%; }
.btn-primary { background: linear-gradient(135deg, var(--brand), var(--brand-2)); color: #fff; box-shadow: 0 10px 30px -10px var(--brand-glow); }
.btn-primary:hover { color: #fff; box-shadow: 0 14px 34px -8px var(--brand-glow); }
.btn-outline { border-color: var(--line); color: #fff; background: rgba(255, 255, 255, .03); }
.btn-outline:hover { border-color: var(--brand); color: #fff; }
.btn-ghost { background: rgba(255, 255, 255, .06); color: #fff; border-color: rgba(255, 255, 255, .12); }
.btn-ghost:hover { color: #fff; background: rgba(255, 255, 255, .1); }
.btn-whatsapp { background: var(--wa); color: #052e14; }
.btn-whatsapp:hover { color: #052e14; box-shadow: 0 12px 30px -10px rgba(37, 211, 102, .6); }
.link-arrow { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; }
.link-arrow .icon { transition: transform .2s; }
.link-arrow:hover .icon { transform: translateX(4px); }

/* Topbar ----------------------------------------------------------------- */
.topbar { background: #050814; border-bottom: 1px solid var(--line); font-size: .82rem; color: var(--muted); }
.topbar-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 38px; }
.topbar p { margin: 0; display: flex; align-items: center; gap: 6px; }
.topbar p .icon { color: var(--warn); }
.topbar-tp { display: inline-flex; align-items: center; gap: 8px; color: var(--muted); }
.topbar-tp:hover { color: #fff; }
.tp-stars { display: inline-flex; color: var(--tp); }

/* Header ----------------------------------------------------------------- */
.site-header {
	position: sticky; top: 0; z-index: 100;
	background: rgba(7, 11, 24, .82);
	backdrop-filter: saturate(160%) blur(14px);
	-webkit-backdrop-filter: saturate(160%) blur(14px);
	border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 72px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: #fff; font-weight: 800; font-size: 1.35rem; letter-spacing: -.02em; }
.brand:hover { color: #fff; }
.brand-name b { color: var(--brand); font-weight: 800; }
.custom-logo { max-height: 48px; width: auto; }

.main-nav { display: flex; align-items: center; gap: 24px; }
.main-nav .menu { display: flex; align-items: center; gap: 4px; list-style: none; }
.main-nav .menu a { display: block; padding: 8px 12px; border-radius: 8px; color: #d4ddf2; font-weight: 500; font-size: .95rem; }
.main-nav .menu a:hover,
.main-nav .current-menu-item > a,
.main-nav .current_page_item > a { color: #fff; background: rgba(255, 255, 255, .06); }
.main-nav .sub-menu { display: none; }
.lang-switch { font-size: .9rem; }
.lang-switch .trp-language-switcher { width: auto; }
.nav-toggle { display: none; background: none; border: 0; color: #fff; padding: 8px; }
.nav-toggle-close { display: none; }

/* Hero ------------------------------------------------------------------- */
.hero { position: relative; padding: 72px 0 48px; overflow: hidden; }
.hero-glow, .page-hero .hero-glow {
	position: absolute; inset: -20% -10% auto; height: 640px; pointer-events: none; z-index: 0;
	background:
		radial-gradient(600px 300px at 20% 30%, rgba(30, 136, 229, .28), transparent 70%),
		radial-gradient(500px 280px at 85% 20%, rgba(56, 189, 248, .18), transparent 70%);
}
.hero .container, .page-hero .container { position: relative; z-index: 1; }
.hero-inner { display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: center; }
.eyebrow {
	display: inline-flex; align-items: center; gap: 8px;
	font-size: .8rem; font-weight: 600; text-transform: uppercase; letter-spacing: .12em;
	color: var(--accent); margin-bottom: 14px;
}
.live-dot { width: 9px; height: 9px; border-radius: 50%; background: #ef4444; box-shadow: 0 0 0 0 rgba(239, 68, 68, .6); animation: pulse 1.8s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 10px rgba(239, 68, 68, 0); } 100% { box-shadow: 0 0 0 0 rgba(239, 68, 68, 0); } }
.hero h1 { margin-bottom: 18px; }
.hero-text { font-size: 1.12rem; color: #c3cde6; max-width: 560px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0 24px; }
.hero-actions-center { justify-content: center; }
.hero-trust { display: flex; flex-wrap: wrap; gap: 8px 22px; list-style: none; color: var(--muted); font-size: .92rem; }
.hero-trust li { display: inline-flex; align-items: center; gap: 6px; }
.hero-trust .icon { color: var(--wa); }

.hero-visual { position: relative; }
.screen {
	position: relative; border-radius: 22px; padding: 14px;
	background: linear-gradient(160deg, #18244a, #0b1226);
	border: 1px solid rgba(148, 170, 220, .22);
	box-shadow: 0 40px 80px -30px rgba(30, 136, 229, .45), var(--shadow);
	transform: perspective(1200px) rotateY(-8deg) rotateX(3deg);
}
.screen-bar { display: flex; align-items: center; gap: 6px; padding: 2px 4px 12px; }
.screen-bar span { width: 10px; height: 10px; border-radius: 50%; background: rgba(255, 255, 255, .18); }
.screen-bar em { margin-left: auto; font-style: normal; font-size: .7rem; font-weight: 700; color: #fff; background: #ef4444; padding: 2px 8px; border-radius: 6px; letter-spacing: .08em; }
.screen-player {
	aspect-ratio: 16 / 9; border-radius: 14px; display: grid; place-items: center;
	background:
		radial-gradient(circle at 30% 30%, rgba(56, 189, 248, .35), transparent 50%),
		radial-gradient(circle at 75% 70%, rgba(30, 136, 229, .45), transparent 55%),
		linear-gradient(135deg, #0d1b3d, #071026);
}
.screen-player .brand-mark { filter: drop-shadow(0 10px 30px rgba(30, 136, 229, .7)); }
.screen-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 8px; margin-top: 10px; }
.screen-grid i { aspect-ratio: 3 / 4; border-radius: 8px; background: linear-gradient(160deg, rgba(255, 255, 255, .12), rgba(255, 255, 255, .03)); }
.screen-grid i:nth-child(2n) { background: linear-gradient(160deg, rgba(30, 136, 229, .4), rgba(30, 136, 229, .08)); }
.float-card {
	position: absolute; display: flex; align-items: center; gap: 10px;
	padding: 10px 14px; border-radius: 14px; font-size: .8rem; line-height: 1.25;
	background: rgba(16, 24, 47, .92); border: 1px solid var(--line); box-shadow: var(--shadow);
	backdrop-filter: blur(8px);
}
.float-card strong { display: block; color: #fff; font-size: .95rem; }
.float-card span { color: var(--muted); }
.float-card .icon { color: var(--accent); }
.float-card-a { left: -24px; bottom: 28%; animation: float 5s ease-in-out infinite; }
.float-card-b { right: -12px; top: -18px; animation: float 6s ease-in-out infinite reverse; }
@keyframes float { 50% { transform: translateY(-8px); } }

.stats {
	list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px;
	margin-top: 64px; border-radius: var(--radius); overflow: hidden;
	background: var(--line); border: 1px solid var(--line);
}
.stats li { background: var(--bg-2); padding: 22px 16px; text-align: center; }
.stats strong { display: block; font-size: clamp(1.4rem, 2.6vw, 2rem); font-weight: 800; color: #fff; }
.stats span { color: var(--muted); font-size: .9rem; }

/* Page hero -------------------------------------------------------------- */
.page-hero { position: relative; overflow: hidden; padding: 48px 0 40px; border-bottom: 1px solid var(--line); }
.page-hero h1 { font-size: clamp(1.9rem, 4vw, 3rem); max-width: 860px; }
.page-intro { color: #c3cde6; font-size: 1.08rem; max-width: 720px; }
.breadcrumbs ol { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; font-size: .85rem; color: var(--muted); margin-bottom: 18px; }
.breadcrumbs li + li::before { content: "/"; margin-right: 6px; opacity: .5; }
.breadcrumbs a { color: var(--muted); }
.breadcrumbs a:hover { color: #fff; }

/* Sections --------------------------------------------------------------- */
.section { padding: 84px 0; position: relative; }
.section-alt { background: var(--bg-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 48px; }
.section-head p { color: var(--muted); font-size: 1.05rem; }
.section-more { text-align: center; margin-top: 32px; }

.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card {
	background: linear-gradient(180deg, var(--surface), var(--bg-2));
	border: 1px solid var(--line); border-radius: var(--radius); padding: 28px;
	transition: border-color .2s, transform .2s;
}
.card:hover { border-color: rgba(30, 136, 229, .5); transform: translateY(-3px); }
.card p { color: var(--muted); margin: 0; }
.card-icon {
	display: inline-grid; place-items: center; width: 52px; height: 52px; border-radius: 14px; margin-bottom: 16px;
	background: rgba(30, 136, 229, .14); color: var(--accent); border: 1px solid rgba(30, 136, 229, .3);
}
.card-icon-wa { background: rgba(37, 211, 102, .14); color: var(--wa); border-color: rgba(37, 211, 102, .3); }
.card-icon-ig { background: rgba(236, 72, 153, .14); color: #f472b6; border-color: rgba(236, 72, 153, .3); }
.card-grid-tight .card { padding: 22px; }
.card-row { display: flex; gap: 16px; align-items: flex-start; }
.card-row .card-icon { flex: none; margin: 0; width: 46px; height: 46px; }
.card-row h3 { margin-bottom: .3em; }
.card-link { display: block; color: inherit; }
.card-link:hover { color: inherit; }
.card-link .link-arrow { margin-top: 14px; color: var(--accent); word-break: break-all; }

/* Devices ---------------------------------------------------------------- */
.device-list { list-style: none; display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; }
.device-list li {
	display: flex; flex-direction: column; align-items: center; gap: 12px; text-align: center;
	padding: 24px 12px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line);
	font-weight: 600; font-size: .92rem;
}
.device-list span { color: var(--accent); }

/* Pricing ---------------------------------------------------------------- */
.plans { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; align-items: stretch; }
.plan {
	position: relative; display: flex; flex-direction: column;
	padding: 30px 24px; border-radius: 20px;
	background: linear-gradient(180deg, var(--surface), var(--bg-2));
	border: 1px solid var(--line);
}
.plan-featured {
	border: 2px solid var(--brand);
	background: linear-gradient(180deg, #13244d, var(--bg-2));
	box-shadow: 0 30px 60px -30px var(--brand-glow);
	transform: translateY(-8px);
}
.plan-badge {
	position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
	background: linear-gradient(135deg, var(--brand), var(--brand-2)); color: #fff;
	font-size: .75rem; font-weight: 700; padding: 5px 14px; border-radius: 999px; white-space: nowrap; text-transform: uppercase; letter-spacing: .06em;
}
.plan:not(.plan-featured) .plan-badge { background: var(--surface-2); border: 1px solid var(--line); }
.plan-name { font-size: 1.05rem; color: var(--muted); font-weight: 600; margin-bottom: 10px; }
.plan-name span { display: block; color: #fff; font-size: 1.35rem; font-weight: 700; }
.plan-price { margin: 0 0 4px; }
.plan-price strong { display: block; font-size: 2.8rem; font-weight: 800; color: #fff; line-height: 1.05; }
.plan-per { color: var(--muted); font-size: .9rem; }
.plan-save { display: inline-block; align-self: flex-start; font-size: .78rem; font-weight: 700; color: var(--wa); background: rgba(37, 211, 102, .12); padding: 3px 10px; border-radius: 999px; margin: 6px 0 0; }
.plan-features { list-style: none; margin: 22px 0 26px; display: grid; gap: 10px; font-size: .92rem; color: #c9d3ea; flex: 1; }
.plan-features li { display: flex; gap: 8px; align-items: flex-start; }
.plan-features .icon { flex: none; color: var(--wa); margin-top: 3px; }
.pricing-notes { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 28px; margin-top: 40px; color: var(--muted); font-size: .92rem; }
.pricing-notes li, .pricing-notes a { display: inline-flex; align-items: center; gap: 8px; }
.pricing-notes .icon { color: var(--accent); }

.table-wrap { overflow-x: auto; border-radius: var(--radius); border: 1px solid var(--line); }
.compare-table { width: 100%; border-collapse: collapse; min-width: 520px; }
.compare-table th, .compare-table td { padding: 14px 18px; text-align: left; border-bottom: 1px solid var(--line); }
.compare-table thead th { background: var(--surface); font-size: .85rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.compare-table tbody tr:last-child > * { border-bottom: 0; }
.compare-table tbody th { color: #fff; }

/* Steps ------------------------------------------------------------------ */
.step-list { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; counter-reset: none; }
.step { position: relative; text-align: center; padding: 36px 24px 28px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); }
.step-num { position: absolute; top: 14px; left: 18px; font-size: 2.6rem; font-weight: 800; color: rgba(255, 255, 255, .06); line-height: 1; }
.step-icon { display: inline-grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; background: linear-gradient(135deg, var(--brand), var(--brand-2)); color: #fff; margin-bottom: 16px; box-shadow: 0 10px 30px -10px var(--brand-glow); }
.step p { color: var(--muted); margin: 0; }

/* Reviews ---------------------------------------------------------------- */
.reviews { background: var(--bg-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.tp-summary { display: inline-flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 10px 14px; padding: 10px 18px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); color: #dfe7fa; font-size: .92rem; }
.tp-summary:hover { color: #fff; border-color: var(--tp); }
.tp-logo { display: inline-flex; align-items: center; gap: 4px; font-weight: 700; color: #fff; }
.tp-logo .icon { color: var(--tp); }
.tp-boxes { display: inline-flex; gap: 2px; }
.tp-boxes i { display: inline-grid; place-items: center; width: 22px; height: 22px; background: var(--tp); color: #fff; }
.float-card .tp-boxes i { width: 16px; height: 16px; }
.review-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.review { margin: 0; padding: 24px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); display: flex; flex-direction: column; gap: 10px; }
.review .tp-boxes i { width: 20px; height: 20px; }
.review-title { margin: 4px 0 0; font-weight: 700; color: #fff; }
.review blockquote { margin: 0; color: #c9d3ea; flex: 1; }
.review blockquote p { margin: 0; }
.review figcaption { display: flex; align-items: center; gap: 10px; font-size: .85rem; color: var(--muted); }
.review figcaption strong { color: #fff; }
.avatar { flex: none; width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; font-weight: 700; color: #fff; background: linear-gradient(135deg, var(--brand), var(--brand-2)); }

/* FAQ -------------------------------------------------------------------- */
.faq-list { display: grid; gap: 12px; }
.faq-item { border-radius: var(--radius-sm); background: var(--surface); border: 1px solid var(--line); overflow: hidden; }
.faq-item[open] { border-color: rgba(30, 136, 229, .45); }
.faq-item summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 22px; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary h3 { margin: 0; font-size: 1.02rem; font-weight: 600; }
.faq-item summary::after { content: "+"; flex: none; font-size: 1.5rem; line-height: 1; color: var(--accent); transition: transform .2s; }
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-answer { padding: 0 22px 18px; color: #c3cde6; }
.faq-answer p { margin: 0; }

/* CTA band --------------------------------------------------------------- */
.cta-band { padding: 72px 0; }
.cta-inner {
	display: flex; align-items: center; justify-content: space-between; gap: 32px;
	padding: 48px; border-radius: 24px;
	background:
		radial-gradient(500px 200px at 10% 0%, rgba(56, 189, 248, .3), transparent 70%),
		linear-gradient(135deg, #0f3c8a, #0b1f4d);
	border: 1px solid rgba(56, 189, 248, .3);
}
.cta-inner h2 { margin-bottom: .3em; }
.cta-inner p { margin: 0; color: #d3e0fb; max-width: 560px; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 12px; flex: none; }

/* Installation guide ----------------------------------------------------- */
.tabs { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-bottom: 36px; }
.tab {
	display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 12px;
	background: var(--surface); border: 1px solid var(--line); color: #d4ddf2; font-weight: 600; font-size: .9rem;
}
.tab[aria-selected="true"] { background: linear-gradient(135deg, var(--brand), var(--brand-2)); border-color: transparent; color: #fff; }
.guide { max-width: 860px; margin: 0 auto; padding: 36px; border-radius: 20px; background: var(--surface); border: 1px solid var(--line); }
.js .guide[data-hidden] { display: none; }
.guide + .guide { margin-top: 24px; }
.js .guide + .guide { margin-top: 0; }
.guide h2 { font-size: clamp(1.3rem, 2.4vw, 1.7rem); }
.guide-app { color: var(--muted); }
.guide-steps { list-style: none; counter-reset: step; display: grid; gap: 14px; margin: 24px 0; }
.guide-steps li { counter-increment: step; position: relative; padding: 14px 16px 14px 60px; border-radius: 12px; background: rgba(255, 255, 255, .03); border: 1px solid var(--line); }
.guide-steps li::before {
	content: counter(step); position: absolute; left: 14px; top: 12px;
	width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center;
	background: linear-gradient(135deg, var(--brand), var(--brand-2)); color: #fff; font-weight: 700; font-size: .9rem;
}
.guide-steps strong { color: #fff; }
.guide-help { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 20px; border-top: 1px solid var(--line); }
.guide-help p { margin: 0; color: var(--muted); }

/* Blog ------------------------------------------------------------------- */
.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.post-card { display: flex; flex-direction: column; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); overflow: hidden; transition: border-color .2s, transform .2s; }
.post-card:hover { border-color: rgba(30, 136, 229, .5); transform: translateY(-3px); }
.post-card-media img, .post-card-placeholder { aspect-ratio: 16 / 9; width: 100%; object-fit: cover; }
.post-card-placeholder { display: grid; place-items: center; background: linear-gradient(135deg, #12224a, #0a1330); }
.post-card-body { padding: 20px 22px 24px; }
.post-card-title { font-size: 1.12rem; margin-bottom: .4em; }
.post-card-title a { color: #fff; }
.post-card-title a:hover { color: var(--accent); }
.post-card-body p:last-child { color: var(--muted); margin: 0; font-size: .94rem; }
.post-meta { color: var(--muted); font-size: .85rem; margin-bottom: 8px; }
.post-hero-img { margin: 0 0 32px; border-radius: var(--radius); overflow: hidden; }
.post-cta { display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap; margin: 48px 0; padding: 24px; border-radius: var(--radius); background: linear-gradient(135deg, #0f3c8a, #0b1f4d); border: 1px solid rgba(56, 189, 248, .3); }
.post-cta p { margin: 0; }
.related { margin-top: 56px; }
.related .post-grid { grid-template-columns: repeat(3, 1fr); }
.related .post-card-title { font-size: 1rem; }
.nav-links { display: flex; justify-content: center; gap: 8px; margin-top: 40px; flex-wrap: wrap; }
.page-numbers { display: inline-grid; place-items: center; min-width: 42px; height: 42px; padding: 0 12px; border-radius: 10px; background: var(--surface); border: 1px solid var(--line); color: #fff; }
.page-numbers.current { background: var(--brand); border-color: var(--brand); }
.empty { text-align: center; color: var(--muted); }

/* Entry content (editor output) ----------------------------------------- */
.entry-content { color: #cdd6ec; font-size: 1.04rem; }
.entry-content > * + * { margin-top: 1.1em; }
.entry-content h2 { margin-top: 1.8em; font-size: clamp(1.4rem, 2.6vw, 1.9rem); }
.entry-content h3 { margin-top: 1.5em; font-size: 1.25rem; }
.entry-content a { text-decoration: underline; text-underline-offset: 3px; }
.entry-content ul, .entry-content ol { padding-left: 1.4em; }
.entry-content li + li { margin-top: .4em; }
.entry-content img { border-radius: 12px; }
.entry-content blockquote { margin: 1.5em 0; padding: 4px 0 4px 20px; border-left: 4px solid var(--brand); color: #fff; }
.entry-content table { width: 100%; border-collapse: collapse; }
.entry-content th, .entry-content td { padding: 10px 12px; border: 1px solid var(--line); }
.entry-content code { background: var(--surface); padding: 2px 6px; border-radius: 6px; }

/* Forms ------------------------------------------------------------------ */
.search-form { display: flex; gap: 8px; max-width: 460px; margin: 24px auto 0; }
.search-form label { flex: 1; }
.search-field, input[type="text"], input[type="email"], input[type="url"], textarea {
	width: 100%; padding: 12px 16px; border-radius: 12px; border: 1px solid var(--line);
	background: var(--surface); color: #fff; font: inherit;
}
.search-submit, input[type="submit"] { padding: 12px 20px; border-radius: 12px; border: 0; background: var(--brand); color: #fff; font-weight: 600; }

/* Footer ----------------------------------------------------------------- */
.site-footer { background: #050814; border-top: 1px solid var(--line); padding: 64px 0 24px; font-size: .94rem; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 40px; }
.footer-brand p { color: var(--muted); margin: 16px 0 20px; max-width: 360px; }
.footer-title { font-weight: 700; color: #fff; margin-bottom: 14px; }
.site-footer .menu { list-style: none; display: grid; gap: 8px; }
.site-footer .menu a { color: var(--muted); }
.site-footer .menu a:hover { color: #fff; }
.social { display: flex; gap: 10px; }
.social a { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; background: var(--surface); border: 1px solid var(--line); color: #fff; }
.social a:hover { border-color: var(--brand); color: var(--accent); }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--line); color: var(--muted); font-size: .84rem; }
.footer-bottom p { margin: 0; }

.wa-float {
	position: fixed; right: 18px; bottom: 18px; z-index: 90;
	width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center;
	background: var(--wa); color: #fff; box-shadow: 0 12px 30px -8px rgba(37, 211, 102, .7);
	transition: transform .2s;
}
.wa-float:hover { color: #fff; transform: scale(1.08); }

/* Language suggestion bar ------------------------------------------------ */
.lang-bar {
	position: fixed; left: 50%; bottom: 18px; z-index: 95; transform: translateX(-50%);
	display: flex; align-items: center; gap: 12px; flex-wrap: wrap; justify-content: center;
	width: max-content; max-width: calc(100% - 110px);
	padding: 10px 12px 10px 18px; border-radius: 14px;
	background: var(--surface-2); border: 1px solid rgba(56, 189, 248, .35); box-shadow: var(--shadow);
	font-size: .92rem;
}
.lang-bar .btn { padding: 8px 16px; font-size: .88rem; }
.lang-bar-close { background: none; border: 0; color: var(--muted); padding: 6px; }
.lang-bar-close:hover { color: #fff; }

/* Responsive ------------------------------------------------------------- */
@media (max-width: 1080px) {
	.plans { grid-template-columns: repeat(2, 1fr); gap: 26px 18px; }
	.plan-featured { transform: none; }
	.device-list { grid-template-columns: repeat(3, 1fr); }
	.footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 960px) {
	.nav-toggle { display: inline-flex; }
	.main-nav {
		position: absolute; top: 100%; left: 0; right: 0; z-index: 99;
		flex-direction: column; align-items: stretch; gap: 16px;
		padding: 20px; background: var(--bg); border-bottom: 1px solid var(--line);
		max-height: calc(100vh - 72px); overflow-y: auto;
		transform: translateY(-12px); opacity: 0; visibility: hidden;
		transition: opacity .2s, transform .2s, visibility .2s;
	}
	.nav-open .main-nav { transform: none; opacity: 1; visibility: visible; }
	.nav-open .nav-toggle-open { display: none; }
	.nav-open .nav-toggle-close { display: inline; }
	.main-nav .menu { flex-direction: column; align-items: stretch; }
	.main-nav .menu a { padding: 12px 14px; font-size: 1.05rem; }
	.hero-inner { grid-template-columns: 1fr; gap: 48px; }
	.hero-visual { max-width: 560px; margin: 0 auto; width: 100%; }
	.screen { transform: none; }
	.card-grid, .review-grid, .post-grid, .related .post-grid { grid-template-columns: repeat(2, 1fr); }
	.step-list { grid-template-columns: 1fr; }
	.cta-inner { flex-direction: column; align-items: flex-start; padding: 36px 28px; }
}

@media (max-width: 640px) {
	body { font-size: 15.5px; }
	.container { padding: 0 16px; }
	.topbar p span { display: none; }
	.topbar-inner { justify-content: center; }
	.hero { padding: 44px 0 32px; }
	.hero-actions .btn { width: 100%; }
	.float-card-a { left: 8px; bottom: -18px; }
	.float-card-b { right: 8px; }
	.stats { grid-template-columns: repeat(2, 1fr); margin-top: 48px; }
	.section { padding: 60px 0; }
	.section-head { margin-bottom: 32px; }
	.card-grid, .review-grid, .post-grid, .related .post-grid, .plans { grid-template-columns: 1fr; }
	.device-list { grid-template-columns: repeat(2, 1fr); }
	.guide { padding: 22px 18px; }
	.guide-steps li { padding-left: 54px; }
	.cta-actions, .cta-actions .btn { width: 100%; }
	.footer-grid { grid-template-columns: 1fr; gap: 28px; }
	.lang-bar { left: 16px; right: 84px; transform: none; max-width: none; width: auto; justify-content: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
