/*
Theme Name: IPTV Suomi Finland
Description: Ultra-Premium Nordic IPTV Service Theme for Finland
Version: 2.0.0
Text Domain: iptvsuomi
License: GNU General Public License v2 or later
*/

:root {
    /* Color Palette - Deep Nordic Night & Clean Slate */
    --bg-dark: #070d18;
    --bg-dark-secondary: #0d1728;
    --bg-dark-tertiary: #132139;
    --card-dark: #0f1c32;
    --card-dark-border: rgba(255, 255, 255, 0.08);
    --card-dark-hover: rgba(255, 255, 255, 0.12);

    --bg-light: #f8fafc;
    --bg-white: #ffffff;
    --card-light-border: #e2e8f0;
    --card-light-hover: #cbd5e1;

    --text-main-dark: #f8fafc;
    --text-muted-dark: #94a3b8;
    --text-main-light: #0f172a;
    --text-muted-light: #475569;
    --text-subtle: #64748b;

    /* Accents */
    --accent-blue: #3b82f6;
    --accent-blue-hover: #2563eb;
    --accent-blue-glow: rgba(59, 130, 246, 0.25);
    
    --accent-cyan: #06b6d4;
    --accent-emerald: #10b981;
    --accent-emerald-glow: rgba(16, 185, 129, 0.2);

    --whatsapp-green: #25D366;
    --whatsapp-hover: #20ba57;
    --whatsapp-glow: rgba(37, 211, 102, 0.3);

    /* Typography */
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    
    /* Spacing */
    --container-max: 1200px;
    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 20px;
    --radius-xl: 28px;
    --radius-full: 9999px;

    /* Transitions */
    --transition-fast: 0.15s ease;
    --transition-smooth: 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

/* ==========================================================================
   Base & Reset
   ========================================================================== */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--font-sans);
    font-size: 1rem;
    line-height: 1.75;
    color: var(--text-main-light);
    background-color: var(--bg-white);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

/* Skip Link */
.skip-link {
    position: absolute;
    top: -100px;
    left: 20px;
    background: var(--accent-blue);
    color: #fff;
    padding: 10px 20px;
    border-radius: var(--radius-sm);
    z-index: 99999;
    font-weight: 600;
    text-decoration: none;
    transition: top var(--transition-fast);
}
.skip-link:focus {
    top: 20px;
}

/* Container */
.container {
    width: 100%;
    max-width: var(--container-max);
    margin-left: auto;
    margin-right: auto;
    padding-left: 24px;
    padding-right: 24px;
}

.container-narrow {
    max-width: 860px;
}

/* Typography Helpers */
h1, h2, h3, h4, h5, h6 {
    color: var(--text-main-light);
    font-weight: 700;
    line-height: 1.25;
    letter-spacing: -0.025em;
}

.text-white h1, .text-white h2, .text-white h3, .text-white h4,
.hero h1, .hero h2, .hero h3, .page-hero h1, .page-hero h2 {
    color: var(--text-main-dark);
}

h1 { font-size: clamp(2.2rem, 4.5vw, 3.5rem); }
h2 { font-size: clamp(1.75rem, 3.2vw, 2.5rem); margin-bottom: 1rem; }
h3 { font-size: 1.35rem; margin-bottom: 0.75rem; }
h4 { font-size: 1.15rem; margin-bottom: 0.5rem; }

p {
    margin-bottom: 1.25rem;
    color: var(--text-muted-light);
}

.text-white p, .hero p, .page-hero p {
    color: var(--text-muted-dark);
}

.lead {
    font-size: 1.18rem;
    line-height: 1.8;
    color: var(--text-muted-dark);
    max-width: 740px;
    margin-left: auto;
    margin-right: auto;
}

.text-center { text-align: center; }

/* Section Padding */
.section-padding {
    padding-top: 90px;
    padding-bottom: 90px;
}

.section-padding-sm {
    padding-top: 50px;
    padding-bottom: 50px;
}

.bg-dark {
    background-color: var(--bg-dark);
    color: var(--text-main-dark);
}

.bg-dark-secondary {
    background-color: var(--bg-dark-secondary);
    color: var(--text-main-dark);
}

.bg-light {
    background-color: var(--bg-light);
}

/* ==========================================================================
   Header & Navigation
   ========================================================================== */
.site-header {
    position: sticky;
    top: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(7, 13, 24, 0.85);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    transition: background var(--transition-smooth);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 78px;
}

.site-brand .site-logo {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    transition: transform var(--transition-fast), opacity var(--transition-fast);
}
.site-brand .site-logo:hover {
    transform: translateY(-1px);
    opacity: 0.92;
}

.brand-logo-img {
    height: 52px;
    width: auto;
    max-width: 220px;
    object-fit: contain;
    display: block;
    filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.4));
}

@media (max-width: 768px) {
    .brand-logo-img {
        height: 42px;
        max-width: 175px;
    }
}

/* Nav Menu */
.main-navigation {
    display: flex;
    align-items: center;
    gap: 28px;
}

.main-navigation ul.menu {
    display: flex;
    align-items: center;
    gap: 8px;
    list-style: none;
}

.main-navigation ul.menu li a {
    display: inline-block;
    padding: 8px 14px;
    font-size: 0.92rem;
    font-weight: 500;
    color: var(--text-muted-dark);
    text-decoration: none;
    border-radius: var(--radius-sm);
    transition: color var(--transition-fast), background var(--transition-fast);
}

.main-navigation ul.menu li a:hover,
.main-navigation ul.menu li.current-menu-item a {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.06);
}

/* Menu Toggle Mobile */
.menu-toggle {
    display: none;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: var(--radius-sm);
    padding: 8px 12px;
    cursor: pointer;
    flex-direction: column;
    gap: 5px;
}

.hamburger-line {
    display: block;
    width: 22px;
    height: 2px;
    background: #ffffff;
    border-radius: 2px;
}

