/* ═══════════════════════════════════════════
   IPTV Finland 4K — Brand Stylesheet
   Nordic Cinematic Entertainment Design
   ═══════════════════════════════════════════ */

/* ─── CSS Variables / Design Tokens ─── */
:root {
    --nordic-blue: #00A3FF;
    --midnight: #0B1F3B;
    --charcoal: #1E293B;
    --ice: #E2E8F0;
    --accent-red: #FF2065;
    --deep-midnight: #060E1A;
    --cyan-glow: #00F2FE;
    --card-bg: rgba(15, 30, 55, 0.65);
    --card-border: rgba(0, 163, 255, 0.15);
    --glass-bg: rgba(11, 31, 59, 0.5);
    --font-display: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
}

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

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-body);
    background-color: var(--deep-midnight);
    color: var(--ice);
    overflow-x: hidden;
    line-height: 1.6;
}

/* Override ALL Astra defaults */
body.iptv4k-dark,
body.iptv4k-dark .ast-container,
body.iptv4k-dark #page,
body.iptv4k-dark .site-content {
    background-color: var(--deep-midnight) !important;
    color: var(--ice) !important;
}

/* ─── Typography ─── */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display);
    font-weight: 700;
    line-height: 1.1;
}

/* ─── Custom Scrollbar ─── */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: var(--deep-midnight);
}
::-webkit-scrollbar-thumb {
    background: var(--charcoal);
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--nordic-blue);
}

/* ─── Selection ─── */
::selection {
    background: rgba(0, 163, 255, 0.3);
    color: #fff;
}

/* ═══════════════════════════════════════════
   HEADER / NAVIGATION
   ═══════════════════════════════════════════ */

.iptv4k-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(0px);
    -webkit-backdrop-filter: blur(0px);
}

.iptv4k-header.scrolled {
    background: rgba(6, 14, 26, 0.92);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--card-border);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

.header-inner {
    max-width: 1280px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 24px;
    transition: padding 0.35s ease;
}

.iptv4k-header.scrolled .header-inner {
    padding: 10px 24px;
}

.header-logo img {
    height: 40px;
    width: auto;
    transition: height 0.3s ease;
}

.header-logo span {
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 800;
    color: #fff;
    letter-spacing: 0.5px;
}

.header-logo .logo-4k {
    color: var(--nordic-blue);
}

/* Desktop Nav */
.header-nav {
    display: flex;
    align-items: center;
    gap: 32px;
}

.header-nav a {
    color: rgba(226, 232, 240, 0.8);
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 500;
    font-family: var(--font-body);
    transition: color 0.2s ease;
    position: relative;
    letter-spacing: 0.3px;
}

.header-nav a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--nordic-blue);
    transition: width 0.2s ease;
}

.nav-search-btn {
    color: rgba(226, 232, 240, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 6px;
    border-radius: 8px;
    transition: color 0.2s ease, background 0.2s ease;
}

.nav-search-btn:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.08);
}
.header-nav a:hover {
    color: #fff;
}

.header-nav a:hover::after {
    width: 100%;
}

/* CTA Button */
.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 24px;
    background: linear-gradient(135deg, var(--nordic-blue), var(--cyan-glow));
    color: #fff;
    font-family: var(--font-display);
    font-size: 0.875rem;
    font-weight: 600;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 163, 255, 0.25);
    letter-spacing: 0.3px;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 163, 255, 0.4);
    color: #fff;
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 24px;
    background: transparent;
    color: #fff;
    font-family: var(--font-display);
    font-size: 0.875rem;
    font-weight: 600;
    border: 1.5px solid rgba(226, 232, 240, 0.25);
    border-radius: 8px;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.3s ease;
    letter-spacing: 0.3px;
}

.btn-secondary:hover {
    border-color: var(--nordic-blue);
    background: rgba(0, 163, 255, 0.08);
    color: #fff;
    transform: translateY(-2px);
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 1001;
}

.mobile-menu-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--ice);
    transition: all 0.3s ease;
    border-radius: 1px;
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile Navigation */
.mobile-nav {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(6, 14, 26, 0.97);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    z-index: 999;
    padding: 100px 32px 32px;
    flex-direction: column;
    gap: 0;
    opacity: 0;
    transform: translateY(-10px);
    transition: all 0.35s ease;
}

