/* =========================================================
   Zero IPTV — site design system (marketing pages)
   Checkout pages (/pay/) keep using css/main.css.
   ========================================================= */
:root {
    --bg: #07070a;
    --bg-2: #0d0d12;
    --surface: #121218;
    --surface-2: #1a1a22;
    --line: rgba(255, 255, 255, 0.08);
    --line-2: rgba(255, 255, 255, 0.14);
    --text: #f5f5f4;
    --muted: #a1a1aa;
    --muted-2: #71717a;
    --brand: #f97316;
    --brand-2: #f59e0b;
    --brand-soft: rgba(249, 115, 22, 0.12);
    --ok: #22c55e;
    --grad: linear-gradient(135deg, #f97316 0%, #f59e0b 100%);
    --font: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
    --font-h: 'Outfit', 'Inter', system-ui, sans-serif;
    --r-sm: 10px;
    --r: 16px;
    --r-lg: 24px;
    --wrap: 1200px;
    --shadow: 0 20px 60px rgba(0, 0, 0, 0.45);
    /* legacy tokens used by the order modal */
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --color-text-main: #f5f5f4;
    --color-text-muted: #a1a1aa;
    --color-secondary: #f59e0b;
    --transition-base: all 0.25s ease;
    --font-heading: 'Outfit', sans-serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
    font-family: var(--font);
    background: var(--bg);
    color: var(--text);
    line-height: 1.65;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { font: inherit; cursor: pointer; }
h1, h2, h3, h4 { font-family: var(--font-h); line-height: 1.15; letter-spacing: -0.01em; }
strong { color: #fff; font-weight: 600; }
::selection { background: rgba(249, 115, 22, 0.35); }
:focus-visible { outline: 2px solid var(--brand); outline-offset: 3px; border-radius: 6px; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.skip-link { position: absolute; left: -999px; top: 8px; background: var(--brand); color: #000; padding: 8px 14px; border-radius: 8px; z-index: 10000; }
.skip-link:focus { left: 8px; }
.grad-text { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.muted { color: var(--muted); }
.center { text-align: center; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 10px;
    padding: 13px 24px; border-radius: 999px; font-weight: 600; font-size: 0.98rem;
    border: 1px solid transparent; transition: transform .2s ease, box-shadow .2s ease, background .2s ease, border-color .2s ease;
    white-space: nowrap;
}
.btn--primary { background: var(--grad); color: #111; box-shadow: 0 8px 30px rgba(249, 115, 22, 0.35); }
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 12px 38px rgba(249, 115, 22, 0.5); }
.btn--secondary, .btn--ghost { background: rgba(255, 255, 255, 0.04); border-color: var(--line-2); color: var(--text); }
.btn--secondary:hover, .btn--ghost:hover { border-color: rgba(249, 115, 22, 0.6); background: var(--brand-soft); }
.btn--lg { padding: 16px 30px; font-size: 1.05rem; }
.btn--block { width: 100%; }

/* ---------- Header ---------- */
.header {
    position: fixed; inset: 0 0 auto 0; z-index: 1000;
    background: rgba(7, 7, 10, 0.72); backdrop-filter: saturate(160%) blur(14px); -webkit-backdrop-filter: saturate(160%) blur(14px);
    border-bottom: 1px solid var(--line);
}
.header__in { display: flex; align-items: center; gap: 24px; height: 70px; }
.logo { display: inline-flex; align-items: center; gap: 10px; font-family: var(--font-h); font-weight: 800; font-size: 1.25rem; letter-spacing: 0.02em; }
.logo__mark {
    width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center;
    background: var(--grad); color: #111; font-size: 1.2rem; font-weight: 900;
    box-shadow: 0 6px 20px rgba(249, 115, 22, 0.4);
}
.logo__text b { color: var(--brand); font-weight: 800; }
.nav { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.nav a { padding: 8px 14px; border-radius: 999px; color: var(--muted); font-size: 0.95rem; font-weight: 500; transition: color .2s, background .2s; }
.nav a:hover, .nav a[aria-current="page"] { color: #fff; background: rgba(255, 255, 255, 0.06); }
.header__actions { display: flex; align-items: center; gap: 10px; }
.header__cta { padding: 10px 18px; font-size: 0.92rem; }

.lang { position: relative; }
.lang__btn {
    display: inline-flex; align-items: center; gap: 8px; padding: 8px 12px; border-radius: 999px;
    background: rgba(255, 255, 255, 0.04); border: 1px solid var(--line-2); color: var(--text); font-size: 0.88rem; font-weight: 600;
}
.lang__menu {
    position: absolute; right: 0; top: calc(100% + 8px); min-width: 180px; padding: 6px;
    background: var(--surface); border: 1px solid var(--line-2); border-radius: 14px; box-shadow: var(--shadow);
    display: none;
}
.lang.is-open .lang__menu { display: block; }
.lang__menu a { display: flex; justify-content: space-between; gap: 12px; padding: 9px 12px; border-radius: 10px; font-size: 0.92rem; color: var(--muted); }
.lang__menu a:hover, .lang__menu a[aria-current="true"] { background: rgba(255, 255, 255, 0.06); color: #fff; }
.lang__menu small { color: var(--muted-2); font-weight: 600; }

.menu-btn { display: none; width: 42px; height: 42px; border-radius: 12px; border: 1px solid var(--line-2); background: rgba(255, 255, 255, 0.04); position: relative; }
.menu-btn span { position: absolute; left: 11px; right: 11px; height: 2px; background: #fff; border-radius: 2px; transition: transform .25s, opacity .25s, top .25s; }
.menu-btn span:nth-child(1) { top: 14px; } .menu-btn span:nth-child(2) { top: 20px; } .menu-btn span:nth-child(3) { top: 26px; }
.nav-open .menu-btn span:nth-child(1) { top: 20px; transform: rotate(45deg); }
.nav-open .menu-btn span:nth-child(2) { opacity: 0; }
.nav-open .menu-btn span:nth-child(3) { top: 20px; transform: rotate(-45deg); }

@media (max-width: 960px) {
    .menu-btn { display: block; }
    .header__cta { display: none; }
    .nav {
        position: fixed; inset: 70px 0 auto 0; flex-direction: column; align-items: stretch; gap: 2px;
        padding: 12px 16px 20px; background: rgba(10, 10, 14, 0.98); border-bottom: 1px solid var(--line);
        transform: translateY(-8px); opacity: 0; pointer-events: none; transition: opacity .2s, transform .2s;
    }
    .nav a { padding: 13px 14px; font-size: 1.02rem; border-radius: 12px; }
    .nav-open .nav { transform: none; opacity: 1; pointer-events: auto; }
    .header__actions { margin-left: auto; }
}

/* ---------- Sections ---------- */
.section { padding: 96px 0; position: relative; }
.section--alt { background: var(--bg-2); border-block: 1px solid var(--line); }
.section--tight { padding: 64px 0; }
.eyebrow {
    display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; border-radius: 999px;
    background: var(--brand-soft); border: 1px solid rgba(249, 115, 22, 0.3); color: #fdba74;
    font-size: 0.82rem; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase;
}
.sec-head { max-width: 760px; margin: 0 auto 56px; text-align: center; }
.sec-head h2 { font-size: clamp(1.9rem, 4vw, 2.7rem); margin: 16px 0 14px; }
.sec-head p { color: var(--muted); font-size: 1.07rem; }
.sec-head--left { margin-left: 0; text-align: left; }

/* ---------- Hero ---------- */
.hero { padding: 150px 0 90px; position: relative; overflow: hidden; isolation: isolate; }
.hero::before {
    content: ""; position: absolute; inset: -20% -10% auto; height: 120%; z-index: -1;
    background:
        radial-gradient(50% 45% at 18% 20%, rgba(249, 115, 22, 0.22), transparent 70%),
        radial-gradient(40% 40% at 85% 15%, rgba(245, 158, 11, 0.14), transparent 70%),
        radial-gradient(60% 50% at 50% 100%, rgba(249, 115, 22, 0.08), transparent 70%);
}
.hero::after {
    content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0.35;
    background-image: linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
    background-size: 56px 56px;
    -webkit-mask-image: radial-gradient(70% 60% at 50% 30%, #000, transparent);
    mask-image: radial-gradient(70% 60% at 50% 30%, #000, transparent);
}
.hero__grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; }
.hero h1 { font-size: clamp(2.3rem, 5.4vw, 4rem); font-weight: 800; margin: 20px 0 20px; }
.hero__lead { color: var(--muted); font-size: 1.13rem; max-width: 600px; }
.hero__lead strong { color: #e4e4e7; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin: 32px 0 28px; }
.trust { display: flex; flex-wrap: wrap; gap: 10px 22px; color: var(--muted); font-size: 0.93rem; }
.trust li { display: inline-flex; align-items: center; gap: 8px; }
.trust i { color: var(--ok); }

/* TV illustration (original, CSS-only) */
.tv { position: relative; perspective: 1400px; }
.tv__screen {
    position: relative; aspect-ratio: 16 / 10; border-radius: 18px; overflow: hidden;
    background: #0b0b10; border: 1px solid var(--line-2);
    box-shadow: 0 40px 120px rgba(249, 115, 22, 0.18), 0 30px 80px rgba(0, 0, 0, 0.6);
    transform: rotateY(-8deg) rotateX(4deg); transition: transform .6s ease;
    display: grid; grid-template-columns: 34% 1fr;
}
.tv:hover .tv__screen { transform: rotateY(-3deg) rotateX(2deg); }
.tv__side { background: rgba(255,255,255,.03); border-right: 1px solid var(--line); padding: 14px 10px; display: flex; flex-direction: column; gap: 6px; }
.tv__side span { display: flex; align-items: center; gap: 8px; padding: 7px 8px; border-radius: 8px; font-size: 0.72rem; color: var(--muted); white-space: nowrap; overflow: hidden; }
.tv__side span i { width: 18px; text-align: center; color: var(--muted-2); }
.tv__side span.on { background: var(--brand-soft); color: #fff; }
.tv__side span.on i { color: var(--brand); }
.tv__main { position: relative; padding: 14px; display: flex; flex-direction: column; gap: 10px; }
.tv__player {
    flex: 1; border-radius: 12px; position: relative; overflow: hidden;
    background:
        radial-gradient(60% 80% at 70% 30%, rgba(249,115,22,.55), transparent 60%),
        radial-gradient(50% 70% at 20% 80%, rgba(59,130,246,.35), transparent 60%),
        linear-gradient(135deg, #1f1f2b, #0c0c12);
}
.tv__player::after { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(0deg, rgba(255,255,255,.025) 0 2px, transparent 2px 4px); }
.tv__play { position: absolute; inset: 0; margin: auto; width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.14); backdrop-filter: blur(6px); color: #fff; z-index: 1; }
.tv__live { position: absolute; top: 10px; left: 10px; z-index: 1; font-size: .62rem; font-weight: 800; letter-spacing: .08em; padding: 3px 8px; border-radius: 6px; background: #ef4444; color: #fff; }
.tv__bar { height: 4px; border-radius: 4px; background: rgba(255,255,255,.12); overflow: hidden; }
.tv__bar::before { content: ""; display: block; height: 100%; width: 62%; background: var(--grad); }
.tv__epg { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.tv__epg span { height: 26px; border-radius: 6px; background: rgba(255,255,255,.05); }
.tv__epg span:first-child { background: rgba(249,115,22,.25); }
.tv__stand { width: 34%; height: 14px; margin: 14px auto 0; border-radius: 0 0 14px 14px; background: linear-gradient(#1c1c24, #0b0b10); opacity: .8; }
.chip-float {
    position: absolute; display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px; border-radius: 12px;
    background: rgba(18, 18, 24, 0.9); border: 1px solid var(--line-2); box-shadow: var(--shadow);
    font-size: 0.84rem; font-weight: 600; backdrop-filter: blur(8px); animation: float 6s ease-in-out infinite;
}
.chip-float i { color: var(--brand); }
.chip-float--1 { top: -14px; right: 6%; }
.chip-float--2 { bottom: 18%; left: -18px; animation-delay: -2s; }
.chip-float--3 { bottom: -6px; right: 10%; animation-delay: -4s; }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }

/* ---------- Stats ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; }
.stat { background: var(--surface); padding: 28px 22px; text-align: center; }
.stat b { display: block; font-family: var(--font-h); font-size: clamp(1.6rem, 3vw, 2.2rem); font-weight: 800; }
.stat span { color: var(--muted); font-size: 0.92rem; }

/* ---------- Cards / grids ---------- */
.grid { display: grid; gap: 20px; }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
.card {
    background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 28px;
    transition: border-color .25s, transform .25s, background .25s;
}
.card:hover { border-color: rgba(249, 115, 22, 0.35); transform: translateY(-3px); }
.card h3 { font-size: 1.2rem; margin: 18px 0 10px; }
.card p { color: var(--muted); font-size: 0.97rem; }
.card a:not(.btn) { color: #fdba74; text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(253, 186, 116, 0.4); }
.ico {
    width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; font-size: 1.2rem;
    background: var(--brand-soft); color: var(--brand); border: 1px solid rgba(249, 115, 22, 0.25);
}

/* Split / intro block */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.prose { color: var(--muted); font-size: 1.04rem; }
.prose > * + * { margin-top: 16px; }
.prose h2 { color: var(--text); font-size: clamp(1.6rem, 3.2vw, 2.2rem); margin-top: 8px; }
.prose h3 { color: var(--text); font-size: 1.3rem; margin-top: 34px; }
.prose a { color: #fdba74; text-decoration: underline; text-underline-offset: 3px; }
.prose ul, .prose ol { padding-left: 22px; }
.prose ul { list-style: disc; } .prose ol { list-style: decimal; }
.prose li + li { margin-top: 8px; }
.prose li::marker { color: var(--brand); }
.prose code { background: rgba(255,255,255,.07); padding: 2px 7px; border-radius: 6px; font-size: .9em; color: #fde68a; }
.checklist li { display: flex; gap: 12px; align-items: flex-start; }
.checklist li + li { margin-top: 12px; }
.checklist i { color: var(--brand); margin-top: 5px; }
.panel { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 34px; }

/* Sports */
.sport { position: relative; overflow: hidden; }
.sport ul { margin-top: 12px; display: grid; gap: 7px; }
.sport li { color: var(--muted); font-size: 0.95rem; display: flex; gap: 10px; align-items: center; }
.sport li::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--brand); flex: none; }
.sport__bg { position: absolute; right: -16px; bottom: -22px; font-size: 7.5rem; color: rgba(255,255,255,.035); pointer-events: none; }

/* ---------- VOD genre slider ---------- */
.movies-swiper { padding: 18px 0 30px; -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 6%, #000 94%, transparent 100%); mask-image: linear-gradient(90deg, transparent 0, #000 6%, #000 94%, transparent 100%); }
.movies-swiper .swiper-wrapper { transition-timing-function: linear; }
.genre-card {
    --c1: #f97316; --c2: #7c2d12;
    position: relative; aspect-ratio: 2 / 3; overflow: hidden; border-radius: 14px; isolation: isolate;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background:
        repeating-linear-gradient(115deg, rgba(255, 255, 255, 0.035) 0 2px, transparent 2px 14px),
        radial-gradient(120% 80% at 85% 10%, var(--c1) 0%, transparent 55%),
        radial-gradient(90% 70% at 0% 100%, var(--c2) 0%, transparent 70%),
        linear-gradient(165deg, #1a1a1a 0%, #070707 100%);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    transition: transform .4s cubic-bezier(.2,.8,.2,1), box-shadow .4s ease, border-color .4s ease;
}
.genre-card::after { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, transparent 40%, rgba(0, 0, 0, 0.85) 100%); }
.genre-card__art { position: absolute; right: -18%; top: 14%; z-index: 0; font-size: clamp(7rem, 16vw, 11rem); color: #fff; opacity: 0.13; transform: rotate(-12deg); transition: transform .6s cubic-bezier(.2,.8,.2,1), opacity .4s ease; }
.genre-card__badge { position: absolute; top: 12px; right: 12px; z-index: 2; padding: 3px 8px; border-radius: 6px; font-size: .7rem; font-weight: 800; letter-spacing: .08em; color: #111; background: linear-gradient(135deg, #fde68a, #f59e0b); }
.genre-card__icon { position: absolute; top: 12px; left: 12px; z-index: 2; width: 38px; height: 38px; display: grid; place-items: center; border-radius: 10px; color: #fff; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.18); backdrop-filter: blur(6px); }
.genre-card__body { position: absolute; left: 14px; right: 14px; bottom: 16px; z-index: 2; display: flex; flex-direction: column; gap: 6px; }
.genre-card__body::before { content: ""; width: 32px; height: 3px; border-radius: 3px; background: var(--c1); transition: width .4s ease; }
.genre-card__title { font-family: var(--font-h); font-size: clamp(1rem, 2vw, 1.3rem); font-weight: 700; line-height: 1.15; color: #fff; }
.genre-card__meta { font-size: .78rem; letter-spacing: .04em; color: rgba(255,255,255,.65); }
.swiper-slide:hover .genre-card { transform: translateY(-8px); border-color: color-mix(in srgb, var(--c1) 60%, transparent); box-shadow: 0 18px 40px rgba(0,0,0,.6), 0 0 30px color-mix(in srgb, var(--c1) 35%, transparent); }
.swiper-slide:hover .genre-card__art { transform: rotate(-4deg) scale(1.12); opacity: .2; }
.swiper-slide:hover .genre-card__body::before { width: 56px; }
.genre-card--action { --c1: #f97316; --c2: #991b1b; } .genre-card--drama { --c1: #a855f7; --c2: #3b0764; }
.genre-card--comedy { --c1: #facc15; --c2: #a16207; } .genre-card--thriller { --c1: #14b8a6; --c2: #134e4a; }
.genre-card--scifi { --c1: #3b82f6; --c2: #1e1b4b; } .genre-card--horror { --c1: #dc2626; --c2: #1c0a0a; }
.genre-card--family { --c1: #22c55e; --c2: #14532d; } .genre-card--docs { --c1: #0ea5e9; --c2: #064e3b; }
.genre-card--crime { --c1: #94a3b8; --c2: #1e293b; }

/* ---------- Pricing (markup contract shared with js/pricing-urls.js) ---------- */
.pricing-toggle { display: inline-flex; padding: 5px; gap: 4px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line-2); margin: 0 auto 40px; }
.pricing-switch { display: flex; justify-content: center; }
.toggle-btn { padding: 11px 22px; border-radius: 999px; border: 0; background: transparent; color: var(--muted); font-weight: 600; transition: background .2s, color .2s; }
.toggle-btn.active { background: var(--grad); color: #111; }
.pricing-container { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; align-items: stretch; }
.pricing-container.hidden { display: none; }
.pricing-card {
    position: relative; display: flex; flex-direction: column; padding: 30px 24px; border-radius: var(--r-lg);
    background: var(--surface); border: 1px solid var(--line); transition: transform .25s, border-color .25s;
}
.pricing-card:hover { transform: translateY(-4px); border-color: rgba(249, 115, 22, 0.4); }
.pricing-card h3 { font-size: 1.12rem; color: #e4e4e7; }
.pricing-card .price { font-family: var(--font-h); font-size: 2.4rem; font-weight: 800; margin: 14px 0 6px; }
.pricing-card .price span { font-family: var(--font); font-size: 0.95rem; font-weight: 500; color: var(--muted); }
.pricing-card .plan-note { color: var(--muted-2); font-size: 0.85rem; margin-bottom: 18px; }
.pricing-features { display: grid; gap: 10px; margin-bottom: 26px; flex: 1; }
.pricing-features li { display: flex; gap: 10px; color: var(--muted); font-size: 0.93rem; }
.pricing-features i { color: var(--brand); margin-top: 5px; font-size: .85rem; }
.pricing-card .btn { width: 100%; }
.pricing-card.popular { border: 1px solid transparent; background: linear-gradient(var(--surface-2), var(--surface-2)) padding-box, var(--grad) border-box; box-shadow: 0 20px 60px rgba(249, 115, 22, 0.18); }
.pricing-card .ribbon { position: absolute; top: -13px; left: 50%; transform: translateX(-50%); padding: 5px 14px; border-radius: 999px; background: var(--grad); color: #111; font-size: .76rem; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; white-space: nowrap; }
.pricing-foot { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 28px; margin-top: 34px; color: var(--muted); font-size: .93rem; }
.pricing-foot span { display: inline-flex; gap: 8px; align-items: center; }
.pricing-foot i { color: var(--brand); }

/* ---------- Steps ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: step; }
.step { position: relative; padding: 28px 24px; border-radius: var(--r); background: var(--surface); border: 1px solid var(--line); }
.step::before { counter-increment: step; content: counter(step, decimal-leading-zero); position: absolute; top: 18px; right: 22px; font-family: var(--font-h); font-weight: 800; font-size: 2.2rem; color: rgba(255,255,255,.06); }
.step h3 { font-size: 1.12rem; margin: 18px 0 8px; }
.step p { color: var(--muted); font-size: .95rem; }
.step a { color: #fdba74; text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Devices / players ---------- */
.chips { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.chip { display: inline-flex; align-items: center; gap: 9px; padding: 10px 18px; border-radius: 999px; border: 1px solid var(--line-2); background: rgba(255,255,255,.03); font-size: .95rem; color: #e4e4e7; }
.chip i { color: var(--brand); }
.chips--left { justify-content: flex-start; }

/* ---------- Comparison table ---------- */
.table-wrap { overflow-x: auto; border-radius: var(--r-lg); border: 1px solid var(--line); background: var(--surface); }
.compare { width: 100%; border-collapse: collapse; min-width: 640px; font-size: .96rem; }
.compare th, .compare td { padding: 16px 20px; text-align: left; border-bottom: 1px solid var(--line); }
.compare thead th { font-family: var(--font-h); font-size: 1rem; color: #fff; background: rgba(255,255,255,.02); }
.compare thead th.us { color: var(--brand); }
.compare td { color: var(--muted); }
.compare td.us { color: #fff; background: rgba(249, 115, 22, 0.05); }
.compare tr:last-child td { border-bottom: 0; }
.compare .y { color: var(--ok); } .compare .n { color: #f87171; } .compare .m { color: #fbbf24; }

/* ---------- Reviews ---------- */
.reviews-swiper { padding-bottom: 8px; }
.review { height: 100%; padding: 26px; border-radius: var(--r); background: var(--surface); border: 1px solid var(--line); display: flex; flex-direction: column; gap: 16px; }
.review__stars { color: #fbbf24; letter-spacing: 2px; font-size: .95rem; }
.review p { color: #d4d4d8; font-size: .98rem; flex: 1; }
.review__who { display: flex; align-items: center; gap: 12px; }
.review__av { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--grad); color: #111; font-weight: 800; font-size: .85rem; }
.review__who b { display: block; font-size: .95rem; }
.review__who small { color: var(--muted-2); }
.reviews-swiper .swiper-slide { height: auto; }
.reviews-nav { display: flex; justify-content: center; gap: 10px; margin-top: 24px; }
.reviews-nav button { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line-2); background: var(--surface); color: #fff; }
.reviews-nav button:hover { border-color: var(--brand); color: var(--brand); }

/* ---------- FAQ ---------- */
.faq { max-width: 860px; margin: 0 auto; display: grid; gap: 12px; }
.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); transition: border-color .2s, background .2s; }
.faq details[open] { border-color: rgba(249, 115, 22, 0.35); background: var(--surface-2); }
.faq summary { list-style: none; cursor: pointer; padding: 20px 24px; display: flex; justify-content: space-between; gap: 18px; align-items: center; font-weight: 600; font-size: 1.04rem; color: #fff; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.06); color: var(--brand); font-size: 1.3rem; font-weight: 400; transition: transform .25s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq .faq__a { padding: 0 24px 22px; color: var(--muted); }
.faq .faq__a > * + * { margin-top: 10px; }
.faq .faq__a a { color: #fdba74; text-decoration: underline; text-underline-offset: 3px; }
.faq-group + .faq-group { margin-top: 56px; }
.faq-group > h2 { font-size: 1.5rem; max-width: 860px; margin: 0 auto 18px; display: flex; gap: 12px; align-items: center; }
.faq-group > h2 i { color: var(--brand); font-size: 1.1rem; }

/* ---------- Blog ---------- */
.posts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.post-card { display: flex; flex-direction: column; border-radius: var(--r-lg); overflow: hidden; background: var(--surface); border: 1px solid var(--line); transition: transform .25s, border-color .25s; }
.post-card:hover { transform: translateY(-4px); border-color: rgba(249, 115, 22, 0.4); }
.post-card__art { aspect-ratio: 16 / 9; position: relative; display: grid; place-items: center; font-size: 3rem; color: rgba(255,255,255,.85);
    background: radial-gradient(70% 90% at 80% 10%, var(--c1, #f97316), transparent 60%), radial-gradient(70% 90% at 10% 100%, var(--c2, #7c2d12), transparent 65%), #111; }
.post-card__art::after { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(115deg, rgba(255,255,255,.04) 0 2px, transparent 2px 14px); }
.post-card__body { padding: 22px 24px 26px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.post-card__tag { font-size: .78rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--brand); }
.post-card h3 { font-size: 1.18rem; line-height: 1.3; }
.post-card p { color: var(--muted); font-size: .94rem; flex: 1; }
.post-card__more { color: #fdba74; font-weight: 600; font-size: .93rem; display: inline-flex; gap: 8px; align-items: center; }

.article { max-width: 780px; margin: 0 auto; }
.article__head { margin-bottom: 36px; }
.article__head h1 { font-size: clamp(2rem, 4.6vw, 3rem); margin: 16px 0 16px; }
.article__meta { color: var(--muted-2); font-size: .92rem; display: flex; flex-wrap: wrap; gap: 6px 18px; }
.article .prose { font-size: 1.08rem; color: #c4c4cc; }
.article .prose h2 { margin-top: 44px; font-size: clamp(1.45rem, 3vw, 1.85rem); }
.toc { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 20px 24px; margin: 28px 0; }
.toc b { display: block; margin-bottom: 8px; font-family: var(--font-h); }
.toc ol { list-style: decimal; padding-left: 20px; color: var(--muted); }
.toc a { color: #fdba74; text-decoration: none; }
.callout { border-left: 3px solid var(--brand); background: var(--brand-soft); padding: 16px 20px; border-radius: 0 var(--r-sm) var(--r-sm) 0; color: #e4e4e7; }
.cta-box { margin-top: 48px; padding: 32px; border-radius: var(--r-lg); text-align: center; background: radial-gradient(80% 120% at 50% 0%, rgba(249,115,22,.22), transparent 70%), var(--surface); border: 1px solid rgba(249, 115, 22, .3); }
.cta-box h2 { margin: 0 0 10px !important; }
.cta-box p { color: var(--muted); margin-bottom: 20px; }
.related { margin-top: 64px; }
.related h2 { font-size: 1.5rem; margin-bottom: 20px; }

/* ---------- Page hero (inner pages) ---------- */
.page-hero { padding: 140px 0 56px; text-align: center; position: relative; overflow: hidden; isolation: isolate; }
.page-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(50% 70% at 50% 0%, rgba(249,115,22,.18), transparent 70%); }
.page-hero h1 { font-size: clamp(2.1rem, 5vw, 3.3rem); margin: 18px auto 16px; max-width: 900px; }
.page-hero p { color: var(--muted); max-width: 720px; margin: 0 auto; font-size: 1.08rem; }
.crumbs { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px; font-size: .86rem; color: var(--muted-2); margin-bottom: 6px; }
.crumbs a:hover { color: #fff; }
.crumbs span[aria-hidden] { opacity: .5; }

/* Guide */
.guide-nav { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-bottom: 48px; }
.guide { display: grid; gap: 22px; max-width: 900px; margin: 0 auto; }
.guide-item { scroll-margin-top: 90px; }
.guide-item h2 { display: flex; align-items: center; gap: 14px; font-size: 1.45rem; margin-bottom: 16px; }
.guide-item ol { list-style: none; counter-reset: g; display: grid; gap: 12px; }
.guide-item ol li { counter-increment: g; position: relative; padding-left: 44px; color: var(--muted); }
.guide-item ol li::before { content: counter(g); position: absolute; left: 0; top: -1px; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: var(--brand-soft); color: var(--brand); font-weight: 700; font-size: .85rem; border: 1px solid rgba(249,115,22,.3); }
.guide-item p { color: var(--muted); }
.guide-item p + ol, .guide-item ol + p { margin-top: 14px; }
.guide-item code { background: rgba(255,255,255,.07); padding: 2px 7px; border-radius: 6px; color: #fde68a; font-size: .9em; word-break: break-all; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 24px; align-items: start; }
.form-row { display: grid; gap: 8px; margin-bottom: 18px; }
.form-row label { font-weight: 600; font-size: .95rem; }
.form-row input, .form-row textarea { width: 100%; padding: 14px 16px; border-radius: 12px; border: 1px solid var(--line-2); background: rgba(0,0,0,.3); color: #fff; font: inherit; transition: border-color .2s, box-shadow .2s; }
.form-row input:focus, .form-row textarea:focus { outline: none; border-color: rgba(249,115,22,.6); box-shadow: 0 0 0 4px rgba(249,115,22,.15); }
.contact-side { display: grid; gap: 16px; }
.contact-side .card { display: flex; gap: 16px; align-items: flex-start; }
.contact-side .card h3 { margin: 0 0 4px; font-size: 1.05rem; }

/* Legal */
.legal { max-width: 860px; margin: 0 auto; }
.legal h2, .legal h3 { color: #fff; margin: 32px 0 10px; font-size: 1.25rem; }
.legal h2:first-child, .legal h3:first-child { margin-top: 0; }
.legal p, .legal li { color: var(--muted); }
.legal ul { list-style: disc; padding-left: 22px; }
.legal a { color: #fdba74; text-decoration: underline; }

/* ---------- CTA band ---------- */
.cta-band { padding: 72px 0; }
.cta-band__in { position: relative; overflow: hidden; border-radius: 28px; padding: 56px 40px; text-align: center; isolation: isolate;
    background: radial-gradient(60% 120% at 20% 0%, rgba(249,115,22,.35), transparent 60%), radial-gradient(60% 120% at 90% 100%, rgba(245,158,11,.22), transparent 60%), var(--surface); border: 1px solid rgba(249,115,22,.3); }
.cta-band h2 { font-size: clamp(1.8rem, 4vw, 2.6rem); margin-bottom: 12px; }
.cta-band p { color: #d4d4d8; max-width: 620px; margin: 0 auto 26px; }
.cta-band .hero__cta { justify-content: center; margin: 0; }

/* ---------- Footer ---------- */
.footer { border-top: 1px solid var(--line); padding: 64px 0 28px; background: var(--bg-2); }
.footer__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 36px; }
.footer p { color: var(--muted); font-size: .93rem; margin-top: 14px; max-width: 340px; }
.footer h3 { font-size: .95rem; margin-bottom: 14px; color: #fff; }
.footer li + li { margin-top: 9px; }
.footer li a { color: var(--muted); font-size: .93rem; }
.footer li a:hover { color: #fff; }
.footer__langs { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.footer__langs a { padding: 5px 10px; border-radius: 8px; border: 1px solid var(--line-2); font-size: .8rem; font-weight: 600; color: var(--muted); }
.footer__langs a:hover, .footer__langs a[aria-current="true"] { color: #fff; border-color: var(--brand); }
.footer__bottom { margin-top: 44px; padding-top: 22px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; color: var(--muted-2); font-size: .86rem; }

/* WhatsApp */
.whatsapp-float { position: fixed; right: 20px; bottom: 20px; z-index: 900; width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; background: #25d366; color: #fff; font-size: 1.7rem; box-shadow: 0 10px 30px rgba(37, 211, 102, .4); transition: transform .2s; }
.whatsapp-float:hover { transform: scale(1.08); }

/* ---------- Order modal (unchanged look, used by js/order-form.js) ---------- */
body.modal-open { overflow: hidden; }
.order-modal { position: fixed; inset: 0; background: rgba(0,0,0,.72); backdrop-filter: blur(8px); display: none; align-items: center; justify-content: center; padding: 20px; z-index: 9999; }
.order-modal.is-open { display: flex; }
.order-modal__panel { width: 100%; max-width: 560px; max-height: calc(100vh - 40px); overflow-y: auto; background: linear-gradient(180deg, rgba(18,18,18,.98), rgba(18,18,18,.92)); border: 1px solid rgba(255,255,255,.08); border-radius: var(--radius-lg); box-shadow: 0 30px 80px rgba(0,0,0,.6); }
.order-modal__header { padding: 18px 20px; display: flex; align-items: center; justify-content: space-between; gap: 16px; border-bottom: 1px solid rgba(255,255,255,.08); }
.order-modal__title { font-family: var(--font-heading); font-size: 1.15rem; font-weight: 800; }
.order-modal__close { width: 40px; height: 40px; border-radius: 999px; border: 1px solid rgba(255,255,255,.12); background: rgba(255,255,255,.04); color: var(--color-text-main); cursor: pointer; transition: var(--transition-base); }
.order-modal__close:hover { transform: translateY(-1px); border-color: rgba(249,115,22,.45); box-shadow: 0 0 18px rgba(249,115,22,.25); }
.order-modal__body { padding: 18px 20px 22px; }
.order-tier { background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.08); border-radius: var(--radius-md); padding: 14px; margin-bottom: 14px; }
.order-tier__top { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.order-tier__name { font-weight: 800; }
.order-tier__price { color: var(--color-secondary); font-weight: 800; white-space: nowrap; }
.order-tier__details { margin-top: 10px; display: grid; gap: 6px; color: var(--color-text-muted); font-size: .95rem; }
.order-tier__details li { position: relative; padding-left: 16px; }
.order-tier__details li::before { content: ""; position: absolute; left: 0; top: .55em; width: 8px; height: 8px; border-radius: 999px; background: rgba(249,115,22,.85); box-shadow: 0 0 10px rgba(249,115,22,.35); }
.order-hint { color: var(--color-text-muted); margin: 10px 0 16px; font-size: .95rem; }
.order-form { display: grid; gap: 12px; }
.order-form__row { display: grid; gap: 8px; }
.order-form label { font-weight: 700; font-size: .95rem; }
.order-form input, .order-form select { width: 100%; padding: 12px; border-radius: 12px; border: 1px solid rgba(255,255,255,.12); background: rgba(0,0,0,.25); color: var(--color-text-main); outline: none; transition: var(--transition-base); font: inherit; }
.order-form input:focus, .order-form select:focus { border-color: rgba(249,115,22,.55); box-shadow: 0 0 0 4px rgba(249,115,22,.15); }
.order-form select option { background: #0b0b0b; color: #fff; }
.order-form select option:disabled, .order-form select option[disabled] { color: #64748b; font-style: italic; background: #111827; }
.order-form__actions { margin-top: 6px; display: grid; gap: 10px; }
.order-success { padding: 14px; border-radius: var(--radius-md); background: rgba(16,185,129,.12); border: 1px solid rgba(16,185,129,.28); color: #d1fae5; }
.is-hidden { display: none !important; }

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
    .pricing-container { grid-template-columns: repeat(2, 1fr); gap: 26px 18px; }
    .grid--4, .steps { grid-template-columns: repeat(2, 1fr); }
    .footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
    .hero { padding-top: 120px; }
    .hero__grid, .split, .contact-grid { grid-template-columns: 1fr; gap: 44px; }
    .tv { max-width: 560px; margin: 0 auto; width: 100%; }
    .grid--3, .posts { grid-template-columns: repeat(2, 1fr); }
    .stats { grid-template-columns: repeat(2, 1fr); }
    .section { padding: 76px 0; }
}
@media (max-width: 640px) {
    .wrap { padding: 0 16px; }
    .grid--2, .grid--3, .grid--4, .posts, .steps, .pricing-container { grid-template-columns: 1fr; }
    .footer__grid { grid-template-columns: 1fr; }
    .hero__cta .btn { width: 100%; }
    .chip-float--2 { left: 4px; }
    .tv__side span { font-size: .62rem; }
    .panel, .card { padding: 22px; }
    .cta-band__in { padding: 40px 20px; }
    .section { padding: 64px 0; }
    .sec-head { margin-bottom: 40px; }
    .toggle-btn { padding: 10px 16px; font-size: .92rem; }
    .lang__btn .lang__name { display: none; }
    .genre-card__icon { width: 30px; height: 30px; font-size: .8rem; top: 8px; left: 8px; }
    .genre-card__badge { top: 8px; right: 8px; font-size: .6rem; }
    .genre-card__body { left: 10px; right: 10px; bottom: 10px; }
}
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
    .reveal { opacity: 1; transform: none; }
}
