/**
 * RMPowerTech - Design System 3.0 (Light Agency & PigeonSAI Modern Aesthetics)
 * Estética: Tema Claro, Blanco / Lavanda Suave, Tarjetas Blancas con Sombra Púrpura,
 *           Iconografía 3D Multicolor y Animaciones Dinámicas Digtek (Marquee, Float-Bob, Hover).
 * Versión: 3.0.0 (Light Mode)
 */

@import url('https://fonts.googleapis.com/css2?family=DM+Sans:ital,wght@0,400;0,500;0,700;1,400&family=Plus+Jakarta+Sans:wght@400;500;600;700;800;900&family=Inter:wght@400;500;600;700&display=swap');

:root {
    /* Paleta Principal Corporativa */
    --primary: #0ea5e9;
    --primary-dark: #0284c7;
    --primary-light: #e0f2fe;
    --violet: #7c3aed;
    --violet-dark: #6d28d9;
    --violet-light: #ede9fe;
    --violet-pastel: #f3eefc;
    --teal: #06b6d4;
    --teal-light: #ccfbf1;
    --emerald: #10b981;
    --rose: #f43f5e;
    --amber: #f59e0b;

    /* Superficies y Fondos Claros */
    --bg-body: #faf8ff;
    --bg-section-alt: #f3eefc;
    --bg-white: #ffffff;
    --bg-card: #ffffff;
    --bg-card-hover: #ffffff;

    /* Tipografía */
    --text-primary: #0f172a;
    --text-secondary: #334155;
    --text-heading: #0f172a;
    --text-title: #180d2e;
    --text-body: #334155;
    --text-muted: #64748b;
    --text-white: #ffffff;

    /* Bordes y Sombras */
    --border-light: rgba(226, 232, 240, 0.85);
    --border-purple: rgba(124, 58, 237, 0.18);
    --border-focus: rgba(124, 58, 237, 0.45);
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.04);
    --shadow-card: 0 10px 30px -5px rgba(124, 58, 237, 0.08), 0 4px 12px -2px rgba(0, 0, 0, 0.03);
    --shadow-hover: 0 22px 40px -8px rgba(124, 58, 237, 0.18), 0 8px 16px -4px rgba(0, 0, 0, 0.05);
    --shadow-btn: 0 8px 24px rgba(124, 58, 237, 0.32);

    /* Fuentes */
    --font-heading: 'Plus Jakarta Sans', -apple-system, sans-serif;
    --font-body: 'DM Sans', 'Inter', -apple-system, sans-serif;
}

/* ===================================================
   1. RESET GLOBAL TEMA CLARO (SOBREESCRIBE TEMA OSCURO)
   =================================================== */
html, body {
    background-color: var(--bg-body) !important;
    color: var(--text-body) !important;
    font-family: var(--font-body) !important;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
    margin: 0;
    padding: 0;
}

/* Encabezados oscuros legibles */
h1, h2, h3, h4, h5, h6,
.section-title, .product-title, .hero-title {
    font-family: var(--font-heading) !important;
    color: var(--text-heading) !important;
    font-weight: 800 !important;
    letter-spacing: -0.02em;
}

p, .section-subtitle, .product-description {
    color: var(--text-body) !important;
    font-family: var(--font-body);
    line-height: 1.65;
}

/* Secciones Claras */
section.section,
.section {
    background: transparent !important;
    padding: 90px 0 !important;
    position: relative;
}

/* Alternancia sutil de fondos para dinamismo visual */
section.section:nth-of-type(even) {
    background: var(--bg-section-alt) !important;
}

/* ===================================================
   2. ANIMACIONES DINÁMICAS (DIGTEK STYLE)
   =================================================== */

/* Levitación Vertical Suave */
@keyframes float-bob-y {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-12px);
    }
}

/* Levitación Horizontal */
@keyframes float-bob-x {
    0%, 100% {
        transform: translateX(0px);
    }
    50% {
        transform: translateX(10px);
    }
}

/* Levitación 3D para Iconos */
@keyframes levitate3d {
    0%, 100% {
        transform: translateY(0px) rotate(0deg) scale(1);
    }
    50% {
        transform: translateY(-8px) rotate(2deg) scale(1.03);
    }
}

