/* ==========================================================================
   NT5 Diretorio - IPTV Guide Pages Shared Stylesheet
   iptv-styles.css

   Comprehensive CSS for all IPTV guide/article pages including:
   - Global reset & typography
   - Header with glassmorphism
   - Breadcrumb navigation
   - Hero sections
   - Content layout (sidebar + main)
   - Table of Contents
   - Content boxes (highlight, info, warning)
   - Feature grids & cards
   - Comparison tables
   - Steps/process sections
   - FAQ accordion
   - Related pages grid
   - CTA sections
   - Footer
   - Floating mobile CTA
   - Buttons
   - Animations & utilities
   - Responsive breakpoints
   ========================================================================== */


/* ==========================================================================
   1. CSS CUSTOM PROPERTIES (Design Tokens)
   ========================================================================== */

:root {
    /* Primary palette */
    --primary: #00ff88;
    --primary-light: #33ffaa;
    --primary-dark: #00cc6a;
    --primary-glow: rgba(0, 255, 136, 0.4);
    --primary-glow-soft: rgba(0, 255, 136, 0.15);
    --primary-glow-subtle: rgba(0, 255, 136, 0.08);

    /* Secondary & accent */
    --secondary: #00d9ff;
    --secondary-glow: rgba(0, 217, 255, 0.4);
    --secondary-glow-soft: rgba(0, 217, 255, 0.15);
    --accent: #ff00ff;
    --accent-glow: rgba(255, 0, 255, 0.4);
    --accent-glow-soft: rgba(255, 0, 255, 0.15);
    --emerald: #34d399;

    /* Backgrounds */
    --bg-deep: #0a0e27;
    --bg-primary: #0d1233;
    --bg-secondary: #111640;
    --bg-card: #161b4a;
    --bg-card-hover: #1a2055;
    --bg-elevated: #1e2460;

    /* Glassmorphism */
    --glass-bg: rgba(10, 14, 39, 0.85);
    --glass-bg-light: rgba(10, 14, 39, 0.6);
    --glass-bg-heavy: rgba(10, 14, 39, 0.95);
    --glass-border: rgba(0, 255, 136, 0.08);
    --glass-border-hover: rgba(0, 255, 136, 0.2);
    --glass-border-active: rgba(0, 255, 136, 0.35);

    /* Text */
    --text-primary: #ffffff;
    --text-secondary: #b8c5d6;
    --text-muted: #6b7c96;
    --text-dim: #4a5568;

    /* Spacing */
    --header-height: 80px;
    --sidebar-width: 260px;
    --content-max-width: 1200px;
    --section-padding: 80px;
    --section-padding-mobile: 48px;

    /* Borders */
    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-pill: 999px;

    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.2);
    --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.3);
    --shadow-lg: 0 12px 40px rgba(0, 0, 0, 0.4);
    --shadow-glow: 0 0 30px rgba(0, 255, 136, 0.15);
    --shadow-glow-strong: 0 0 60px rgba(0, 255, 136, 0.25);

    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-base: 0.3s ease;
    --transition-smooth: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-bounce: 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}


/* ==========================================================================
   2. GLOBAL RESET & BASE STYLES
   ========================================================================== */

*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
    scroll-behavior: smooth;
    scroll-padding-top: calc(var(--header-height) + 24px);
}

body {
    font-family: 'Lexend', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background-color: var(--bg-deep);
    background-image:
        radial-gradient(ellipse at 20% 50%, rgba(0, 255, 136, 0.04) 0%, transparent 60%),
        radial-gradient(ellipse at 80% 20%, rgba(0, 217, 255, 0.04) 0%, transparent 60%),
        radial-gradient(ellipse at 50% 80%, rgba(255, 0, 255, 0.02) 0%, transparent 60%);
    background-attachment: fixed;
    color: var(--text-primary);
    line-height: 1.7;
    overflow-x: hidden;
    position: relative;
    min-height: 100vh;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

ul, ol {
    list-style: none;
}

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
    color: inherit;
}

input, textarea, select {
    font-family: inherit;
}

::selection {
    background: rgba(0, 255, 136, 0.3);
    color: var(--text-primary);
}

::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg-deep);
}

::-webkit-scrollbar-thumb {
    background: var(--bg-card);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-dark);
}


/* ==========================================================================
   3. UTILITY CONTAINER
   ========================================================================== */

.container {
    max-width: var(--content-max-width);
    margin: 0 auto;
    padding: 0 24px;
}


/* ==========================================================================
   4. HEADER
   ========================================================================== */

.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: var(--glass-bg);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-bottom: 1px solid var(--glass-border);
    box-shadow: var(--shadow-md);
    transition: all var(--transition-base);
}

.header.scrolled {
    background: var(--glass-bg-heavy);
    box-shadow: var(--shadow-md), var(--shadow-glow);
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: var(--header-height);
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    max-width: var(--content-max-width);
    margin: 0 auto;
    padding: 0 24px;
    height: var(--header-height);
}

/* Logo */
.logo-container {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.logo-container:hover .logo-text {
    text-shadow: 0 0 20px var(--primary-glow);
}

.logo {
    width: 44px;
    height: 44px;
    flex-shrink: 0;
}

.logo-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3px;
    width: 100%;
    height: 100%;
}

.logo-grid span {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    border-radius: 3px;
    box-shadow: 0 0 10px var(--primary-glow);
    animation: logoGridPulse 3s ease-in-out infinite;
}

.logo-grid span:nth-child(1) { animation-delay: 0s; }
.logo-grid span:nth-child(2) { animation-delay: 0.15s; }
.logo-grid span:nth-child(3) { animation-delay: 0.3s; }
.logo-grid span:nth-child(4) { animation-delay: 0.45s; }
.logo-grid span:nth-child(5) { animation-delay: 0.6s; }
.logo-grid span:nth-child(6) { animation-delay: 0.75s; }
.logo-grid span:nth-child(7) { animation-delay: 0.9s; }
.logo-grid span:nth-child(8) { animation-delay: 1.05s; }
.logo-grid span:nth-child(9) { animation-delay: 1.2s; }

@keyframes logoGridPulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.6; transform: scale(0.95); }
}

.logo-text {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--primary);
    letter-spacing: -0.5px;
    transition: text-shadow var(--transition-base);
}

.logo-sub {
    font-size: 0.75rem;
    font-weight: 300;
    color: var(--text-secondary);
    display: block;
    margin-top: -2px;
    letter-spacing: 1px;
    text-transform: uppercase;
}

/* Navigation */
.nav {
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    padding: 8px 16px;
    border-radius: var(--radius-md);
    transition: all var(--transition-base);
    position: relative;
}

.nav a:hover {
    color: var(--primary);
    background: rgba(0, 255, 136, 0.05);
}

.nav a::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    border-radius: 1px;
    transition: width var(--transition-base);
}

.nav a:hover::after {
    width: 60%;
}

.nav a.active {
    color: var(--primary);
}

.nav a.active::after {
    width: 60%;
}

/* Hamburger Menu */
.hamburger {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    width: 40px;
    height: 40px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 1010;
    border-radius: var(--radius-sm);
    transition: background var(--transition-fast);
}

.hamburger:hover {
    background: rgba(0, 255, 136, 0.05);
}

.hamburger span {
    display: block;
    width: 24px;
    height: 2px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    border-radius: 2px;
    transition: all var(--transition-base);
    transform-origin: center;
}

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

.hamburger.active span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}

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

/* Mobile menu overlay */
.mobile-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    z-index: 998;
    opacity: 0;
    transition: opacity var(--transition-base);
}

.mobile-overlay.active {
    display: block;
    opacity: 1;
}

.mobile-nav {
    position: fixed;
    top: 0;
    right: -300px;
    width: 280px;
    height: 100vh;
    background: var(--glass-bg-heavy);
    backdrop-filter: blur(20px);
    border-left: 1px solid var(--glass-border);
    box-shadow: -8px 0 32px rgba(0, 0, 0, 0.5);
    z-index: 1005;
    padding: calc(var(--header-height) + 24px) 24px 24px;
    transition: right var(--transition-smooth);
    overflow-y: auto;
}

.mobile-nav.active {
    right: 0;
}

.mobile-nav a {
    display: block;
    padding: 14px 16px;
    color: var(--text-secondary);
    font-size: 1rem;
    font-weight: 500;
    border-radius: var(--radius-md);
    margin-bottom: 4px;
    transition: all var(--transition-base);
}

.mobile-nav a:hover,
.mobile-nav a.active {
    color: var(--primary);
    background: rgba(0, 255, 136, 0.05);
}


/* ==========================================================================
   5. BREADCRUMB
   ========================================================================== */

.breadcrumb {
    padding-top: calc(var(--header-height) + 20px);
    padding-bottom: 0;
}

.breadcrumb-inner {
    max-width: var(--content-max-width);
    margin: 0 auto;
    padding: 0 24px;
}

.breadcrumb-list {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0;
    list-style: none;
    font-size: 0.85rem;
}

.breadcrumb-list li {
    display: flex;
    align-items: center;
    color: var(--text-muted);
}

.breadcrumb-list li + li::before {
    content: '/';
    margin: 0 10px;
    color: var(--text-dim);
    font-weight: 300;
}

.breadcrumb-list li a {
    color: var(--text-muted);
    text-decoration: none;
    transition: color var(--transition-fast);
}

.breadcrumb-list li a:hover {
    color: var(--primary);
}

.breadcrumb-list li.current {
    color: var(--text-secondary);
    font-weight: 500;
}

.breadcrumb-list li.current a {
    color: var(--text-secondary);
    pointer-events: none;
}


/* ==========================================================================
   6. IPTV HERO SECTION
   ========================================================================== */

.iptv-hero {
    position: relative;
    padding: calc(var(--header-height) + 60px) 0 60px;
    overflow: hidden;
    background:
        linear-gradient(180deg, var(--bg-deep) 0%, var(--bg-primary) 50%, var(--bg-deep) 100%);
}

.iptv-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        radial-gradient(ellipse at 30% 40%, rgba(0, 255, 136, 0.06) 0%, transparent 55%),
        radial-gradient(ellipse at 70% 60%, rgba(0, 217, 255, 0.05) 0%, transparent 55%),
        radial-gradient(ellipse at 50% 20%, rgba(255, 0, 255, 0.03) 0%, transparent 50%);
    pointer-events: none;
    z-index: 0;
}