.mobile-nav.active {
    display: flex;
    opacity: 1;
    transform: translateY(0);
}

.mobile-nav a {
    display: block;
    color: var(--ice);
    text-decoration: none;
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 600;
    padding: 16px 0;
    border-bottom: 1px solid rgba(226, 232, 240, 0.08);
    transition: color 0.2s, padding-left 0.2s;
}

.mobile-nav a:hover {
    color: var(--nordic-blue);
    padding-left: 8px;
}

.mobile-nav .btn-primary {
    margin-top: 24px;
    justify-content: center;
    font-size: 1rem;
    padding: 14px 28px;
}

/* ═══════════════════════════════════════════
   HERO SECTION
   ═══════════════════════════════════════════ */

.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    padding: 120px 24px 80px;
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.35;
}

.hero-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(6, 14, 26, 0.3) 0%,
        rgba(6, 14, 26, 0.6) 50%,
        rgba(6, 14, 26, 1) 100%
    );
}

.hero-aurora {
    position: absolute;
    top: -50%;
    left: -30%;
    width: 160%;
    height: 200%;
    background: radial-gradient(ellipse at 30% 20%, rgba(0, 163, 255, 0.08) 0%, transparent 50%),
                radial-gradient(ellipse at 70% 60%, rgba(0, 242, 254, 0.06) 0%, transparent 40%),
                radial-gradient(ellipse at 50% 80%, rgba(0, 163, 255, 0.04) 0%, transparent 50%);
    animation: aurora 12s ease-in-out infinite;
    pointer-events: none;
    z-index: 1;
}

@keyframes aurora {
    0%, 100% {
        transform: translate(0, 0) rotate(0deg);
        opacity: 0.7;
    }
    33% {
        transform: translate(2%, -3%) rotate(1deg);
        opacity: 1;
    }
    66% {
        transform: translate(-1%, 2%) rotate(-1deg);
        opacity: 0.8;
    }
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 1280px;
    margin: 0 auto;
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    background: rgba(0, 163, 255, 0.1);
    border: 1px solid rgba(0, 163, 255, 0.2);
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--nordic-blue);
    font-family: var(--font-display);
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 24px;
}

.hero-badge::before {
    content: '';
    width: 6px;
    height: 6px;
    background: var(--nordic-blue);
    border-radius: 50%;
    animation: glowPulse 2s infinite;
}

@keyframes glowPulse {
    0%, 100% { opacity: 0.5; box-shadow: 0 0 4px var(--nordic-blue); }
    50% { opacity: 1; box-shadow: 0 0 12px var(--nordic-blue); }
}

.hero-title {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    line-height: 1.08;
    color: #fff;
    margin-bottom: 20px;
}

.hero-title .highlight {
    background: linear-gradient(135deg, var(--nordic-blue), var(--cyan-glow));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-description {
    font-size: 1.05rem;
    color: rgba(226, 232, 240, 0.7);
    line-height: 1.7;
    margin-bottom: 32px;
    max-width: 520px;
}

.hero-description a {
    color: var(--nordic-blue);
    text-decoration: underline;
    text-decoration-color: rgba(0, 163, 255, 0.3);
    text-underline-offset: 3px;
}

.hero-ctas {
    display: flex;
    gap: 16px;
    margin-bottom: 48px;
    flex-wrap: wrap;
}

/* Stats Bar */
.hero-stats {
    display: flex;
    gap: 40px;
    padding-top: 32px;
    border-top: 1px solid rgba(226, 232, 240, 0.08);
}

.stat-item {
    text-align: left;
}

.stat-value {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 800;
    color: #fff;
}

.stat-value span {
    color: var(--nordic-blue);
}

.stat-label {
    font-size: 0.8rem;
    color: rgba(226, 232, 240, 0.5);
    margin-top: 2px;
    letter-spacing: 0.3px;
}

/* Hero Image / Device Mockup */
.hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-device {
    position: relative;
    width: 100%;
    max-width: 540px;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5),
                0 0 60px rgba(0, 163, 255, 0.1);
    border: 1px solid rgba(0, 163, 255, 0.15);
}