.float-bob-y {
    animation: float-bob-y 3.5s ease-in-out infinite !important;
}

.float-bob-x {
    animation: float-bob-x 3.5s ease-in-out infinite !important;
}

.icon-levitate {
    animation: levitate3d 4s ease-in-out infinite !important;
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.card:hover .icon-levitate,
.tool-card:hover .icon-levitate {
    transform: translateY(-12px) scale(1.12) rotate(4deg) !important;
}

/* Rotación continua para estrellas */
@keyframes cir36 {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.marquee-star {
    display: inline-block;
    animation: cir36 10s linear infinite;
    color: #fde047;
    margin: 0 14px;
    font-size: 1.15rem;
}

/* Brillo en Texto para Fondos Claros */
.shine-text {
    background: linear-gradient(135deg, #0f172a 0%, #7c3aed 60%, #0ea5e9 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

/* Brillo en Texto para Fondos Oscuros / Video Hero / CTA */
.hero .shine-text,
.hero-title,
.hero-title.shine-text,
.pigeon-hero .shine-text,
.page-banner .shine-text,
.dark-bg .shine-text {
    background: linear-gradient(135deg, #ffffff 0%, #ede9fe 50%, #38bdf8 100%) !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    filter: drop-shadow(0 4px 18px rgba(0, 0, 0, 0.85)) !important;
    color: #ffffff !important;
}

.cta-section-video h2 {
    color: #ffffff !important;
    -webkit-text-fill-color: #ffffff !important;
    background: none !important;
    text-shadow: 0 4px 25px rgba(0, 0, 0, 0.95), 0 2px 8px rgba(0, 0, 0, 0.8) !important;
}

/* ===================================================
   3. INFINITE ANIMATED MARQUEE / TICKER (DIGTEK)
   =================================================== */
.digtek-marquee-wrapper {
    overflow: hidden;
    white-space: nowrap;
    background: linear-gradient(90deg, #7c3aed 0%, #6366f1 40%, #0ea5e9 100%) !important;
    padding: 16px 0;
    box-shadow: 0 10px 25px -5px rgba(124, 58, 237, 0.3);
    position: relative;
    z-index: 10;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.digtek-marquee-track {
    display: flex;
    width: max-content;
    animation: digtek-marquee-scroll 24s linear infinite;
}

.digtek-marquee-wrapper:hover .digtek-marquee-track {
    animation-play-state: paused;
}

.digtek-marquee-item {
    display: flex;
    align-items: center;
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #ffffff;
    padding-right: 30px;
}

.digtek-marquee-item .marquee-highlight {
    color: #fde047;
    font-weight: 900;
}

@keyframes digtek-marquee-scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* ===================================================
   4. KICKER BADGES & PILLS ESTILO PIGEONSAI
   =================================================== */
.digtek-kicker,
.section-tag,
.pigeon-chip {
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
    padding: 8px 18px !important;
    border-radius: 9999px !important;
    background: var(--violet-light) !important;
    color: var(--violet-dark) !important;
    border: 1px solid var(--border-purple) !important;
    font-family: var(--font-heading) !important;
    font-size: 0.82rem !important;
    font-weight: 800 !important;
    letter-spacing: 0.06em !important;
    text-transform: uppercase !important;
    margin-bottom: 18px !important;
    box-shadow: var(--shadow-sm);
}

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

.section-title {
    font-size: clamp(2rem, 4vw, 2.8rem) !important;
    line-height: 1.2 !important;
    margin-bottom: 14px !important;
}

.section-subtitle {
    font-size: 1.1rem !important;
    max-width: 680px;
    margin: 0 auto;
    color: var(--text-muted) !important;
}

/* ===================================================
   5. BOTONES MODERNOS SAAS (PILL BUTTONS)
   =================================================== */
.theme-btn,
.pigeon-btn-hero {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 12px !important;
    padding: 16px 36px !important;
    border-radius: 9999px !important;
    background: linear-gradient(135deg, #7c3aed 0%, #6366f1 50%, #0ea5e9 100%) !important;
    color: #ffffff !important;
    font-family: var(--font-heading) !important;
    font-size: 1rem !important;
    font-weight: 800 !important;
    text-decoration: none !important;
    text-transform: uppercase !important;
    letter-spacing: 0.04em !important;
    border: none !important;
    cursor: pointer !important;
    box-shadow: var(--shadow-btn) !important;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1) !important;
    position: relative;
    overflow: hidden;
}

.theme-btn:hover,
.pigeon-btn-hero:hover {
    transform: translateY(-4px) scale(1.02) !important;
    box-shadow: 0 14px 30px rgba(124, 58, 237, 0.45) !important;
    color: #ffffff !important;
}

/* Botón Primario Alternativo (Azul Eléctrico) */
.btn-primary {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 10px !important;
    padding: 14px 30px !important;
    border-radius: 9999px !important;
    background: linear-gradient(135deg, #0ea5e9 0%, #0284c7 100%) !important;
    color: #ffffff !important;
    font-family: var(--font-heading) !important;
    font-weight: 700 !important;
    text-decoration: none !important;
    border: none !important;
    box-shadow: 0 8px 20px rgba(14, 165, 233, 0.3) !important;
    transition: all 0.3s ease !important;
}

.btn-primary:hover {
    transform: translateY(-3px) !important;
    box-shadow: 0 12px 26px rgba(14, 165, 233, 0.42) !important;
    color: #ffffff !important;
}

/* Botón Outline Claro */
.btn-outline {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 10px !important;
    padding: 14px 30px !important;
    border-radius: 9999px !important;
    background: #ffffff !important;
    color: var(--violet) !important;
    font-family: var(--font-heading) !important;
    font-weight: 700 !important;
    text-decoration: none !important;
    border: 2px solid var(--border-purple) !important;
    box-shadow: var(--shadow-sm) !important;
    transition: all 0.3s ease !important;
}

.btn-outline:hover {
    background: var(--violet-light) !important;
    color: var(--violet-dark) !important;
    border-color: var(--violet) !important;
    transform: translateY(-3px) !important;
}

/* ===================================================
   6. TARJETAS BLANCAS ULTRA MODERNAS (PIGEONSAI STYLE)
   =================================================== */
.card,
.tool-card,
.product-card,
.service-card,
.feature-box-items {
    background: var(--bg-white) !important;
    border-radius: 22px !important;
    border: 1px solid var(--border-light) !important;
    box-shadow: var(--shadow-card) !important;
    padding: 34px 28px !important;
    position: relative !important;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1) !important;
    display: flex !important;
    flex-direction: column !important;
    text-decoration: none !important;
    overflow: hidden;
}

.card:hover,
.tool-card:hover,
.product-card:hover,
.service-card:hover {
    transform: translateY(-9px) !important;
    border-color: rgba(124, 58, 237, 0.35) !important;
    box-shadow: var(--shadow-hover) !important;
}

/* Iconos de Herramientas dentro de tarjetas */
.tool-icon {
    width: 76px !important;
    height: 76px !important;
    border-radius: 20px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    margin: 0 auto 20px auto !important;
    background: var(--bg-section-alt) !important;
    box-shadow: 0 8px 20px rgba(124, 58, 237, 0.08) !important;
    border: 1px solid var(--border-purple) !important;
    transition: transform 0.3s ease;
}

.card:hover .tool-icon,
.tool-card:hover .tool-icon {
    transform: scale(1.08);
}

.card .product-title,
.tool-card .product-title {
    font-size: 1.25rem !important;
    font-weight: 800 !important;
    color: var(--text-heading) !important;
    text-align: center;
    margin-bottom: 10px !important;
}

/* Badges sobre tarjetas (Ej: 01, 02, Recomendado) */
.card-number-badge {
    position: absolute;
    top: 18px;
    left: 18px;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--violet-light);
    color: var(--violet-dark);
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--border-purple);
}

.product-badge {
    position: absolute !important;
    top: 16px !important;
    right: 16px !important;
    background: linear-gradient(135deg, #7c3aed 0%, #0ea5e9 100%) !important;
    color: #ffffff !important;
    font-family: var(--font-heading) !important;
    font-size: 0.75rem !important;
    font-weight: 800 !important;
    padding: 4px 12px !important;
    border-radius: 9999px !important;
    box-shadow: 0 4px 10px rgba(124, 58, 237, 0.25) !important;
}

/* ===================================================
   7. HEADER GLASSMORPHISM BLANCO
   =================================================== */
.header-top-dark {
    display: none !important; /* Elimina la barra oscura superior pesada */
}

.header-main-white {
    background: rgba(255, 255, 255, 0.94) !important;
    backdrop-filter: blur(16px) !important;
    -webkit-backdrop-filter: blur(16px) !important;
    border-bottom: 1px solid rgba(226, 232, 240, 0.8) !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04) !important;
    position: sticky !important;
    top: 0 !important;
    z-index: 1000 !important;
    padding: 12px 0 !important;
    transition: all 0.3s ease !important;
}

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

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

/* Links de Navegación */
.nav {
    display: flex;
    align-items: center;
    gap: 28px;
}

.nav-link,
.header .nav-link,
#mainNav .nav-link {
    color: var(--nav-link, #0f172a) !important;
    font-family: var(--font-heading) !important;
    font-size: 0.96rem !important;
    font-weight: 700 !important;
    text-decoration: none !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
    padding: 8px 16px !important;
    border-radius: 9999px !important;
    transition: all 0.25s ease !important;
}

.nav-link svg,
.header .nav-link svg,
#mainNav .nav-link svg {
    color: #7c3aed !important;
}

.nav-link:hover,
.nav-link.active,
.header .nav-link:hover,
.header .nav-link.active,
#mainNav .nav-link:hover,
#mainNav .nav-link.active {
    color: #7c3aed !important;
    background: rgba(124, 58, 237, 0.1) !important;
    box-shadow: 0 2px 8px rgba(124, 58, 237, 0.15) !important;
}

/* Dropdown Menus */
.nav-dropdown {
    position: relative;
}

.dropdown-menu {
    background: #ffffff !important;
    border-radius: 18px !important;
    border: 1px solid var(--border-light) !important;
    box-shadow: 0 15px 40px rgba(124, 58, 237, 0.12), 0 5px 15px rgba(0, 0, 0, 0.05) !important;
    padding: 14px !important;
}

.dropdown-item {
    color: var(--text-heading) !important;
    border-radius: 12px !important;
    padding: 10px 14px !important;
    transition: all 0.2s ease !important;
}

.dropdown-item:hover {
    background: var(--violet-light) !important;
    color: var(--violet-dark) !important;
}

.dropdown-item strong {
    color: var(--text-heading) !important;
}

.dropdown-item small {
    color: var(--text-muted) !important;
}

/* Botón CTA del Header */
.nav-cta-btn {
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
    background: linear-gradient(135deg, #7c3aed 0%, #0ea5e9 100%) !important;
    color: #ffffff !important;
    font-family: var(--font-heading) !important;
    font-weight: 800 !important;
    font-size: 0.9rem !important;
    padding: 10px 22px !important;
    border-radius: 9999px !important;
    text-decoration: none !important;
    box-shadow: 0 4px 15px rgba(124, 58, 237, 0.28) !important;
    transition: all 0.3s ease !important;
}

.nav-cta-btn:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 8px 22px rgba(124, 58, 237, 0.4) !important;
}

/* ===================================================
   8. HERO SECTION CON VIDEO DE FONDO Y CONTRASTE ÓPTIMO
   =================================================== */
.hero {
    position: relative !important;
    min-height: 85vh !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    overflow: hidden !important;
    background: #0f172a !important;
}

.hero .video-bg {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    opacity: 0.42 !important;
    z-index: 1 !important;
}

.hero .video-overlay {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    background: radial-gradient(circle at 50% 50%, rgba(15, 23, 42, 0.65) 0%, rgba(15, 23, 42, 0.88) 100%) !important;
    z-index: 2 !important;
}

.hero-content {
    position: relative !important;
    z-index: 5 !important;
    text-align: center !important;
    max-width: 900px !important;
    padding: 40px 20px !important;
}

.hero-title {
    font-size: clamp(2.5rem, 5.5vw, 4.2rem) !important;
    color: #ffffff !important;
    font-weight: 900 !important;
    line-height: 1.15 !important;
    margin-bottom: 20px !important;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.5) !important;
}

.hero-subtitle {
    font-size: clamp(1.15rem, 2.5vw, 1.4rem) !important;
    color: #e2e8f0 !important;
    max-width: 720px !important;
    margin: 0 auto 36px auto !important;
    line-height: 1.6 !important;
}

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

/* ===================================================
   9. FOOTER PROFESIONAL CORPORATIVO (SLATE NAVY)
   =================================================== */
.digtek-footer {
    background: #0f172a !important;
    color: #cbd5e1 !important;
    padding: 80px 0 30px 0 !important;
    position: relative !important;
    overflow: hidden !important;
    border-top: 2px solid var(--violet) !important;
}

.digtek-footer-glow {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 600px;
    height: 200px;
    background: radial-gradient(ellipse at 50% 0%, rgba(124, 58, 237, 0.25) 0%, transparent 70%);
    pointer-events: none;
}

.digtek-footer-grid {
    display: grid !important;
    grid-template-columns: 1.3fr 1fr 1fr 1fr !important;
    gap: 40px !important;
}

@media (max-width: 991px) {
    .digtek-footer-grid {
        grid-template-columns: 1fr 1fr !important;
        gap: 30px !important;
    }
}

@media (max-width: 576px) {
    .digtek-footer-grid {
        grid-template-columns: 1fr !important;
    }
}

.digtek-widget-title {
    color: #ffffff !important;
    font-family: var(--font-heading) !important;
    font-size: 1.15rem !important;
    font-weight: 800 !important;
    margin-bottom: 22px !important;
    position: relative;
    padding-bottom: 10px;
}

.digtek-widget-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 32px;
    height: 3px;
    border-radius: 9999px;
    background: linear-gradient(90deg, var(--violet), var(--primary));
}

.digtek-footer-links {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

.digtek-footer-links li {
    margin-bottom: 12px !important;
}

.digtek-footer-links a {
    color: #f1f5f9 !important;
    text-decoration: none !important;
    font-size: 0.98rem !important;
    font-weight: 500 !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
    transition: all 0.2s ease !important;
}

.digtek-footer-links a:hover {
    color: #38bdf8 !important;
    transform: translateX(4px) !important;
}

.digtek-widget-title {
    color: #ffffff !important;
    font-weight: 800 !important;
    font-size: 1.25rem !important;
}

/* Social Pills */
.digtek-social-pill {
    width: 44px !important;
    height: 44px !important;
    border-radius: 14px !important;
    background: rgba(255, 255, 255, 0.08) !important;
    border: 1px solid rgba(255, 255, 255, 0.12) !important;
    color: #ffffff !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    text-decoration: none !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

.digtek-social-pill:hover {
    background: var(--violet) !important;
    border-color: var(--violet) !important;
    transform: translateY(-4px) scale(1.08) !important;
    box-shadow: 0 8px 20px rgba(124, 58, 237, 0.45) !important;
    color: #ffffff !important;
}

.digtek-footer-bottom {
    margin-top: 60px !important;
    padding-top: 25px !important;
    border-top: 1px solid rgba(255, 255, 255, 0.08) !important;
    color: #64748b !important;
    font-size: 0.9rem !important;
}

.digtek-footer-bottom .container {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    flex-wrap: wrap !important;
    gap: 15px !important;
}

.digtek-footer-legal a {
    color: #94a3b8 !important;
    text-decoration: none !important;
    transition: color 0.2s ease !important;
}

.digtek-footer-legal a:hover {
    color: #ffffff !important;
}

/* ===================================================
   10. CTA SECTION CON VIDEO / CLARA Y POTENTE
   =================================================== */
.cta-section-video {
    position: relative !important;
    overflow: hidden !important;
    padding: 100px 0 !important;
    background: linear-gradient(135deg, #180d2e 0%, #0f172a 100%) !important;
    border-top: 2px solid var(--violet) !important;
    border-bottom: 2px solid var(--violet) !important;
    color: #ffffff !important;
}

.cta-section-video .video-bg {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    opacity: 0.28 !important;
    z-index: 1 !important;
}

/* ===================================================
   11. FORMAS ANIMADAS POR SECCIÓN (DIGTEK 3D VIBE)
   =================================================== */
.section {
    position: relative;
    overflow: hidden;
}

.section-shape-layer {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

/* Formas Flotantes Temáticas */
.floating-geo-shape {
    position: absolute;
    opacity: 0.45;
    pointer-events: none;
    filter: drop-shadow(0 8px 24px rgba(124, 58, 237, 0.15));
}

.shape-hexagon {
    width: 58px;
    height: 58px;
    background: linear-gradient(135deg, rgba(124, 58, 237, 0.18) 0%, rgba(14, 165, 233, 0.18) 100%);
    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
    border: 1px solid rgba(124, 58, 237, 0.3);
    animation: float-bob-y 6s ease-in-out infinite, cir36 28s linear infinite;
}

.shape-circle-glow {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(14, 165, 233, 0.12) 0%, transparent 70%);
    animation: rm-float 5s ease-in-out infinite alternate;
}

.shape-shield-cyber {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.15) 0%, rgba(124, 58, 237, 0.15) 100%);
    border-radius: 12px 12px 24px 24px;
    border: 1.5px solid rgba(239, 68, 68, 0.25);
    animation: float-bob-y 4.5s ease-in-out infinite;
}

.shape-code-pill {
    padding: 6px 14px;
    background: #ffffff;
    border: 1.5px solid #cbd5e1;
    border-radius: 20px;
    font-size: 0.78rem;
    font-weight: 800;
    color: #7c3aed;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    animation: float-bob-y 5s ease-in-out infinite 1s;
}

/* Hover de cartas con iluminación dinámica */
.card:hover, .tool-card:hover {
    box-shadow: 0 20px 40px -10px rgba(124, 58, 237, 0.18), 0 0 1px 1px rgba(124, 58, 237, 0.25) !important;
}

/* ===================================================
   PARCHE INTEGRAL v2.1 - VISIBILIDAD TOTAL
   Corrige todos los textos invisibles en toda la web
   =================================================== */

/* RESET FORZADO: Variables oscuras de styles.css NO deben contaminar secciones claras */
section.section h1,
section.section h2,
section.section h3,
section.section h4,
section.section h5,
section.section h6,
section.section p,
section.section span:not(.badge):not(.product-badge):not(.digtek-kicker):not(.marquee-star):not(.nav-cta-arrow),
section.section li,
section.section a:not(.btn):not(.theme-btn):not(.btn-outline):not(.btn-primary):not(.nav-link) {
    color: inherit;
}

/* SECCIONES CLARAS: fondo blanco/lavanda -> texto oscuro */
section.section {
    color: var(--text-body) !important;
}

/* Subtitulos de sección siempre legibles */
.section-subtitle {
    color: var(--text-muted) !important;
    font-size: 1.1rem !important;
}

/* Product titles en cards siempre oscuros */
.product-title,
.card h3,
.tool-card h3 {
    color: var(--text-heading) !important;
    font-weight: 700 !important;
}

/* Textos en cards: siempre oscuros */
.card p,
.tool-card p,
.product-card p,
.service-card p {
    color: var(--text-body) !important;
}

/* DIGTEK KICKER - Siempre en gradiente visible */
.digtek-kicker {
    background: linear-gradient(135deg, #7c3aed 0%, #0ea5e9 100%) !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    background-clip: text !important;
    font-weight: 800 !important;
    font-size: 0.85rem !important;
    letter-spacing: 2px !important;
    text-transform: uppercase !important;
    display: inline-block !important;
}

/* HERO - siempre texto blanco sobre video oscuro */
.hero .hero-title,
.hero .hero-subtitle,
.hero .digtek-kicker {
    color: #ffffff !important;
    -webkit-text-fill-color: initial !important;
}
.hero .digtek-kicker {
    background: rgba(255,255,255,0.15) !important;
    -webkit-background-clip: initial !important;
    -webkit-text-fill-color: #ffffff !important;
    background-clip: initial !important;
    border: 1px solid rgba(255,255,255,0.3) !important;
    padding: 6px 16px !important;
    border-radius: 9999px !important;
}

/* CTA VIDEO SECTION - siempre blanco */
.cta-section-video,
.cta-section-video h2,
.cta-section-video p,
.cta-section-video span {
    color: #ffffff !important;
    -webkit-text-fill-color: #ffffff !important;
}
.cta-section-video .digtek-kicker {
    background: none !important;
    color: #fde047 !important;
    -webkit-text-fill-color: #fde047 !important;
    background-clip: initial !important;
}

/* MENU DROPDOWN - Integrado al Sistema de Temas */
.dropdown-menu {
    background: var(--dropdown-bg, #ffffff) !important;
    border: 1px solid var(--dropdown-border, #e2e8f0) !important;
    border-radius: 18px !important;
    box-shadow: var(--dropdown-shadow, 0 20px 45px rgba(15, 23, 42, 0.12)) !important;
    padding: 12px !important;
}
.dropdown-menu .dropdown-item {
    color: var(--dropdown-title, #1e293b) !important;
    border-radius: 12px !important;
    padding: 10px 14px !important;
    transition: all 0.2s ease !important;
}
.dropdown-menu .dropdown-item strong {
    color: var(--dropdown-title, #0f172a) !important;
    font-weight: 700 !important;
}
.dropdown-menu .dropdown-item small {
    color: var(--dropdown-sub, #64748b) !important;
    font-weight: 500 !important;
}
.dropdown-menu .dropdown-item:hover {
    background: var(--dropdown-hover, #f5f3ff) !important;
}
.dropdown-menu .dropdown-item:hover strong {
    color: var(--nav-link-hover, #7c3aed) !important;
}
.dropdown-menu .dropdown-item:hover small {
    color: var(--nav-link-hover, #6d28d9) !important;
}

/* FOOTER siempre texto blanco/gris claro visible */
.digtek-footer,
.digtek-footer h4,
.digtek-footer p,
.digtek-footer li,
.digtek-footer a,
.digtek-footer span {
    color: #e2e8f0 !important;
}
.digtek-footer a:hover {
    color: #a78bfa !important;
}
.digtek-widget-title {
    color: #ffffff !important;
    font-weight: 800 !important;
}

/* BADGES y PILLS siempre visibles */
.product-badge {
    background: linear-gradient(135deg, #7c3aed, #0ea5e9) !important;
    color: #ffffff !important;
    font-size: 0.75rem !important;
    padding: 4px 10px !important;
    border-radius: 9999px !important;
    font-weight: 700 !important;
}

/* MARQUEE siempre blanco */
.digtek-marquee-wrapper {
    background: linear-gradient(135deg, #0f172a 0%, #1e1b4b 100%) !important;
}
.digtek-marquee-item,
.digtek-marquee-item span {
    color: #ffffff !important;
}

/* LANGUAGE SWITCHER - visible en header blanco */
.lang-switch-group a {
    color: #64748b;
}
.lang-switch-group a[style*="background: #7c3aed"] {
    color: #ffffff !important;
}

/* BOTÓN OUTLINE en hero (texto blanco sobre fondo oscuro) */
.hero .btn-outline {
    background: rgba(255,255,255,0.12) !important;
    color: #ffffff !important;
    border-color: rgba(255,255,255,0.4) !important;
}
.hero .btn-outline:hover {
    background: rgba(255,255,255,0.22) !important;
    color: #ffffff !important;
}

/* PAGES DE HERRAMIENTAS - textos en tabs visibles */
.tool-tabs-nav .tab-btn {
    color: var(--text-body) !important;
}
.tool-tabs-nav .tab-btn.active {
    color: #ffffff !important;
}

/* CORRECCION CONTRASTE ALTO: Secciones claras siempre con texto visible */
section.section {
    color: #334155;
}

/* NAV principal - OSCURO sobre header BLANCO (digtek light theme) */
.header-main-white .nav-link {
    color: var(--nav-link, #1e293b) !important;
}
.header-main-white .nav-link:hover,
.header-main-white .nav-link.active {
    color: #7c3aed !important;
}
.header-main-white .nav-link svg {
    color: #7c3aed !important;
}
.header-main-white .nav-link:hover svg,
.header-main-white .nav-link.active svg {
    color: #6d28d9 !important;
}

/* TOP BAR OSCURO - texto blanco */
.header-top-dark {
    background: #0b1120 !important;
    color: #e2e8f0 !important;
}
.header-top-dark a,
.header-top-dark span {
    color: #e2e8f0 !important;
}