/* ==========================================================================
   Buttons & CTAs
   ========================================================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-family: inherit;
    font-size: 0.95rem;
    font-weight: 600;
    padding: 13px 26px;
    border-radius: var(--radius-full);
    text-decoration: none;
    cursor: pointer;
    border: 1px solid transparent;
    transition: all var(--transition-smooth);
    white-space: nowrap;
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent-blue), #2563eb);
    color: #ffffff;
    box-shadow: 0 4px 18px var(--accent-blue-glow);
}
.btn-primary:hover {
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(37, 99, 235, 0.4);
    color: #ffffff;
}

.btn-whatsapp {
    background: linear-gradient(135deg, var(--whatsapp-green), #1fad51);
    color: #ffffff;
    box-shadow: 0 4px 18px var(--whatsapp-glow);
}
.btn-whatsapp:hover {
    background: linear-gradient(135deg, #20ba57, #179344);
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(37, 211, 102, 0.45);
    color: #ffffff;
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #ffffff;
}
.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.14);
    border-color: rgba(255, 255, 255, 0.25);
    color: #ffffff;
    transform: translateY(-2px);
}

.btn-outline-dark {
    background: transparent;
    border: 1px solid var(--card-light-border);
    color: var(--text-main-light);
}
.btn-outline-dark:hover {
    border-color: var(--accent-blue);
    color: var(--accent-blue);
}

.btn-lg {
    padding: 16px 34px;
    font-size: 1.05rem;
}

.btn-sm {
    padding: 8px 18px;
    font-size: 0.85rem;
}

.btn-block {
    display: flex;
    width: 100%;
}

.cta-buttons {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-top: 32px;
    flex-wrap: wrap;
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero {
    position: relative;
    background: radial-gradient(circle at 50% 20%, #152644 0%, var(--bg-dark) 70%);
    padding-top: 100px;
    padding-bottom: 90px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -30%;
    left: 50%;
    transform: translateX(-50%);
    width: 800px;
    height: 600px;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.18) 0%, transparent 65%);
    filter: blur(50px);
    pointer-events: none;
}

.hero-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(59, 130, 246, 0.12);
    border: 1px solid rgba(59, 130, 246, 0.28);
    color: #93c5fd;
    font-size: 0.86rem;
    font-weight: 600;
    padding: 6px 16px;
    border-radius: var(--radius-full);
    margin-bottom: 24px;
    box-shadow: 0 2px 10px rgba(59, 130, 246, 0.15);
}

.hero-pill span.dot {
    width: 8px;
    height: 8px;
    background: var(--accent-emerald);
    border-radius: 50%;
    box-shadow: 0 0 8px var(--accent-emerald);
}

.page-hero {
    position: relative;
    background-color: #060c18;
    background-position: center center;
    background-size: cover;
    background-repeat: no-repeat;
    padding: 135px 0 65px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    overflow: hidden;
    text-align: center;
}

.page-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 50% 15%, rgba(37, 99, 235, 0.15) 0%, rgba(6, 12, 24, 0.72) 55%, rgba(6, 12, 24, 0.94) 100%);
    pointer-events: none;
    z-index: 1;
}

.page-hero > .container,
.page-hero > div.container {
    position: relative;
    z-index: 2;
}

.page-hero h1 {
    font-size: clamp(32px, 5.2vw, 52px);
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 18px;
    line-height: 1.16;
    letter-spacing: -0.02em;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.7);
}

.page-hero .lead {
    font-size: 1.15rem;
    color: #cbd5e1;
    max-width: 720px;
    margin: 0 auto 30px;
    line-height: 1.75;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.6);
}

@media (max-width: 768px) {
    .page-hero {
        padding: 105px 0 45px;
    }
}

/* ==========================================================================
   Trust Bar
   ========================================================================== */
.trust-bar {
    background: #091222;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    padding: 24px 0;
}

.trust-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 10px 14px;
}

.trust-icon-box {
    width: 44px;
    height: 44px;
    border-radius: var(--radius-md);
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-blue);
    flex-shrink: 0;
}

.trust-title {
    font-size: 0.95rem;
    font-weight: 700;
    color: #ffffff;
    line-height: 1.2;
}

.trust-desc {
    font-size: 0.82rem;
    color: var(--text-muted-dark);
    margin: 0;
}

/* ==========================================================================
   Cards & Layout Components
   ========================================================================== */
.section-header {
    text-align: center;
    max-width: 720px;
    margin: 0 auto 54px;
}

.section-subtitle {
    font-size: 0.88rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--accent-blue);
    margin-bottom: 10px;
    display: block;
}

/* Value Grid (4-col) */
.value-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.value-card {
    background: var(--bg-white);
    border: 1px solid var(--card-light-border);
    border-radius: var(--radius-lg);
    padding: 34px 26px;
    transition: all var(--transition-smooth);
    position: relative;
    box-shadow: 0 4px 12px rgba(0,0,0,0.03);
}

.value-card:hover {
    transform: translateY(-5px);
    border-color: #cbd5e1;
    box-shadow: 0 16px 32px rgba(15, 23, 42, 0.08);
}

.value-icon-box {
    width: 54px;
    height: 54px;
    border-radius: var(--radius-md);
    background: #eff6ff;
    color: var(--accent-blue);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 22px;
}

.value-card h3 {
    font-size: 1.15rem;
    margin-bottom: 10px;
}

.value-card p {
    font-size: 0.93rem;
    line-height: 1.65;
    margin: 0;
}

/* Feature Grid (3-col) */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 26px;
}

.feature-card {
    background: rgba(255, 255, 255, 0.025);
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: var(--radius-lg);
    padding: 34px 28px;
    transition: all var(--transition-smooth);
}

.feature-card:hover {
    background: rgba(255, 255, 255, 0.045);
    border-color: rgba(59, 130, 246, 0.35);
    transform: translateY(-4px);
}

.feature-icon-box {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-md);
    background: rgba(59, 130, 246, 0.12);
    border: 1px solid rgba(59, 130, 246, 0.25);
    color: var(--accent-blue);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.feature-card h3 {
    font-size: 1.18rem;
    color: #ffffff;
    margin-bottom: 10px;
}

.feature-card p {
    font-size: 0.92rem;
    color: var(--text-muted-dark);
    margin: 0;
}

/* ==========================================================================
   Pricing System (Interactive Multi-Screen & Period Engine - rightiptv style)
   ========================================================================== */
.pricing-toggle-bar-wrap {
    margin-bottom: 48px;
}

.pricing-toggle-bar {
    display: inline-flex;
    background: #0d1728;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--radius-full);
    padding: 5px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.3);
}

.ptoggle-btn {
    padding: 11px 32px;
    border-radius: var(--radius-full);
    border: none;
    font-family: inherit;
    font-size: 0.92rem;
    font-weight: 700;
    cursor: pointer;
    transition: all var(--transition-fast);
    color: var(--text-muted-dark);
    background: transparent;
}