.hero-device img {
    width: 100%;
    height: auto;
    display: block;
}

.hero-device::before {
    content: '';
    position: absolute;
    inset: -1px;
    border-radius: 16px;
    padding: 1px;
    background: linear-gradient(135deg, rgba(0, 163, 255, 0.3), transparent, rgba(0, 242, 254, 0.2));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
}

/* Floating glow elements */
.hero-glow-1 {
    position: absolute;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(0, 163, 255, 0.15), transparent 70%);
    top: -80px;
    right: -80px;
    filter: blur(40px);
    animation: float 8s ease-in-out infinite;
    pointer-events: none;
}

.hero-glow-2 {
    position: absolute;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(0, 242, 254, 0.1), transparent 70%);
    bottom: -60px;
    left: -40px;
    filter: blur(30px);
    animation: float 6s ease-in-out infinite reverse;
    pointer-events: none;
}

@keyframes float {
    0%, 100% { transform: translateY(0) scale(1); }
    50% { transform: translateY(-15px) scale(1.05); }
}

/* ═══════════════════════════════════════════
   CHANNELS SECTION
   ═══════════════════════════════════════════ */

.section-channels {
    padding: 100px 24px;
    position: relative;
}

.section-inner {
    max-width: 1280px;
    margin: 0 auto;
}

.section-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    background: rgba(0, 163, 255, 0.08);
    border: 1px solid rgba(0, 163, 255, 0.15);
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--nordic-blue);
    font-family: var(--font-display);
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 16px;
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(1.75rem, 3.5vw, 2.75rem);
    font-weight: 800;
    color: #fff;
    margin-bottom: 12px;
    line-height: 1.15;
}

.section-subtitle {
    font-size: 1.05rem;
    color: rgba(226, 232, 240, 0.6);
    max-width: 600px;
    line-height: 1.7;
    margin-bottom: 48px;
}

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

.channel-card {
    position: relative;
    padding: 28px 20px;
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 16px;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
    cursor: default;
}

.channel-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 16px;
    background: linear-gradient(135deg, rgba(0, 163, 255, 0.05), transparent);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.channel-card:hover {
    transform: translateY(-6px);
    border-color: rgba(0, 163, 255, 0.3);
    box-shadow: 0 12px 40px rgba(0, 163, 255, 0.12);
}

.channel-card:hover::before {
    opacity: 1;
}

.channel-card-icon {
    width: 56px;
    height: 56px;
    margin: 0 auto 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    background: rgba(0, 163, 255, 0.08);
    border: 1px solid rgba(0, 163, 255, 0.12);
}

.channel-card-icon svg {
    width: 28px;
    height: 28px;
    color: var(--nordic-blue);
}

.channel-card-title {
    font-family: var(--font-display);
    font-size: 0.95rem;
    font-weight: 600;
    color: #fff;
}

/* ═══════════════════════════════════════════
   PRICING SECTION
   ═══════════════════════════════════════════ */

.section-pricing {
    padding: 100px 24px;
    position: relative;
    background: linear-gradient(180deg, var(--deep-midnight) 0%, rgba(11, 31, 59, 0.3) 50%, var(--deep-midnight) 100%);
}

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

.pricing-card {
    position: relative;
    padding: 36px 28px;
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.pricing-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(0, 163, 255, 0.12);
    border-color: rgba(0, 163, 255, 0.3);
}

.pricing-card.featured {
    border-color: var(--nordic-blue);
    background: linear-gradient(145deg, rgba(0, 163, 255, 0.08) 0%, var(--card-bg) 100%);
    box-shadow: 0 0 40px rgba(0, 163, 255, 0.15);
}

.pricing-badge {
    position: absolute;
    top: -1px;
    right: 24px;
    padding: 6px 14px;
    background: linear-gradient(135deg, var(--nordic-blue), var(--cyan-glow));
    color: #fff;
    font-size: 0.7rem;
    font-weight: 700;
    font-family: var(--font-display);
    letter-spacing: 1px;
    text-transform: uppercase;
    border-radius: 0 0 8px 8px;
}

