/*
Theme Name: HispanIPTV
Theme URI: https://hispaniptv.com
Author: HispanIPTV
Description: Tema WordPress premium para servicio IPTV España - Diseño oscuro moderno con integración WhatsApp
Version: 1.0.0
Text Domain: hispaniptv
*/

/* ========================================
   CSS VARIABLES & DESIGN TOKENS
   ======================================== */
:root {
    /* Colors - Dark Theme */
    --bg-primary: #050810;
    --bg-secondary: #0a0e1a;
    --bg-card: #0d1221;
    --bg-card-hover: #12192e;
    --bg-card-featured: #151b36;

    /* Accent Colors */
    --accent-primary: #8b5cf6;
    --accent-primary-light: #a78bfa;
    --accent-primary-dark: #7c3aed;
    --accent-gradient: linear-gradient(135deg, #8b5cf6 0%, #d8b4fe 100%);
    --accent-glow: rgba(139, 92, 246, 0.4);
    --accent-green: #10b981;
    --accent-green-glow: rgba(16, 185, 129, 0.2);
    --accent-blue: #3b82f6;
    --accent-orange: #fbbf24;

    /* Text Colors */
    --text-primary: #f8fafc;
    --text-secondary: #94a3b8;
    --text-muted: #64748b;
    --text-accent: #c4b5fd;

    /* Borders */
    --border-color: rgba(255, 255, 255, 0.05);
    --border-accent: rgba(139, 92, 246, 0.3);

    /* Shadows */
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.5);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.6);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.7);
    --shadow-glow: 0 0 40px rgba(139, 92, 246, 0.25);
    --shadow-card: 0 8px 24px rgba(0, 0, 0, 0.5);

    /* Typography */
    --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-size-xs: 0.75rem;
    --font-size-sm: 0.875rem;
    --font-size-base: 1rem;
    --font-size-lg: 1.125rem;
    --font-size-xl: 1.25rem;
    --font-size-2xl: 1.5rem;
    --font-size-3xl: 1.875rem;
    --font-size-4xl: 2.25rem;
    --font-size-5xl: 3rem;
    --font-size-6xl: 3.75rem;

    /* Spacing */
    --container-width: 1200px;
    --section-padding: 80px 0;
    --gap-sm: 8px;
    --gap-md: 16px;
    --gap-lg: 24px;
    --gap-xl: 32px;
    --gap-2xl: 48px;

    /* Border Radius */
    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 16px;
    --radius-xl: 20px;
    --radius-full: 9999px;

    /* Transitions */
    --transition-fast: 0.15s ease;
    --transition-base: 0.3s ease;
    --transition-slow: 0.5s ease;
}

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

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

body {
    font-family: var(--font-family);
    background-color: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-base);
}

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

ul, ol {
    list-style: none;
}

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

/* ========================================
   CONTAINER
   ======================================== */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
}

/* ========================================
   HEADER & NAVIGATION
   ======================================== */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(10, 14, 26, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-color);
    transition: var(--transition-base);
}

.site-header.scrolled {
    background: rgba(10, 14, 26, 0.95);
    box-shadow: var(--shadow-lg);
}

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

.site-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: var(--font-size-xl);
    font-weight: 800;
    letter-spacing: -0.04em;
    text-transform: uppercase;
    text-decoration: none;
}

.logo-text {
    color: var(--accent-primary); /* "IPTV" en morado */
}

.logo-text span {
    color: #ffffff; /* "HISPAN" en blanco */
}

.logo-img {
    height: 45px;
    width: auto;
    object-fit: contain;
}

.site-logo .logo-icon {
    width: 36px;
    height: 36px;
    background: var(--accent-gradient);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
}