.ptoggle-btn.active {
    background: linear-gradient(135deg, var(--accent-blue), #2563eb);
    color: #ffffff;
    box-shadow: 0 4px 14px var(--accent-blue-glow);
}

.save-badge {
    display: inline-block;
    background: #F59E0B;
    color: #000;
    font-size: 0.72rem;
    font-weight: 800;
    padding: 2px 9px;
    border-radius: 12px;
    margin-left: 8px;
    vertical-align: middle;
}

.hp-plans {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    align-items: stretch;
    max-width: 1160px;
    margin: 0 auto 50px;
}

.hp-plan {
    background: #0c182b;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 24px;
    padding: 40px 32px;
    position: relative;
    transition: all var(--transition-smooth);
    text-align: left;
    display: flex;
    flex-direction: column;
}

.hp-plan:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 255, 255, 0.18);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.35);
}

.hp-plan.popular {
    border: 2px solid var(--accent-blue);
    background: linear-gradient(180deg, #10213d 0%, #0d1a30 100%);
    transform: scale(1.03);
    z-index: 2;
    box-shadow: 0 16px 48px rgba(59, 130, 246, 0.22);
}

.hp-plan.popular:hover {
    transform: scale(1.03) translateY(-5px);
    box-shadow: 0 24px 60px rgba(59, 130, 246, 0.35);
}

.pop-badge {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, #2563eb, #3b82f6);
    color: #fff;
    font-size: 11px;
    font-weight: 800;
    padding: 5px 20px;
    border-radius: 20px;
    white-space: nowrap;
    box-shadow: 0 4px 14px rgba(37, 99, 235, 0.5);
    letter-spacing: 0.05em;
}

.hp-plan .plan-name {
    font-size: 1.25rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #ffffff;
    margin-bottom: 12px;
    text-align: center;
}

.hp-plan .plan-price {
    font-size: 3.4rem;
    font-weight: 900;
    line-height: 1;
    margin-bottom: 4px;
    text-align: center;
    color: #ffffff;
    letter-spacing: -0.03em;
}

.hp-plan .plan-price sup {
    font-size: 1.6rem;
    font-weight: 700;
    vertical-align: top;
    margin-top: 6px;
    display: inline-block;
}

.hp-plan .plan-period {
    font-size: 0.95rem;
    color: var(--text-muted-dark);
    text-align: center;
}

.hp-plan .plan-equiv {
    font-size: 0.85rem;
    color: #93c5fd;
    margin: 8px auto 20px;
    padding: 5px 14px;
    background: rgba(59, 130, 246, 0.12);
    border: 1px solid rgba(59, 130, 246, 0.2);
    border-radius: 8px;
    display: table;
    font-weight: 600;
}

.hp-plan .plan-screens-label {
    font-size: 0.78rem;
    color: var(--text-muted-dark);
    text-transform: uppercase;
    letter-spacing: .08em;
    margin-bottom: 10px;
    font-weight: 700;
    text-align: center;
}

.hp-plan .screen-btns {
    display: flex;
    gap: 8px;
    margin-bottom: 10px;
}

.hp-plan .screen-btn {
    flex: 1;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, .04);
    padding: 8px 0;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--text-muted-dark);
    transition: all var(--transition-fast);
}

.hp-plan .screen-btn:hover {
    border-color: var(--accent-blue);
    color: #fff;
}

.hp-plan .screen-btn.active {
    background: var(--accent-blue);
    border-color: var(--accent-blue);
    color: #fff;
    box-shadow: 0 2px 10px var(--accent-blue-glow);
}

.hp-plan .plan-screens-info {
    font-size: 0.85rem;
    color: var(--text-muted-dark);
    margin-bottom: 24px;
    min-height: 20px;
    text-align: center;
}

.hp-plan .plan-feats {
    list-style: none;
    padding: 0;
    margin: 0 0 32px;
    flex-grow: 1;
}

.hp-plan .plan-feats li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 10px 0;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    font-size: 0.93rem;
    color: #cbd5e1;
    line-height: 1.5;
}

.hp-plan .plan-feats li:last-child {
    border-bottom: none;
}

.hp-plan .plan-feats .ck {
    color: var(--accent-blue);
    font-weight: 800;
    flex-shrink: 0;
}

.hp-plan.popular .plan-feats .ck {
    color: var(--accent-cyan);
}

.hp-plan .plan-feats .gold-feat {
    color: #F59E0B;
    font-weight: 600;
}

.hp-plan .plan-btn {
    display: block;
    width: 100%;
    padding: 15px;
    border-radius: var(--radius-md);
    font-size: 1rem;
    font-weight: 700;
    text-align: center;
    text-decoration: none;
    transition: all var(--transition-fast);
}

.hp-plan .plan-btn:hover {
    transform: translateY(-2px);
}

.hp-plan .plan-btn-primary {
    background: linear-gradient(135deg, var(--accent-blue), #2563eb);
    color: #fff;
    box-shadow: 0 4px 18px var(--accent-blue-glow);
}

.hp-plan .plan-btn-primary:hover {
    box-shadow: 0 6px 24px rgba(37, 99, 235, 0.4);
    color: #fff;
}

.hp-plan .plan-btn-outline {
    background: transparent;
    border: 2px solid rgba(255, 255, 255, 0.15);
    color: #fff;
}

.hp-plan .plan-btn-outline:hover {
    border-color: rgba(255, 255, 255, 0.35);
    background: rgba(255, 255, 255, 0.05);
    color: #fff;
}

/* ==========================================================================
   Category Chips & Device Grids
   ========================================================================== */
.category-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
}

.category-chip {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 22px;
    background: var(--bg-white);
    border: 1px solid var(--card-light-border);
    border-radius: var(--radius-full);
    font-size: 0.94rem;
    font-weight: 600;
    color: var(--text-main-light);
    box-shadow: 0 2px 8px rgba(0,0,0,0.03);
    transition: all var(--transition-fast);
}

.category-chip:hover {
    border-color: var(--accent-blue);
    color: var(--accent-blue);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(59, 130, 246, 0.12);
}

/* Device Ecosystem Grid */
.device-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 18px;
}

.device-card {
    background: #0f1c31;
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: var(--radius-lg);
    padding: 24px 16px;
    text-align: center;
    transition: all var(--transition-fast);
}

.device-card:hover {
    border-color: rgba(59, 130, 246, 0.4);
    transform: translateY(-3px);
    background: #142440;
}

.device-icon-box {
    width: 48px;
    height: 48px;
    margin: 0 auto 12px;
    border-radius: 50%;
    background: rgba(59, 130, 246, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-blue);
}