.iptv-hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 120px;
    background: linear-gradient(to top, var(--bg-deep), transparent);
    pointer-events: none;
    z-index: 1;
}

.hero-inner {
    position: relative;
    z-index: 2;
    max-width: 900px;
    margin: 0 auto;
    padding: 0 24px;
    text-align: center;
}

/* Hero Badge */
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 20px;
    background: rgba(0, 255, 136, 0.08);
    border: 1px solid rgba(0, 255, 136, 0.2);
    border-radius: var(--radius-pill);
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--primary);
    letter-spacing: 0.5px;
    text-transform: uppercase;
    margin-bottom: 24px;
}

.hero-badge-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--primary);
    box-shadow: 0 0 8px var(--primary-glow);
    animation: badgeDotPulse 2s ease-in-out infinite;
}

@keyframes badgeDotPulse {
    0%, 100% { opacity: 1; box-shadow: 0 0 8px var(--primary-glow); }
    50% { opacity: 0.5; box-shadow: 0 0 16px var(--primary-glow); }
}

/* Hero Title */
.iptv-hero h1 {
    font-size: 3rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 20px;
    color: var(--text-primary);
    letter-spacing: -1px;
}

.iptv-hero h1 .highlight {
    color: var(--primary);
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.iptv-hero h1 .highlight-secondary {
    color: var(--secondary);
    background: linear-gradient(135deg, var(--secondary) 0%, #66e8ff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Hero Subtitle */
.hero-subtitle {
    font-size: 1.15rem;
    line-height: 1.7;
    color: var(--text-secondary);
    max-width: 700px;
    margin: 0 auto 32px;
    font-weight: 400;
}

/* Hero Trust Badges */
.hero-badges {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 24px;
    margin-bottom: 36px;
}

.hero-badges .badge-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    color: var(--text-secondary);
    font-weight: 500;
}

.hero-badges .badge-item svg {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    color: var(--primary);
    fill: currentColor;
}

.hero-badges .badge-item .badge-icon {
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 1rem;
}

/* Hero CTA Buttons */
.hero-cta {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

/* Glow effects for hero */
.hero-glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    pointer-events: none;
    z-index: 0;
}

.hero-glow-1 {
    top: 10%;
    left: 15%;
    width: 300px;
    height: 300px;
    background: rgba(0, 255, 136, 0.06);
}

.hero-glow-2 {
    bottom: 20%;
    right: 10%;
    width: 250px;
    height: 250px;
    background: rgba(0, 217, 255, 0.05);
}

.hero-glow-3 {
    top: 40%;
    right: 30%;
    width: 200px;
    height: 200px;
    background: rgba(255, 0, 255, 0.03);
}

/* Hero with breadcrumb spacing variant */
.iptv-hero.has-breadcrumb {
    padding-top: calc(var(--header-height) + 20px);
}


/* ==========================================================================
   7. CONTENT LAYOUT (Sidebar + Main)
   ========================================================================== */

.content-layout {
    display: grid;
    grid-template-columns: var(--sidebar-width) 1fr;
    gap: 48px;
    max-width: var(--content-max-width);
    margin: 0 auto;
    padding: 48px 24px 80px;
    align-items: start;
}

.content-layout.no-sidebar {
    grid-template-columns: 1fr;
    max-width: 860px;
}

.content-layout.sidebar-right {
    grid-template-columns: 1fr var(--sidebar-width);
}


/* ==========================================================================
   8. SIDEBAR
   ========================================================================== */

.sidebar {
    position: sticky;
    top: calc(var(--header-height) + 24px);
    max-height: calc(100vh - var(--header-height) - 48px);
    overflow-y: auto;
    padding-right: 8px;
}

.sidebar::-webkit-scrollbar {
    width: 3px;
}

.sidebar::-webkit-scrollbar-thumb {
    background: var(--bg-card);
    border-radius: 3px;
}

/* Table of Contents */
.toc {
    background: var(--bg-card);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    padding: 24px;
    margin-bottom: 24px;
}

.toc h4,
.toc-title {
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--text-muted);
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--glass-border);
}

.toc-list {
    list-style: none;
}

.toc-list li {
    margin-bottom: 4px;
}

.toc-list li a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 12px;
    font-size: 0.85rem;
    color: var(--text-secondary);
    text-decoration: none;
    border-radius: var(--radius-sm);
    transition: all var(--transition-fast);
    border-left: 2px solid transparent;
    line-height: 1.4;
}

.toc-list li a:hover {
    color: var(--primary);
    background: rgba(0, 255, 136, 0.04);
    border-left-color: rgba(0, 255, 136, 0.3);
}

.toc-list li a.active {
    color: var(--primary);
    background: rgba(0, 255, 136, 0.06);
    border-left-color: var(--primary);
    font-weight: 600;
}

.toc-list li a .toc-number {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--text-muted);
    min-width: 20px;
}

.toc-list li a.active .toc-number {
    color: var(--primary);
}

/* Nested TOC */
.toc-list li ul {
    list-style: none;
    padding-left: 20px;
    margin-top: 4px;
}

.toc-list li ul li a {
    font-size: 0.8rem;
    padding: 6px 12px;
}

/* Sidebar CTA */
.sidebar-cta {
    background: linear-gradient(135deg, rgba(0, 255, 136, 0.06), rgba(0, 217, 255, 0.04));
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    padding: 24px;
    text-align: center;
}

.sidebar-cta h4 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.sidebar-cta p {
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-bottom: 16px;
    line-height: 1.6;
}

.sidebar-cta .btn {
    width: 100%;
    justify-content: center;
    font-size: 0.85rem;
    padding: 10px 20px;
}

/* Sidebar info box */
.sidebar-info {
    background: var(--bg-card);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    padding: 20px;
    margin-bottom: 24px;
}

.sidebar-info h4 {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 12px;
}

.sidebar-info ul {
    list-style: none;
}

.sidebar-info ul li {
    font-size: 0.85rem;
    color: var(--text-secondary);
    padding: 6px 0;
    display: flex;
    align-items: flex-start;
    gap: 8px;
    line-height: 1.5;
}

.sidebar-info ul li::before {
    content: '';
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--primary);
    flex-shrink: 0;
    margin-top: 7px;
}


/* ==========================================================================
   9. MAIN CONTENT
   ========================================================================== */

.main-content {
    min-width: 0;
    max-width: 100%;
}

/* Content Sections */
.content-section {
    margin-bottom: 56px;
}

.content-section:last-child {
    margin-bottom: 0;
}

.section-number {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 8px;
}

.content-section h2 {
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 16px;
    line-height: 1.3;
    letter-spacing: -0.5px;
}

.content-section h3 {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-top: 32px;
    margin-bottom: 12px;
    line-height: 1.4;
}

.content-section h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-top: 24px;
    margin-bottom: 10px;
    line-height: 1.4;
}

.content-section p {
    font-size: 1rem;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 16px;
}

.content-section p:last-child {
    margin-bottom: 0;
}

.content-section strong {
    color: var(--text-primary);
    font-weight: 600;
}

.content-section em {
    color: var(--primary-light);
    font-style: italic;
}

.content-section a {
    color: var(--primary);
    text-decoration: none;
    font-weight: 500;
    border-bottom: 1px solid rgba(0, 255, 136, 0.3);
    transition: all var(--transition-fast);
}

.content-section a:hover {
    color: var(--primary-light);
    border-bottom-color: var(--primary);
}

/* Unordered lists in content */
.content-section ul {
    list-style: none;
    margin-bottom: 20px;
    padding-left: 0;
}

.content-section ul li {
    position: relative;
    padding-left: 24px;
    margin-bottom: 10px;
    font-size: 1rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

.content-section ul li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 10px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--primary);
    opacity: 0.6;
}

/* Ordered lists in content */
.content-section ol {
    list-style: none;
    counter-reset: ol-counter;
    margin-bottom: 20px;
    padding-left: 0;
}

.content-section ol li {
    position: relative;
    padding-left: 36px;
    margin-bottom: 12px;
    font-size: 1rem;
    color: var(--text-secondary);
    line-height: 1.7;
    counter-increment: ol-counter;
}

.content-section ol li::before {
    content: counter(ol-counter);
    position: absolute;
    left: 0;
    top: 0;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: rgba(0, 255, 136, 0.1);
    border: 1px solid rgba(0, 255, 136, 0.2);
    color: var(--primary);
    font-size: 0.75rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

/* Blockquote in content */
.content-section blockquote {
    margin: 24px 0;
    padding: 20px 24px;
    border-left: 3px solid var(--primary);
    background: rgba(0, 255, 136, 0.04);
    border-radius: 0 var(--radius-md) var(--radius-md) 0;
    font-style: italic;
    color: var(--text-secondary);
}

.content-section blockquote p {
    margin-bottom: 0;
}

/* Code in content */
.content-section code {
    font-family: 'Fira Code', 'JetBrains Mono', monospace;
    font-size: 0.88em;
    background: rgba(0, 255, 136, 0.08);
    border: 1px solid rgba(0, 255, 136, 0.12);
    border-radius: var(--radius-sm);
    padding: 2px 8px;
    color: var(--primary-light);
}

.content-section pre {
    margin: 24px 0;
    padding: 20px 24px;
    background: var(--bg-card);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-md);
    overflow-x: auto;
}

.content-section pre code {
    background: none;
    border: none;
    padding: 0;
    font-size: 0.85rem;
    line-height: 1.6;
    color: var(--text-secondary);
}

/* Horizontal rule */
.content-section hr {
    border: none;
    height: 1px;
    background: var(--glass-border);
    margin: 40px 0;
}

/* Section divider */
.section-divider {
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    border-radius: 2px;
    margin: 40px 0;
}


/* ==========================================================================
   10. CONTENT BOXES (Highlight, Info, Warning)
   ========================================================================== */

.highlight-box,
.info-box,
.warning-box,
.success-box,
.tip-box {
    padding: 20px 24px;
    margin: 24px 0;
    border-radius: var(--radius-md);
    border-left: 4px solid;
    font-size: 0.95rem;
    line-height: 1.7;
}