.nav-pill-container {
    background: rgba(15, 20, 36, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 6px 30px;
    border-radius: 100px;
    display: flex;
    align-items: center;
    gap: var(--gap-lg);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.nav-menu a {
    font-size: var(--font-size-sm);
    font-weight: 600;
    color: var(--text-secondary);
    padding: 10px 4px;
    position: relative;
    transition: var(--transition-base);
}

.nav-menu a .status-dot {
    display: inline-block;
    width: 8px;
    height: 8px;
    background-color: #10b981;
    border-radius: 50%;
    margin-right: 6px;
    box-shadow: 0 0 8px rgba(16, 185, 129, 0.4);
}

.nav-menu a:hover,
.nav-menu a.active {
    color: var(--text-primary);
}

.nav-status {
    display: flex;
    align-items: center;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: var(--accent-primary);
    transition: var(--transition-base);
    border-radius: 1px;
    box-shadow: 0 0 10px var(--accent-glow);
}

.nav-menu a:hover::after,
.nav-menu a.active::after {
    width: 20px;
}

.header-cta {
    display: flex;
    align-items: center;
    gap: 12px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-weight: 700;
    border-radius: var(--radius-full);
    transition: var(--transition-base);
    white-space: nowrap;
    font-size: var(--font-size-sm);
    letter-spacing: -0.01em;
}

.btn-primary {
    background: var(--accent-gradient);
    color: white;
    padding: 12px 28px;
    box-shadow: 
        0 4px 15px var(--accent-glow),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 
        0 8px 25px var(--accent-glow),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.btn-outline {
    border: 1px solid var(--border-accent);
    color: var(--text-primary);
    padding: 12px 28px;
    background: rgba(139, 92, 246, 0.05);
}

.btn-outline:hover {
    background: rgba(139, 92, 246, 0.15);
    border-color: var(--accent-primary);
    color: white;
}

.btn-whatsapp {
    background: #25d366;
    color: white;
    padding: 14px 32px;
    font-size: var(--font-size-base);
    box-shadow: 
        0 4px 15px rgba(37, 211, 102, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.btn-whatsapp:hover {
    background: #20bd5a;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.5);
}

.btn-lg {
    padding: 16px 36px;
    font-size: var(--font-size-base);
}

/* Mobile Menu Toggle */
.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 5px;
}

.mobile-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    transition: var(--transition-base);
    border-radius: 2px;
}

/* ========================================
   HERO SECTION
   ======================================== */
.hero {
    padding: 140px 0 80px;
    position: relative;
    overflow: hidden;
    min-height: 90vh;
    display: flex;
    align-items: center;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(124, 58, 237, 0.15) 0%, transparent 70%);
    border-radius: 50%;
    animation: float 8s ease-in-out infinite;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -30%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    animation: float 10s ease-in-out infinite reverse;
}

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

/* Hero Grid - Two Column Layout */
.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--gap-2xl);
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero-content {
    text-align: left;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(139, 92, 246, 0.1);
    border: 1px solid var(--border-accent);
    padding: 10px 24px;
    border-radius: var(--radius-full);
    font-size: var(--font-size-sm);
    color: var(--text-accent);
    font-weight: 600;
    margin-bottom: var(--gap-lg);
    animation: fadeInDown 0.6s ease;
    box-shadow: 0 0 20px rgba(139, 92, 246, 0.1);
}

.hero h1 {
    font-size: clamp(2.5rem, 5.5vw, var(--font-size-6xl));
    font-weight: 800;
    line-height: 1.05;
    margin-bottom: var(--gap-lg);
    letter-spacing: -0.05em;
    animation: fadeInUp 0.8s ease;
}

.hero h1 .highlight {
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-description {
    font-size: var(--font-size-lg);
    color: var(--text-secondary);
    max-width: 520px;
    margin: 0 0 var(--gap-xl);
    line-height: 1.7;
    animation: fadeInUp 1s ease;
}

.hero-buttons {
    display: flex;
    align-items: center;
    gap: var(--gap-md);
    flex-wrap: wrap;
    margin-bottom: var(--gap-xl);
    animation: fadeInUp 1.2s ease;
}

.hero-trust {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-muted);
    font-size: var(--font-size-sm);
    animation: fadeInUp 1.4s ease;
}

.hero-trust .stars {
    color: var(--accent-orange);
}

/* Hero Image */
.hero-image {
    position: relative;
    animation: fadeInRight 1s ease;
}

@keyframes fadeInRight {
    from { opacity: 0; transform: translateX(40px); }
    to { opacity: 1; transform: translateX(0); }
}

.hero-image-wrapper {
    position: relative;
    border-radius: var(--radius-xl);
    overflow: hidden;
    border: 1px solid var(--border-accent);
    box-shadow: 
        0 8px 40px rgba(124, 58, 237, 0.2),
        0 0 80px rgba(124, 58, 237, 0.1);
    transition: var(--transition-base);
}

.hero-image-wrapper:hover {
    transform: translateY(-5px);
    box-shadow: 
        0 12px 50px rgba(124, 58, 237, 0.3),
        0 0 100px rgba(124, 58, 237, 0.15);
}

.hero-image-wrapper img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.6s ease;
}

