/* =========================================================
   Global layout & background
   ========================================================= */

/* Base body styles (minimal, theme-agnostic) */
body {
    min-height: 100vh;
    transition: background 0.3s ease, color 0.3s ease;
}

/* =========================================================
   THEME: TRON LEGACY
   ========================================================= */
body.theme-tron {
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.85) 0%, rgba(0, 10, 20, 0.9) 50%, rgba(0, 0, 0, 0.85) 100%), url('../img/tron_background.png');
    background-attachment: fixed;
    background-size: cover;
    background-position: center;
    color: #00d9ff;
}

@media (max-width: 768px) {

    body.theme-tron,
    body.theme-dark,
    body.theme-light {
        background-attachment: scroll !important;
    }
}

/* =========================================================
   THEME: DARK (Original)
   ========================================================= */
body.theme-dark {
    background: linear-gradient(135deg, rgba(2, 6, 23, 0.3) 0%, rgba(15, 23, 42, 0.3) 40%, rgba(26, 5, 36, 0.3) 100%), url('../img/galaxy_background.jpg');
    background-attachment: fixed;
    background-size: cover;
    background-position: center;
    color: #e5e7eb;
}

.page-wrapper {
    padding-top: 80px;
    /* espacio para la navbar fija */
}

.pricing-card-main {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

/* =========================================================
   Navbar
   ========================================================= */

#site-header {
    backdrop-filter: blur(14px);
    background: rgba(0, 0, 0, 0.85);
    border-bottom: 1px solid rgba(0, 217, 255, 0.3);
    padding-top: 0.8rem;
    padding-bottom: 0.8rem;
    box-shadow: 0 10px 15px -3px rgba(0, 217, 255, 0.2), 0 4px 6px -2px rgba(0, 0, 0, 0.5);
    z-index: 10;
}

.brand-mark {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    background: linear-gradient(135deg, #00d9ff, #0080ff, #00d9ff);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1.1rem;
    box-shadow: 0 0 20px rgba(0, 217, 255, 0.8), 0 0 40px rgba(0, 217, 255, 0.4);
}

.navbar-brand {
    padding: 0.5rem 1rem;
    border-radius: 16px;
}

/* Navbar Links */
.navbar-nav .nav-link {
    font-weight: 500;
    font-size: 0.95rem;
    color: #00d9ff !important;
    padding-inline: 1rem !important;
    border: 1px solid rgba(0, 217, 255, 0.3);
    border-radius: 999px;
    transition: all 0.2s ease;
    box-shadow: 0 0 10px rgba(0, 217, 255, 0.2), 0 2px 4px rgba(0, 0, 0, 0.5);
}

.navbar-nav .nav-link:hover {
    color: #ffffff !important;
    border-color: rgba(0, 217, 255, 0.8);
    box-shadow: 0 0 20px rgba(0, 217, 255, 0.6), 0 0 40px rgba(0, 217, 255, 0.3);
}

/* Active state for regular nav links - subtle highlight with left accent */
.navbar-nav .nav-link.active {
    color: #ffffff !important;
    background: rgba(0, 217, 255, 0.1);
    border-color: rgba(0, 217, 255, 0.8);
    border-left: 3px solid #00d9ff;
    box-shadow: 0 0 15px rgba(0, 217, 255, 0.5), 0 0 30px rgba(0, 217, 255, 0.2);
    padding-left: calc(1rem - 3px) !important;
}

/* Navbar collapse background - ONLY on mobile */
@media (max-width: 991.98px) {
    .navbar-collapse {
        background: rgba(0, 0, 0, 0.95);
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
        padding: 1rem;
        border-radius: 1rem;
        margin-top: 0.5rem;
        border: 1px solid rgba(0, 217, 255, 0.3);
    }
}

/* Ensure no background on desktop */
@media (min-width: 992px) {
    .navbar-collapse {
        background: transparent !important;
        padding: 0 !important;
        border: none !important;
    }
}

/* Download Button - Tron cyan glow */
.btn-nav-download {
    border: 1px solid rgba(0, 217, 255, 0.6);
    background: rgba(0, 217, 255, 0.15);
    color: #00d9ff;
    border-radius: 999px;
    padding: 0.5rem 1rem;
    /* Ajustado para igualar el tamaño de los nav-links */
    font-weight: 600;
    font-size: 0.95rem;
    /* Mismo tamaño que los nav-links */
    transition: all 0.2s ease;
    box-shadow: 0 0 15px rgba(0, 217, 255, 0.3), 0 2px 4px rgba(0, 0, 0, 0.5);
}

.btn-nav-download:hover {
    background: rgba(0, 217, 255, 0.3);
    border-color: #00d9ff;
    color: #ffffff;
    box-shadow: 0 0 25px rgba(0, 217, 255, 0.8), 0 0 50px rgba(0, 217, 255, 0.4);
}

/* Active state for download button - cyan glow with left border like other links */
.btn-nav-download.active {
    background: rgba(0, 217, 255, 0.2);
    border-color: rgba(0, 217, 255, 0.8);
    border-left: 3px solid #00d9ff;
    box-shadow: 0 0 20px rgba(0, 217, 255, 0.5), 0 0 40px rgba(0, 217, 255, 0.2);
    padding-left: calc(1.2rem - 3px) !important;
}

/* Language Switcher (Pill) */
.lang-switcher-pill {
    background: rgba(0, 0, 0, 0.8);
    border: 1px solid rgba(0, 217, 255, 0.4);
    border-radius: 8px;
    padding: 3px;
    display: flex;
    gap: 2px;
}

.lang-switch-btn {
    border: none;
    background: transparent;
    color: #94a3b8;
    font-size: 0.75rem;
    font-weight: 600;
    padding: 4px 8px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: all 0.2s ease;
}

.lang-switch-btn img {
    width: 16px;
    height: 11px;
    object-fit: cover;
    border-radius: 2px;
    opacity: 0.7;
}

.lang-switch-btn.active {
    background: #00d9ff;
    color: #000000;
    box-shadow: 0 0 15px rgba(0, 217, 255, 0.8), 0 1px 3px rgba(0, 0, 0, 0.5);
}

.lang-switch-btn.active img {
    opacity: 1;
}

.lang-switch-btn:hover:not(.active) {
    color: #00d9ff;
    background: rgba(0, 217, 255, 0.1);
}

/* Theme Selector (Pill) - Similar to language switcher */
.theme-selector-pill {
    background: rgba(0, 0, 0, 0.8);
    border: 1px solid rgba(0, 217, 255, 0.4);
    border-radius: 8px;
    padding: 3px;
    display: flex;
    gap: 2px;
}

.theme-btn {
    border: none;
    background: transparent;
    color: #94a3b8;
    font-size: 1rem;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    cursor: pointer;
    min-width: 32px;
}

.theme-icon {
    font-size: 0.9rem;
    line-height: 1;
}

@media (max-width: 991.98px) {
    .theme-btn {
        padding: 8px 14px;
        /* Larger touch target */
        min-width: 40px;
    }

    .theme-selector-pill {
        padding: 4px;
        gap: 4px;
        margin-top: 0.5rem;
        /* Ensure spacing */
        z-index: 20;
        /* Ensure it's on top */
        position: relative;
    }
}

.theme-btn.active {
    background: #00d9ff;
    color: #000000;
    box-shadow: 0 0 15px rgba(0, 217, 255, 0.8), 0 1px 3px rgba(0, 0, 0, 0.5);
}

.theme-btn:hover:not(.active) {
    color: #00d9ff;
    background: rgba(0, 217, 255, 0.1);
}

/* =========================================================
   Hero section
   ========================================================= */

.section-hero {
    position: relative;
    overflow: hidden;
    padding-top: 4rem;
    padding-bottom: 4rem;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.3), 0 4px 6px -2px rgba(0, 0, 0, 0.2);
    z-index: 2;
}

