/* Giant IPTV – site styles (mobile-first, no framework) */
:root {
    --bg: #0b0f1a;
    --surface: #121829;
    --surface-2: #19213a;
    --border: #263052;
    --text: #e9edf5;
    --muted: #a6b0c5;
    --accent: #97e14d;
    --accent-strong: #7fcf33;
    --accent-ink: #0b0f1a;
    --wa: #25d366;
    --danger: #ff6b6b;
    --radius: 14px;
    --max: 1120px;
    --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
    margin: 0;
    background: var(--bg);
    color: var(--text);
    font: 400 17px/1.6 var(--font);
    padding-bottom: 76px; /* room for sticky mobile CTA */
}
img, svg { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); text-underline-offset: 3px; }
a:hover { color: #b8f07c; }
h1, h2, h3, h4 { line-height: 1.2; margin: 0 0 .6em; letter-spacing: -.01em; }
h1 { font-size: clamp(1.85rem, 6vw, 3.2rem); font-weight: 800; }
h2 { font-size: clamp(1.55rem, 4vw, 2.2rem); font-weight: 750; }
h3 { font-size: 1.2rem; font-weight: 700; }
p { margin: 0 0 1em; }
ul, ol { padding-left: 1.25em; margin: 0 0 1em; }
li { margin-bottom: .35em; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; border-radius: 4px; }
.skip-link { position: absolute; left: -999px; top: 8px; background: var(--accent); color: var(--accent-ink); padding: 8px 12px; z-index: 100; }
.skip-link:focus { left: 8px; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 16px; }
.narrow { max-width: 780px; }
.section { padding: 56px 0; }
.section-alt { background: var(--surface); border-block: 1px solid var(--border); }
.section-head { max-width: 720px; margin: 0 auto 32px; text-align: center; }
.section-head p { color: var(--muted); }
.eyebrow { display: inline-block; color: var(--accent); font-weight: 700; font-size: .85rem; text-transform: uppercase; letter-spacing: .08em; margin-bottom: 8px; }
.muted { color: var(--muted); }
.small { font-size: .9rem; }
.center { text-align: center; }

/* Buttons */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 10px;
    min-height: 52px; padding: 12px 24px; border-radius: 999px; border: 2px solid transparent;
    font: 700 1.02rem/1.2 var(--font); text-decoration: none; cursor: pointer;
    transition: transform .15s ease, background-color .15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--accent); color: var(--accent-ink); }