.hero-image-wrapper:hover img {
    transform: scale(1.03);
}

.hero-image-glow {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(
        ellipse at center,
        rgba(124, 58, 237, 0.15) 0%,
        transparent 60%
    );
    pointer-events: none;
    z-index: -1;
}

/* Hero Image Stats Bar */
.hero-image-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2px;
    margin-top: var(--gap-md);
    animation: fadeInUp 1.4s ease;
}

.hero-stat {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    padding: 14px 12px;
    text-align: center;
    transition: var(--transition-base);
}

.hero-stat:first-child {
    border-radius: var(--radius-md) 0 0 var(--radius-md);
}

.hero-stat:last-child {
    border-radius: 0 var(--radius-md) var(--radius-md) 0;
}

.hero-stat:hover {
    border-color: var(--border-accent);
    background: var(--bg-card-hover);
}

.hero-stat-number {
    display: block;
    font-size: var(--font-size-lg);
    font-weight: 700;
    color: var(--text-primary);
    letter-spacing: -0.02em;
}

.hero-stat-label {
    display: block;
    font-size: var(--font-size-xs);
    color: var(--text-muted);
    margin-top: 2px;
    font-weight: 500;
}

/* Animations */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInDown {
    from { opacity: 0; transform: translateY(-20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ========================================
   SECTION TITLES
   ======================================== */
.section {
    padding: var(--section-padding);
    position: relative;
}

.section-header {
    text-align: center;
    max-width: 650px;
    margin: 0 auto var(--gap-2xl);
}

.section-header h2 {
    font-size: clamp(1.75rem, 3vw, var(--font-size-4xl));
    font-weight: 700;
    margin-bottom: var(--gap-md);
    letter-spacing: -0.02em;
}

.section-header p {
    color: var(--text-secondary);
    font-size: var(--font-size-lg);
    line-height: 1.7;
}

/* ========================================
   DISCOUNT BANNER
   ======================================== */
.discount-banner {
    padding: 60px 0;
    position: relative;
}

.discount-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--gap-xl);
    align-items: center;
}

.discount-card {
    background: var(--bg-card);
    border: 1px solid var(--border-accent);
    border-radius: var(--radius-xl);
    padding: var(--gap-2xl);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.discount-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--accent-gradient);
}

.discount-badge {
    display: inline-block;
    background: var(--accent-gradient);
    color: white;
    padding: 8px 24px;
    border-radius: var(--radius-full);
    font-weight: 700;
    font-size: var(--font-size-2xl);
    margin-bottom: var(--gap-md);
}

.discount-card h3 {
    font-size: var(--font-size-xl);
    margin-bottom: var(--gap-sm);
}

.discount-card p {
    color: var(--text-secondary);
    font-size: var(--font-size-sm);
}

.discount-info {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    padding: var(--gap-2xl);
}

.discount-info h3 {
    font-size: var(--font-size-xl);
    margin-bottom: var(--gap-md);
}

.discount-info p {
    color: var(--text-secondary);
    line-height: 1.7;
}

/* ========================================
   PRICING SECTION
   ======================================== */
.pricing-section {
    padding: var(--section-padding);
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--gap-xl);
    max-width: 1000px;
    margin: 0 auto;
}

.pricing-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    padding: var(--gap-2xl) var(--gap-xl);
    text-align: center;
    position: relative;
    transition: var(--transition-base);
    box-shadow: var(--shadow-sm);
}

.pricing-card:hover {
    transform: translateY(-8px);
    border-color: var(--border-accent);
    box-shadow: var(--shadow-lg);
}

.pricing-card.featured {
    border: 2px solid var(--accent-primary);
    background: var(--bg-card-featured);
    transform: scale(1.08);
    box-shadow: 0 0 40px rgba(139, 92, 246, 0.2);
    z-index: 5;
}

.pricing-card.featured:hover {
    transform: scale(1.08) translateY(-8px);
}