.highlight-box p,
.info-box p,
.warning-box p,
.success-box p,
.tip-box p {
    margin-bottom: 8px;
    color: inherit;
}

.highlight-box p:last-child,
.info-box p:last-child,
.warning-box p:last-child,
.success-box p:last-child,
.tip-box p:last-child {
    margin-bottom: 0;
}

/* Highlight box - green */
.highlight-box {
    background: rgba(0, 255, 136, 0.04);
    border-left-color: var(--primary);
    color: var(--text-secondary);
}

.highlight-box strong {
    color: var(--primary);
}

.highlight-box .box-title {
    color: var(--primary);
    font-weight: 700;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
}

/* Info box - blue/cyan */
.info-box {
    background: rgba(0, 217, 255, 0.04);
    border-left-color: var(--secondary);
    color: var(--text-secondary);
}

.info-box strong {
    color: var(--secondary);
}

.info-box .box-title {
    color: var(--secondary);
    font-weight: 700;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
}

/* Warning box - magenta/accent */
.warning-box {
    background: rgba(255, 0, 255, 0.04);
    border-left-color: var(--accent);
    color: var(--text-secondary);
}

.warning-box strong {
    color: var(--accent);
}

.warning-box .box-title {
    color: var(--accent);
    font-weight: 700;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
}

/* Success box - emerald */
.success-box {
    background: rgba(52, 211, 153, 0.04);
    border-left-color: var(--emerald);
    color: var(--text-secondary);
}

.success-box strong {
    color: var(--emerald);
}

.success-box .box-title {
    color: var(--emerald);
    font-weight: 700;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
}

/* Tip box - primary */
.tip-box {
    background: rgba(0, 255, 136, 0.04);
    border-left-color: var(--primary-light);
    color: var(--text-secondary);
}

.tip-box .box-title {
    color: var(--primary-light);
    font-weight: 700;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
}

/* Boxed content (icon version) */
.content-box {
    padding: 24px;
    margin: 24px 0;
    border-radius: var(--radius-lg);
    border: 1px solid var(--glass-border);
    background: var(--bg-card);
}

.content-box-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

.content-box-icon {
    width: 36px;
    height: 36px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.content-box-icon.green {
    background: rgba(0, 255, 136, 0.1);
    color: var(--primary);
}

.content-box-icon.blue {
    background: rgba(0, 217, 255, 0.1);
    color: var(--secondary);
}

.content-box-icon.magenta {
    background: rgba(255, 0, 255, 0.1);
    color: var(--accent);
}

.content-box-title {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-primary);
}


/* ==========================================================================
   11. FEATURE GRID & CARDS
   ========================================================================== */

.feature-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin: 28px 0;
}

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

.feature-grid.cols-1 {
    grid-template-columns: 1fr;
}

.feature-card {
    background: var(--bg-card);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    padding: 24px;
    transition: all var(--transition-smooth);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 255, 136, 0.03), transparent);
    opacity: 0;
    transition: opacity var(--transition-base);
}

.feature-card:hover {
    border-color: var(--glass-border-hover);
    box-shadow: var(--shadow-glow);
    transform: translateY(-4px);
}

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

.feature-card-icon {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-md);
    background: rgba(0, 255, 136, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 16px;
    position: relative;
    z-index: 1;
}

.feature-card-icon.blue {
    background: rgba(0, 217, 255, 0.08);
}

.feature-card-icon.magenta {
    background: rgba(255, 0, 255, 0.08);
}

.feature-card-icon.emerald {
    background: rgba(52, 211, 153, 0.08);
}

.feature-card h3 {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 8px;
    position: relative;
    z-index: 1;
}

.feature-card p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.6;
    position: relative;
    z-index: 1;
}

.feature-card .feature-tag {
    display: inline-block;
    margin-top: 12px;
    padding: 4px 10px;
    font-size: 0.72rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--primary);
    background: rgba(0, 255, 136, 0.08);
    border-radius: var(--radius-pill);
    position: relative;
    z-index: 1;
}

/* Feature card - list variant */
.feature-card-list {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    background: var(--bg-card);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    padding: 20px;
    transition: all var(--transition-smooth);
}

.feature-card-list:hover {
    border-color: var(--glass-border-hover);
    box-shadow: var(--shadow-glow);
}

.feature-card-list .feature-card-icon {
    margin-bottom: 0;
    flex-shrink: 0;
}

.feature-card-list .feature-card-body h3 {
    font-size: 1rem;
    margin-bottom: 4px;
}

.feature-card-list .feature-card-body p {
    font-size: 0.85rem;
}

/* Checklist card */
.checklist-card {
    background: var(--bg-card);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    padding: 24px;
    margin: 20px 0;
}

.checklist-card h4 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 16px;
}

.checklist {
    list-style: none;
}

.checklist li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 8px 0;
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

.checklist li .check-icon {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: rgba(0, 255, 136, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-top: 1px;
    color: var(--primary);
    font-size: 0.7rem;
}

.checklist li .cross-icon {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: rgba(255, 107, 107, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-top: 1px;
    color: #ff6b6b;
    font-size: 0.7rem;
}


/* ==========================================================================
   12. COMPARISON TABLE
   ========================================================================== */

.comparison-table-wrapper {
    margin: 28px 0;
    border-radius: var(--radius-lg);
    border: 1px solid var(--glass-border);
    overflow: hidden;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.comparison-table-wrapper::-webkit-scrollbar {
    height: 6px;
}

.comparison-table-wrapper::-webkit-scrollbar-track {
    background: var(--bg-card);
}

.comparison-table-wrapper::-webkit-scrollbar-thumb {
    background: var(--bg-elevated);
    border-radius: 3px;
}

.comparison-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 600px;
    font-size: 0.9rem;
}

.comparison-table thead {
    background: linear-gradient(135deg, rgba(0, 255, 136, 0.1), rgba(0, 217, 255, 0.05));
}

.comparison-table thead th {
    padding: 16px 20px;
    text-align: left;
    font-weight: 700;
    font-size: 0.85rem;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-bottom: 2px solid rgba(0, 255, 136, 0.15);
    white-space: nowrap;
}

.comparison-table thead th:first-child {
    padding-left: 24px;
}

.comparison-table tbody tr {
    border-bottom: 1px solid var(--glass-border);
    transition: background var(--transition-fast);
}

.comparison-table tbody tr:last-child {
    border-bottom: none;
}

.comparison-table tbody tr:nth-child(even) {
    background: rgba(0, 255, 136, 0.015);
}

.comparison-table tbody tr:hover {
    background: rgba(0, 255, 136, 0.04);
}

.comparison-table tbody td {
    padding: 14px 20px;
    color: var(--text-secondary);
    vertical-align: middle;
    line-height: 1.5;
}

.comparison-table tbody td:first-child {
    padding-left: 24px;
    font-weight: 600;
    color: var(--text-primary);
}

.comparison-table .check {
    color: var(--primary);
    font-weight: 700;
    font-size: 1.1rem;
}

.comparison-table .cross {
    color: #ff6b6b;
    font-weight: 700;
    font-size: 1.1rem;
}

.comparison-table .highlight-cell {
    background: rgba(0, 255, 136, 0.04);
    color: var(--primary);
    font-weight: 600;
}

/* Comparison table - highlighted column */
.comparison-table .col-highlight {
    background: rgba(0, 255, 136, 0.03);
}

.comparison-table thead .col-highlight {
    background: rgba(0, 255, 136, 0.15);
    color: var(--primary);
}

/* Simple comparison rows layout */
.comparison-rows {
    margin: 24px 0;
    border-radius: var(--radius-lg);
    border: 1px solid var(--glass-border);
    overflow: hidden;
}

.comparison-row {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    border-bottom: 1px solid var(--glass-border);
}

.comparison-row:last-child {
    border-bottom: none;
}

.comparison-row.row-header {
    background: linear-gradient(135deg, rgba(0, 255, 136, 0.1), rgba(0, 217, 255, 0.05));
}

.comparison-row.row-header .comparison-cell {
    font-weight: 700;
    color: var(--primary);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.comparison-cell {
    padding: 16px 20px;
    text-align: center;
    color: var(--text-secondary);
    font-size: 0.9rem;
    border-right: 1px solid var(--glass-border);
}

.comparison-cell:last-child {
    border-right: none;
}

.comparison-cell.cell-label {
    text-align: left;
    font-weight: 600;
    color: var(--text-primary);
}

.comparison-cell.cell-highlight {
    background: rgba(0, 255, 136, 0.04);
    color: var(--primary);
    font-weight: 600;
}


/* ==========================================================================
   13. STEPS / PROCESS SECTIONS
   ========================================================================== */

.steps-grid {
    display: flex;
    flex-direction: column;
    gap: 0;
    margin: 28px 0;
    position: relative;
}

.step-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding: 24px 0;
    position: relative;
}

.step-item + .step-item {
    border-top: 1px solid var(--glass-border);
}

/* Step number with connector line */
.step-number-circle {
    width: 44px;
    height: 44px;
    min-width: 44px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(0, 255, 136, 0.15), rgba(0, 217, 255, 0.1));
    border: 2px solid var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    font-weight: 800;
    color: var(--primary);
    position: relative;
    z-index: 2;
    flex-shrink: 0;
}

/* Visual connector line */
.steps-grid.has-connector .step-item:not(:last-child)::after {
    content: '';
    position: absolute;
    left: 21px;
    top: 68px;
    width: 2px;
    height: calc(100% - 68px + 24px);
    background: linear-gradient(to bottom, var(--primary), rgba(0, 255, 136, 0.1));
    z-index: 1;
}

.step-body h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 6px;
    line-height: 1.4;
}

.step-body p {
    font-size: 0.92rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 0;
}

.step-body .step-note {
    display: inline-block;
    margin-top: 8px;
    font-size: 0.8rem;
    color: var(--text-muted);
    font-style: italic;
}

/* Steps - horizontal variant */
.steps-horizontal {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 24px;
    margin: 28px 0;
}

.step-h-item {
    text-align: center;
    position: relative;
    padding: 24px 16px;
    background: var(--bg-card);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    transition: all var(--transition-smooth);
}