.btn-primary:hover { background: #a9ec65; color: var(--accent-ink); }
.btn-wa { background: var(--wa); color: #06210f; }
.btn-wa:hover { background: #3be07b; color: #06210f; }
.btn-ghost { border-color: var(--border); color: var(--text); background: transparent; }
.btn-ghost:hover { border-color: var(--accent); color: var(--text); }
.btn-block { width: 100%; }
.btn-sm { min-height: 42px; padding: 8px 18px; font-size: .95rem; }
.btn svg { width: 22px; height: 22px; flex: none; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(11, 15, 26, .92); backdrop-filter: blur(8px); border-bottom: 1px solid var(--border); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 64px; }
.brand { display: inline-flex; align-items: center; }
.brand img { width: 160px; height: auto; }
.nav-toggle { display: inline-flex; flex-direction: column; justify-content: center; gap: 5px; width: 44px; height: 44px; background: none; border: 1px solid var(--border); border-radius: 10px; cursor: pointer; padding: 0 11px; }
.nav-toggle span { display: block; height: 2px; background: var(--text); border-radius: 2px; }
.site-nav { display: none; position: absolute; left: 0; right: 0; top: 64px; background: var(--bg); border-bottom: 1px solid var(--border); padding: 8px 16px 20px; }
.site-nav.open { display: block; }
.site-nav ul { list-style: none; margin: 0; padding: 0; }
.site-nav a { display: block; padding: 12px 4px; color: var(--text); text-decoration: none; font-weight: 600; border-bottom: 1px solid var(--border); }
.site-nav a[aria-current="page"] { color: var(--accent); }
.header-cta { display: none; }

/* Breadcrumbs */
.breadcrumbs { padding: 14px 0 0; font-size: .9rem; color: var(--muted); }
.breadcrumbs ol { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.breadcrumbs li { margin: 0; }
.breadcrumbs li + li::before { content: "›"; margin-right: 6px; color: var(--border); }
.breadcrumbs a { color: var(--muted); }

/* Hero */
.hero { padding: 40px 0 48px; background: radial-gradient(1000px 500px at 85% 10%, rgba(151, 225, 77, .14), transparent 60%); }
.hero-grid { display: grid; gap: 32px; align-items: center; }
.hero .lead { font-size: 1.15rem; color: var(--muted); max-width: 600px; }
.hero-ctas { display: flex; flex-direction: column; gap: 12px; margin: 24px 0 14px; }
.hero-note { color: var(--muted); font-size: .95rem; }
.checks { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 18px; margin: 16px 0 0; }
.checks li { display: inline-flex; align-items: center; gap: 8px; margin: 0; color: var(--text); font-size: .95rem; }
.checks svg { width: 18px; height: 18px; color: var(--accent); }
.hero-art { max-width: 460px; margin: 0 auto; }

.page-hero { padding: 28px 0 32px; }
.page-hero .lead { color: var(--muted); font-size: 1.1rem; max-width: 720px; }

/* Trust strip */
.trust-strip { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; list-style: none; padding: 0; margin: 0; }
.trust-strip li { display: flex; gap: 10px; align-items: flex-start; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 14px; margin: 0; font-size: .95rem; }
.trust-strip svg { width: 22px; height: 22px; color: var(--accent); flex: none; margin-top: 2px; }
.trust-strip strong { display: block; }

/* Cards & grids */
.grid { display: grid; gap: 16px; }
.card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 22px; }
.card h3 { margin-bottom: .4em; }
.card p:last-child { margin-bottom: 0; }
.card-link { text-decoration: none; color: var(--text); display: block; height: 100%; transition: border-color .15s ease; }
.card-link:hover { border-color: var(--accent); color: var(--text); }
.card-link .more { color: var(--accent); font-weight: 700; }
.icon-badge { display: inline-flex; width: 44px; height: 44px; align-items: center; justify-content: center; border-radius: 12px; background: rgba(151, 225, 77, .12); color: var(--accent); margin-bottom: 12px; }
.icon-badge svg { width: 24px; height: 24px; }

.steps-overview { counter-reset: s; list-style: none; padding: 0; display: grid; gap: 16px; }
.steps-overview li { counter-increment: s; position: relative; padding: 22px 22px 22px 72px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); margin: 0; }
.steps-overview li::before { content: counter(s); position: absolute; left: 20px; top: 20px; width: 36px; height: 36px; border-radius: 50%; background: var(--accent); color: var(--accent-ink); font-weight: 800; display: flex; align-items: center; justify-content: center; }

/* Pricing */
.plans { display: grid; gap: 16px; align-items: stretch; }
.plan { position: relative; display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--border); border-radius: 18px; padding: 26px 22px; }
@media (max-width: 899px) { .plan.featured { order: -1; margin-top: 10px; } }
.plan.featured { border: 2px solid var(--accent); background: linear-gradient(180deg, rgba(151, 225, 77, .1), var(--surface) 45%); }
.plan .badge { position: absolute; top: -13px; left: 50%; transform: translateX(-50%); background: var(--accent); color: var(--accent-ink); font-weight: 800; font-size: .8rem; padding: 4px 14px; border-radius: 999px; text-transform: uppercase; letter-spacing: .05em; white-space: nowrap; }
.plan h3 { font-size: 1.25rem; margin-bottom: 4px; }
.plan .monthly { font-size: 2.5rem; font-weight: 800; line-height: 1; margin: 10px 0 4px; }
.plan .monthly span { font-size: 1rem; font-weight: 600; color: var(--muted); }
.plan .total { color: var(--muted); margin-bottom: 4px; }
.plan .save { color: var(--accent); font-weight: 700; min-height: 1.6em; margin-bottom: 14px; }
.plan ul { list-style: none; padding: 0; margin: 0 0 22px; flex: 1; }
.plan li { display: flex; gap: 8px; align-items: flex-start; }
.plan li svg { width: 18px; height: 18px; color: var(--accent); flex: none; margin-top: 4px; }
.plan form { margin: 0; }
.plan-foot { margin-top: 20px; text-align: center; color: var(--muted); font-size: .95rem; }

/* FAQ */
.faq { display: grid; gap: 10px; }
.faq details { background: var(--surface); border: 1px solid var(--border); border-radius: 12px; }
.faq summary { cursor: pointer; list-style: none; padding: 16px 48px 16px 18px; font-weight: 700; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 18px; top: 50%; transform: translateY(-50%); font-size: 1.4rem; color: var(--accent); }
.faq details[open] summary::after { content: "–"; }
.faq .answer { padding: 0 18px 16px; color: var(--muted); }
.faq .answer p:last-child { margin-bottom: 0; }
.faq-group { margin-bottom: 36px; }

/* Article / guide prose */
.prose { max-width: 760px; }
.prose h2 { margin-top: 1.6em; }
.prose h3 { margin-top: 1.3em; }
.prose p, .prose li { color: #d3d9e6; }
.prose table { width: 100%; border-collapse: collapse; margin: 0 0 1.2em; font-size: .95rem; }
.prose th, .prose td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--border); }
.prose th { color: var(--text); background: var(--surface); }
.table-wrap { overflow-x: auto; }
.callout { background: var(--surface-2); border-left: 4px solid var(--accent); border-radius: 10px; padding: 16px 18px; margin: 0 0 1.4em; }
.callout p:last-child { margin-bottom: 0; }
.howto { counter-reset: step; list-style: none; padding: 0; margin: 0 0 1.5em; }
.howto > li { counter-increment: step; position: relative; padding: 0 0 22px 56px; margin: 0; }
.howto > li::before { content: counter(step); position: absolute; left: 0; top: 0; width: 38px; height: 38px; border-radius: 50%; background: var(--surface-2); border: 2px solid var(--accent); color: var(--accent); font-weight: 800; display: flex; align-items: center; justify-content: center; }
.howto h3 { margin: 4px 0 6px; }
.howto p { margin-bottom: .5em; }
kbd, code { background: var(--surface-2); border: 1px solid var(--border); border-radius: 6px; padding: 1px 6px; font-size: .92em; }
.meta-line { color: var(--muted); font-size: .9rem; margin-bottom: 1.5em; }
.toc { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 16px 20px; margin-bottom: 28px; }
.toc ul { margin: 0; }