.pricing-badge {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--accent-gradient);
    color: white;
    padding: 6px 24px;
    border-radius: var(--radius-full);
    font-size: var(--font-size-sm);
    font-weight: 600;
    white-space: nowrap;
}

.pricing-card h3 {
    font-size: var(--font-size-xl);
    font-weight: 700;
    margin-bottom: var(--gap-md);
    margin-top: 10px;
}

.pricing-price {
    font-size: var(--font-size-5xl);
    font-weight: 800;
    margin-bottom: 4px;
    letter-spacing: -0.03em;
}

.pricing-price .currency {
    font-size: var(--font-size-2xl);
    vertical-align: super;
}

.pricing-period {
    color: var(--text-muted);
    font-size: var(--font-size-sm);
    margin-bottom: var(--gap-xl);
}

.pricing-divider {
    height: 1px;
    background: var(--border-color);
    margin: var(--gap-lg) 0;
}

.pricing-features {
    text-align: left;
    margin-bottom: var(--gap-xl);
}

.pricing-features li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 8px 0;
    color: var(--text-secondary);
    font-size: var(--font-size-sm);
}

.pricing-features li svg {
    flex-shrink: 0;
    width: 18px;
    height: 18px;
    color: var(--accent-green);
    margin-top: 2px;
}

.pricing-card .btn {
    width: 100%;
}

/* Trust Badges under pricing */
.trust-badges {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--gap-lg);
    margin-top: var(--gap-2xl);
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.trust-badge {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 16px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
}

.trust-badge svg {
    width: 24px;
    height: 24px;
    color: var(--accent-green);
    flex-shrink: 0;
}

.trust-badge span {
    font-size: var(--font-size-sm);
    font-weight: 500;
    color: var(--text-secondary);
}

/* ========================================
   FEATURES SECTION
   ======================================== */
.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--gap-xl);
}

.feature-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: var(--gap-xl);
    transition: var(--transition-base);
}

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

.feature-icon {
    width: 50px;
    height: 50px;
    background: rgba(124, 58, 237, 0.1);
    border: 1px solid var(--border-accent);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--gap-md);
}

.feature-icon svg {
    width: 24px;
    height: 24px;
    color: var(--accent-primary-light);
}

.feature-card h3 {
    font-size: var(--font-size-lg);
    font-weight: 600;
    margin-bottom: var(--gap-sm);
}

.feature-card p {
    color: var(--text-secondary);
    font-size: var(--font-size-sm);
    line-height: 1.6;
}

/* ========================================
   DEVICES SECTION
   ======================================== */
.devices-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--gap-lg);
}

.device-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: var(--gap-xl);
    text-align: center;
    transition: var(--transition-base);
}

.device-card:hover {
    border-color: var(--border-accent);
    transform: translateY(-3px);
}

.device-card .device-icon {
    font-size: 40px;
    margin-bottom: var(--gap-md);
}

.device-card h3 {
    font-size: var(--font-size-base);
    font-weight: 600;
    margin-bottom: 4px;
}

.device-card p {
    font-size: var(--font-size-sm);
    color: var(--text-muted);
}

/* ========================================
   INSTALLATION GUIDE
   ======================================== */
.install-tabs {
    display: flex;
    justify-content: center;
    gap: var(--gap-sm);
    margin-bottom: var(--gap-xl);
    flex-wrap: wrap;
}

.install-tab {
    padding: 10px 24px;
    border-radius: var(--radius-full);
    font-size: var(--font-size-sm);
    font-weight: 500;
    color: var(--text-secondary);
    border: 1px solid var(--border-color);
    cursor: pointer;
    transition: var(--transition-base);
}

.install-tab.active,
.install-tab:hover {
    background: var(--accent-gradient);
    color: white;
    border-color: transparent;
}

.install-steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--gap-xl);
    max-width: 900px;
    margin: 0 auto;
}

.install-step {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: var(--gap-xl);
    text-align: center;
}

.step-number {
    width: 40px;
    height: 40px;
    background: var(--accent-gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: var(--font-size-base);
    margin: 0 auto var(--gap-md);
}

.install-step h4 {
    font-size: var(--font-size-base);
    margin-bottom: var(--gap-sm);
}

.install-step p {
    color: var(--text-secondary);
    font-size: var(--font-size-sm);
    line-height: 1.5;
}

/* ========================================
   SPORTS & MOVIES SECTIONS
   ======================================== */
.content-showcase {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--gap-2xl);
    align-items: center;
}