.step-h-item:hover {
    border-color: var(--glass-border-hover);
    box-shadow: var(--shadow-glow);
    transform: translateY(-3px);
}

.step-h-number {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: var(--bg-deep);
    font-size: 1rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 14px;
}

.step-h-item h4 {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 6px;
}

.step-h-item p {
    font-size: 0.82rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

/* Arrow connector between horizontal steps */
.step-h-item:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 40px;
    right: -14px;
    width: 0;
    height: 0;
    border-top: 6px solid transparent;
    border-bottom: 6px solid transparent;
    border-left: 8px solid var(--primary);
    z-index: 5;
    opacity: 0.5;
}


/* ==========================================================================
   14. FAQ SECTION (Accordion)
   ========================================================================== */

.faq-section {
    margin: 48px 0;
}

.faq-section-title {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 24px;
    text-align: center;
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: var(--bg-card);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-md);
    margin-bottom: 12px;
    overflow: hidden;
    transition: border-color var(--transition-base);
}

.faq-item:hover {
    border-color: var(--glass-border-hover);
}

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

.faq-question {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    padding: 18px 24px;
    background: none;
    border: none;
    cursor: pointer;
    text-align: left;
    font-family: 'Lexend', sans-serif;
    transition: background var(--transition-fast);
}

.faq-question:hover {
    background: rgba(0, 255, 136, 0.02);
}

.faq-question h3,
.faq-question span.faq-q-text {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-primary);
    line-height: 1.4;
    margin: 0;
}

.faq-item.active .faq-question h3,
.faq-item.active .faq-question span.faq-q-text {
    color: var(--primary);
}

.faq-arrow {
    width: 28px;
    height: 28px;
    min-width: 28px;
    border-radius: 50%;
    background: rgba(0, 255, 136, 0.06);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-base);
    color: var(--text-muted);
    font-size: 0.85rem;
}

.faq-item.active .faq-arrow {
    background: rgba(0, 255, 136, 0.12);
    color: var(--primary);
    transform: rotate(180deg);
}

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

.faq-item.active .faq-answer {
    max-height: 1000px;
    transition: max-height 0.5s cubic-bezier(0, 0.6, 0.4, 1);
}

.faq-answer-inner {
    padding: 0 24px 20px;
}

.faq-answer p,
.faq-answer-inner p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 10px;
}

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

.faq-answer a,
.faq-answer-inner a {
    color: var(--primary);
    text-decoration: none;
    border-bottom: 1px solid rgba(0, 255, 136, 0.3);
    transition: all var(--transition-fast);
}

.faq-answer a:hover,
.faq-answer-inner a:hover {
    color: var(--primary-light);
    border-bottom-color: var(--primary);
}

/* FAQ Icon variant (plus/minus) */
.faq-icon {
    font-size: 1.2rem;
    color: var(--text-muted);
    transition: all var(--transition-base);
    min-width: 20px;
    text-align: center;
}

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


/* ==========================================================================
   15. RELATED PAGES SECTION
   ========================================================================== */

.related-section {
    padding: 64px 0;
    margin-top: 48px;
    border-top: 1px solid var(--glass-border);
}

.related-section-inner {
    max-width: var(--content-max-width);
    margin: 0 auto;
    padding: 0 24px;
}

.related-section h2,
.related-title {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 8px;
    text-align: center;
}

.related-subtitle {
    font-size: 1rem;
    color: var(--text-secondary);
    text-align: center;
    margin-bottom: 36px;
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.related-card {
    background: var(--bg-card);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    padding: 28px;
    transition: all var(--transition-smooth);
    text-decoration: none;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
}

.related-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    opacity: 0;
    transition: opacity var(--transition-base);
}

.related-card:hover {
    border-color: var(--glass-border-hover);
    box-shadow: var(--shadow-glow);
    transform: translateY(-6px);
}

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

.related-card-icon {
    font-size: 2rem;
    margin-bottom: 16px;
}

.related-card-tag {
    display: inline-block;
    padding: 4px 10px;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--primary);
    background: rgba(0, 255, 136, 0.08);
    border-radius: var(--radius-pill);
    margin-bottom: 12px;
    align-self: flex-start;
}

.related-card h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 8px;
    line-height: 1.3;
    transition: color var(--transition-fast);
}

.related-card:hover h3 {
    color: var(--primary);
}

.related-card p {
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.6;
    flex-grow: 1;
}

.related-card .read-more {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 14px;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--primary);
    transition: gap var(--transition-base);
}

.related-card:hover .read-more {
    gap: 10px;
}

.related-card .read-more svg,
.related-card .read-more .arrow {
    transition: transform var(--transition-base);
}

.related-card:hover .read-more svg,
.related-card:hover .read-more .arrow {
    transform: translateX(3px);
}


/* ==========================================================================
   16. CTA SECTIONS
   ========================================================================== */

/* Inline CTA (within content) */
.inline-cta {
    background: linear-gradient(135deg, rgba(0, 255, 136, 0.06), rgba(0, 217, 255, 0.04));
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    padding: 32px;
    margin: 32px 0;
    text-align: center;
}

.inline-cta h3 {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.inline-cta p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    margin-bottom: 20px;
    line-height: 1.6;
}

/* Final CTA Section (full-width banner) */
.final-cta {
    position: relative;
    padding: 80px 0;
    text-align: center;
    border-top: 2px solid transparent;
    border-image: linear-gradient(90deg, transparent, var(--primary), var(--secondary), transparent) 1;
    background:
        linear-gradient(180deg, var(--bg-deep) 0%, var(--bg-primary) 50%, var(--bg-deep) 100%);
    overflow: hidden;
}

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

.final-cta-inner {
    position: relative;
    z-index: 2;
    max-width: 700px;
    margin: 0 auto;
    padding: 0 24px;
}

.final-cta h2 {
    font-size: 2rem;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 16px;
    line-height: 1.3;
}

.final-cta h2 .highlight {
    color: var(--primary);
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.final-cta p {
    font-size: 1.05rem;
    color: var(--text-secondary);
    margin-bottom: 32px;
    line-height: 1.7;
}

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

/* CTA Banner (compact version) */
.cta-banner {
    background: linear-gradient(135deg, rgba(0, 255, 136, 0.08), rgba(0, 217, 255, 0.05));
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-xl);
    padding: 40px;
    margin: 48px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
}

.cta-banner-content h3 {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 6px;
}

.cta-banner-content p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

.cta-banner-action {
    flex-shrink: 0;
}


/* ==========================================================================
   17. FOOTER
   ========================================================================== */

.footer {
    background: rgba(6, 8, 20, 0.95);
    border-top: 1px solid var(--glass-border);
    padding: 64px 0 32px;
    margin-top: 0;
}

.footer-inner {
    max-width: var(--content-max-width);
    margin: 0 auto;
    padding: 0 24px;
}

/* Footer directory label */
.footer-directory {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 40px;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--glass-border);
}

.footer-directory .logo-text {
    font-size: 1.2rem;
}

.footer-directory p {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-left: auto;
}

/* Footer grid */
.footer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    margin-bottom: 48px;
}

.footer-col h4 {
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--text-primary);
    margin-bottom: 16px;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 10px;
}

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

.footer-col ul li a:hover {
    color: var(--primary);
    padding-left: 4px;
}

.footer-col p {
    font-size: 0.88rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 12px;
}

/* Footer bottom */
.footer-bottom {
    padding-top: 24px;
    border-top: 1px solid var(--glass-border);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
}

.footer-bottom p {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.footer-bottom-links {
    display: flex;
    gap: 24px;
}

.footer-bottom-links a {
    font-size: 0.8rem;
    color: var(--text-muted);
    text-decoration: none;
    transition: color var(--transition-fast);
}

.footer-bottom-links a:hover {
    color: var(--primary);
}


/* ==========================================================================
   18. FLOATING CTA (Mobile)
   ========================================================================== */

.floating-cta {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    z-index: 900;
    padding: 12px 16px;
    background: var(--glass-bg-heavy);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-top: 1px solid var(--glass-border);
    box-shadow: 0 -4px 24px rgba(0, 0, 0, 0.4);
}

.floating-cta .btn {
    width: 100%;
    justify-content: center;
    animation: floatingCtaPulse 3s ease-in-out infinite;
}

@keyframes floatingCtaPulse {
    0%, 100% {
        box-shadow: 0 4px 16px rgba(0, 255, 136, 0.3);
    }
    50% {
        box-shadow: 0 4px 24px rgba(0, 255, 136, 0.5);
    }
}

.floating-cta-text {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.floating-cta-text .pulse-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--primary);
    animation: floatingDotPulse 1.5s ease-in-out infinite;
}

@keyframes floatingDotPulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.3); opacity: 0.7; }
}


/* ==========================================================================
   19. BUTTONS
   ========================================================================== */

.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 28px;
    font-family: 'Lexend', sans-serif;
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: var(--radius-md);
    border: 2px solid transparent;
    cursor: pointer;
    transition: all var(--transition-smooth);
    position: relative;
    overflow: hidden;
    white-space: nowrap;
}

.btn::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    transform: translate(-50%, -50%);
    transition: width 0.5s ease, height 0.5s ease;
}

.btn:hover::after {
    width: 300px;
    height: 300px;
}

/* Primary button */
.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: var(--bg-deep);
    border-color: var(--primary);
    box-shadow: 0 4px 16px rgba(0, 255, 136, 0.25);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 255, 136, 0.4);
    background: linear-gradient(135deg, var(--primary-light), var(--primary));
}

.btn-primary:active {
    transform: translateY(0);
}

/* Secondary button */
.btn-secondary {
    background: transparent;
    color: var(--primary);
    border-color: var(--primary);
}

.btn-secondary:hover {
    background: var(--primary);
    color: var(--bg-deep);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 255, 136, 0.3);
}

.btn-secondary:active {
    transform: translateY(0);
}

/* Ghost button */
.btn-ghost {
    background: transparent;
    color: var(--text-secondary);
    border-color: rgba(255, 255, 255, 0.15);
}

.btn-ghost:hover {
    color: var(--primary);
    border-color: var(--primary);
    background: rgba(0, 255, 136, 0.05);
}