.pricing-duration {
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 16px;
}

.pricing-price {
    margin-bottom: 28px;
}

.pricing-price .currency {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--nordic-blue);
    vertical-align: super;
}

.pricing-price .amount {
    font-family: var(--font-display);
    font-size: 3rem;
    font-weight: 800;
    color: #fff;
    line-height: 1;
}

.pricing-price .period {
    font-size: 0.85rem;
    color: rgba(226, 232, 240, 0.5);
    margin-left: 4px;
}

.pricing-features {
    list-style: none;
    margin-bottom: 32px;
    flex: 1;
}

.pricing-features li {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 0;
    font-size: 0.875rem;
    color: rgba(226, 232, 240, 0.75);
    border-bottom: 1px solid rgba(226, 232, 240, 0.05);
}

.pricing-features li:last-child {
    border-bottom: none;
}

.pricing-features li svg {
    width: 16px;
    height: 16px;
    color: var(--nordic-blue);
    flex-shrink: 0;
}

.pricing-card .btn-choose {
    display: block;
    width: 100%;
    padding: 12px;
    text-align: center;
    border-radius: 10px;
    font-family: var(--font-display);
    font-size: 0.875rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    letter-spacing: 0.3px;
}

.pricing-card .btn-choose.outline {
    background: transparent;
    border: 1.5px solid rgba(226, 232, 240, 0.15);
    color: #fff;
}

.pricing-card .btn-choose.outline:hover {
    border-color: var(--nordic-blue);
    background: rgba(0, 163, 255, 0.08);
}

.pricing-card.featured .btn-choose {
    background: linear-gradient(135deg, var(--nordic-blue), var(--cyan-glow));
    color: #fff;
    border: none;
    box-shadow: 0 4px 15px rgba(0, 163, 255, 0.3);
}

.pricing-card.featured .btn-choose:hover {
    box-shadow: 0 8px 25px rgba(0, 163, 255, 0.5);
    transform: translateY(-2px);
}

/* ═══════════════════════════════════════════
   HOW IT WORKS
   ═══════════════════════════════════════════ */

.section-how-it-works {
    padding: 100px 24px;
    position: relative;
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    margin-top: 48px;
}

.step-card {
    position: relative;
    padding: 36px 28px;
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 20px;
    text-align: center;
    transition: all 0.4s ease;
}

.step-card:hover {
    transform: translateY(-4px);
    border-color: rgba(0, 163, 255, 0.25);
}

.step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: rgba(0, 163, 255, 0.1);
    border: 1px solid rgba(0, 163, 255, 0.2);
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--nordic-blue);
    margin-bottom: 20px;
}

.step-icon {
    width: 48px;
    height: 48px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--nordic-blue);
}

.step-icon svg {
    width: 32px;
    height: 32px;
}

.step-title {
    font-family: var(--font-display);
    font-size: 1.15rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 10px;
}

.step-description {
    font-size: 0.875rem;
    color: rgba(226, 232, 240, 0.6);
    line-height: 1.6;
}

/* ═══════════════════════════════════════════
   FAQ SECTION
   ═══════════════════════════════════════════ */

.section-faq {
    padding: 100px 24px;
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.faq-item {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 14px;
    overflow: hidden;
    transition: border-color 0.3s ease;
}

.faq-item:hover,
.faq-item.active {
    border-color: rgba(0, 163, 255, 0.25);
}

.faq-question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px;
    cursor: pointer;
    font-family: var(--font-display);
    font-size: 0.95rem;
    font-weight: 600;
    color: #fff;
    transition: color 0.2s;
    user-select: none;
    gap: 16px;
}

.faq-question:hover {
    color: var(--nordic-blue);
}

.faq-icon {
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.35s ease;
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
}

.faq-icon svg {
    width: 18px;
    height: 18px;
    color: var(--nordic-blue);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.4s ease;
}

.faq-item.active .faq-answer {
    max-height: 300px;
}

.faq-answer-inner {
    padding: 0 24px 20px;
    font-size: 0.9rem;
    color: rgba(226, 232, 240, 0.65);
    line-height: 1.7;
}