.section-hero::before {
    content: "";
    position: absolute;
    inset: -40%;
    background:
        radial-gradient(circle at 20% 0%, rgba(0, 217, 255, 0.25), transparent 60%),
        radial-gradient(circle at 80% 100%, rgba(0, 128, 255, 0.25), transparent 55%);
    opacity: 0.9;
    pointer-events: none;
    z-index: -1;
}

/* Hero Large Title */
.hero-large-title {
    font-size: 7rem;
    /* Increased size */
    font-weight: 800;
    line-height: 0.85;
    /* Tighter line height */
    letter-spacing: -0.04em;
    margin-bottom: 0;
    position: relative;
    text-shadow: 0 0 100px rgba(56, 189, 248, 0.3);
}

.hero-title-white {
    color: #ffffff;
    display: block;
}

.hero-title-gradient {
    background: linear-gradient(135deg, #00d9ff 0%, #0080ff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: block;
}

/* Hero Blue Badge */
.hero-blue-badge {
    background: #00d9ff !important;
    color: #000000;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    box-shadow: 0 0 20px rgba(0, 217, 255, 0.8);
}

/* Hero Subtitle */
.hero-subtitle {
    font-size: 2.5rem;
    line-height: 1.1;
    letter-spacing: -0.02em;
}

.hero-subtitle-blue {
    color: #00d9ff;
    /* Tron cyan */
}

/* Hero Description */
.hero-description {
    color: #a0d9ff;
    font-size: 1.1rem;
    line-height: 1.6;
    max-width: 600px;
}

/* Hero What Is Section - Premium Design */
.hero-what-is {
    background: linear-gradient(145deg, rgba(0, 0, 0, 0.8), rgba(0, 10, 20, 0.9));
    border: 1px solid rgba(0, 217, 255, 0.3);
    border-radius: 1.5rem;
    padding: 1.5rem 2rem;
    position: relative;
    overflow: hidden;
    box-shadow: 0 0 30px rgba(0, 217, 255, 0.3), 0 20px 40px -10px rgba(0, 0, 0, 0.5);
    text-align: left;
}

.hero-what-is::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at 80% 20%, rgba(0, 217, 255, 0.15), transparent 40%);
    pointer-events: none;
}

.hero-what-is h3 {
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, #00d9ff 0%, #ffffff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: inline-block;
}

.hero-what-is-content {
    border-left: 4px solid;
    border-image: linear-gradient(to bottom, #00d9ff, #0080ff) 1;
    padding-left: 1.5rem;
}

.hero-what-is-content p {
    font-size: 1rem;
    line-height: 1.6;
    color: #a0d9ff !important;
    font-weight: 300;
    letter-spacing: 0.01em;
    margin-bottom: 0;
}

/* Features List inside What Is Card */
.features-list {
    list-style: none;
    padding-left: 0;
    font-size: 0.9rem;
    line-height: 1.5;
    color: #cbd5e1;
    columns: 2;
    column-gap: 1.5rem;
}

.features-list li {
    position: relative;
    padding-left: 1.2rem;
    margin-bottom: 0.5rem;
    break-inside: avoid;
}

.features-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.5rem;
    width: 0.4rem;
    height: 0.4rem;
    border-radius: 50%;
    background: linear-gradient(135deg, #00d9ff, #0080ff);
    box-shadow: 0 0 10px rgba(0, 217, 255, 0.8);
}

@media (max-width: 767.98px) {
    .features-list {
        columns: 1;
    }
}

/* Decorative Waves below WebUI Image */
.decorative-waves {
    width: 100%;
    height: 50px;
    opacity: 0.8;
}

.decorative-waves svg {
    width: 100%;
    height: 100%;
}

.webui-image-container {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

@media (max-width: 767.98px) {
    .webui-image-container {
        align-items: center;
        margin-bottom: 2rem;
    }

    .webui-image-container img {
        max-width: 90%;
    }

    .decorative-waves {
        display: none;
    }
}

/* Cursor pointer for clickeable elements */
.cursor-pointer {
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.cursor-pointer:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 16px rgba(56, 189, 248, 0.2) !important;
}


/* Hover Scale Effect for WebUI Image */
.hover-scale {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
}

.hover-scale:hover {
    transform: scale(1.03);
    /* Shadow is handled by specific classes if needed, or default here */
    box-shadow: 0 15px 30px -5px rgba(56, 189, 248, 0.3);
}

.webui-shadow {
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.7), 0 0 40px rgba(56, 189, 248, 0.25);
}

.webui-shadow:hover {
    box-shadow: 0 35px 60px -12px rgba(0, 0, 0, 0.8), 0 0 60px rgba(56, 189, 248, 0.5) !important;
}

/* Diagram Container */
.hero-diagram-container img {
    border: 1px solid rgba(56, 189, 248, 0.2);
    box-shadow: 0 20px 50px -10px rgba(0, 0, 0, 0.5);
    transition: transform 0.3s ease;
}

.hero-diagram-container img:hover {
    transform: scale(1.02);
}

/* Hero Wave Divider */
.hero-wave-divider {
    width: 100%;
    height: 40px;
    opacity: 0.8;
}

.hero-wave-divider svg {
    width: 100%;
    height: 100%;
}

/* Hero CTA Section */
.hero-cta-section {
    width: 100%;
    padding: 0.5rem 0;
}

.hero-cta-title {
    font-size: 1.8rem;
    font-weight: 700;
    background: linear-gradient(135deg, #ffffff 0%, #cbd5e1 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.3;
}

.hero-cta-text {
    font-size: 1.05rem;
    color: #a0d9ff;
    line-height: 1.6;
    max-width: 100%;
    margin-bottom: 1.5rem;
}

.hero-cta-features {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    align-items: center;
}

.hero-cta-badge {
    background: rgba(0, 217, 255, 0.15);
    border: 1px solid rgba(0, 217, 255, 0.5);
    color: #00d9ff;
    padding: 0.5rem 1.2rem;
    border-radius: 999px;
    font-size: 0.9rem;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-block;
    box-shadow: 0 0 15px rgba(0, 217, 255, 0.3);
}

.hero-cta-badge:hover {
    background: rgba(0, 217, 255, 0.25);
    border-color: #00d9ff;
    transform: translateY(-2px);
    box-shadow: 0 0 25px rgba(0, 217, 255, 0.6), 0 4px 12px rgba(0, 217, 255, 0.4);
}

/* Responsive CTA */
@media (max-width: 991.98px) {
    .hero-cta-title {
        font-size: 1.75rem;
    }

    .hero-cta-text {
        font-size: 1rem;
    }
}

@media (max-width: 767.98px) {
    .hero-cta-title {
        font-size: 1.5rem;
    }

    .hero-cta-text {
        font-size: 0.95rem;
    }

    .hero-cta-badge {
        font-size: 0.85rem;
        padding: 0.4rem 1rem;
    }
}


/* Responsive hero title */
@media (max-width: 1199.98px) {
    .hero-large-title {
        font-size: 6rem;
    }
}

@media (max-width: 991.98px) {
    .hero-large-title {
        font-size: 5rem;
    }

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

    .hero-description {
        margin-left: auto;
        margin-right: auto;
    }
}

/* Galaxy background */
/* Galaxy background handled in body */

@media (max-width: 767.98px) {
    .hero-large-title {
        font-size: 3.5rem;
    }

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

.badge-dot {
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 999px;
    background-color: #0ea5e9;
}

/* Hero card / topology */
.hero-card {
    border-radius: 1.5rem;
    border: 1px solid rgba(148, 163, 184, 0.4);
}

.pill {
    border-radius: 999px;
    padding: 0.4rem 0.7rem;
    background-color: rgba(15, 23, 42, 0.9);
    border: 1px solid rgba(148, 163, 184, 0.6);
}

.pill-top {
    margin: 0 auto;
}

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

.gateway-card {
    border-radius: 1rem;
    padding: 0.75rem 1rem;
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.95), rgba(30, 64, 175, 0.95));
    border: 1px solid rgba(96, 165, 250, 0.6);
    font-size: 0.85rem;
}

/* =========================================================
   Generic sections
   ========================================================= */

.section-features,
.section-compatibility,
.section-pricing,
.section-download,
.section-manuals,
.section-contact,
.section-footer {
    position: relative;
}

.section-features::before,
.section-pricing::before,
.section-contact::before {
    display: none;
}

/* =========================================================
   Cards
   ========================================================= */

/* Unified card styles - all cards match manual preview cards */
/* =========================================================
   THEME SPECIFIC CARD STYLES
   ========================================================= */

/* TRON THEME CARDS (Cyan Neon) */
body.theme-tron .feature-card,
body.theme-tron .pricing-card,
body.theme-tron .download-step,
body.theme-tron .download-card,
body.theme-tron .doc-card,
body.theme-tron .contact-card,
body.theme-tron .manual-pdf-card,
body.theme-tron .manual-video-card,
body.theme-tron .turnkey-card,
body.theme-tron .modal-content {
    border: 1px solid rgba(0, 217, 255, 0.3);
    background: radial-gradient(circle at top left, rgba(0, 0, 0, 0.8), rgba(0, 10, 20, 0.9)) !important;
    transition: all 0.3s ease;
    box-shadow: 0 0 20px rgba(0, 217, 255, 0.2);
    color: #00d9ff;
}

/* DARK THEME CARDS (Original Blue/Purple) */
body.theme-dark .feature-card,
body.theme-dark .pricing-card,
body.theme-dark .download-step,
body.theme-dark .download-card,
body.theme-dark .doc-card,
body.theme-dark .contact-card,
body.theme-dark .manual-pdf-card,
body.theme-dark .manual-video-card,
body.theme-dark .turnkey-card,
body.theme-dark .modal-content {
    border: 1px solid rgba(59, 130, 246, 0.3);
    background: radial-gradient(circle at top left, rgba(30, 41, 59, 0.8), rgba(15, 23, 42, 0.95)) !important;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    color: #e2e8f0;
}

/* LIGHT THEME CARDS (Default/Fallback) */
body.theme-light .feature-card,
body.theme-light .pricing-card,
body.theme-light .download-step,
body.theme-light .download-card,
body.theme-light .doc-card,
body.theme-light .contact-card,
body.theme-light .manual-pdf-card,
body.theme-light .manual-video-card,
body.theme-light .turnkey-card,
body.theme-light .modal-content {
    border: 1px solid rgba(226, 232, 240, 0.8);
    background: #ffffff !important;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    color: #0f172a;
}

/* Common transitions */
.feature-card,
.pricing-card,
.download-step,
.download-card,
.doc-card,
.contact-card,
.manual-pdf-card,
.manual-video-card,
.turnkey-card,
.modal-content {
    transition: all 0.3s ease;
}

/* Download Section Styles */
.download-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.75rem;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    text-decoration: none;
    transition: all 0.2s ease;
}