/* Cyan button */
.btn-cyan {
    background: linear-gradient(135deg, var(--secondary), #0099cc);
    color: var(--bg-deep);
    border-color: var(--secondary);
    box-shadow: 0 4px 16px rgba(0, 217, 255, 0.25);
}

.btn-cyan:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 217, 255, 0.4);
}

/* WhatsApp button */
.btn-whatsapp {
    background: linear-gradient(135deg, #25D366, #128C7E);
    color: #ffffff;
    border-color: #25D366;
    box-shadow: 0 4px 16px rgba(37, 211, 102, 0.25);
}

.btn-whatsapp:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(37, 211, 102, 0.4);
}

/* Button sizes */
.btn-sm {
    padding: 8px 18px;
    font-size: 0.8rem;
    border-radius: var(--radius-sm);
}

.btn-lg {
    padding: 16px 36px;
    font-size: 1rem;
    border-radius: var(--radius-lg);
}

.btn-xl {
    padding: 18px 44px;
    font-size: 1.05rem;
    border-radius: var(--radius-lg);
}

/* Button icon */
.btn .btn-icon {
    font-size: 1.1em;
    transition: transform var(--transition-base);
}

.btn:hover .btn-icon {
    transform: translateX(3px);
}

/* Button full width */
.btn-block {
    width: 100%;
    justify-content: center;
}


/* ==========================================================================
   20. SECTION HEADERS (reusable)
   ========================================================================== */

.section-header {
    text-align: center;
    margin-bottom: 48px;
}

.section-header .section-label {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--primary);
    margin-bottom: 12px;
}

.section-header h2 {
    font-size: 2rem;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 12px;
    line-height: 1.3;
}

.section-header p {
    font-size: 1.05rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}


/* ==========================================================================
   21. STATS / METRICS
   ========================================================================== */

.stats-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 20px;
    margin: 28px 0;
}

.stat-item {
    text-align: center;
    padding: 20px 16px;
    background: var(--bg-card);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
}

.stat-value {
    font-size: 2rem;
    font-weight: 800;
    color: var(--primary);
    line-height: 1;
    margin-bottom: 6px;
    display: block;
}

.stat-label {
    font-size: 0.8rem;
    color: var(--text-muted);
    font-weight: 500;
    display: block;
}


/* ==========================================================================
   22. PROS & CONS
   ========================================================================== */

.pros-cons {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin: 28px 0;
}

.pros-col,
.cons-col {
    background: var(--bg-card);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    padding: 24px;
}

.pros-col {
    border-top: 3px solid var(--primary);
}

.cons-col {
    border-top: 3px solid #ff6b6b;
}

.pros-col h4,
.cons-col h4 {
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 14px;
}

.pros-col h4 {
    color: var(--primary);
}

.cons-col h4 {
    color: #ff6b6b;
}

.pros-col ul,
.cons-col ul {
    list-style: none;
}

.pros-col ul li,
.cons-col ul li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 8px 0;
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

.pros-col ul li::before {
    content: '+';
    color: var(--primary);
    font-weight: 700;
    font-size: 1.1rem;
    flex-shrink: 0;
    width: 18px;
    text-align: center;
}

.cons-col ul li::before {
    content: '-';
    color: #ff6b6b;
    font-weight: 700;
    font-size: 1.1rem;
    flex-shrink: 0;
    width: 18px;
    text-align: center;
}


/* ==========================================================================
   23. RATING / SCORE
   ========================================================================== */

.rating-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    background: rgba(0, 255, 136, 0.08);
    border: 1px solid rgba(0, 255, 136, 0.2);
    border-radius: var(--radius-pill);
}

.rating-badge .stars {
    color: #ffd93d;
    font-size: 0.85rem;
    letter-spacing: 1px;
}

.rating-badge .rating-number {
    font-weight: 700;
    font-size: 0.85rem;
    color: var(--primary);
}

.rating-badge .rating-label {
    font-size: 0.8rem;
    color: var(--text-muted);
}


/* ==========================================================================
   24. AUTHOR / META BOX
   ========================================================================== */

.author-box {
    display: flex;
    align-items: center;
    gap: 16px;
    background: var(--bg-card);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    padding: 20px 24px;
    margin: 28px 0;
}

.author-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--bg-deep);
    font-weight: 800;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.author-info .author-name {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text-primary);
}

.author-info .author-role {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.article-meta {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
    margin: 16px 0 24px;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.82rem;
    color: var(--text-muted);
}

.meta-item svg {
    width: 14px;
    height: 14px;
    color: var(--text-muted);
}

.meta-divider {
    width: 1px;
    height: 14px;
    background: var(--glass-border);
}


/* ==========================================================================
   25. IMAGE / MEDIA
   ========================================================================== */

.content-image {
    margin: 28px 0;
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--glass-border);
}

.content-image img {
    width: 100%;
    height: auto;
    display: block;
}

.content-image figcaption,
.image-caption {
    padding: 12px 16px;
    background: var(--bg-card);
    font-size: 0.8rem;
    color: var(--text-muted);
    text-align: center;
    border-top: 1px solid var(--glass-border);
}

/* Video embed */
.video-embed {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    margin: 28px 0;
    border-radius: var(--radius-lg);
    border: 1px solid var(--glass-border);
}

.video-embed iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}


/* ==========================================================================
   26. BADGES & TAGS
   ========================================================================== */

.tag {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 10px;
    font-size: 0.72rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-radius: var(--radius-pill);
}

.tag-green {
    color: var(--primary);
    background: rgba(0, 255, 136, 0.08);
    border: 1px solid rgba(0, 255, 136, 0.15);
}

.tag-blue {
    color: var(--secondary);
    background: rgba(0, 217, 255, 0.08);
    border: 1px solid rgba(0, 217, 255, 0.15);
}

.tag-magenta {
    color: var(--accent);
    background: rgba(255, 0, 255, 0.08);
    border: 1px solid rgba(255, 0, 255, 0.15);
}

.tag-muted {
    color: var(--text-muted);
    background: rgba(107, 124, 150, 0.08);
    border: 1px solid rgba(107, 124, 150, 0.15);
}


/* ==========================================================================
   26b. CLASS ALIASES (HTML compatibility layer)
   Maps HTML class names to existing CSS styles
   ========================================================================== */

/* --- Hero aliases (.hero and .hero-guide) --- */
.hero,
.hero-guide {
    position: relative;
    padding: calc(var(--header-height) + 60px) 0 60px;
    overflow: hidden;
    background:
        linear-gradient(180deg, var(--bg-deep) 0%, var(--bg-primary) 50%, var(--bg-deep) 100%);
}

.hero::before,
.hero-guide::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        radial-gradient(ellipse at 30% 40%, rgba(0, 255, 136, 0.06) 0%, transparent 55%),
        radial-gradient(ellipse at 70% 60%, rgba(0, 217, 255, 0.05) 0%, transparent 55%),
        radial-gradient(ellipse at 50% 20%, rgba(255, 0, 255, 0.03) 0%, transparent 50%);
    pointer-events: none;
    z-index: 0;
}

.hero::after,
.hero-guide::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 120px;
    background: linear-gradient(to top, var(--bg-deep), transparent);
    pointer-events: none;
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    margin: 0 auto;
    padding: 0 24px;
    text-align: center;
}

.hero h1 {
    font-size: 3rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 20px;
    color: var(--text-primary);
    letter-spacing: -1px;
}

.hero h1 .highlight {
    color: var(--primary);
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 20px;
    background: rgba(0, 255, 136, 0.08);
    border: 1px solid rgba(0, 255, 136, 0.2);
    border-radius: var(--radius-pill);
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--primary);
    letter-spacing: 0.5px;
    text-transform: uppercase;
    margin-bottom: 24px;
}

.subtitle {
    font-size: 1.15rem;
    line-height: 1.7;
    color: var(--text-secondary);
    max-width: 700px;
    margin: 0 auto 32px;
    font-weight: 400;
}

.trust-badges {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 24px;
    margin-bottom: 36px;
}

.trust-badge {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    color: var(--text-secondary);
    font-weight: 500;
    padding: 8px 16px;
    background: var(--bg-card);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-pill);
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    color: var(--text-secondary);
    font-weight: 500;
}

.trust-icon {
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 1rem;
    font-weight: 700;
}

.hero-buttons {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

/* --- Content layout aliases --- */

/* When .container sits between the grid parent and sidebar+main,
   make it a full-width sub-grid that passes columns through */
.content-wrapper > .container,
.content-layout > .container {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: var(--sidebar-width) 1fr;
    gap: 48px;
    align-items: start;
    max-width: none;
    padding: 0;
    margin: 0;
}

/* .content-grid inside the passthrough container also spans full and creates its own grid */
.content-grid {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: var(--sidebar-width) 1fr;
    gap: 48px;
    align-items: start;
}

.content-full {
    max-width: var(--content-max-width);
    margin: 0 auto;
    padding: 48px 24px 80px;
}

/* --- Sidebar aliases --- */
.toc-box {
    background: var(--bg-card);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    padding: 24px;
    margin-bottom: 24px;
}

.toc-box h3 {
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--text-muted);
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--glass-border);
}

.toc-box ul {
    list-style: none;
}

.toc-box ul li {
    margin-bottom: 4px;
}

.toc-box ul li a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 12px;
    font-size: 0.85rem;
    color: var(--text-secondary);
    text-decoration: none;
    border-radius: var(--radius-sm);
    transition: all var(--transition-fast);
    border-left: 2px solid transparent;
    line-height: 1.4;
}

.toc-box ul li a:hover {
    color: var(--primary);
    background: rgba(0, 255, 136, 0.04);
    border-left-color: rgba(0, 255, 136, 0.3);
}

.cta-box {
    background: var(--bg-card);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    padding: 24px;
    margin-top: 24px;
}

.cta-box h3 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.cta-box p {
    font-size: 0.88rem;
    color: var(--text-secondary);
    margin-bottom: 16px;
    line-height: 1.5;
}

.cta-box .btn {
    width: 100%;
    text-align: center;
    justify-content: center;
}

/* --- Sidebar TOC alias (Pattern C pages: semp, toshiba, motorola, etc.) --- */
.sidebar-toc {
    background: var(--bg-card);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    padding: 24px;
    margin-bottom: 24px;
}