/* ═══════════════════════════════════════════
   CTA SECTION
   ═══════════════════════════════════════════ */

.section-cta {
    padding: 100px 24px;
    position: relative;
}

.cta-box {
    max-width: 800px;
    margin: 0 auto;
    padding: 64px 48px;
    background: linear-gradient(145deg, rgba(0, 163, 255, 0.08) 0%, var(--card-bg) 100%);
    border: 1px solid rgba(0, 163, 255, 0.2);
    border-radius: 24px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-box::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(ellipse at center, rgba(0, 163, 255, 0.06), transparent 60%);
    pointer-events: none;
}

.cta-title {
    font-family: var(--font-display);
    font-size: clamp(1.5rem, 3vw, 2.25rem);
    font-weight: 800;
    color: #fff;
    margin-bottom: 16px;
    position: relative;
}

.cta-subtitle {
    font-size: 1rem;
    color: rgba(226, 232, 240, 0.6);
    margin-bottom: 32px;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.7;
    position: relative;
}

.cta-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    position: relative;
}

/* ═══════════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════════ */

.iptv4k-footer {
    padding: 48px 24px 24px;
    border-top: 1px solid rgba(226, 232, 240, 0.06);
    background: rgba(6, 14, 26, 0.8);
}

.footer-inner {
    max-width: 1280px;
    margin: 0 auto;
}

.footer-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 32px;
    border-bottom: 1px solid rgba(226, 232, 240, 0.06);
    flex-wrap: wrap;
    gap: 24px;
}

.footer-info {
    display: flex;
    align-items: center;
    gap: 24px;
    flex-wrap: wrap;
}

.footer-info-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.8rem;
    color: rgba(226, 232, 240, 0.5);
}

.footer-info-item svg {
    width: 16px;
    height: 16px;
    color: var(--nordic-blue);
}

.footer-flags {
    display: flex;
    gap: 12px;
    align-items: center;
}

.footer-flags img {
    width: 28px;
    height: 20px;
    border-radius: 3px;
    opacity: 0.7;
    transition: opacity 0.2s;
    object-fit: cover;
}

.footer-flags img:hover {
    opacity: 1;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 24px;
    flex-wrap: wrap;
    gap: 16px;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-display);
    font-size: 0.85rem;
    font-weight: 600;
    color: rgba(226, 232, 240, 0.6);
}

.footer-brand .dot {
    color: var(--nordic-blue);
}

.footer-copyright {
    font-size: 0.75rem;
    color: rgba(226, 232, 240, 0.35);
}

/* ═══════════════════════════════════════════
   SCROLL ANIMATIONS
   ═══════════════════════════════════════════ */