.download-item:hover {
    background: rgba(0, 217, 255, 0.1);
    border-color: rgba(0, 217, 255, 0.5);
    transform: translateX(5px);
    box-shadow: 0 0 20px rgba(0, 217, 255, 0.4);
}

.download-icon-box {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.download-icon-box.zip {
    background: rgba(59, 130, 246, 0.2);
    color: #60a5fa;
}

.download-icon-box.doc {
    background: rgba(168, 85, 247, 0.2);
    color: #c084fc;
}

.download-icon-box.txt {
    background: rgba(148, 163, 184, 0.2);
    color: #cbd5e1;
}

.download-icon-box.web {
    background: rgba(34, 197, 94, 0.2);
    color: #4ade80;
}

.download-icon-box.android {
    background: rgba(249, 115, 22, 0.2);
    color: #fb923c;
}

.download-info {
    flex-grow: 1;
}

/* Feature Icons */
.feature-icon {
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.feature-card:hover .feature-icon {
    transform: scale(1.2) rotate(5deg);
    filter: drop-shadow(0 0 12px rgba(0, 217, 255, 0.8));
}

/* Navbar Button Responsive Fix */
@media (min-width: 768px) and (max-width: 991.98px) {
    .navbar-nav .nav-link {
        padding-inline: 0.75rem !important;
        font-size: 0.9rem;
    }

    .btn-nav-download {
        padding: 0.4rem 1rem;
        width: auto;
        height: auto;
        border-radius: 999px !important;
        /* Force pill shape */
        aspect-ratio: auto !important;
        /* Prevent square/round shape */
    }
}

/* =========================================================
   Pricing
   ========================================================= */

.section-pricing .display-5 {
    font-size: 2.6rem;
}

/* Pricing Header Styles */
.pricing-header-title {
    font-size: 4rem;
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.02em;
}

.pricing-header-white {
    color: #ffffff;
    display: inline-block;
}

.pricing-header-gradient {
    background: linear-gradient(135deg, #00d9ff 0%, #0080ff 50%, #00d9ff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: inline-block;
}

.pricing-header-gradient-sub {
    background: linear-gradient(135deg, #00d9ff 0%, #0080ff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: inline-block;
}

.pricing-header-badge .badge {
    background: #2563eb !important;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.05em;
}

.pricing-header-image img {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.pricing-header-image img:hover {
    transform: scale(1.02);
    box-shadow: 0 20px 60px rgba(56, 189, 248, 0.3) !important;
}

/* Responsive pricing header */
@media (max-width: 991.98px) {
    .pricing-header-title {
        font-size: 3rem;
    }
}

@media (max-width: 767.98px) {
    .pricing-header-title {
        font-size: 2.5rem;
    }
}

/* Unified card style - matches manual preview cards */
/* Unified card style - matches manual preview cards */
.pricing-card {
    border-radius: 1.5rem;
    /* Theme styles handled in main block */
}

/* .pricing-card-featured base styles removed */

body.theme-tron .pricing-card-featured {
    background: radial-gradient(circle at top, rgba(0, 10, 20, 0.98), rgba(0, 0, 0, 1)) !important;
    border-color: rgba(0, 217, 255, 0.6);
    box-shadow: 0 0 40px rgba(0, 217, 255, 0.4), 0 18px 45px rgba(0, 217, 255, 0.2);
}

body.theme-dark .pricing-card-featured {
    background: radial-gradient(circle at top, rgba(30, 41, 59, 0.95), rgba(15, 23, 42, 1)) !important;
    border-color: rgba(59, 130, 246, 0.6);
    box-shadow: 0 0 40px rgba(59, 130, 246, 0.2), 0 18px 45px rgba(0, 0, 0, 0.5);
}

.pricing-card-featured .btn {
    font-weight: 600;
}

.pricing-card .display-6 {
    font-size: 2.4rem;
}

/* Ensure descriptions have consistent height for alignment */
.pricing-card-main p {
    min-height: 5.5rem;
}

.pricing-list li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.35rem;
}

.pricing-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.45rem;
    width: 0.55rem;
    height: 0.55rem;
    border-radius: 999px;
    background-color: #22c55e;
    box-shadow: 0 0 0 4px rgba(34, 197, 94, 0.25);
}

.pricing-card-footer {
    margin-top: auto;
}

.pricing-period {
    font-size: 0.85rem;
    font-weight: 600;
    color: #64748b;
    /* Slate-500 */
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-left: 0.25rem;
    background: rgba(148, 163, 184, 0.1);
    padding: 0.2em 0.6em;
    border-radius: 6px;
    vertical-align: 0.3em;
}

.badge-pricing-best {
    border-radius: 999px;
    letter-spacing: 0.04em;
    background-color: #00d9ff;
    color: #000000;
    box-shadow: 0 0 25px rgba(0, 217, 255, 0.8);
    transform: skewX(-10deg);
    /* Slight diagonal effect */
}

.pricing-icon-box {
    width: 32px;
    height: 32px;
    border-radius: 999px;
    border: 1px solid rgba(0, 217, 255, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 15px rgba(0, 217, 255, 0.4);
}

.pricing-icon {
    display: block;
    width: 16px;
    height: 16px;
    border-radius: 0.5rem;
    border: 2px solid rgba(0, 217, 255, 0.9);
}

/* Custom colors for each pricing plan */
/* Trial - Green */
.pricing-title-trial {
    color: #22c55e !important;
}

.pricing-icon-trial {
    border-color: rgba(34, 197, 94, 0.7);
}

.pricing-icon-trial svg {
    color: #22c55e;
}

.btn-trial {
    background: rgba(34, 197, 94, 0.2);
    border: 1px solid rgba(34, 197, 94, 0.6);
    color: #22c55e !important;
    font-weight: 600;
}

.btn-trial:hover {
    background: rgba(34, 197, 94, 0.3);
    border-color: #22c55e;
    color: #ffffff !important;
    box-shadow: 0 0 15px rgba(34, 197, 94, 0.4);
}

/* Monthly - Blue */
.pricing-title-monthly {
    color: #3b82f6 !important;
}

.pricing-icon-monthly {
    border-color: rgba(59, 130, 246, 0.7);
}

.pricing-icon-monthly svg {
    color: #3b82f6;
}

.btn-monthly {
    background: rgba(59, 130, 246, 0.2);
    border: 1px solid rgba(59, 130, 246, 0.6);
    color: #3b82f6 !important;
    font-weight: 600;
}

.btn-monthly:hover {
    background: rgba(59, 130, 246, 0.3);
    border-color: #3b82f6;
    color: #ffffff !important;
    box-shadow: 0 0 15px rgba(59, 130, 246, 0.4);
}

/* Annual - Purple */
.pricing-title-annual {
    color: #a855f7 !important;
}

.pricing-icon-annual {
    border-color: rgba(168, 85, 247, 0.7);
}

.pricing-icon-annual svg {
    color: #a855f7;
}

.btn-annual {
    background: rgba(168, 85, 247, 0.2);
    border: 1px solid rgba(168, 85, 247, 0.6);
    color: #a855f7 !important;
    font-weight: 600;
}

.btn-annual:hover {
    background: rgba(168, 85, 247, 0.3);
    border-color: #a855f7;
    color: #ffffff !important;
    box-shadow: 0 0 15px rgba(168, 85, 247, 0.4);
}

/* Perpetual - Orange */
.pricing-title-perpetual {
    color: #f97316 !important;
}

.pricing-icon-perpetual {
    border-color: rgba(249, 115, 22, 0.7);
}

.pricing-icon-perpetual svg {
    color: #f97316;
}

.btn-perpetual {
    background: rgba(249, 115, 22, 0.2);
    border: 1px solid rgba(249, 115, 22, 0.6);
    color: #f97316 !important;
    font-weight: 600;
}

.btn-perpetual:hover {
    background: rgba(249, 115, 22, 0.3);
    border-color: #f97316;
    color: #ffffff !important;
    box-shadow: 0 0 15px rgba(249, 115, 22, 0.4);
}

/* Futuristic Section Titles */
.section-title-futuristic {
    font-weight: 800;
    letter-spacing: -0.02em;
    background: linear-gradient(135deg, #ffffff 0%, #00d9ff 50%, #0080ff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
    display: inline-block;
    text-transform: uppercase;
    text-shadow: 0 0 40px rgba(0, 217, 255, 0.5);
}

.section-title-futuristic::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, #00d9ff, #0080ff, transparent);
    box-shadow: 0 0 15px rgba(0, 217, 255, 0.8);
}

.section-subtitle-futuristic {
    color: #94a3b8;
    font-weight: 500;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    font-size: 0.85rem;
}

/* Turnkey Card Styling */
.turnkey-badge {
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 0.05em;
}

.turnkey-card {
    /* Theme styles handled in main block */
    transition: all 0.3s ease;
    cursor: pointer;
}

.turnkey-card:hover {
    border-color: rgba(0, 217, 255, 0.8);
    box-shadow: 0 0 40px rgba(0, 217, 255, 0.5), 0 8px 32px rgba(0, 217, 255, 0.3);
    transform: translateY(-4px);
    background: rgba(0, 10, 20, 0.9);
}

.turnkey-card .pricing-header-title {
    font-size: 2.5rem;
}

.turnkey-card .btn {
    transition: all 0.3s ease;
}

.turnkey-card:hover .btn {
    transform: scale(1.05);
    box-shadow: 0 4px 20px rgba(59, 130, 246, 0.4);
}

/* Mobile Pricing Carousel */
@media (max-width: 767.98px) {

    /* Apply carousel only to pricing cards row, NOT to turnkey row */
    .section-pricing .row:not(.turnkey-row) {
        display: flex;
        flex-wrap: nowrap;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        gap: 1rem;
        padding-bottom: 1.5rem;
        /* Space for scrollbar/shadow */
        -webkit-overflow-scrolling: touch;
        /* Center the first item if needed, or use padding */
        padding-inline: 1rem;
    }

    .section-pricing .row:not(.turnkey-row) .col-lg-4,
    .section-pricing .row:not(.turnkey-row) .col-md-6 {
        flex: 0 0 80%;
        /* Reduced from 85% to show more of the next card */
        scroll-snap-align: center;
        scroll-snap-stop: always;
    }

    /* Hide scrollbar for cleaner look */
    .section-pricing .row:not(.turnkey-row)::-webkit-scrollbar {
        display: none;
    }

    .section-pricing .row:not(.turnkey-row) {
        -ms-overflow-style: none;
        scrollbar-width: none;
    }
}

/* Pricing Dots */
.pricing-dots-container {
    display: none;
    /* Hidden on desktop */
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1rem;
}

@media (max-width: 767.98px) {
    .pricing-dots-container {
        display: flex;
    }
}

.pricing-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: rgba(148, 163, 184, 0.3);
    transition: all 0.3s ease;
    cursor: pointer;
}

.pricing-dot.active {
    background-color: #38bdf8;
    /* Sky blue */
    transform: scale(1.2);
    box-shadow: 0 0 8px rgba(56, 189, 248, 0.5);
}

/* =========================================================
   Manuals
   ========================================================= */

.section-manuals .doc-card h3 {
    font-weight: 600;
}

/* =========================================================
   Contact
   ========================================================= */

.contact-card textarea {
    resize: vertical;
}

/* Contact form - unified card style */
/* Contact form - unified card style */
.contact-form {
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

body.theme-tron .contact-form {
    background: radial-gradient(circle at top left, rgba(0, 0, 0, 0.8), rgba(0, 10, 20, 0.9)) !important;
    border: 1px solid rgba(0, 217, 255, 0.3) !important;
    box-shadow: 0 0 20px rgba(0, 217, 255, 0.2);
}

body.theme-dark .contact-form {
    background: radial-gradient(circle at top left, rgba(30, 41, 59, 0.8), rgba(15, 23, 42, 0.95)) !important;
    border: 1px solid rgba(59, 130, 246, 0.3) !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

body.theme-light .contact-form {
    background: #ffffff !important;
    border: 1px solid rgba(226, 232, 240, 0.8) !important;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.contact-form .form-control {
    background-color: rgba(2, 6, 23, 0.5);
    border-color: rgba(148, 163, 184, 0.2);
    color: #e2e8f0;
}

.contact-form .form-control:focus {
    background-color: rgba(0, 0, 0, 0.9);
    border-color: #00d9ff;
    color: #fff;
    box-shadow: 0 0 0 0.25rem rgba(0, 217, 255, 0.4), 0 0 20px rgba(0, 217, 255, 0.3);
}

.contact-form .form-label {
    color: #cbd5e1;
}

/* =========================================================
   Footer
   ========================================================= */

.section-footer {
    border-top: 1px solid rgba(0, 217, 255, 0.3);
    background: rgba(0, 0, 0, 0.95);
}

.footer-social {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
}

.footer-social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.18s ease, filter 0.18s ease;
}

.footer-social-icon {
    width: 26px;
    height: 26px;
}

.footer-social-link:hover .footer-social-icon {
    transform: translateY(-1px) scale(1.05);
    filter: drop-shadow(0 0 10px rgba(0, 217, 255, 0.9));
}



/* =========================================================
   Manuals page
   ========================================================= */

.section-manuals-page {
    background: radial-gradient(circle at top, rgba(30, 64, 175, 0.45), transparent 55%);
}

/* Tabs for PDF / Video */
.manuals-tabs-bar {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.25rem;
    border-radius: 999px;
    background-color: rgba(15, 23, 42, 0.9);
    border: 1px solid rgba(148, 163, 184, 0.4);
}

.btn-doc-tab {
    border-radius: 999px;
    padding: 0.3rem 0.9rem;
    font-size: 0.85rem;
    border: none;
    background: transparent;
    color: #e5e7eb;
    box-shadow: none;
}

.btn-doc-tab.doc-tab-active {
    background: linear-gradient(135deg, #0ea5e9, #22c55e);
    color: #0b1220;
    font-weight: 600;
}

/* ZIP buttons (smaller pill) */
.btn-doc-primary {
    font-size: 0.9rem;
    padding: 0.35rem 1.25rem;
    border-radius: 999px;
}

/* Manual PDF cards */
/* Manual PDF cards - base styles (theme handled above) */
.manual-pdf-card {
    border-radius: 1.5rem;
    padding: 1.25rem 1.5rem;
}

.manual-pdf-header {
    display: flex;
    align-items: flex-start;
    gap: 0.9rem;
    margin-bottom: 0.85rem;
}

.manual-pdf-icon {
    width: 2.4rem;
    height: 2.4rem;
    border-radius: 0.9rem;
    display: flex;
    align-items: center;
    justify-content: center;
    /* Removed background gradient as requested */
    background: transparent;
    border: 1px solid rgba(148, 163, 184, 0.4);
    /* Added border */
    font-size: 1.3rem;
}

.manual-pdf-title {
    margin-bottom: 0.2rem;
}

.manual-pdf-description {
    margin: 0;
    font-size: 0.9rem;
    color: #9ca3af;
}

.manual-pdf-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

/* Manual video cards */
/* Manual video cards */
.manual-video-card {
    border-radius: 1.5rem;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.manual-video-thumb {
    position: relative;
    padding-top: 56.25%;
    /* 16:9 */
    background: radial-gradient(circle at top, rgba(0, 217, 255, 0.2), rgba(0, 0, 0, 1));
}

.manual-video-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.manual-video-play {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 3rem;
    height: 3rem;
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.95);
    border: 1px solid rgba(248, 250, 252, 0.7);
    font-size: 1.3rem;
}

.manual-video-body {
    padding: 0.9rem 1.1rem 1.1rem;
}

.manual-video-meta {
    color: #9ca3af;
}

/* Shared hover effect for interactive elements */
.btn,
.doc-card,
.feature-card,
.pricing-card,
.contact-card,
.manual-pdf-card,
.manual-video-card,
.nav-link,
.navbar-brand,
.lang-switch {
    transition:
        transform 0.18s ease-out,
        box-shadow 0.18s ease-out,
        border-color 0.18s ease-out,
        background 0.18s ease-out;
}

.btn:hover,
.btn:focus-visible,
.manual-pdf-card:hover,
.manual-video-card:hover,
.doc-card:hover,
.feature-card:hover,
.pricing-card:hover,
.contact-card:hover,
.nav-link:hover,
.lang-switch:hover {
    transform: translateY(-1px) scale(1.03);
    border-color: rgba(0, 217, 255, 0.9);
    box-shadow:
        0 0 0 1px rgba(0, 217, 255, 0.6),
        0 0 30px rgba(0, 217, 255, 0.5),
        0 18px 40px rgba(0, 0, 0, 0.9);
}

/* Specific hover for navbar brand to avoid overflow 
   Reduced scale from 1.03 to 1.01 to prevent text clipping */
.navbar-brand:hover {
    transform: translateY(-1px) scale(1.01);
    /* Reduced scale */
    border-color: rgba(56, 189, 248, 0.8);
    box-shadow:
        0 0 0 1px rgba(56, 189, 248, 0.4),
        0 0 25px rgba(56, 189, 248, 0.35),
        0 18px 40px rgba(15, 23, 42, 0.9);
}


/* Global hover halo */
.hover-glow:hover,
a:hover,
button:hover,
.btn:hover,
.nav-link:hover {
    box-shadow: 0 0 20px rgba(0, 217, 255, 0.7) !important;
    border-radius: 14px !important;
    transform: scale(1.03);
}

/* Neon download button 
   Intense blue background with glow effect */
.btn-download {
    background: #00d9ff;
    color: #000000 !important;
    border-radius: 22px;
    padding: 8px 20px;
    box-shadow: 0 0 25px rgba(0, 217, 255, 0.9);
    border: none;
}

.btn-download:hover {
    background: #0080ff;
    box-shadow: 0 0 40px rgba(0, 217, 255, 1), 0 0 60px rgba(0, 128, 255, 0.6);
    transform: scale(1.06);
}

/* Remove border from language buttons 
   Overrides default btn-outline-light border */
/* =========================================================
   Manuals Preview Section (Landing Page)
   ========================================================= */

.bg-darker {
    background: transparent;
}

.manual-preview-card {
    background: radial-gradient(circle at top left, rgba(0, 0, 0, 0.8), rgba(0, 10, 20, 0.95));
    border: 1px solid rgba(0, 217, 255, 0.3);
    transition: all 0.3s ease;
    box-shadow: 0 0 20px rgba(0, 217, 255, 0.2);
}

.manual-preview-card:hover {
    background: radial-gradient(circle at top left, rgba(0, 217, 255, 0.2), rgba(0, 10, 20, 0.98));
    border-color: rgba(0, 217, 255, 0.7);
    transform: translateY(-5px);
    box-shadow: 0 0 40px rgba(0, 217, 255, 0.5), 0 20px 40px rgba(0, 0, 0, 0.6);
}

.manual-icon-box {
    width: 80px;
    height: 80px;
    border-radius: 20px;
    background: rgba(15, 23, 42, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(148, 163, 184, 0.2);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
}

.manual-preview-card:hover .manual-icon-box {
    border-color: rgba(0, 217, 255, 0.6);
    background: rgba(0, 0, 0, 0.95);
    transform: scale(1.05);
    transition: all 0.3s ease;
    box-shadow: 0 0 20px rgba(0, 217, 255, 0.4);
}

/* Robust Feature Icon Styling */
.feature-icon {
    min-width: 24px !important;
    min-height: 24px !important;
    width: 24px !important;
    height: 24px !important;
    flex-shrink: 0 !important;
    display: inline-block !important;
}

/* Feature Title Colors */
.feature-title-blue {
    color: #3b82f6 !important;
}

.feature-title-green {
    color: #22c55e !important;
}

.feature-title-purple {
    color: #a855f7 !important;
}

.feature-title-yellow {
    color: #eab308 !important;
}

.feature-title-cyan {
    color: #06b6d4 !important;
}

.feature-title-orange {
    color: #f97316 !important;
}

/* Download Card Title Colors */
.download-title-blue {
    color: #3b82f6 !important;
    font-size: 1.5rem !important;
    font-weight: 700 !important;
}

.download-title-orange {
    color: #f97316 !important;
    font-size: 1.5rem !important;
    font-weight: 700 !important;
}

.download-title-green {
    color: #22c55e !important;
    font-size: 1.5rem !important;
    font-weight: 700 !important;
}

/* Featured Download Card - Similar to pricing featured card */
.download-card-featured {
    background: radial-gradient(circle at top, rgba(15, 23, 42, 0.98), rgba(15, 23, 42, 1));
    border-color: rgba(59, 130, 246, 0.5) !important;
    box-shadow: 0 18px 45px rgba(59, 130, 246, 0.15);
}

.download-card-featured:hover {
    border-color: rgba(59, 130, 246, 0.8) !important;
    box-shadow: 0 20px 50px rgba(59, 130, 246, 0.25);
}

/* Featured Download Item - Enhanced visibility */
.download-item-featured {
    background: radial-gradient(circle at left, rgba(59, 130, 246, 0.12), rgba(15, 23, 42, 0.6));
    border: 1px solid rgba(59, 130, 246, 0.3) !important;
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.15);
}

.download-item-featured:hover {
    background: radial-gradient(circle at left, rgba(59, 130, 246, 0.18), rgba(15, 23, 42, 0.8));
    border-color: rgba(59, 130, 246, 0.5) !important;
    box-shadow: 0 6px 18px rgba(59, 130, 246, 0.25);
    transform: translateY(-2px);
}

/* Download Header Wrapper for Alignment */
.download-header-wrapper {
    min-height: 6rem;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
}

/* ====================================
   Cookie consent banner
   ==================================== */

.cookie-consent-banner {
    position: fixed;
    bottom: 1rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1080;
    max-width: 720px;
    width: 100%;
    padding: 0 1rem;
}

.cookie-consent-banner .card {
    background-color: rgba(7, 10, 30, 0.96);
    color: #f7f7ff;
}

.cookie-consent-banner .btn-primary {
    font-weight: 600;
}

.cookie-consent-banner .btn-secondary,
.cookie-consent-banner .btn-outline-light {
    font-weight: 500;
}


/* ====================================
   Theme toggle button
   ==================================== */

/* ====================================
   Theme toggle switch
   ==================================== */
.theme-switch {
    position: relative;
    display: inline-block;
    width: 60px;
    height: 30px;
    margin-bottom: 0;
}

.theme-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #0f172a;
    /* Dark background for slider */
    border: 1px solid rgba(148, 163, 184, 0.4);
    transition: .4s;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 6px;
}

.slider.round {
    border-radius: 34px;
}

.slider:before {
    position: absolute;
    content: "";
    height: 22px;
    width: 22px;
    left: 4px;
    bottom: 3px;
    background-color: #38bdf8;
    /* Blue knob */
    transition: .4s;
    border-radius: 50%;
    z-index: 2;
}

input:checked+.slider {
    background-color: #e2e8f0;
    /* Light background when checked (Light mode) */
}

input:checked+.slider:before {
    transform: translateX(28px);
    background-color: #f59e0b;
    /* Orange/Yellow knob for sun */
}

/* Icons inside slider */
.icon-sun,
.icon-moon {
    font-size: 14px;
    z-index: 1;
    user-select: none;
}

.icon-sun {
    color: #f59e0b;
    opacity: 0;
    /* Hidden by default (Dark mode) */
    transition: opacity 0.3s;
}

.icon-moon {
    color: #94a3b8;
    opacity: 1;
    /* Visible by default (Dark mode) */
    transition: opacity 0.3s;
}

input:checked+.slider .icon-sun {
    opacity: 1;
}

input:checked+.slider .icon-moon {
    opacity: 0;
}

/* Hover effects */
.theme-switch:hover .slider:before {
    box-shadow: 0 0 8px rgba(56, 189, 248, 0.6);
}

/* Marcador para modo oscuro: la apariencia base ya es oscura */
/* body.theme-dark usa los estilos base existentes */

/* ====================================
   Tema claro (por defecto)
   ==================================== */

body.theme-light {
    color: #0f172a;
    background:
        radial-gradient(circle at top left, rgba(229, 231, 235, 0.85), rgba(191, 219, 254, 0.85)),
        radial-gradient(circle at bottom right, rgba(239, 246, 255, 0.95), rgba(248, 250, 252, 1));
    background-attachment: fixed;
}

body.theme-light .page-wrapper {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(248, 250, 252, 0.98));
    color: inherit;
}

/* Navbar en modo claro */
body.theme-light #site-header {
    background: rgba(255, 255, 255, 0.96);
    border-bottom: 1px solid rgba(148, 163, 184, 0.25);
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.06);
}

body.theme-light .navbar .navbar-brand,
body.theme-light .navbar .nav-link {
    color: #0f172a !important;
}

body.theme-light .navbar .nav-link.active,
body.theme-light .navbar .nav-link:hover {
    color: #1d4ed8 !important;
}

body.theme-light .btn-nav-download {
    background: linear-gradient(135deg, #2563eb, #4f46e5);
    color: #ffffff !important;
    border-color: transparent;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2), 0 1px 2px rgba(0, 0, 0, 0.15);
}

body.theme-light .btn-nav-download:hover {
    background: linear-gradient(135deg, #1d4ed8, #4338ca);
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.25), 0 0 15px rgba(37, 99, 235, 0.4);
}

/* Eliminar fondos del navbar en desktop (tema claro) */
@media (min-width: 992px) {

    body.theme-light .navbar-collapse,
    body.theme-light .navbar-nav {
        background: transparent !important;
        backdrop-filter: none !important;
        -webkit-backdrop-filter: none !important;
        padding: 0 !important;
        border: none !important;
        box-shadow: none !important;
    }
}

/* Language pill en modo claro */
body.theme-light .lang-switcher-pill {
    background-color: rgba(243, 244, 246, 0.9);
    border-color: rgba(148, 163, 184, 0.4);
}

body.theme-light .lang-switcher-pill .lang-switch,
body.theme-light .lang-switcher-pill .lang-switch-btn {
    color: #4b5563;
}

body.theme-light .lang-switcher-pill .lang-switch.active,
body.theme-light .lang-switcher-pill .lang-switch-btn.active {
    background-color: #2563eb;
    color: #ffffff;
}

/* Botón de tema en modo claro */
body.theme-light .theme-toggle-btn {
    background-color: rgba(243, 244, 246, 0.9);
    border-color: rgba(148, 163, 184, 0.7);
    color: #0f172a;
}

/* Tarjetas y bloques en modo claro */
body.theme-light .feature-card,
body.theme-light .pricing-card,
body.theme-light .download-step,
body.theme-light .download-card,
body.theme-light .doc-card,
body.theme-light .contact-card,
body.theme-light .manual-pdf-card,
body.theme-light .manual-video-card {
    background: rgba(255, 255, 255, 0.96) !important;
    border-color: rgba(148, 163, 184, 0.25) !important;
    box-shadow: 0 18px 45px rgba(15, 23, 42, 0.08);
    color: #0f172a;
}

/* Títulos de sección en modo claro */
body.theme-light .section-title-futuristic {
    text-shadow: 0 0 14px rgba(59, 130, 246, 0.35);
}

body.theme-light .section-subtitle-futuristic {
    color: #6b7280;
}

/* Página de manuales en modo claro */
body.theme-light .section-manuals-page {
    background: radial-gradient(circle at top, rgba(191, 219, 254, 0.7), transparent 55%);
}

/* Formulario de contacto en modo claro */
body.theme-light .contact-form {
    background: #ffffff !important;
    border-color: rgba(148, 163, 184, 0.35) !important;
}

body.theme-light .contact-form .form-control {
    background-color: #f9fafb;
    border-color: rgba(148, 163, 184, 0.6);
    color: #111827;
}

body.theme-light .contact-form .form-control:focus {
    background-color: #ffffff;
    border-color: #2563eb;
    box-shadow: 0 0 0 0.15rem rgba(37, 99, 235, 0.25);
    color: #111827;
}

body.theme-light .contact-form .form-label {
    color: #4b5563;
}

/* Footer en modo claro */
body.theme-light .section-footer {
    background: linear-gradient(180deg, #f3f4f6, #e5e7eb);
    border-top-color: rgba(148, 163, 184, 0.3);
}

body.theme-light .section-footer p,
body.theme-light .section-footer a {
    color: #4b5563;
}

/* Banner de cookies en modo claro */
body.theme-light .cookie-consent-banner .card {
    background-color: #ffffff;
    color: #0f172a;
}


/* ====================================
   Tema claro refinado (paleta más suave)
   ==================================== */

body.theme-light {
    color: #0b1120;
    background: linear-gradient(180deg, #f8fafc, #e5e7eb);
    background-attachment: fixed;
}

body.theme-light .page-wrapper {
    background: transparent;
    color: inherit;
}

/* Navbar en modo claro refinado */
body.theme-light #site-header {
    background: rgba(255, 255, 255, 0.96);
    border-bottom: 1px solid rgba(148, 163, 184, 0.25);
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.06);
}

body.theme-light .navbar-collapse {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 20px 40px rgba(15, 23, 42, 0.12);
    border-radius: 1rem;
}

/* Texto general en secciones */
body.theme-light .section-hero,
body.theme-light .section-features,
body.theme-light .section-pricing,
body.theme-light .section-downloads,
body.theme-light .section-contact,
body.theme-light .section-manuals-page,
body.theme-light .section-legal {
    color: #0f172a;
}

/* Hero en modo claro: textos más legibles */
body.theme-light .hero-description,
body.theme-light .hero-what-is-content p,
body.theme-light .hero-what-is-content li,
body.theme-light .features-list li {
    color: #1e293b;
}

/* Tarjetas y bloques en modo claro: tonos suaves */
body.theme-light .feature-card,
body.theme-light .pricing-card,
body.theme-light .download-step,
body.theme-light .download-card,
body.theme-light .doc-card,
body.theme-light .contact-card,
body.theme-light .manual-pdf-card,
body.theme-light .manual-video-card {
    background: rgba(248, 250, 252, 0.6) !important;
    /* slate-50 */
    border-color: rgba(148, 163, 184, 0.22) !important;
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.06);
    color: #0f172a;
}

/* Formularios en modo claro: campos bien contrastados */
body.theme-light .contact-form .form-control {
    background-color: #f9fafb;
    border-color: rgba(148, 163, 184, 0.6);
    color: #0f172a;
}

/* Footer en modo claro refinado */
body.theme-light .section-footer {
    background: linear-gradient(180deg, #e5e7eb, #f3f4f6);
    border-top-color: rgba(148, 163, 184, 0.3);
}

body.theme-light .section-footer p,
body.theme-light .section-footer a {
    color: #4b5563;
}


/* ====================================
   Ajustes finales de accesibilidad en tema claro
   ==================================== */

/* Títulos de sección: más presencia en fondo claro */
body.theme-light .section-title-futuristic {
    background: linear-gradient(135deg, #2563eb 0%, #4f46e5 45%, #7c3aed 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 0 18px rgba(79, 70, 229, 0.35);
}

/* Subtítulos de sección en claro */
body.theme-light .section-subtitle-futuristic {
    color: #475569;
}

/* Navbar brand en tonos grisáceos */
body.theme-light .navbar .navbar-brand .fw-bold.lh-1 {
    color: #111827;
}

body.theme-light .navbar .navbar-brand .text-secondary {
    color: #6b7280 !important;
}

/* Centro de descargas: texto 100% legible */
body.theme-light .section-download p,
body.theme-light .section-download li,
body.theme-light .section-download span,
body.theme-light .section-download a {
    color: #0f172a;
}

body.theme-light .download-item {
    background: rgba(248, 250, 252, 0.95);
    border-color: rgba(148, 163, 184, 0.35);
}

body.theme-light .download-item:hover {
    background: rgba(241, 245, 249, 1);
    border-color: rgba(59, 130, 246, 0.5);
}

/* Evitar textos blancos dentro de tarjetas de descarga en tema claro */
body.theme-light .download-card .text-secondary,
body.theme-light .download-card .small {
    color: #64748b !important;
}

/* Tarjetas de menú (manuales, vídeos, capturas) más suaves en claro */
body.theme-light .section-manuals .feature-card,
body.theme-light .section-manuals .doc-card {
    background: rgba(248, 250, 252, 0.97) !important;
    border-color: rgba(148, 163, 184, 0.25) !important;
    color: #0f172a;
}

/* Manuales y vídeos: descripciones legibles */
body.theme-light .manual-pdf-description,
body.theme-light .manual-video-description {
    color: #4b5563;
}

/* Barra de pestañas de manuals más clara */
body.theme-light .manuals-tabs-bar {
    background-color: rgba(248, 250, 252, 0.98);
    border-color: rgba(148, 163, 184, 0.4);
}

body.theme-light .manuals-tabs-bar .btn-doc-tab {
    color: #4b5563;
}

body.theme-light .manuals-tabs-bar .btn-doc-tab.doc-tab-active {
    color: #0b1220;
}

/* Páginas de privacidad (en y es): cuerpo de texto oscuro y claro */
body.theme-light .section-privacy {
    color: #0f172a !important;
}

body.theme-light .section-privacy h1,
body.theme-light .section-privacy h2,
body.theme-light .section-privacy h3 {
    color: #111827 !important;
}

/* Listas legales */
body.theme-light .section-privacy a {
    color: #2563eb;
}

/* Precios: mismo color que el título de la tarjeta */
body.theme-light [data-i18n-key="pricing.trial.price"] {
    color: #22c55e;
}

body.theme-light [data-i18n-key="pricing.annual.price"] {
    color: #3b82f6;
}

body.theme-light [data-i18n-key="pricing.perpetual.price"] {
    color: #f97316;
}

/* Ajuste general de texto oscuro pero no negro puro */
body.theme-light .section-hero,
body.theme-light .section-hero p,
body.theme-light .section-hero li {
    color: #111827;
}

/* ====================================
   Correcciones extra para tema claro:
   texto blanco y tarjetas oscuras
   ==================================== */

/* En modo claro, nada de texto blanco: usar gris oscuro legible */
body.theme-light .text-white,
body.theme-light .navbar-dark .navbar-nav .nav-link,
body.theme-light .navbar-dark .navbar-nav .nav-link:hover,
body.theme-light .navbar-dark .navbar-nav .nav-link.active {
    color: #0f172a !important;
}

/* Marca StreamRus / OnPremise en cabecera en gris oscuro, no negro puro */
body.theme-light .navbar .navbar-brand,
body.theme-light .navbar .navbar-brand span,
body.theme-light .navbar .navbar-brand small {
    color: #111827 !important;
}

/* Títulos de sección mucho más legibles en modo claro */
body.theme-light .section-title-futuristic {
    background: linear-gradient(135deg, #2563eb 0%, #0ea5e9 50%, #a855f7 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
    text-shadow: 0 0 15px rgba(56, 189, 248, 0.25);
}

/* Subtítulos de sección y párrafos base */
body.theme-light .section-subtitle-futuristic,
body.theme-light p,
body.theme-light li {
    color: #1f2937;
}

/* Centro de descargas: textos en gris oscuro, no blancos */
body.theme-light .download-card,
body.theme-light .download-card-featured {
    background: rgba(248, 250, 252, 0.98) !important;
}

body.theme-light .download-info span,
body.theme-light .download-header-wrapper p {
    color: #111827 !important;
}

body.theme-light .download-item {
    background: rgba(148, 163, 184, 0.08);
    border-color: rgba(148, 163, 184, 0.25);
}

body.theme-light .download-item:hover {
    background: rgba(191, 219, 254, 0.35);
}

/* Pestañas y tarjetas de Manuals: todo claro y legible */
body.theme-light .manuals-tabs-bar {
    background: rgba(148, 163, 184, 0.16);
}

body.theme-light .btn-doc-tab {
    color: #1f2937;
}

body.theme-light .btn-doc-tab.active {
    background: rgba(191, 219, 254, 0.9);
    color: #1d4ed8;
}

/* Tarjetas de manuals (PDF y vídeo) claras */
body.theme-light .manual-pdf-card,
body.theme-light .manual-video-card {
    background: rgba(248, 250, 252, 0.98) !important;
    box-shadow: 0 18px 45px rgba(15, 23, 42, 0.08);
}

/* Textos dentro de las tarjetas de vídeo */
body.theme-light .manual-video-body h2,
body.theme-light .manual-video-body h3 {
    color: #0f172a !important;
}

body.theme-light .manual-video-meta {
    color: #4b5563 !important;
}

/* Secciones legales (privacy) con texto gris oscuro */
body.theme-light .section-privacy,
body.theme-light .section-privacy p,
body.theme-light .section-privacy li,
body.theme-light .section-privacy h1,
body.theme-light .section-privacy h2,
body.theme-light .section-privacy h3 {
    color: #0f172a;
}

/* Precios: números en gris oscuro suave para no contrastar tanto */
body.theme-light .pricing-card .display-6 {
    color: #111827;
}

/* Pequeños badges del hero sobre fondo claro: texto en azul/gris */
body.theme-light .hero-cta-badge {
    background: rgba(191, 219, 254, 0.7);
    border-color: rgba(59, 130, 246, 0.7);
    color: #1d4ed8;
}

/* Ajuste general para cualquier título h1-h4 en modo claro */
body.theme-light h1,
body.theme-light h2,
body.theme-light h3,
body.theme-light h4 {
    color: #0f172a;
}


/* ====================================
   Ajustes solicitados (solo tema claro)
   ==================================== */

/* 1) Títulos de sección: mantener estilo actual pero legible en claro.
      No tocamos nada más aquí para respetar el diseño anterior. */

/* 2) Tarjetas de "PDF Manuals / Video Tutorials / Screenshots" y bloque
      "¿Qué es OnPremise SRT Server?" claras en tema claro */
body.theme-light .manual-preview-card {
    background: rgba(248, 250, 252, 0.6) !important;
    border-color: rgba(148, 163, 184, 0.22) !important;
    box-shadow: 0 18px 45px rgba(15, 23, 42, 0.08);
}

body.theme-light .manual-preview-card:hover {
    background: rgba(239, 246, 255, 0.65) !important;
    transform: translateY(-2px);
}

body.theme-light .manual-preview-card .text-secondary {
    color: #4b5563 !important;
}

/* Tarjeta grande de "¿Qué es OnPremise SRT Server?" */
body.theme-light .hero-what-is {
    background: rgba(248, 250, 252, 0.6) !important;
    border-color: rgba(148, 163, 184, 0.22) !important;
    box-shadow: 0 18px 45px rgba(15, 23, 42, 0.08);
}

body.theme-light .hero-what-is p,
body.theme-light .hero-what-is li {
    color: #1f2937;
}

/* 3) Mejorar lectura de textos blancos claves en tema claro
      (OnPremise / SRT Server y "Opción") mediante contorno */
body.theme-light .hero-title-white,
body.theme-light .pricing-header-white {
    color: #ffffff;
    text-shadow:
        0 0 6px rgba(15, 23, 42, 0.9),
        0 0 2px rgba(15, 23, 42, 0.9);
}

body.theme-light .hero-title-gradient {
    background: linear-gradient(135deg, #3b82f6 0%, #8b5cf6 100%) !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    background-clip: text !important;
    text-shadow: 0 0 10px rgba(15, 23, 42, 0.2);
}

/* 4) Fondo: manejado con pseudo-elementos ::before y ::after arriba */

/* ====================================
   Ajustes adicionales SOLO tema claro
   ==================================== */

/* 1) "SRT Server" ya usa el mismo degradado que en oscuro
      (hero-title-gradient), no cambiamos el color, solo respetamos sombra. */

/* 2) Subtítulos de secciones: mismo color que en tema oscuro */
body.theme-light .section-subtitle-futuristic {
    color: #94a3b8;
    /* igual que definición base */
}

/* 3) Texto principal del bloque "¿Qué es OnPremise SRT Server?"
      y la lista de características: mismo color en párrafo y lista */
body.theme-light .hero-what-is-content p,
body.theme-light .hero-what-is-content li,
body.theme-light .features-list li {
    color: #1f2937 !important;
}

/* 4) Documentación y manuales:
      títulos de las 3 tarjetas con colores variados (como precios) en tema claro */
body.theme-light .manual-preview-card h3 {
    color: #0f172a;
    /* base legible */
}

/* Primera tarjeta (Manuals PDF) -> verde */
body.theme-light .row.g-4.justify-content-center>div:nth-child(1) .manual-preview-card h3 {
    color: #22c55e !important;
}

/* Segunda tarjeta (Video Tutorials) -> azul */
body.theme-light .row.g-4.justify-content-center>div:nth-child(2) .manual-preview-card h3 {
    color: #3b82f6 !important;
}

/* Tercera tarjeta (Screenshots) -> morado */
body.theme-light .row.g-4.justify-content-center>div:nth-child(3) .manual-preview-card h3 {
    color: #a855f7 !important;
}

/* 5) Precios: cantidades en el mismo color que el título de su tarjeta, solo en tema claro */
body.theme-light .section-pricing .row.align-items-stretch>div:nth-child(1) .pricing-card .display-6 {
    color: #22c55e !important;
    /* Trial */
}

body.theme-light .section-pricing .row.align-items-stretch>div:nth-child(2) .pricing-card .display-6 {
    color: #3b82f6 !important;
    /* Monthly */
}

body.theme-light .section-pricing .row.align-items-stretch>div:nth-child(3) .pricing-card .display-6 {
    color: #a855f7 !important;
    /* Annual */
}

body.theme-light .section-pricing .row.align-items-stretch>div:nth-child(4) .pricing-card .display-6 {
    color: #f97316 !important;
    /* Perpetual */
}

/* 6) Botones de descarga en manuales PDF: btn-outline-light es invisible en fondo claro.
      Lo cambiamos a un estilo visible (azul primario o borde oscuro). */
body.theme-light .manual-pdf-actions .btn-outline-light {
    color: #2563eb !important;
    border-color: #2563eb !important;
}

body.theme-light .manual-pdf-actions .btn-outline-light:hover {
    background-color: #2563eb !important;
    color: #ffffff !important;
}

/* 7) Botón de menú móvil (hamburger) visible en tema claro.
      Al ser navbar-dark por defecto, el icono es blanco. Lo invertimos a negro. */
body.theme-light .navbar-toggler-icon {
    filter: invert(1);
}

/* 8) Banner de Cookies en tema claro: botones visibles */
body.theme-light #cookie-consent-banner {
    background: rgba(255, 255, 255, 0.98);
    border-top: 1px solid rgba(148, 163, 184, 0.3);
    color: #0f172a;
}

body.theme-light #cookie-consent-banner .btn-outline-light {
    color: #2563eb;
    border-color: #2563eb;
}

body.theme-light #cookie-consent-banner .btn-outline-light:hover {
    background-color: #2563eb;
    color: #ffffff;
}

/* 9) Video Cookie Warning en tema claro: botones visibles */
body.theme-light #manuals-cookie-warning {
    background: rgba(255, 255, 255, 0.98);
    border: 1px solid rgba(148, 163, 184, 0.3);
    color: #0f172a;
}

body.theme-light #manuals-cookie-warning .btn-outline-light,
body.theme-light #manuals-cookie-warning-actions .btn-outline-light {
    color: #2563eb;
    border-color: #2563eb;
}

body.theme-light #manuals-cookie-warning .btn-outline-light:hover,
body.theme-light #manuals-cookie-warning-actions .btn-outline-light:hover {
    background-color: #2563eb;
    color: #ffffff;
}

/* 10) Navbar collapse - sin fondo en desktop (tema claro) */
@media (min-width: 992px) {
    body.theme-light .navbar-collapse {
        background: transparent !important;
        backdrop-filter: none !important;
        -webkit-backdrop-filter: none !important;
    }
}

/* La tarjeta llave en mano mantiene su color actual (naranja) para el precio */

/* =========================================================
   reCAPTCHA badge - hide it completely
   ========================================================= */
.grecaptcha-badge {
    visibility: hidden !important;
}