.device-name {
    font-size: 0.92rem;
    font-weight: 600;
    color: #ffffff;
}

/* ==========================================================================
   Steps / Workflow (3 Steps)
   ========================================================================== */
.steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.steps-grid-2col {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
}

.step-card {
    background: var(--bg-white);
    border: 1px solid var(--card-light-border);
    border-radius: var(--radius-lg);
    padding: 40px 30px;
    position: relative;
    box-shadow: 0 4px 16px rgba(0,0,0,0.03);
    transition: transform var(--transition-smooth);
}

.step-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 36px rgba(15, 23, 42, 0.08);
}

.step-badge {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-md);
    background: linear-gradient(135deg, var(--accent-blue), #1d4ed8);
    color: #ffffff;
    font-size: 1.25rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 22px;
    box-shadow: 0 4px 14px var(--accent-blue-glow);
}

.step-card h3 {
    font-size: 1.22rem;
    margin-bottom: 10px;
}

.step-card p {
    font-size: 0.94rem;
    color: var(--text-muted-light);
    line-height: 1.65;
    margin: 0;
}

/* ==========================================================================
   FAQ Accordion
   ========================================================================== */
.faq-accordion {
    max-width: 820px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.faq-item {
    border: 1px solid var(--card-light-border);
    border-radius: var(--radius-md);
    background: var(--bg-white);
    overflow: hidden;
    transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.bg-dark .faq-item {
    background: #0e1a2f;
    border-color: rgba(255, 255, 255, 0.08);
}

.faq-item:hover {
    border-color: #cbd5e1;
    box-shadow: 0 4px 14px rgba(0,0,0,0.04);
}

.bg-dark .faq-item:hover {
    border-color: rgba(255, 255, 255, 0.18);
}

.faq-question {
    width: 100%;
    padding: 22px 26px;
    background: transparent;
    border: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    font-family: inherit;
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--text-main-light);
    text-align: left;
    cursor: pointer;
}

.bg-dark .faq-question {
    color: #ffffff;
}

.faq-toggle-icon {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--bg-light);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: transform var(--transition-smooth);
}

.bg-dark .faq-toggle-icon {
    background: rgba(255, 255, 255, 0.08);
    color: #ffffff;
}

.faq-question[aria-expanded="true"] .faq-toggle-icon {
    transform: rotate(45deg);
    background: var(--accent-blue);
    color: #ffffff;
}

.faq-answer {
    display: none;
    padding: 0 26px 24px;
    font-size: 0.98rem;
    line-height: 1.75;
    color: var(--text-muted-light);
}

.bg-dark .faq-answer {
    color: #cbd5e1;
}

.faq-answer p:last-child {
    margin: 0;
}

/* ==========================================================================
   Comparison Table
   ========================================================================== */
.table-container {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    border-radius: var(--radius-lg);
    border: 1px solid var(--card-light-border);
    background: var(--bg-white);
    box-shadow: 0 4px 16px rgba(0,0,0,0.03);
}

.comparison-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.94rem;
}

.comparison-table th, 
.comparison-table td {
    padding: 16px 22px;
    text-align: left;
    border-bottom: 1px solid var(--card-light-border);
}

.comparison-table thead th {
    background: #091322;
    color: #ffffff;
    font-weight: 700;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.comparison-table tbody tr:hover {
    background: #f8fafc;
}

/* ==========================================================================
   Notice / Disclaimer Boxes
   ========================================================================== */
.disclaimer-card {
    background: #fefce8;
    border: 1px solid #fef08a;
    border-radius: var(--radius-lg);
    padding: 26px 30px;
    color: #713f12;
    margin: 30px 0;
}

.disclaimer-card h4 {
    color: #854d0e;
    margin-bottom: 8px;
}

.disclaimer-card p {
    color: #854d0e;
    margin: 0;
    font-size: 0.94rem;
    line-height: 1.7;
}

/* ==========================================================================
   Article / Blog Post Styles (Nordic Tech Editorial)
   ========================================================================== */
.editorial-container,
.article-content {
    opacity: 1 !important;
    transform: none !important;
    visibility: visible !important;
    display: block !important;
    max-width: 840px;
    margin: 0 auto;
    font-size: 1.08rem;
    line-height: 1.85;
    color: #1e293b;
    word-break: break-word;
    overflow-wrap: break-word;
}

.article-content {
    margin-bottom: 40px;
}

.editorial-container h2,
.article-content h2 {
    margin-top: 48px;
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--card-light-border);
    font-size: clamp(1.45rem, 3.5vw, 1.95rem);
    font-weight: 800;
    color: #0f172a;
    line-height: 1.3;
}

.editorial-container h3,
.article-content h3 {
    margin-top: 34px;
    margin-bottom: 16px;
    font-size: clamp(1.2rem, 2.8vw, 1.45rem);
    font-weight: 700;
    color: #0f172a;
    line-height: 1.35;
}

.editorial-container h4,
.article-content h4 {
    margin-top: 28px;
    margin-bottom: 14px;
    font-size: 1.15rem;
    font-weight: 700;
    color: #1e293b;
}

.editorial-container p,
.article-content p {
    margin-bottom: 22px;
    font-size: 1.05rem;
    line-height: 1.85;
    color: #334155;
}

.editorial-container strong,
.article-content strong {
    color: #0f172a;
    font-weight: 700;
}

.editorial-container ul, 
.editorial-container ol,
.article-content ul,
.article-content ol {
    margin-bottom: 26px;
    padding-left: 24px;
    color: #334155;
}

.editorial-container li,
.article-content li {
    margin-bottom: 10px;
    line-height: 1.75;
}

.editorial-container a,
.article-content a {
    color: #2563eb;
    text-decoration: underline;
    text-underline-offset: 3px;
    font-weight: 500;
    transition: color var(--transition-fast);
}

.editorial-container a:hover,
.article-content a:hover {
    color: #1d4ed8;
}

/* Responsive Images & Media in Articles */
.editorial-container img,
.article-content img,
.wp-block-image img {
    max-width: 100%;
    height: auto !important;
    border-radius: var(--radius-md);
    display: block;
    margin: 24px auto;
}

.wp-block-image {
    margin: 28px 0;
    max-width: 100%;
}

.wp-block-image figcaption {
    font-size: 0.88rem;
    color: var(--text-subtle);
    text-align: center;
    margin-top: 8px;
}

