/* =============================================================
   IPTV Subscription Service — page-specific sections
   Scoped under .ipts-hero / .ipts-setup so it never affects
   the shared includes (packages, choose-us, testimonials, FAQ).
   Brand: red rgb(223,3,3) · navy rgb(1,12,58)
   ============================================================= */

.ipts-hero,
.ipts-setup {
    --i-ink: #0a1438;
    --i-body: #3c4360;
    --i-muted: #6b7187;
    --i-faint: #9aa0b4;
    --i-accent: rgb(223, 3, 3);
    --i-accent-strong: #b80a0a;
    --i-navy: rgb(1, 12, 58);
    --i-navy-2: #1c2c78;
    --i-bg: #f4f6fb;
    --i-surface: #ffffff;
    --i-surface-2: #fbfbfe;
    --i-border: #e7e9f1;
    --i-border-strong: #d7dae6;
    --i-wa: #25d366;
    --i-good: #16a34a;
    --i-r: 16px;
    --i-r-lg: 24px;
    --i-shadow-sm: 0 1px 2px rgba(10, 20, 56, .06), 0 6px 18px rgba(10, 20, 56, .06);
    --i-shadow-md: 0 18px 44px rgba(10, 20, 56, .12);
    --i-ease: cubic-bezier(.2, .7, .3, 1);
    font-family: var(--font-family-poppins), system-ui, sans-serif;
}

.ipts-hero a,
.ipts-setup a { text-decoration: none; }

/* ---------- Hero / intro ---------- */
.ipts-hero {
    position: relative;
    background:
        radial-gradient(80% 120% at 50% -20%, rgba(28, 44, 120, .07) 0%, rgba(28, 44, 120, 0) 60%),
        var(--i-bg);
    padding: 64px 0 70px;
    overflow: hidden;
}

.ipts-hero__head {
    max-width: 760px;
    margin: 0 auto;
    text-align: center;
}

.ipts-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 7px 16px;
    border-radius: 999px;
    background: rgba(223, 3, 3, .08);
    color: var(--i-accent-strong);
    font-size: .76rem;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
}
.ipts-eyebrow::before { content: ""; width: 16px; height: 2px; border-radius: 2px; background: var(--i-accent); }

.ipts-hero__title {
    margin: 18px 0 0;
    font-size: clamp(1.8rem, 4vw, 2.9rem);
    line-height: 1.12;
    font-weight: 800;
    letter-spacing: -.025em;
    color: var(--i-ink);
    text-wrap: balance;
}

.ipts-hero__text {
    margin: 16px auto 0;
    max-width: 620px;
    font-size: 1.05rem;
    line-height: 1.7;
    color: var(--i-body);
}

.ipts-cta {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 14px;
    margin-top: 28px;
}