.content-showcase.reverse {
    direction: rtl;
}

.content-showcase.reverse > * {
    direction: ltr;
}

.content-text h2 {
    font-size: clamp(1.75rem, 3vw, var(--font-size-4xl));
    font-weight: 700;
    margin-bottom: var(--gap-md);
    letter-spacing: -0.02em;
}

.content-text p {
    color: var(--text-secondary);
    font-size: var(--font-size-base);
    line-height: 1.7;
    margin-bottom: var(--gap-xl);
}

.content-image {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    padding: var(--gap-xl);
    min-height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 80px;
    overflow: hidden;
}

.showcase-img {
    width: 100%;
    height: 100%;
    max-height: 400px;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}


.content-image::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(124, 58, 237, 0.05), rgba(59, 130, 246, 0.05));
}

/* ========================================
   TESTIMONIALS
   ======================================== */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--gap-xl);
}

.testimonial-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: var(--gap-xl);
    transition: var(--transition-base);
}

.testimonial-card:hover {
    border-color: var(--border-accent);
}

.testimonial-stars {
    color: var(--accent-orange);
    margin-bottom: var(--gap-md);
    font-size: var(--font-size-sm);
    letter-spacing: 2px;
}

.testimonial-card h4 {
    font-size: var(--font-size-sm);
    font-weight: 700;
    color: var(--text-accent);
    margin-bottom: var(--gap-sm);
}

.testimonial-card p {
    color: var(--text-secondary);
    font-size: var(--font-size-sm);
    line-height: 1.6;
    margin-bottom: var(--gap-md);
}

.testimonial-author {
    font-size: var(--font-size-sm);
    font-weight: 600;
    color: var(--text-primary);
}

/* ========================================
   COMPARISON TABLE
   ======================================== */
.comparison-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    max-width: 800px;
    margin: 0 auto;
    overflow: hidden;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-color);
}

.comparison-table th,
.comparison-table td {
    padding: 16px 24px;
    text-align: center;
    border-bottom: 1px solid var(--border-color);
}

.comparison-table th {
    background: var(--bg-card);
    font-weight: 600;
    font-size: var(--font-size-sm);
    color: var(--text-secondary);
}

.comparison-table th:nth-child(2) {
    color: var(--accent-primary-light);
    background: rgba(124, 58, 237, 0.1);
}

.comparison-table td {
    font-size: var(--font-size-sm);
    color: var(--text-secondary);
    background: var(--bg-secondary);
}

.comparison-table td:first-child {
    text-align: left;
    font-weight: 500;
    color: var(--text-primary);
}

.comparison-table td:nth-child(2) {
    background: rgba(124, 58, 237, 0.05);
    color: var(--accent-green);
    font-weight: 600;
}

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

.check-yes { color: var(--accent-green); }
.check-no { color: #ef4444; }

/* ========================================
   FAQ SECTION
   ======================================== */
.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

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

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

.faq-question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 24px;
    font-size: var(--font-size-base);
    font-weight: 500;
    color: var(--text-primary);
    background: var(--bg-card);
    cursor: pointer;
    text-align: left;
}

.faq-question svg {
    width: 20px;
    height: 20px;
    color: var(--text-muted);
    transition: transform var(--transition-base);
    flex-shrink: 0;
}

.faq-item.open .faq-question svg {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
}

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

.faq-answer p {
    padding: 0 24px 18px;
    color: var(--text-secondary);
    font-size: var(--font-size-sm);
    line-height: 1.7;
}

/* ========================================
   CTA SECTION
   ======================================== */
.cta-section {
    padding: 80px 0;
    text-align: center;
    position: relative;
}

.cta-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(124, 58, 237, 0.08), rgba(59, 130, 246, 0.05));
    border-radius: var(--radius-xl);
}

.cta-content {
    position: relative;
    z-index: 2;
}

.cta-content h2 {
    font-size: clamp(1.75rem, 3vw, var(--font-size-4xl));
    font-weight: 700;
    margin-bottom: var(--gap-md);
}