/* Responsive Tables in Articles */
.wp-block-table {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    margin: 32px 0;
    display: block;
}

.editorial-container table,
.article-content table {
    width: 100%;
    min-width: 520px;
    border-collapse: collapse;
    margin: 24px 0;
    font-size: 0.95rem;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: var(--radius-md);
    overflow: hidden;
}

.editorial-container th,
.editorial-container td,
.article-content th,
.article-content td {
    padding: 13px 18px;
    border: 1px solid #e2e8f0;
    text-align: left;
    vertical-align: top;
}

.editorial-container th,
.article-content th {
    background: #f8fafc;
    font-weight: 700;
    color: #0f172a;
}

.editorial-container blockquote,
.article-content blockquote {
    border-left: 4px solid #3b82f6;
    padding: 16px 22px;
    margin: 28px 0;
    background: #f8fafc;
    border-radius: 0 var(--radius-md) var(--radius-md) 0;
    font-style: italic;
    color: #475569;
}

/* ==========================================================================
   High-Conversion Commercial Post Modules (100% Mobile Responsive)
   ========================================================================== */
.article-promo-card {
    background: linear-gradient(135deg, #0b1528 0%, #172554 100%);
    border: 1px solid rgba(59, 130, 246, 0.3);
    border-radius: 16px;
    padding: 24px 28px;
    margin-bottom: 38px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
}

.article-promo-card .promo-content {
    flex: 1 1 280px;
    min-width: 0;
}

.article-promo-card .promo-pill {
    color: #60a5fa;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    margin-bottom: 6px;
}

.article-promo-card .promo-title {
    color: #ffffff;
    font-size: clamp(17px, 2.5vw, 20px);
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 6px;
}

.article-promo-card .promo-subtitle {
    color: #94a3b8;
    font-size: 14px;
    line-height: 1.5;
}

.article-promo-card .promo-cta {
    flex-shrink: 0;
}

.article-promo-card .promo-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    font-weight: 700;
    padding: 14px 24px;
    border-radius: 9999px;
    text-align: center;
    white-space: normal;
    word-break: break-word;
    max-width: 100%;
}

.article-pricing-box {
    margin: 50px 0;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 20px;
    padding: 34px 26px;
}

.article-plans-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 20px;
}

.article-plan-item {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    padding: 22px;
    text-align: center;
    display: flex;
    flex-direction: column;
    position: relative;
}

.article-plan-item.is-featured {
    border: 2px solid #f59e0b;
    box-shadow: 0 8px 24px rgba(245, 158, 11, 0.18);
}

.article-author-box {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 24px;
    margin: 40px 0;
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.article-cta-box {
    background: linear-gradient(135deg, #0a1628 0%, #1a2a4a 100%);
    border-radius: 20px;
    padding: 44px 32px;
    text-align: center;
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 50px;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.15);
}

.article-cta-actions {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

/* Responsive Overrides for Mobile (Phones < 768px) */
@media (max-width: 768px) {
    .article-promo-card {
        padding: 20px 16px;
        flex-direction: column;
        align-items: stretch;
        gap: 16px;
    }
    
    .article-promo-card .promo-cta {
        width: 100%;
    }
    
    .article-promo-card .promo-btn {
        width: 100%;
        padding: 13px 18px;
        font-size: 14.5px;
    }

    .article-pricing-box {
        padding: 22px 14px;
        margin: 36px 0;
    }

    .article-plans-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .article-author-box {
        padding: 18px 16px;
        gap: 14px;
    }

    .article-cta-box {
        padding: 32px 18px;
    }

    .article-cta-actions {
        flex-direction: column;
        gap: 12px;
    }

    .article-cta-actions .btn-block-mobile {
        width: 100%;
        text-align: center;
        padding: 14px 20px;
        font-size: 15px;
    }
}

.toc-card {
    background: var(--bg-light);
    border: 1px solid var(--card-light-border);
    border-radius: var(--radius-lg);
    padding: 30px 34px;
    margin: 36px 0;
}

.toc-card h3 {
    font-size: 1.15rem;
    margin-bottom: 16px;
}

.toc-list {
    list-style: none;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px 24px;
}

.toc-list a {
    color: var(--accent-blue-hover);
    text-decoration: none;
    font-size: 0.94rem;
    font-weight: 500;
}

.toc-list a:hover {
    text-decoration: underline;
}

/* Reading Progress Bar */
#reading-progress-bar {
    position: fixed;
    top: 0;
    left: 0;
    height: 4px;
    background: linear-gradient(90deg, #2563eb, #38bdf8, #60a5fa);
    width: 0%;
    z-index: 10001;
    transition: width 0.08s ease-out;
}

/* Article & Blog Page Polish */
.blog-featured-hero {
    background: #0f1c32;
    border: 1px solid rgba(59, 130, 246, 0.25);
    border-radius: 20px;
    overflow: hidden;
    margin-bottom: 50px;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.25), 0 0 1px rgba(255, 255, 255, 0.15);
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease;
}

.blog-featured-hero:hover {
    transform: translateY(-4px);
    box-shadow: 0 24px 50px rgba(0, 0, 0, 0.35), 0 0 25px rgba(59, 130, 246, 0.2);
    border-color: rgba(59, 130, 246, 0.45);
}

.blog-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 18px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: 0 4px 20px rgba(15, 23, 42, 0.05);
    transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.28s ease, border-color 0.28s ease;
}

.blog-card:hover {
    transform: translateY(-6px);
    border-color: #cbd5e1;
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.12), 0 0 1px rgba(37, 99, 235, 0.3);
}

.blog-card-thumb-wrap {
    position: relative;
    aspect-ratio: 16/9;
    overflow: hidden;
    background: #08101e;
}

.blog-card-thumb-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1);
}

.blog-card:hover .blog-card-thumb-wrap img,
.blog-featured-hero:hover img {
    transform: scale(1.05);
}

.blog-tag-pill {
    position: absolute;
    top: 14px;
    left: 14px;
    background: rgba(15, 23, 42, 0.85);
    backdrop-filter: blur(8px);
    color: #60a5fa;
    border: 1px solid rgba(96, 165, 250, 0.3);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    z-index: 2;
}

.blog-read-time {
    position: absolute;
    top: 14px;
    right: 14px;
    background: rgba(0, 0, 0, 0.65);
    backdrop-filter: blur(8px);
    color: #e2e8f0;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 600;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.article-callout {
    background: #f0f9ff;
    border-left: 4px solid #0284c7;
    border-radius: 0 12px 12px 0;
    padding: 20px 24px;
    margin: 32px 0;
}