.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.reveal-left {
    opacity: 0;
    transform: translateX(-40px);
    transition: all 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal-left.visible {
    opacity: 1;
    transform: translateX(0);
}

.reveal-right {
    opacity: 0;
    transform: translateX(40px);
    transition: all 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal-right.visible {
    opacity: 1;
    transform: translateX(0);
}

.reveal-scale {
    opacity: 0;
    transform: scale(0.92);
    transition: all 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal-scale.visible {
    opacity: 1;
    transform: scale(1);
}

/* Staggered children */
.stagger-children .reveal:nth-child(1) { transition-delay: 0s; }
.stagger-children .reveal:nth-child(2) { transition-delay: 0.1s; }
.stagger-children .reveal:nth-child(3) { transition-delay: 0.2s; }
.stagger-children .reveal:nth-child(4) { transition-delay: 0.3s; }
.stagger-children .reveal:nth-child(5) { transition-delay: 0.4s; }

/* ═══════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════ */

@media (max-width: 1024px) {
    .hero-content {
        grid-template-columns: 1fr;
        gap: 48px;
        text-align: center;
    }

    .hero-description {
        margin: 0 auto 32px;
    }

    .hero-ctas {
        justify-content: center;
    }

    .hero-stats {
        justify-content: center;
    }

    .hero-visual {
        order: -1;
    }

    .hero-device {
        max-width: 420px;
    }

    .channels-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .pricing-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: flex;
    }

    .header-nav {
        display: none;
    }

    .hero-section {
        padding: 100px 20px 60px;
        min-height: auto;
    }

    .hero-title {
        font-size: clamp(2rem, 7vw, 2.75rem);
    }

    .hero-stats {
        gap: 24px;
        flex-wrap: wrap;
    }

    .channels-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .pricing-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin: 0 auto;
    }

    .steps-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin: 48px auto 0;
    }

    .section-channels,
    .section-pricing,
    .section-how-it-works,
    .section-faq,
    .section-cta {
        padding: 64px 20px;
    }

    .cta-box {
        padding: 48px 28px;
    }

    .footer-top {
        flex-direction: column;
        text-align: center;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .hero-ctas {
        flex-direction: column;
    }

    .hero-ctas .btn-primary,
    .hero-ctas .btn-secondary {
        width: 100%;
        justify-content: center;
    }

    .channels-grid {
        grid-template-columns: 1fr;
    }

    .hero-stats {
        flex-direction: column;
        gap: 16px;
        align-items: center;
    }
}

/* ═══════════════════════════════════════════
   WOOCOMMERCE OVERRIDES
   ═══════════════════════════════════════════ */

.woocommerce .woocommerce-message,
.woocommerce .woocommerce-info,
.woocommerce .woocommerce-error {
    background: var(--card-bg) !important;
    border-color: var(--nordic-blue) !important;
    color: var(--ice) !important;
    border-radius: 12px;
}

.woocommerce .woocommerce-message::before {
    color: var(--nordic-blue) !important;
}

.woocommerce form .form-row input.input-text,
.woocommerce form .form-row textarea,
.woocommerce form .form-row select {
    background: rgba(15, 30, 55, 0.5) !important;
    border: 1px solid var(--card-border) !important;
    color: var(--ice) !important;
    border-radius: 10px !important;
    padding: 12px 16px !important;
    font-family: var(--font-body) !important;
    transition: border-color 0.3s ease !important;
}

.woocommerce form .form-row input.input-text:focus,
.woocommerce form .form-row textarea:focus,
.woocommerce form .form-row select:focus {
    border-color: var(--nordic-blue) !important;
    outline: none !important;
    box-shadow: 0 0 0 3px rgba(0, 163, 255, 0.1) !important;
}

.woocommerce form .form-row label {
    color: rgba(226, 232, 240, 0.7) !important;
    font-family: var(--font-body) !important;
    font-size: 0.85rem !important;
}

.woocommerce #place_order,
.woocommerce .button,
.woocommerce button.button {
    background: linear-gradient(135deg, var(--nordic-blue), var(--cyan-glow)) !important;
    color: #fff !important;
    border: none !important;
    border-radius: 10px !important;
    padding: 14px 28px !important;
    font-family: var(--font-display) !important;
    font-weight: 600 !important;
    font-size: 0.9rem !important;
    transition: all 0.3s ease !important;
    box-shadow: 0 4px 15px rgba(0, 163, 255, 0.25) !important;
    letter-spacing: 0.3px !important;
}

.woocommerce #place_order:hover,
.woocommerce .button:hover,
.woocommerce button.button:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 8px 25px rgba(0, 163, 255, 0.4) !important;
}

.woocommerce table.shop_table {
    background: var(--card-bg) !important;
    border: 1px solid var(--card-border) !important;
    border-radius: 16px !important;
    overflow: hidden;
}

.woocommerce table.shop_table th,
.woocommerce table.shop_table td {
    border-color: rgba(226, 232, 240, 0.06) !important;
    color: var(--ice) !important;
    padding: 14px 16px !important;
}

.woocommerce-checkout #payment {
    background: var(--card-bg) !important;
    border-radius: 16px !important;
    border: 1px solid var(--card-border) !important;
}

.woocommerce-checkout #payment div.payment_box {
    background: rgba(0, 163, 255, 0.05) !important;
    color: rgba(226, 232, 240, 0.7) !important;
}

/* ═══════════════════════════════════════════
   MASTER DESIGN BOARD REFINEMENTS
   ═══════════════════════════════════════════ */