/* CTA band */
.cta-band { background: linear-gradient(135deg, #18233f, #10261a); border: 1px solid var(--border); border-radius: 20px; padding: 32px 22px; text-align: center; }
.cta-band p { color: var(--muted); }
.cta-band .btns { display: flex; flex-direction: column; gap: 12px; align-items: center; margin-top: 18px; }

/* Forms */
.form { display: grid; gap: 16px; }
.form label { display: block; font-weight: 600; margin-bottom: 6px; }
.form input, .form textarea, .form select { width: 100%; padding: 13px 14px; border-radius: 10px; border: 1px solid var(--border); background: var(--surface-2); color: var(--text); font: inherit; }
.form textarea { min-height: 130px; resize: vertical; }
.form-status { min-height: 1.5em; font-weight: 600; }
.form-status.ok { color: var(--accent); }
.form-status.err { color: var(--danger); }

/* Footer */
.site-footer { border-top: 1px solid var(--border); padding: 44px 0 28px; margin-top: 40px; background: #080b14; }
.footer-grid { display: grid; gap: 28px; grid-template-columns: repeat(2, 1fr); }
.footer-brand { grid-column: 1 / -1; }
.footer-brand img { width: 150px; margin-bottom: 12px; }
.site-footer h2 { font-size: 1rem; margin-bottom: 10px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer a { color: var(--muted); text-decoration: none; }
.site-footer a:hover { color: var(--text); }
.footer-bottom { border-top: 1px solid var(--border); margin-top: 32px; padding-top: 18px; color: var(--muted); font-size: .88rem; }

/* Sticky mobile CTA */
.sticky-cta { position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; display: flex; gap: 10px; padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); background: rgba(8, 11, 20, .96); border-top: 1px solid var(--border); }
.sticky-cta .btn { flex: 1; min-height: 50px; padding: 10px 12px; font-size: .98rem; }

@media (min-width: 640px) {
    .hero-ctas { flex-direction: row; flex-wrap: wrap; }
    .cta-band .btns { flex-direction: row; justify-content: center; }
    .grid-2 { grid-template-columns: repeat(2, 1fr); }
    .grid-3 { grid-template-columns: repeat(2, 1fr); }
    .trust-strip { grid-template-columns: repeat(4, 1fr); }
    .footer-grid { grid-template-columns: repeat(4, 1fr); }
}
@media (min-width: 900px) {
    body { padding-bottom: 0; }
    .sticky-cta { display: none; }
    .section { padding: 80px 0; }
    .nav-toggle { display: none; }
    .site-nav { display: block; position: static; padding: 0; border: 0; background: none; }
    .site-nav ul { display: flex; gap: 4px; }
    .site-nav a { border: 0; padding: 8px 12px; border-radius: 8px; font-size: .96rem; }
    .site-nav a:hover { background: var(--surface); }
    .header-cta { display: inline-flex; }
    .hero { padding: 72px 0 80px; }
    .hero-grid { grid-template-columns: 1.15fr .85fr; }
    .grid-3 { grid-template-columns: repeat(3, 1fr); }
    .plans { grid-template-columns: repeat(3, 1fr); }
    .plan.featured { transform: scale(1.03); }
    .footer-grid { grid-template-columns: 1.6fr 1fr 1fr 1fr 1fr; }
    .footer-brand { grid-column: auto; }
}
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .btn { transition: none; }
}