.cta-content p {
    color: var(--text-secondary);
    font-size: var(--font-size-lg);
    margin-bottom: var(--gap-xl);
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.cta-buttons {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--gap-md);
    flex-wrap: wrap;
}

/* ========================================
   FOOTER
   ======================================== */
.site-footer {
    background: var(--bg-secondary);
    border-top: 1px solid var(--border-color);
    padding: 60px 0 30px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: var(--gap-2xl);
    margin-bottom: var(--gap-2xl);
}

.footer-brand p {
    color: var(--text-secondary);
    font-size: var(--font-size-sm);
    line-height: 1.7;
    margin-top: var(--gap-md);
    max-width: 300px;
}

.footer-column h4 {
    font-size: var(--font-size-sm);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-primary);
    margin-bottom: var(--gap-md);
}

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

.footer-column ul li a {
    color: var(--text-secondary);
    font-size: var(--font-size-sm);
}

.footer-column ul li a:hover {
    color: var(--text-accent);
}

.footer-bottom {
    border-top: 1px solid var(--border-color);
    padding-top: var(--gap-lg);
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: var(--gap-md);
}

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

/* ========================================
   FLOATING WHATSAPP BUTTON
   ======================================== */
.whatsapp-float {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 999;
    width: 60px;
    height: 60px;
    background: #25d366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    transition: var(--transition-base);
    animation: pulse-wa 2s infinite;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 30px rgba(37, 211, 102, 0.5);
}

.whatsapp-float svg {
    width: 30px;
    height: 30px;
    fill: white;
}

@keyframes pulse-wa {
    0%, 100% { box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4); }
    50% { box-shadow: 0 4px 30px rgba(37, 211, 102, 0.6); }
}

/* ========================================
   SOCIAL PROOF POPUP
   ======================================== */
.social-proof {
    position: fixed;
    bottom: 100px;
    left: 24px;
    z-index: 998;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 14px 20px;
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: var(--shadow-lg);
    transform: translateX(-120%);
    transition: transform 0.5s ease;
    max-width: 300px;
}

.social-proof.show {
    transform: translateX(0);
}

.social-proof .proof-icon {
    font-size: 24px;
}

.social-proof .proof-text {
    font-size: var(--font-size-xs);
    color: var(--text-secondary);
}

.social-proof .proof-text strong {
    color: var(--text-primary);
    display: block;
}

/* ========================================
   COOKIE BANNER
   ======================================== */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--bg-card);
    border-top: 1px solid var(--border-color);
    padding: 16px 0;
    z-index: 1001;
    display: none;
}

.cookie-banner.show {
    display: block;
}

.cookie-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--gap-md);
    flex-wrap: wrap;
}

.cookie-inner p {
    font-size: var(--font-size-sm);
    color: var(--text-secondary);
}

.cookie-inner a {
    color: var(--text-accent);
}

/* ========================================
   RESPONSIVE - TABLET
   ======================================== */
@media (max-width: 1024px) {
    .pricing-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
    }

    .pricing-card.featured {
        transform: none;
        order: -1;
    }

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

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

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

    .hero-grid {
        grid-template-columns: 1fr;
        gap: var(--gap-xl);
    }

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

    .hero-description {
        margin: 0 auto var(--gap-xl);
    }

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

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

    .content-showcase {
        grid-template-columns: 1fr;
    }

    .content-showcase.reverse {
        direction: ltr;
    }

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

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

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

/* ========================================
   RESPONSIVE - MOBILE
   ======================================== */
@media (max-width: 768px) {
    :root {
        --section-padding: 60px 0;
    }

    .nav-menu {
        display: none;
        position: absolute;
        top: 70px;
        left: 0;
        right: 0;
        background: var(--bg-secondary);
        border-bottom: 1px solid var(--border-color);
        flex-direction: column;
        padding: var(--gap-lg);
        gap: 0;
        z-index: 1000;
    }

    .nav-pill-container {
        display: flex;
        flex-direction: column;
        background: none;
        border: none;
        padding: 0;
        width: 100%;
        gap: 0;
    }

    .nav-menu.open {
        display: flex;
    }

    .nav-menu a {
        padding: 12px 0;
        width: 100%;
        border-bottom: 1px solid var(--border-color);
        text-align: left;
    }

    .nav-menu a::after {
        display: none;
    }

    .mobile-toggle {
        display: flex;
    }

    .header-cta .btn-outline {
        display: none;
    }

    .hero {
        padding: 120px 0 60px;
        min-height: auto;
    }

    .hero-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

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

    .hero-description {
        margin: 0 auto var(--gap-xl);
    }

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

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

    .hero h1 {
        font-size: var(--font-size-3xl);
    }

    .hero-image-wrapper {
        max-width: 500px;
        margin: 0 auto;
    }

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

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

    .install-steps {
        grid-template-columns: 1fr;
    }

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

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

    .comparison-table {
        font-size: var(--font-size-xs);
    }

    .comparison-table th,
    .comparison-table td {
        padding: 10px 12px;
    }
}
/* ========================================
   PLANES & INNER PAGES SPECIFIC
   ======================================== */