.article-callout.tip {
    background: #f0fdf4;
    border-left-color: #16a34a;
}

.article-callout.warning {
    background: #fffbeb;
    border-left-color: #f59e0b;
}

.related-articles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    margin-top: 24px;
}

/* ==========================================================================
   Showcase & Media Cards (Live Sports & VOD Showcase)
   ========================================================================== */
.showcase-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
}

.showcase-card {
    background: #091322;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    flex-direction: column;
    height: 100%;
    transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.28s ease, border-color 0.28s ease;
}

.showcase-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.35), 0 0 30px rgba(59, 130, 246, 0.18);
    border-color: rgba(59, 130, 246, 0.35);
}

.showcase-card-thumb {
    width: 100%;
    aspect-ratio: 16/9;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

.showcase-card:hover .showcase-card-thumb {
    transform: scale(1.03);
}

.showcase-card-body {
    padding: 26px 28px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.showcase-badge-sports {
    font-size: 0.8rem;
    font-weight: 800;
    color: #ef4444;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    display: inline-block;
    margin-bottom: 8px;
}

.showcase-badge-vod {
    font-size: 0.8rem;
    font-weight: 800;
    color: #3b82f6;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    display: inline-block;
    margin-bottom: 8px;
}

.showcase-card-title {
    color: #ffffff;
    font-size: 1.35rem;
    font-weight: 750;
    line-height: 1.35;
    margin: 0 0 12px 0;
    word-break: normal;
    overflow-wrap: break-word;
}

.showcase-card-text {
    color: #94a3b8;
    font-size: 0.95rem;
    line-height: 1.7;
    margin: 0;
    word-break: normal;
    overflow-wrap: break-word;
}

/* Generic Responsive 2-Column Grid Utility */
.responsive-2col {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    align-items: center;
}

.device-mini-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
    margin-bottom: 28px;
}

@media (max-width: 868px) {
    .showcase-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    .responsive-2col {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

@media (max-width: 480px) {
    .showcase-card-body {
        padding: 20px 18px;
    }
    .showcase-card-title {
        font-size: 1.2rem;
    }
    .device-mini-grid {
        grid-template-columns: 1fr;
    }
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
    background: var(--bg-dark);
    color: var(--text-muted-dark);
    padding-top: 80px;
    padding-bottom: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr repeat(4, 1fr);
    gap: 40px;
    margin-bottom: 60px;
}

.footer-col h4 {
    color: #ffffff;
    font-size: 0.88rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 20px;
}

.footer-col ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-col ul li a {
    color: var(--text-muted-dark);
    text-decoration: none;
    font-size: 0.92rem;
    transition: color var(--transition-fast);
}

.footer-col ul li a:hover {
    color: #ffffff;
}

.footer-bottom {
    padding-top: 34px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.88rem;
    flex-wrap: wrap;
    gap: 16px;
}

.payment-chips {
    display: flex;
    align-items: center;
    gap: 10px;
}

.payment-chip {
    padding: 4px 12px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-sm);
    font-size: 0.82rem;
    font-weight: 600;
    color: #cbd5e1;
}

/* Footer Social Icons */
.footer-social-links {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 14px;
}

.social-icon-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #cbd5e1;
    text-decoration: none;
    transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1), background 0.2s ease, border-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.social-icon-btn:hover {
    transform: translateY(-3px);
    color: #ffffff;
}

.social-icon-btn.social-whatsapp:hover {
    background: #25D366;
    border-color: #25D366;
    box-shadow: 0 4px 14px rgba(37, 211, 102, 0.35);
}

.social-icon-btn.social-telegram:hover {
    background: #229ED9;
    border-color: #229ED9;
    box-shadow: 0 4px 14px rgba(34, 158, 217, 0.35);
}

.social-icon-btn.social-facebook:hover {
    background: #1877F2;
    border-color: #1877F2;
    box-shadow: 0 4px 14px rgba(24, 119, 242, 0.35);
}

.social-icon-btn.social-instagram:hover {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    border-color: #dc2743;
    box-shadow: 0 4px 14px rgba(220, 39, 67, 0.35);
}

.social-icon-btn.social-youtube:hover {
    background: #FF0000;
    border-color: #FF0000;
    box-shadow: 0 4px 14px rgba(255, 0, 0, 0.35);
}

.social-icon-btn.social-x:hover {
    background: #000000;
    border-color: rgba(255, 255, 255, 0.4);
    box-shadow: 0 4px 14px rgba(255, 255, 255, 0.2);
}

.social-icon-btn.social-tiktok:hover {
    background: #000000;
    border-color: #00f2fe;
    box-shadow: 0 4px 14px rgba(0, 242, 254, 0.35);
}

/* Floating WhatsApp */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--whatsapp-green), #1fad51);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 26px var(--whatsapp-glow);
    z-index: 999;
    transition: transform var(--transition-smooth), box-shadow var(--transition-smooth);
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 12px 32px rgba(37, 211, 102, 0.5);
    color: #fff;
}

/* Back to top */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 104px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--bg-white);
    border: 1px solid var(--card-light-border);
    color: var(--text-main-light);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-fast);
    z-index: 998;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

/* Breadcrumbs */
.breadcrumbs-bar {
    padding: 18px 0;
    background: var(--bg-light);
    border-bottom: 1px solid var(--card-light-border);
    font-size: 0.88rem;
}

.breadcrumbs-bar a {
    color: var(--text-subtle);
    text-decoration: none;
}
.breadcrumbs-bar a:hover { color: var(--accent-blue); }
.breadcrumbs-bar .sep { margin: 0 8px; color: #cbd5e1; }
.breadcrumbs-bar .current { color: var(--text-main-light); font-weight: 600; }

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */
@media (max-width: 1024px) {
    /* Header & Navigation on Tablet */
    .menu-toggle {
        display: flex;
    }
    .main-navigation {
        display: none;
        position: absolute;
        top: 78px;
        left: 0;
        right: 0;
        background: #091322;
        padding: 24px;
        flex-direction: column;
        gap: 16px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6);
        z-index: 999;
    }
    .main-navigation.active {
        display: flex;
    }
    .main-navigation ul.menu {
        flex-direction: column;
        width: 100%;
        gap: 4px;
    }
    .main-navigation ul.menu li {
        width: 100%;
    }
    .main-navigation ul.menu li a {
        display: block;
        padding: 14px 18px;
        width: 100%;
        font-size: 1.05rem;
    }
    .main-navigation .header-cta {
        width: 100%;
        margin-top: 10px;
    }
    .main-navigation .header-cta .btn {
        width: 100%;
        padding: 14px;
    }

    /* Grids on Tablet */
    .hp-plans {
        grid-template-columns: 1fr;
        max-width: 520px;
        margin: 0 auto 40px;
    }
    .pricing-grid {
        grid-template-columns: 1fr;
        max-width: 520px;
        margin: 0 auto;
    }
    .pricing-card.featured {
        transform: none;
    }
    .pricing-card.featured:hover {
        transform: translateY(-5px);
    }
    .trust-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .value-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .feature-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .device-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    .steps-grid,
    .steps-grid-2col {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 36px;
    }
    .toc-list {
        grid-template-columns: 1fr;
    }
    .container {
        padding-left: 20px;
        padding-right: 20px;
    }
}