/* 1. Photographic Channels Grid */
.channels-photo-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 16px;
}

.channel-photo-card {
    position: relative;
    border-radius: 14px;
    overflow: hidden;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.channel-photo-card .channel-img-wrap {
    position: relative;
    width: 100%;
    aspect-ratio: 4 / 4.8;
    overflow: hidden;
    background: #0B1F3B;
}

.channel-photo-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.channel-photo-card .channel-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(6, 14, 26, 0.85) 0%, rgba(6, 14, 26, 0.15) 50%, transparent 100%);
    pointer-events: none;
}

.channel-photo-card .channel-badge-pill {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(8, 14, 24, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.18);
    color: #ffffff;
    font-family: var(--font-display);
    font-size: 0.78rem;
    font-weight: 600;
    padding: 3px 12px;
    border-radius: 9999px;
    letter-spacing: 0.2px;
    white-space: nowrap;
    backdrop-filter: blur(8px);
    transition: all 0.3s ease;
}

.channel-photo-card:hover {
    transform: translateY(-5px);
    border-color: rgba(0, 163, 255, 0.5);
    box-shadow: 0 14px 35px rgba(0, 163, 255, 0.2);
}

.channel-photo-card:hover img {
    transform: scale(1.06);
}

.channel-photo-card:hover .channel-badge-pill {
    background: var(--nordic-blue);
    border-color: var(--nordic-blue);
    color: #fff;
}

/* 2. Step Icon Box in How It Works */
.step-icon-box {
    width: 46px;
    height: 46px;
    border-radius: 12px;
    background: linear-gradient(135deg, #00A3FF 0%, #0077CC 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    flex-shrink: 0;
    box-shadow: 0 4px 16px rgba(0, 163, 255, 0.3);
}

.how-it-works-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(6, 14, 26, 0.75) 0%, rgba(6, 14, 26, 0.9) 100%);
    pointer-events: none;
}

/* 3. CTA Master Card */
.cta-master-card {
    background: linear-gradient(135deg, rgba(15, 30, 55, 0.85) 0%, rgba(6, 14, 26, 0.95) 100%);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6), 0 0 50px rgba(0, 163, 255, 0.1);
}

.cta-master-bg {
    position: absolute;
    top: -50%;
    right: -20%;
    width: 450px;
    height: 450px;
    background: radial-gradient(circle, rgba(0, 163, 255, 0.15) 0%, transparent 70%);
    filter: blur(50px);
    pointer-events: none;
}

/* 4. Pricing Card Solid Button */
.btn-choose.solid {
    background: var(--nordic-blue);
    color: #fff;
    border: none;
    box-shadow: 0 4px 20px rgba(0, 163, 255, 0.35);
}

.btn-choose.solid:hover {
    background: #0088dd;
    box-shadow: 0 6px 28px rgba(0, 163, 255, 0.5);
    transform: translateY(-2px);
}

/* Responsive adjustments matching phone mockup */
@media (max-width: 991px) {
    .channels-photo-grid {
        grid-template-columns: repeat(3, 1fr) !important;
        gap: 12px !important;
    }
    .how-it-works-panel .steps-grid {
        grid-template-columns: 1fr !important;
        gap: 20px !important;
    }
}

@media (max-width: 640px) {
    .channels-photo-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 10px !important;
    }
    .channels-photo-card:last-child {
        grid-column: span 2;
        max-width: 60%;
        margin: 0 auto;
    }
    .how-it-works-master-card {
        border-radius: 16px !important;
        min-height: auto !important;
    }
    .how-it-works-header {
        padding: 28px 20px 16px !important;
    }
    .how-it-works-panel {
        margin: 0 14px 18px !important;
        padding: 18px 16px !important;
        border-radius: 14px !important;
    }
    .step-icon-box {
        width: 40px !important;
        height: 40px !important;
        border-radius: 10px !important;
    }
}

/* ═══════════════════════════════════════════
   ACCESSIBILITY & INTERACTIVE UX ENHANCEMENTS
   ═══════════════════════════════════════════ */

/* Focus Visible */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
[role="button"]:focus-visible {
    outline: 2px solid var(--nordic-blue) !important;
    outline-offset: 3px !important;
}