.planes-page, .guia-page, .faq-page, .blog-page, .status-page {
    padding-top: 100px; /* Offset for fixed header */
}

.section-hero-planes {
    padding: 100px 0 60px;
    background: radial-gradient(circle at center, rgba(139, 92, 246, 0.05) 0%, transparent 70%);
}

.section-hero-planes .section-header {
    text-align: center;
}

.section-hero-planes h1 {
    font-size: clamp(3rem, 8vw, var(--font-size-6xl));
    font-weight: 800;
    margin-bottom: var(--gap-md);
    letter-spacing: -0.05em;
    color: var(--text-primary);
}

.section-hero-planes h1 .highlight {
    background: linear-gradient(135deg, #6366f1 0%, #a855f7 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.planes-badge {
    display: inline-block;
    color: #d946ef;
    font-weight: 800;
    font-size: var(--font-size-sm);
    letter-spacing: 0.2em;
    text-transform: uppercase;
    margin-bottom: var(--gap-md);
}

.section-hero-planes p {
    font-size: var(--font-size-xl);
    color: var(--text-primary);
    max-width: 700px;
    margin: 0 auto;
    font-weight: 500;
    line-height: 1.4;
}

.pt-0 {
    padding-top: 0 !important;
}

@media (max-width: 768px) {
    .section-hero-planes {
        padding: 60px 0 40px;
    }
}

/* Installation Guides Tabs */
.install-tabs {
    display: flex;
    justify-content: center;
    gap: var(--gap-md);
    margin-bottom: var(--gap-2xl);
    flex-wrap: wrap;
}

.install-tab {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    padding: 12px 24px;
    border-radius: var(--radius-full);
    color: var(--text-secondary);
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-base);
}

.install-tab.active, .install-tab:hover {
    background: var(--accent-primary);
    color: white;
    border-color: var(--accent-primary);
}

.install-steps-wrapper {
    display: none;
    animation: fadeIn 0.5s ease;
}

.install-steps-wrapper.active {
    display: block;
}

.guide-header {
    text-align: center;
    margin-bottom: var(--gap-2xl);
}

.guide-header h2 {
    margin-bottom: var(--gap-sm);
}

.blog-thumbnail img {
    transition: var(--transition-base);
}

.feature-card:hover .blog-thumbnail img {
    transform: scale(1.05);
}

/* Glass Card Component */
.glass-card {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    transition: all 0.3s ease;
    overflow: hidden;
}

.glass-card:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(99, 102, 241, 0.3);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

/* Blog Grid & Cards */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
}

.blog-card .post-thumbnail {
    height: 220px;
    overflow: hidden;
    position: relative;
}

.blog-card .post-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.blog-card:hover .post-thumbnail img {
    transform: scale(1.1);
}

.blog-card .post-content {
    padding: 2rem;
}

.blog-card .post-meta {
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-bottom: 0.75rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.blog-card h2 {
    font-size: 1.5rem;
    line-height: 1.4;
    margin-bottom: 1.25rem;
    font-weight: 700;
}

.blog-card h2 a {
    color: var(--text-primary);
    text-decoration: none;
    transition: color 0.2s;
}

.blog-card h2 a:hover {
    color: #a855f7;
}

.blog-card .post-excerpt {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 2rem;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.btn-glass {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-primary);
    padding: 10px 24px;
    border-radius: 12px;
    font-size: 0.9rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-glass:hover {
    background: rgba(99, 102, 241, 0.1);
    border-color: rgba(99, 102, 241, 0.4);
    color: #fff;
}