.sidebar-toc h3,
.sidebar-toc h4 {
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--text-muted);
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--glass-border);
}

.sidebar-toc ul,
.sidebar-toc ol {
    list-style: none;
}

.sidebar-toc ul li,
.sidebar-toc ol li {
    margin-bottom: 4px;
}

.sidebar-toc ul li a,
.sidebar-toc ol li a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 12px;
    font-size: 0.85rem;
    color: var(--text-secondary);
    text-decoration: none;
    border-radius: var(--radius-sm);
    transition: all var(--transition-fast);
    border-left: 2px solid transparent;
    line-height: 1.4;
}

.sidebar-toc ul li a:hover,
.sidebar-toc ol li a:hover {
    color: var(--primary);
    background: rgba(0, 255, 136, 0.04);
    border-left-color: rgba(0, 255, 136, 0.3);
}

/* --- Feature cards grid alias --- */
.feature-cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin: 28px 0;
}

.feature-card h4 {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 8px;
    position: relative;
    z-index: 1;
}

/* --- Steps list aliases --- */
.steps-list {
    display: flex;
    flex-direction: column;
    gap: 0;
    margin: 28px 0;
    position: relative;
}

.step-number {
    width: 44px;
    height: 44px;
    min-width: 44px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(0, 255, 136, 0.15), rgba(0, 217, 255, 0.1));
    border: 2px solid var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    font-weight: 800;
    color: var(--primary);
    position: relative;
    z-index: 2;
    flex-shrink: 0;
}

.step-content {
    flex: 1;
}

.step-content h4 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 6px;
    line-height: 1.4;
}

.step-content p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* --- Section header with number --- */
.content-section .section-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 24px;
}

/* --- Hub page guide categories --- */
.guide-category {
    margin-bottom: 56px;
}

.category-title {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.category-desc {
    font-size: 0.95rem;
    color: var(--text-secondary);
    margin-bottom: 24px;
    line-height: 1.6;
}

/* --- Highlight box h4 support --- */
.highlight-box h4 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 8px;
}

/* --- .hero-guide aliases (duplicates .hero rules for h1, highlight, etc.) --- */
.hero-guide h1 {
    font-size: 3rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 20px;
    color: var(--text-primary);
    letter-spacing: -1px;
}

.hero-guide h1 .highlight {
    color: var(--primary);
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero .container,
.hero-guide .container {
    position: relative;
    z-index: 2;
    max-width: 900px;
    margin: 0 auto;
    padding: 0 24px;
    text-align: center;
}

/* --- Content wrapper aliases (sidebar + main grid) --- */
.content-wrapper,
.guide-layout {
    display: grid;
    grid-template-columns: var(--sidebar-width) 1fr;
    gap: 48px;
    max-width: var(--content-max-width);
    margin: 0 auto;
    padding: 48px 24px 80px;
    align-items: start;
}

/* --- Guide sidebar alias --- */
.guide-sidebar {
    position: sticky;
    top: calc(var(--header-height) + 24px);
    max-height: calc(100vh - var(--header-height) - 48px);
    overflow-y: auto;
    padding-right: 8px;
}

/* --- Guide content alias --- */
.guide-content {
    min-width: 0;
}

/* --- Button aliases (btn-primary-cta / btn-secondary-cta) --- */
.btn-primary-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 32px;
    font-size: 0.95rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: var(--radius-pill);
    transition: all var(--transition-base);
    cursor: pointer;
    border: none;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: var(--bg-deep);
    box-shadow: 0 4px 20px var(--primary-glow);
}

.btn-primary-cta:hover {
    box-shadow: 0 6px 30px var(--primary-glow), 0 0 60px var(--primary-glow-soft);
    transform: translateY(-2px);
}

.btn-secondary-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 32px;
    font-size: 0.95rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: var(--radius-pill);
    transition: all var(--transition-base);
    cursor: pointer;
    background: transparent;
    color: var(--text-primary);
    border: 1px solid var(--glass-border-hover);
}

.btn-secondary-cta:hover {
    border-color: var(--primary);
    color: var(--primary);
    background: rgba(0, 255, 136, 0.04);
}

.hero-cta-group {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

/* --- Card icon --- */
.card-icon {
    font-size: 0;
    line-height: 0;
    color: transparent;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: var(--radius-md);
    background: linear-gradient(135deg, rgba(0, 255, 136, 0.10), rgba(0, 217, 255, 0.06));
    border: 1px solid rgba(0, 255, 136, 0.12);
    margin-bottom: 12px;
}

.card-icon::before {
    content: '';
    width: 18px;
    height: 18px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: 4px;
    transform: rotate(45deg);
    opacity: 0.85;
}

/* --- Feature icon (CSS icon replacing emoji) --- */
.feature-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: var(--radius-md);
    background: linear-gradient(135deg, rgba(0, 255, 136, 0.10), rgba(0, 217, 255, 0.06));
    border: 1px solid rgba(0, 255, 136, 0.12);
    margin-bottom: 16px;
    position: relative;
    font-size: 0;
    line-height: 0;
    color: transparent;
    overflow: hidden;
    flex-shrink: 0;
}

.feature-icon::before {
    content: '';
    width: 20px;
    height: 20px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: 4px;
    transform: rotate(45deg);
    opacity: 0.85;
}

/* Alternate colors for visual variety */
.feature-card:nth-child(3n+2) .feature-icon {
    background: linear-gradient(135deg, rgba(0, 217, 255, 0.10), rgba(255, 0, 255, 0.06));
    border-color: rgba(0, 217, 255, 0.12);
}

.feature-card:nth-child(3n+2) .feature-icon::before {
    background: linear-gradient(135deg, var(--secondary), var(--accent));
}

.feature-card:nth-child(3n) .feature-icon {
    background: linear-gradient(135deg, rgba(255, 0, 255, 0.10), rgba(0, 255, 136, 0.06));
    border-color: rgba(255, 0, 255, 0.12);
}

.feature-card:nth-child(3n) .feature-icon::before {
    background: linear-gradient(135deg, var(--accent), var(--primary));
    border-radius: 50%;
}

/* --- Related icon (CSS icon replacing emoji) --- */
.related-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: var(--radius-sm);
    background: linear-gradient(135deg, rgba(0, 217, 255, 0.10), rgba(0, 255, 136, 0.06));
    border: 1px solid rgba(0, 217, 255, 0.12);
    margin-bottom: 12px;
    font-size: 0;
    line-height: 0;
    color: transparent;
    overflow: hidden;
    flex-shrink: 0;
}

.related-icon::before {
    content: '';
    width: 16px;
    height: 16px;
    background: linear-gradient(135deg, var(--secondary), var(--primary));
    border-radius: 50%;
    opacity: 0.85;
}

/* Alternate related icon colors */
.related-card:nth-child(3n+2) .related-icon {
    background: linear-gradient(135deg, rgba(0, 255, 136, 0.10), rgba(255, 0, 255, 0.06));
    border-color: rgba(0, 255, 136, 0.12);
}

.related-card:nth-child(3n+2) .related-icon::before {
    background: linear-gradient(135deg, var(--primary), var(--accent));
}

.related-card:nth-child(3n) .related-icon {
    background: linear-gradient(135deg, rgba(255, 0, 255, 0.10), rgba(0, 217, 255, 0.06));
    border-color: rgba(255, 0, 255, 0.12);
}

.related-card:nth-child(3n) .related-icon::before {
    background: linear-gradient(135deg, var(--accent), var(--secondary));
    border-radius: 4px;
    transform: rotate(45deg);
}

/* --- Breadcrumb without .container wrapper --- */
.breadcrumb ol {
    display: flex;
    align-items: center;
    gap: 0;
    list-style: none;
    font-size: 0.85rem;
}

.breadcrumb ol li {
    color: var(--text-muted);
}

.breadcrumb ol li a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color var(--transition-fast);
}

.breadcrumb ol li a:hover {
    color: var(--primary);
}

.breadcrumb ol li.separator {
    margin: 0 8px;
    color: var(--text-muted);
}

.breadcrumb ol li.active {
    color: var(--text-primary);
    font-weight: 500;
}

/* --- Step cards aliases (Pattern D pages: kodi, duplex, etc.) --- */
.step-cards {
    display: flex;
    flex-direction: column;
    gap: 0;
    margin: 28px 0;
}

.step-card {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding: 24px 0;
    position: relative;
}

.step-card + .step-card {
    border-top: 1px solid var(--glass-border);
}

.step-num {
    width: 44px;
    height: 44px;
    min-width: 44px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(0, 255, 136, 0.15), rgba(0, 217, 255, 0.1));
    border: 2px solid var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    font-weight: 800;
    color: var(--primary);
    flex-shrink: 0;
}

.step-text {
    flex: 1;
}

.step-text h3,
.step-text h4 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 6px;
    line-height: 1.4;
}

.step-text p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* --- Steps guide wrapper alias --- */
.steps-guide {
    display: flex;
    flex-direction: column;
    gap: 0;
    margin: 28px 0;
    position: relative;
}

/* --- FAQ container alias --- */
.faq-container {
    margin: 24px 0;
}

.faq-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
}

/* --- Related pages section alias --- */
.related-pages {
    padding: 60px 0;
    border-top: 1px solid var(--glass-border);
}

.related-pages h2 {
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 32px;
    text-align: center;
}

.related-pages > .container {
    max-width: var(--content-max-width);
    margin: 0 auto;
    padding: 0 24px;
}

/* --- Related link (simple card) alias --- */
.related-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 20px;
    background: var(--bg-card);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-md);
    text-decoration: none;
    color: var(--text-primary);
    font-weight: 600;
    font-size: 0.95rem;
    transition: all var(--transition-smooth);
}

.related-link:hover {
    border-color: var(--glass-border-hover);
    box-shadow: var(--shadow-glow);
    transform: translateY(-2px);
    color: var(--primary);
}

/* --- Link icon (CSS icon replacing emoji) --- */
.link-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: var(--radius-sm);
    background: linear-gradient(135deg, rgba(0, 255, 136, 0.10), rgba(0, 217, 255, 0.06));
    border: 1px solid rgba(0, 255, 136, 0.12);
    font-size: 0;
    line-height: 0;
    color: transparent;
    overflow: hidden;
    flex-shrink: 0;
}