@media (max-width: 768px) {
    /* Container & Section Spacing */
    .container {
        padding-left: 16px;
        padding-right: 16px;
    }
    .section-padding {
        padding-top: 60px;
        padding-bottom: 60px;
    }
    .section-padding-sm {
        padding-top: 36px;
        padding-bottom: 36px;
    }
    .page-hero {
        padding-top: 110px !important;
        padding-bottom: 45px !important;
    }
    .hero-cinematic {
        padding-top: 105px !important;
        padding-bottom: 60px !important;
    }

    /* Typography scale */
    h1 {
        font-size: 2.1rem !important;
        line-height: 1.2 !important;
    }
    h2 {
        font-size: 1.65rem !important;
        line-height: 1.25 !important;
    }
    .hero h1, .page-hero h1, .hero-cinematic h1 {
        font-size: clamp(26px, 7vw, 36px) !important;
    }
    .lead {
        font-size: 1rem !important;
        line-height: 1.65 !important;
    }

    /* Grids & Cards on Mobile */
    .trust-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    .value-grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }
    .feature-grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }
    .device-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 14px;
    }
    .category-grid {
        gap: 8px;
    }
    .category-tag {
        font-size: 0.85rem;
        padding: 6px 14px;
    }

    /* Pricing Section Mobile */
    .hp-plan {
        padding: 30px 20px;
        border-radius: 18px;
    }
    .hp-plan .plan-price {
        font-size: 2.8rem;
    }
    .ptoggle-btn {
        padding: 9px 20px;
        font-size: 0.85rem;
    }
    .save-badge {
        display: none;
    }

    /* Footer on Mobile */
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }
    .payment-chips {
        justify-content: center;
        flex-wrap: wrap;
    }

    /* Buttons & CTAs */
    .cta-buttons {
        flex-direction: column;
        width: 100%;
        gap: 14px;
    }
    .cta-buttons .btn {
        width: 100%;
        font-size: 1rem;
        padding: 14px 20px;
    }

    /* Floating WhatsApp on Mobile */
    .whatsapp-float {
        bottom: 20px;
        right: 20px;
        width: 52px;
        height: 52px;
    }

    /* Comparison Table Horizontal Scroll Safety */
    .table-container {
        margin-left: -16px;
        margin-right: -16px;
        border-radius: 0;
        border-left: none;
        border-right: none;
    }
    .comparison-table th, 
    .comparison-table td {
        padding: 12px 14px;
        font-size: 0.85rem;
    }

    /* Editorial & Blog Content */
    .editorial-container {
        font-size: 1rem;
        line-height: 1.75;
    }
    .toc-card {
        padding: 22px 18px;
    }
}

@media (max-width: 480px) {
    /* Small Phones (iPhone SE, Galaxy A series, etc.) */
    .container {
        padding-left: 14px;
        padding-right: 14px;
    }
    .site-header .header-inner {
        height: 68px;
    }
    .main-navigation {
        top: 68px;
    }
    .brand-logo-img {
        height: 38px;
        max-width: 155px;
    }
    .device-grid {
        grid-template-columns: 1fr;
    }
    .hp-plan .plan-price {
        font-size: 2.4rem;
    }
    .hp-plan .screens-sel-btn {
        padding: 6px 10px;
        font-size: 0.78rem;
    }
    .btn-lg {
        padding: 13px 18px;
        font-size: 0.92rem;
    }
    .posters-header .posters-pill {
        font-size: 0.74rem;
        padding: 5px 12px;
    }
}

/* ==========================================================================
   Cinematic Hero & Seamless Movie Posters Marquee (suomeniptv style)
   ========================================================================== */
.hero-cinematic {
    position: relative;
    background-size: cover;
    background-position: center top;
    background-repeat: no-repeat;
    padding-top: 130px;
    padding-bottom: 90px;
    overflow: hidden;
}

.hero-cinematic-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(6, 12, 24, 0.78) 0%, rgba(6, 12, 24, 0.94) 85%, #060c18 100%);
    pointer-events: none;
}

.hero-cinematic .container {
    position: relative;
    z-index: 2;
}

.hero-cinematic h1 {
    font-size: clamp(34px, 5.2vw, 56px);
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 22px;
    color: #ffffff;
    letter-spacing: -0.02em;
}

.hero-cinematic .lead {
    font-size: 1.18rem;
    line-height: 1.75;
    color: #cbd5e1;
    margin-bottom: 32px;
}

/* Movie Posters Marquee Section */
.posters-marquee-section {
    position: relative;
    background: #060c18;
    padding: 30px 0 50px;
    overflow: hidden;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.posters-header {
    margin-bottom: 24px;
    text-align: center;
}

.posters-header .posters-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.84rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #38bdf8;
    background: rgba(56, 189, 248, 0.1);
    border: 1px solid rgba(56, 189, 248, 0.25);
    padding: 6px 18px;
    border-radius: 30px;
}

.posters-track-wrapper {
    position: relative;
    width: 100%;
    overflow: hidden;
    display: flex;
    mask-image: linear-gradient(to right, transparent, black 12%, black 88%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 12%, black 88%, transparent);
}

.posters-track {
    display: flex;
    gap: 20px;
    width: max-content;
    animation: scrollPosters 45s linear infinite;
}

.posters-track:hover {
    animation-play-state: paused;
}

.poster-card {
    flex-shrink: 0;
    width: 175px;
    height: 255px;
    border-radius: 14px;
    overflow: hidden;
    background: #0f1c32;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5), 0 0 1px rgba(255, 255, 255, 0.15);
    position: relative;
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease;
    cursor: pointer;
}