.ipts-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    height: 54px;
    padding: 0 28px;
    border-radius: 14px;
    font-size: 1rem;
    font-weight: 700;
    border: 1.5px solid transparent;
    cursor: pointer;
    transition: transform .2s var(--i-ease), box-shadow .25s var(--i-ease), background .2s var(--i-ease), border-color .2s var(--i-ease);
}
.ipts-btn svg { width: 19px; height: 19px; }
.ipts-btn--primary {
    background: var(--i-accent);
    color: #fff;
    box-shadow: 0 12px 26px rgba(223, 3, 3, .26);
}
.ipts-btn--primary:hover { background: var(--i-accent-strong); color: #fff; transform: translateY(-2px); box-shadow: 0 18px 34px rgba(223, 3, 3, .34); }
.ipts-btn--primary svg { transition: transform .2s var(--i-ease); }
.ipts-btn--primary:hover svg { transform: translateX(3px); }
.ipts-btn--wa {
    background: var(--i-surface);
    color: var(--i-ink);
    border-color: var(--i-border-strong);
}
.ipts-btn--wa:hover { border-color: var(--i-wa); color: #128c43; background: var(--i-surface-2); }
.ipts-btn--wa svg { color: var(--i-wa); width: 20px; height: 20px; }

/* ---------- Benefit cards ---------- */
.ipts-benefits {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 48px;
}
.ipts-card {
    position: relative;
    background: var(--i-surface);
    border: 1px solid var(--i-border);
    border-radius: var(--i-r-lg);
    padding: 28px 22px 24px;
    box-shadow: var(--i-shadow-sm);
    transition: transform .28s var(--i-ease), box-shadow .28s var(--i-ease), border-color .28s var(--i-ease);
    overflow: hidden;
}
.ipts-card::after {
    content: "";
    position: absolute;
    inset-inline-start: 0;
    top: 0;
    height: 3px;
    width: 100%;
    background: linear-gradient(90deg, var(--i-accent), var(--i-navy-2));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .3s var(--i-ease);
}
.ipts-card:hover { transform: translateY(-6px); box-shadow: var(--i-shadow-md); border-color: var(--i-border-strong); }
.ipts-card:hover::after { transform: scaleX(1); }

.ipts-card__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 58px;
    height: 58px;
    border-radius: 16px;
    background: linear-gradient(140deg, var(--i-navy), var(--i-navy-2));
    color: #fff;
    font-size: 28px;
    line-height: 1;
    margin-bottom: 18px;
    box-shadow: 0 10px 22px rgba(10, 20, 56, .22);
}
.ipts-card__icon::before { margin: 0; }

.ipts-card h3 {
    font-size: 1.08rem;
    font-weight: 700;
    color: var(--i-ink);
    letter-spacing: -.01em;
    margin: 0 0 8px;
    line-height: 1.3;
}
.ipts-card p {
    font-size: .9rem;
    line-height: 1.6;
    color: var(--i-muted);
    margin: 0;
}

/* ---------- Setup section ---------- */
.ipts-setup {
    background: var(--i-surface);
    padding: 68px 0;
}
.ipts-setup__panel {
    display: grid;
    grid-template-columns: 1.05fr 1fr;
    gap: 40px;
    align-items: center;
}
.ipts-setup__title {
    font-size: clamp(1.5rem, 3vw, 2.1rem);
    line-height: 1.18;
    font-weight: 800;
    letter-spacing: -.02em;
    color: var(--i-ink);
    margin: 14px 0 0;
    text-wrap: balance;
}
.ipts-setup__text {
    margin: 16px 0 0;
    font-size: 1rem;
    line-height: 1.7;
    color: var(--i-body);
}
.ipts-setup__cta { margin-top: 26px; }

.ipts-checklist {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 14px;
}
.ipts-checklist li {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    background: var(--i-surface-2);
    border: 1px solid var(--i-border);
    border-radius: 14px;
    padding: 16px 18px;
    font-size: .94rem;
    line-height: 1.55;
    color: var(--i-body);
}
.ipts-checklist li .tick {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: rgba(22, 163, 74, .12);
    color: var(--i-good);
}
.ipts-checklist li .tick svg { width: 15px; height: 15px; }

.ipts-support {
    margin-top: 22px;
    padding: 16px 20px;
    border-inline-start: 4px solid var(--i-accent);
    background: rgba(223, 3, 3, .05);
    border-radius: 12px;
    font-size: .95rem;
    line-height: 1.6;
    color: var(--i-ink);
}
.ipts-support strong { color: var(--i-accent-strong); }

/* ---------- Channel logos: static grid, no layout-reading carousel ---------- */
.ipts-channels {
    padding: 54px 0;
}
.ipts-channel-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 18px;
}
.ipts-channel-grid .channel-showcase__card {
    height: 100%;
    margin: 0;
}

/* ---------- Responsive ---------- */
@media (max-width: 991px) {
    .ipts-benefits { grid-template-columns: repeat(2, 1fr); }
    .ipts-setup__panel { grid-template-columns: 1fr; gap: 28px; }
    .ipts-channel-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 540px) {
    .ipts-hero { padding: 44px 0 50px; }
    .ipts-benefits { grid-template-columns: 1fr; gap: 16px; }
    .ipts-btn { flex: 1 1 100%; }
    .ipts-channels { padding: 34px 0; }
    .ipts-channel-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
}

/* RTL */
.ipts-hero.rtl .ipts-btn--primary:hover svg,
[dir="rtl"] .ipts-btn--primary:hover svg { transform: translateX(-3px); }
[dir="rtl"] .ipts-card::after { transform-origin: right; }

@media (prefers-reduced-motion: reduce) {
    .ipts-hero *, .ipts-setup *,
    .ipts-hero *::after, .ipts-setup *::after { transition-duration: .01ms !important; }
    .ipts-card:hover, .ipts-btn--primary:hover { transform: none; }
}