/* Minimum Touch Targets */
@media (max-width: 768px) {
    .btn-primary,
    .btn-secondary,
    .faq-question,
    .nav-link {
        min-height: 44px;
    }
}

/* Plan Comparison Table */
.section-comparison table th,
.section-comparison table td {
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.section-comparison table tr:hover td {
    background: rgba(0, 163, 255, 0.04);
}

/* Free Trial Page Form Elements */
#iptv4k-trial-form input:focus,
#iptv4k-trial-form select:focus {
    border-color: var(--nordic-blue);
    box-shadow: 0 0 12px rgba(0, 163, 255, 0.25);
}

/* ═══════════════════════════════════════════
   STREAMLINED CHECKOUT PAGE STYLING
   ═══════════════════════════════════════════ */
.woocommerce-checkout,
.woocommerce-cart,
.woocommerce-order-received {
    background: #040812;
    min-height: 100vh;
}

.woocommerce-checkout #main-content,
.woocommerce-cart #main-content,
.woocommerce-order-received #main-content {
    padding-top: 130px !important;
    padding-bottom: 80px !important;
    max-width: 1200px;
    margin: 0 auto;
    padding-left: 20px;
    padding-right: 20px;
}

.woocommerce-checkout h3,
.woocommerce-checkout h2 {
    color: #ffffff !important;
    font-family: var(--font-display) !important;
    font-weight: 700 !important;
    margin-bottom: 20px !important;
}

.woocommerce-checkout .woocommerce-billing-fields h3 {
    font-size: 1.5rem !important;
    position: relative;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.woocommerce-checkout #order_review_heading {
    font-size: 1.5rem !important;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.woocommerce form.checkout {
    margin-top: 24px;
}

.woocommerce form .form-row select {
    background-color: #0d1829 !important;
    color: #e2e8f0 !important;
    border: 1px solid rgba(255, 255, 255, 0.15) !important;
    border-radius: 12px !important;
    height: 48px;
    cursor: pointer;
}

.woocommerce form .form-row select option {
    background-color: #0d1829 !important;
    color: #ffffff !important;
}

.woocommerce form .form-row input.input-text,
.woocommerce form .form-row textarea {
    background-color: rgba(13, 24, 41, 0.7) !important;
    border: 1px solid rgba(255, 255, 255, 0.12) !important;
    color: #ffffff !important;
    border-radius: 12px !important;
    padding: 12px 16px !important;
    font-size: 0.95rem !important;
}

.woocommerce form .form-row input.input-text:focus,
.woocommerce form .form-row select:focus,
.woocommerce form .form-row textarea:focus {
    border-color: #00A3FF !important;
    background-color: #0d1829 !important;
    box-shadow: 0 0 0 3px rgba(0, 163, 255, 0.2) !important;
}

.woocommerce form .form-row label {
    color: #cbd5e1 !important;
    font-weight: 600 !important;
    margin-bottom: 6px !important;
    display: block !important;
}

.woocommerce form .form-row .description {
    color: #94a3b8 !important;
    font-size: 0.8rem !important;
    margin-top: 4px !important;
}

.woocommerce table.shop_table {
    background: rgba(13, 24, 41, 0.6) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    border-radius: 14px !important;
}

.woocommerce table.shop_table th {
    color: #94a3b8 !important;
    font-weight: 600 !important;
    font-size: 0.85rem !important;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.woocommerce table.shop_table td {
    color: #ffffff !important;
}

.woocommerce-checkout #payment {
    background: rgba(13, 24, 41, 0.8) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    border-radius: 14px !important;
    padding: 20px !important;
}

.woocommerce-checkout #payment ul.payment_methods {
    border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
    padding-bottom: 16px !important;
}

.woocommerce-checkout #payment label {
    color: #ffffff !important;
    font-weight: 600 !important;
}

.woocommerce-checkout #place_order {
    width: 100% !important;
    padding: 16px 24px !important;
    font-size: 1.05rem !important;
    font-weight: 700 !important;
    border-radius: 12px !important;
    margin-top: 16px !important;
    cursor: pointer;
}