.poster-card:hover {
    transform: translateY(-8px) scale(1.04);
    box-shadow: 0 18px 38px rgba(0, 0, 0, 0.7), 0 0 20px rgba(59, 130, 246, 0.4);
    z-index: 5;
}

.poster-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.poster-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(8px);
    color: #f59e0b;
    font-size: 0.7rem;
    font-weight: 800;
    padding: 3px 7px;
    border-radius: 6px;
    border: 1px solid rgba(245, 158, 11, 0.4);
}

@keyframes scrollPosters {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

@media (max-width: 768px) {
    .poster-card {
        width: 135px;
        height: 200px;
    }
    .posters-track {
        gap: 14px;
        animation-duration: 35s;
    }
}

/* ==========================================================================
   Smooth Section & Component Animations (GPU-Accelerated)
   ========================================================================== */

/* Hero Entrance */
.hero-cinematic .container,
.page-hero .container {
    animation: heroFadeInUp 0.85s cubic-bezier(0.16, 1, 0.3, 1) both;
}

@keyframes heroFadeInUp {
    0% {
        opacity: 0;
        transform: translateY(24px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Scroll Reveal Elements */
.reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1),
                transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: opacity, transform;
}

.reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* Stagger Children within Grids */
.reveal-stagger > * {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.65s cubic-bezier(0.16, 1, 0.3, 1),
                transform 0.65s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: opacity, transform;
}

.reveal-stagger.revealed > * {
    opacity: 1;
    transform: translateY(0);
}
.reveal-stagger.revealed > *:nth-child(1) { transition-delay: 0.04s; }
.reveal-stagger.revealed > *:nth-child(2) { transition-delay: 0.10s; }
.reveal-stagger.revealed > *:nth-child(3) { transition-delay: 0.16s; }
.reveal-stagger.revealed > *:nth-child(4) { transition-delay: 0.22s; }
.reveal-stagger.revealed > *:nth-child(5) { transition-delay: 0.28s; }
.reveal-stagger.revealed > *:nth-child(6) { transition-delay: 0.34s; }
.reveal-stagger.revealed > *:nth-child(7) { transition-delay: 0.40s; }
.reveal-stagger.revealed > *:nth-child(8) { transition-delay: 0.46s; }
.reveal-stagger.revealed > *:nth-child(9) { transition-delay: 0.52s; }
.reveal-stagger.revealed > *:nth-child(10) { transition-delay: 0.58s; }
.reveal-stagger.revealed > *:nth-child(11) { transition-delay: 0.64s; }
.reveal-stagger.revealed > *:nth-child(12) { transition-delay: 0.70s; }

/* Interactive Hover Lift & Glow Effects */
.value-card,
.feature-card,
.step-card,
.pricing-card,
.hp-plan {
    transition: transform 0.32s cubic-bezier(0.16, 1, 0.3, 1),
                box-shadow 0.32s ease,
                border-color 0.32s ease;
}

.value-card:hover,
.feature-card:hover,
.step-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 14px 34px rgba(0, 0, 0, 0.12), 0 0 1px rgba(37, 99, 235, 0.25);
    border-color: rgba(37, 99, 235, 0.35);
}

.hp-plan:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 42px rgba(0, 0, 0, 0.45), 0 0 25px rgba(59, 130, 246, 0.25);
}

/* Subtle Pulsing Glow on Primary Large Buttons */
.btn-primary.btn-lg {
    position: relative;
    box-shadow: 0 4px 20px rgba(37, 99, 235, 0.4);
    animation: ctaPulseGlow 3.5s ease-in-out infinite;
}

@keyframes ctaPulseGlow {
    0%, 100% {
        box-shadow: 0 4px 18px rgba(37, 99, 235, 0.4);
    }
    50% {
        box-shadow: 0 6px 26px rgba(59, 130, 246, 0.65), 0 0 15px rgba(59, 130, 246, 0.35);
    }
}

/* Category Chips Micro-Hover */
.category-chip {
    transition: transform 0.22s ease, background-color 0.22s ease, border-color 0.22s ease;
}

.category-chip:hover {
    transform: translateY(-3px) scale(1.03);
    border-color: var(--accent-blue);
    color: var(--accent-blue);
}

/* Floating WhatsApp Gentle Heartbeat Animation */
.whatsapp-float {
    animation: waHeartbeat 4s ease-in-out infinite;
}

@keyframes waHeartbeat {
    0%, 100% {
        transform: scale(1);
    }
    10% {
        transform: scale(1.08);
    }
    20% {
        transform: scale(1);
    }
    30% {
        transform: scale(1.06);
    }
    40% {
        transform: scale(1);
    }
}

/* Accessibility: Disable Animations for Users with Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
    .reveal,
    .reveal-stagger > * {
        opacity: 1 !important;
        transform: none !important;
    }
}

/* ==========================================================================
   IPTV Application Internal Links
   ========================================================================== */
.app-link {
    color: var(--accent-blue, #3b82f6);
    text-decoration: underline;
    text-decoration-color: rgba(59, 130, 246, 0.4);
    text-underline-offset: 3px;
    font-weight: 600;
    transition: all 0.2s ease;
}

.app-link:hover {
    color: #60a5fa;
    text-decoration-color: #60a5fa;
    text-shadow: 0 0 8px rgba(96, 165, 250, 0.4);
}

.app-link-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    background: rgba(59, 130, 246, 0.1);
    border: 1px solid rgba(59, 130, 246, 0.25);
    border-radius: 8px;
    color: #60a5fa;
    font-weight: 600;
    font-size: 0.92rem;
    text-decoration: none;
    transition: all 0.2s ease;
}

.app-link-badge:hover {
    background: rgba(59, 130, 246, 0.2);
    border-color: #3b82f6;
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.25);
}

/* App Showcase Grid & Centered Cards */
.app-showcase-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 28px;
    justify-content: center;
}

.btn-text-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--accent-blue, #2563eb);
    text-decoration: none;
    padding: 7px 16px;
    border-radius: 20px;
    background: #eff6ff;
    border: 1px solid #dbeafe;
    transition: all 0.25s ease;
}

.btn-text-link:hover {
    background: var(--accent-blue, #2563eb);
    color: #ffffff;
    border-color: var(--accent-blue, #2563eb);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.22);
}

.app-logo-wrap img {
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s ease;
}

.value-card:hover .app-logo-wrap img {
    transform: scale(1.08) translateY(-4px);
}