.link-icon::before {
    content: '';
    width: 14px;
    height: 14px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: 3px;
    transform: rotate(45deg);
    opacity: 0.85;
}

/* --- Hero internal modifier (no extra styles needed beyond .hero) --- */
.hero.hero-internal {
    padding: calc(var(--header-height) + 50px) 0 50px;
}

/* --- Specs table alias --- */
.specs-table {
    width: 100%;
    border-collapse: collapse;
    margin: 24px 0;
    font-size: 0.92rem;
    background: var(--bg-card);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.specs-table thead th {
    background: rgba(0, 255, 136, 0.06);
    color: var(--text-primary);
    font-weight: 700;
    font-size: 0.82rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 14px 18px;
    text-align: left;
    border-bottom: 2px solid var(--glass-border);
}

.specs-table tbody td {
    padding: 12px 18px;
    color: var(--text-secondary);
    border-bottom: 1px solid var(--glass-border);
}

.specs-table tbody tr:last-child td {
    border-bottom: none;
}

.specs-table tbody tr:hover {
    background: rgba(0, 255, 136, 0.02);
}

/* --- Button large alias --- */
.btn-large,
.btn.btn-large {
    padding: 16px 36px;
    font-size: 1rem;
    border-radius: var(--radius-lg);
}

/* --- Highlight box variants --- */
.highlight-box.highlight-tip {
    background: rgba(0, 217, 255, 0.04);
    border-left-color: var(--secondary);
}

.highlight-box.highlight-tip h3,
.highlight-box.highlight-tip h4 {
    color: var(--secondary);
}

.highlight-box.info {
    background: rgba(0, 217, 255, 0.04);
    border-left-color: var(--secondary);
}

.highlight-box.info h3,
.highlight-box.info h4 {
    color: var(--secondary);
}

.highlight-box.warning {
    background: rgba(255, 0, 255, 0.04);
    border-left-color: var(--accent);
}

.highlight-box.warning h3,
.highlight-box.warning h4 {
    color: var(--accent);
}

/* --- Generic icon class --- */
.icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85em;
    font-weight: 700;
    color: var(--primary);
    vertical-align: middle;
}


/* ==========================================================================
   27. ANIMATIONS & UTILITIES
   ========================================================================== */

/* Fade in on scroll */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s ease-out, transform 0.7s ease-out;
}

.fade-in-up.visible {
    opacity: 1;
    transform: translateY(0);
}

.fade-in-left {
    opacity: 0;
    transform: translateX(-20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

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

.fade-in-right {
    opacity: 0;
    transform: translateX(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

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

/* Stagger delay classes */
.delay-100 { transition-delay: 0.1s; }
.delay-200 { transition-delay: 0.2s; }
.delay-300 { transition-delay: 0.3s; }
.delay-400 { transition-delay: 0.4s; }
.delay-500 { transition-delay: 0.5s; }

/* Pulse animation */
@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.pulse {
    animation: pulse 2s ease-in-out infinite;
}

/* Glow animation */
@keyframes glow {
    0%, 100% { box-shadow: 0 0 8px var(--primary-glow); }
    50% { box-shadow: 0 0 20px var(--primary-glow); }
}

.glow {
    animation: glow 2.5s ease-in-out infinite;
}

/* Shimmer (loading) */
@keyframes shimmer {
    0% { background-position: -200% center; }
    100% { background-position: 200% center; }
}

.shimmer {
    background: linear-gradient(
        90deg,
        var(--bg-card) 25%,
        var(--bg-elevated) 50%,
        var(--bg-card) 75%
    );
    background-size: 200% 100%;
    animation: shimmer 1.5s ease-in-out infinite;
}

/* Text utilities */
.text-primary-color { color: var(--primary) !important; }
.text-secondary-color { color: var(--secondary) !important; }
.text-accent-color { color: var(--accent) !important; }
.text-muted-color { color: var(--text-muted) !important; }
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

/* Spacing utilities */
.mt-0 { margin-top: 0 !important; }
.mt-1 { margin-top: 8px !important; }
.mt-2 { margin-top: 16px !important; }
.mt-3 { margin-top: 24px !important; }
.mt-4 { margin-top: 32px !important; }
.mt-5 { margin-top: 48px !important; }
.mb-0 { margin-bottom: 0 !important; }
.mb-1 { margin-bottom: 8px !important; }
.mb-2 { margin-bottom: 16px !important; }
.mb-3 { margin-bottom: 24px !important; }
.mb-4 { margin-bottom: 32px !important; }
.mb-5 { margin-bottom: 48px !important; }

/* Display utilities */
.d-none { display: none !important; }
.d-block { display: block !important; }
.d-flex { display: flex !important; }
.d-grid { display: grid !important; }

/* 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;
    }

    .fade-in,
    .fade-in-up,
    .fade-in-left,
    .fade-in-right {
        opacity: 1;
        transform: none;
    }
}


/* ==========================================================================
   28. RESPONSIVE - TABLET (max-width: 1024px)
   ========================================================================== */

@media (max-width: 1024px) {

    /* Layout */
    .content-layout {
        grid-template-columns: 1fr;
        gap: 32px;
        padding: 32px 20px 64px;
    }

    .content-layout.sidebar-right {
        grid-template-columns: 1fr;
    }

    /* Sidebar collapses */
    .sidebar {
        position: static;
        max-height: none;
        padding-right: 0;
    }

    .toc {
        display: none;
    }

    .sidebar-cta {
        display: none;
    }

    .sidebar-info {
        display: none;
    }

    /* Show a mobile TOC toggle instead */
    .toc-mobile-toggle {
        display: block;
    }

    /* Hero adjustments */
    .iptv-hero h1 {
        font-size: 2.4rem;
    }

    .hero-subtitle {
        font-size: 1.05rem;
    }

    /* Grids reduce columns */
    .feature-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }

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

    .related-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

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

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

    .step-h-item:nth-child(2n)::after {
        display: none;
    }

    .pros-cons {
        grid-template-columns: 1fr 1fr;
    }

    /* CTA Banner stacks */
    .cta-banner {
        flex-direction: column;
        text-align: center;
        padding: 32px 24px;
    }

    .final-cta h2 {
        font-size: 1.7rem;
    }

    .section-header h2 {
        font-size: 1.7rem;
    }

    /* Alias responsive - tablet */
    .content-grid,
    .content-wrapper,
    .guide-layout {
        grid-template-columns: 1fr;
        gap: 32px;
        padding: 32px 20px 64px;
    }

    .content-wrapper > .container,
    .content-layout > .container {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .toc-box,
    .sidebar .cta-box,
    .sidebar-toc {
        display: none;
    }

    .guide-sidebar {
        position: static;
        max-height: none;
        padding-right: 0;
    }

    .hero h1,
    .hero-guide h1 {
        font-size: 2.4rem;
    }

    .subtitle {
        font-size: 1.05rem;
    }

    .feature-cards {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }

    /* Step cards / specs table responsive - tablet */
    .specs-table {
        font-size: 0.85rem;
    }

    .specs-table thead th {
        padding: 12px 14px;
    }

    .specs-table tbody td {
        padding: 10px 14px;
    }

    .related-pages {
        padding: 40px 0;
    }
}


/* ==========================================================================
   29. RESPONSIVE - MOBILE (max-width: 768px)
   ========================================================================== */

@media (max-width: 768px) {

    /* Header mobile */
    .hamburger {
        display: flex;
    }

    .nav {
        display: none;
    }

    .header .container,
    .header-inner {
        height: 64px;
    }

    :root {
        --header-height: 64px;
    }

    /* Body spacing for floating CTA */
    body.has-floating-cta {
        padding-bottom: 72px;
    }

    /* Hero */
    .iptv-hero {
        padding: calc(var(--header-height) + 40px) 0 48px;
    }

    .iptv-hero h1 {
        font-size: 1.85rem;
        letter-spacing: -0.5px;
    }

    .hero-subtitle {
        font-size: 0.95rem;
    }

    .hero-badges {
        gap: 16px;
    }

    .hero-badges .badge-item {
        font-size: 0.78rem;
    }

    .hero-cta {
        flex-direction: column;
        width: 100%;
    }

    .hero-cta .btn {
        width: 100%;
        justify-content: center;
    }

    /* Content */
    .content-layout {
        padding: 24px 16px 56px;
    }

    .content-section h2 {
        font-size: 1.4rem;
    }

    .content-section h3 {
        font-size: 1.15rem;
    }

    /* Feature grid to single column */
    .feature-grid {
        grid-template-columns: 1fr;
    }

    .feature-grid.cols-3 {
        grid-template-columns: 1fr;
    }

    .feature-card {
        padding: 20px;
    }

    /* Related grid stacks */
    .related-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .related-card {
        padding: 22px;
    }

    /* Steps horizontal stacks */
    .steps-horizontal {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .step-h-item::after {
        display: none;
    }

    /* Pros cons stack */
    .pros-cons {
        grid-template-columns: 1fr;
    }

    /* Stats */
    .stats-row {
        grid-template-columns: repeat(2, 1fr);
    }

    /* Comparison table */
    .comparison-table {
        min-width: 500px;
    }

    .comparison-row {
        grid-template-columns: 1fr;
    }

    .comparison-row.row-header {
        display: none;
    }

    .comparison-cell {
        border-right: none;
        border-bottom: 1px solid var(--glass-border);
        text-align: left;
        padding: 12px 16px;
    }

    .comparison-cell:last-child {
        border-bottom: none;
    }

    /* FAQ */
    .faq-question {
        padding: 16px 18px;
    }

    .faq-question h3,
    .faq-question span.faq-q-text {
        font-size: 0.9rem;
    }

    .faq-answer-inner {
        padding: 0 18px 16px;
    }

    /* Footer */
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 28px;
    }

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

    .footer-bottom-links {
        flex-wrap: wrap;
        justify-content: center;
        gap: 16px;
    }

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

    .footer-directory p {
        margin-left: 0;
    }

    /* Final CTA */
    .final-cta {
        padding: 56px 0;
    }

    .final-cta h2 {
        font-size: 1.4rem;
    }

    .final-cta p {
        font-size: 0.95rem;
    }

    .final-cta .cta-buttons {
        flex-direction: column;
        width: 100%;
    }

    .final-cta .cta-buttons .btn {
        width: 100%;
        justify-content: center;
    }

    /* CTA banner */
    .cta-banner {
        padding: 28px 20px;
    }

    /* Inline CTA */
    .inline-cta {
        padding: 24px 20px;
    }

    /* Floating CTA visible on mobile */
    .floating-cta {
        display: block;
    }

    /* Author box */
    .author-box {
        flex-direction: column;
        text-align: center;
        gap: 12px;
    }

    /* Section headers */
    .section-header h2 {
        font-size: 1.4rem;
    }

    /* Breadcrumb */
    .breadcrumb-list {
        font-size: 0.78rem;
    }

    /* Content boxes */
    .highlight-box,
    .info-box,
    .warning-box,
    .success-box,
    .tip-box {
        padding: 16px 18px;
        margin: 20px 0;
    }

    .content-box {
        padding: 18px;
    }

    /* Buttons full width on mobile */
    .btn-mobile-full {
        width: 100%;
        justify-content: center;
    }

    /* Alias responsive - mobile */
    .hero,
    .hero-guide {
        padding: calc(var(--header-height) + 40px) 0 48px;
    }

    .hero h1,
    .hero-guide h1 {
        font-size: 1.85rem;
        letter-spacing: -0.5px;
    }

    /* Left-align text on mobile */
    .hero-content,
    .hero-inner,
    .hero .container,
    .hero-guide .container {
        text-align: left;
    }

    .subtitle,
    .hero-subtitle {
        font-size: 0.95rem;
        margin-left: 0;
        margin-right: 0;
    }

    .trust-badges {
        gap: 12px;
        justify-content: flex-start;
    }

    .trust-item,
    .trust-badge {
        font-size: 0.78rem;
    }

    .hero-buttons,
    .hero-cta,
    .hero-cta-group {
        flex-direction: column;
        width: 100%;
        align-items: stretch;
    }

    .hero-buttons .btn,
    .hero-buttons .btn-primary-cta,
    .hero-buttons .btn-secondary-cta,
    .hero-cta-group .btn-primary-cta,
    .hero-cta-group .btn-secondary-cta {
        width: 100%;
        justify-content: center;
        text-align: center;
    }

    .badge,
    .hero-badge {
        align-self: flex-start;
    }

    .feature-cards {
        grid-template-columns: 1fr;
    }

    .content-full {
        padding: 24px 16px 56px;
    }

    .content-wrapper,
    .guide-layout {
        padding: 24px 16px 56px;
    }

    .content-wrapper > .container,
    .content-layout > .container {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .guide-sidebar {
        position: static;
        max-height: none;
    }

    .category-title {
        font-size: 1.3rem;
    }

    /* Step cards mobile */
    .step-card {
        gap: 16px;
        padding: 20px 0;
    }

    .step-num {
        width: 36px;
        height: 36px;
        min-width: 36px;
        font-size: 0.85rem;
    }

    .step-text h3,
    .step-text h4 {
        font-size: 1rem;
    }

    .step-text p {
        font-size: 0.88rem;
    }

    /* Related pages mobile */
    .related-pages {
        padding: 40px 0;
    }

    .related-pages h2 {
        font-size: 1.4rem;
        text-align: left;
    }

    /* Hero internal mobile */
    .hero.hero-internal {
        padding: calc(var(--header-height) + 30px) 0 40px;
    }

    /* Specs table mobile */
    .specs-table {
        display: block;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    /* Button large mobile */
    .btn-large,
    .btn.btn-large {
        width: 100%;
        justify-content: center;
        padding: 14px 28px;
        font-size: 0.92rem;
    }

    /* Related link mobile */
    .related-link {
        padding: 14px 16px;
        font-size: 0.88rem;
    }

    .link-icon {
        width: 32px;
        height: 32px;
    }
}


/* ==========================================================================
   30. RESPONSIVE - SMALL MOBILE (max-width: 480px)
   ========================================================================== */

@media (max-width: 480px) {

    body {
        font-size: 15px;
        line-height: 1.65;
    }

    .container {
        padding: 0 14px;
    }

    .iptv-hero h1 {
        font-size: 1.55rem;
    }

    .hero-subtitle {
        font-size: 0.88rem;
    }

    .hero-badge {
        font-size: 0.72rem;
        padding: 6px 14px;
    }

    .content-layout {
        padding: 20px 14px 48px;
    }

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

    .content-section h2 {
        font-size: 1.25rem;
    }

    .content-section h3 {
        font-size: 1.05rem;
    }

    .content-section p {
        font-size: 0.92rem;
    }

    .feature-card {
        padding: 16px;
    }

    .feature-card h3 {
        font-size: 0.95rem;
    }

    .feature-card p {
        font-size: 0.82rem;
    }

    .feature-card-icon,
    .feature-icon {
        width: 40px;
        height: 40px;
        font-size: 0;
    }

    .feature-icon::before {
        width: 16px;
        height: 16px;
    }

    .related-icon {
        width: 34px;
        height: 34px;
    }

    .related-icon::before {
        width: 14px;
        height: 14px;
    }

    .card-icon {
        width: 36px;
        height: 36px;
    }

    .card-icon::before {
        width: 14px;
        height: 14px;
    }

    .step-number-circle {
        width: 36px;
        height: 36px;
        min-width: 36px;
        font-size: 0.85rem;
    }

    .step-body h3 {
        font-size: 1rem;
    }

    .step-body p {
        font-size: 0.85rem;
    }

    .related-card {
        padding: 18px;
    }

    .related-card h3 {
        font-size: 1rem;
    }

    .related-card p {
        font-size: 0.8rem;
    }

    .faq-question {
        padding: 14px 16px;
    }

    .faq-question h3,
    .faq-question span.faq-q-text {
        font-size: 0.85rem;
    }

    .faq-answer p,
    .faq-answer-inner p {
        font-size: 0.83rem;
    }

    .final-cta h2 {
        font-size: 1.25rem;
    }

    .final-cta p {
        font-size: 0.88rem;
    }

    .section-header h2 {
        font-size: 1.25rem;
    }

    .section-header p {
        font-size: 0.9rem;
    }

    .stats-row {
        grid-template-columns: 1fr 1fr;
        gap: 12px;
    }

    .stat-value {
        font-size: 1.6rem;
    }

    .stat-label {
        font-size: 0.72rem;
    }

    .btn {
        padding: 10px 20px;
        font-size: 0.82rem;
    }

    .btn-lg {
        padding: 12px 28px;
        font-size: 0.88rem;
    }

    .btn-xl {
        padding: 14px 32px;
        font-size: 0.9rem;
    }

    /* Breadcrumb wraps better */
    .breadcrumb-list {
        font-size: 0.72rem;
    }

    .breadcrumb-list li + li::before {
        margin: 0 6px;
    }

    /* Floating CTA tighter */
    .floating-cta {
        padding: 10px 14px;
    }

    /* Content boxes tighter */
    .highlight-box,
    .info-box,
    .warning-box,
    .success-box,
    .tip-box {
        padding: 14px 14px;
        font-size: 0.88rem;
    }

    .comparison-table {
        font-size: 0.82rem;
    }

    .comparison-table thead th {
        padding: 12px 14px;
        font-size: 0.78rem;
    }

    .comparison-table tbody td {
        padding: 10px 14px;
    }

    /* Author meta compact */
    .article-meta {
        gap: 12px;
    }

    .meta-item {
        font-size: 0.75rem;
    }

    .author-avatar {
        width: 40px;
        height: 40px;
        font-size: 0.95rem;
    }

    /* Step cards small mobile */
    .step-card {
        gap: 12px;
        padding: 16px 0;
    }

    .step-num {
        width: 32px;
        height: 32px;
        min-width: 32px;
        font-size: 0.78rem;
    }

    .step-text h3,
    .step-text h4 {
        font-size: 0.95rem;
    }

    .step-text p {
        font-size: 0.85rem;
    }

    /* Specs table small mobile */
    .specs-table thead th {
        padding: 10px 12px;
        font-size: 0.75rem;
    }

    .specs-table tbody td {
        padding: 8px 12px;
        font-size: 0.82rem;
    }

    /* Related pages small mobile */
    .related-pages h2 {
        font-size: 1.25rem;
    }

    .related-link {
        padding: 12px 14px;
        font-size: 0.82rem;
    }

    .link-icon {
        width: 28px;
        height: 28px;
    }

    .link-icon::before {
        width: 12px;
        height: 12px;
    }
}


/* ==========================================================================
   31. PRINT STYLES
   ========================================================================== */

@media print {
    body {
        background: white;
        color: #222;
    }

    .header,
    .hamburger,
    .mobile-nav,
    .mobile-overlay,
    .floating-cta,
    .sidebar-cta,
    .final-cta,
    .inline-cta,
    .cta-banner,
    .hero-cta,
    .btn {
        display: none !important;
    }

    .sidebar,
    .guide-sidebar {
        display: none;
    }

    .content-layout,
    .content-wrapper,
    .guide-layout {
        grid-template-columns: 1fr;
    }

    .content-wrapper > .container,
    .content-layout > .container {
        grid-template-columns: 1fr;
    }

    .iptv-hero {
        padding-top: 20px;
        background: none;
    }

    .iptv-hero::before,
    .iptv-hero::after {
        display: none;
    }

    .iptv-hero h1 {
        color: #222;
    }

    .iptv-hero h1 .highlight {
        -webkit-text-fill-color: #007744;
        color: #007744;
    }

    .content-section h2,
    .content-section h3,
    .content-section h4 {
        color: #222;
    }

    .content-section p,
    .content-section li {
        color: #444;
    }

    .feature-card,
    .related-card,
    .faq-item,
    .highlight-box,
    .info-box,
    .warning-box {
        border: 1px solid #ccc;
        background: white;
        box-shadow: none;
    }

    .comparison-table {
        border: 1px solid #ccc;
    }

    .comparison-table thead {
        background: #f0f0f0;
    }

    .comparison-table thead th {
        color: #333;
    }

    .comparison-table tbody td {
        color: #444;
    }

    .footer {
        border-top: 1px solid #ccc;
        background: white;
    }
}
