/* assets/css/landing.css - Versión 8.0 Tipografía Aumentada y Adaptativa */
:root {
    --primary-blue: #3b82f6;
    --primary-light: #60a5fa;
    --primary-dark: #1d4ed8;
    --secondary-blue: #1e293b;
    --accent-emerald: #10b981;
    --accent-amber: #f59e0b;
    --accent-purple: #8b5cf6;
    --accent-cyan: #06b6d4;
    --accent-rose: #f43f5e;
    
    --text-main: #f8fafc;
    --text-body: #e2e8f0;
    --text-muted: #cbd5e1;
    --text-dim: #94a3b8;
    --white: #ffffff;
    
    --border-light: rgba(255, 255, 255, 0.1);
    --border-hover: rgba(96, 165, 250, 0.4);
    
    --shadow-sm: 0 2px 4px 0 rgba(0, 0, 0, 0.4);
    --shadow-md: 0 10px 25px -5px rgba(0, 0, 0, 0.5), 0 8px 10px -6px rgba(0, 0, 0, 0.5);
    --shadow-lg: 0 20px 35px -5px rgba(0, 0, 0, 0.7), 0 10px 15px -5px rgba(0, 0, 0, 0.5);
    --shadow-glow-blue: 0 0 30px rgba(59, 130, 246, 0.25);
    --shadow-glow-emerald: 0 0 30px rgba(16, 185, 129, 0.25);
    --shadow-glow-amber: 0 0 30px rgba(245, 158, 11, 0.25);

    /* Variables de tema */
    --landing-bg: #0b0f19;
    --header-bg: rgba(11, 15, 25, 0.88);
    --card-bg: rgba(22, 30, 49, 0.75);
    --card-bg-solid: #151d30;
    --hero-gradient: radial-gradient(circle at 50% -20%, #1e3a8a 0%, #0b0f19 80%);
    --nav-mobile-bg: rgba(11, 15, 25, 0.98);

    /* Neutros para compatibilidad */
    --neutral-50: #162036;
    --neutral-100: #1e293b;
    --neutral-200: #334155;
    --neutral-300: #475569;
    --neutral-600: #94a3b8;
    --neutral-700: #e2e8f0;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 85px;
    font-size: 16px;
}

body {
    background-color: var(--landing-bg) !important;
    color: var(--text-main) !important;
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    line-height: 1.65;
    overflow-x: hidden;
}

.landing-body {
    background-color: var(--landing-bg) !important;
    color: var(--text-main) !important;
    padding-top: 76px;
    background-image: 
        radial-gradient(at 15% 15%, rgba(59, 130, 246, 0.08) 0px, transparent 50%),
        radial-gradient(at 85% 25%, rgba(139, 92, 246, 0.08) 0px, transparent 50%),
        radial-gradient(at 50% 70%, rgba(16, 185, 129, 0.05) 0px, transparent 50%);
    background-attachment: fixed;
}

/* Header & Nav */
.landing-header {
    background: var(--header-bg);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1100;
    border-bottom: 1px solid var(--border-light);
    transition: all 0.3s ease;
}

.landing-header.scrolled {
    background: rgba(11, 15, 25, 0.96);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
    border-bottom-color: rgba(255, 255, 255, 0.12);
}

.landing-nav-container {
    max-width: 1260px;
    margin: 0 auto;
    padding: 0.9rem 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.landing-header .logo {
    text-decoration: none;
    color: inherit;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    transition: transform 0.2s;
}

.landing-header .logo:hover {
    transform: scale(1.02);
}

.landing-header .logo img {
    width: 40px;
    height: 40px;
    filter: drop-shadow(0 2px 8px rgba(59, 130, 246, 0.4));
}

.landing-header .logo span {
    font-size: 1.55rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    color: white !important;
}

.landing-nav {
    display: flex;
    align-items: center;
    gap: 1.6rem;
}

.landing-nav a {
    text-decoration: none;
    color: var(--text-muted);
    font-weight: 500;
    font-size: 1rem;
    transition: all 0.2s ease;
    position: relative;
    padding: 0.25rem 0;
    white-space: nowrap;
}

.landing-nav a:hover,
.landing-nav a.active {
    color: #ffffff;
}

.landing-nav a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-light);
    transition: width 0.2s ease;
    border-radius: 2px;
}

.landing-nav a:hover::after,
.landing-nav a.active::after {
    width: 100%;
}

.landing-nav .btn-primary-landing {
    padding: 0.65rem 1.5rem;
    width: auto;
    color: white !important;
    border-radius: 9999px;
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    box-shadow: 0 4px 14px rgba(37, 99, 235, 0.35);
    border: 1px solid rgba(255, 255, 255, 0.15);
    font-weight: 600;
    font-size: 1.02rem;
    transition: all 0.25s ease;
}

.landing-nav .btn-primary-landing:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(37, 99, 235, 0.5);
    background: linear-gradient(135deg, #60a5fa 0%, #3b82f6 100%);
}

.landing-nav .btn-primary-landing::after {
    display: none;
}

/* Botón Hamburguesa */
.landing-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    z-index: 1200;
}

.landing-menu-toggle span {
    display: block;
    width: 25px;
    height: 2px;
    background-color: white;
    border-radius: 2px;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.landing-menu-toggle.active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

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

.landing-menu-toggle.active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

.nav-mobile-header {
    display: none;
    padding: 1.5rem 1rem 1.25rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    margin-bottom: 1rem;
    text-align: center;
}

.nav-mobile-header img {
    width: 48px !important;
    height: 48px !important;
    max-width: 48px !important;
    max-height: 48px !important;
    object-fit: contain;
    margin: 0 auto 0.5rem auto;
    display: block;
    filter: drop-shadow(0 2px 8px rgba(59, 130, 246, 0.4));
}

/* Hero Section */
.hero-section {
    position: relative;
    padding: 5.5rem 1.5rem 4.5rem;
    text-align: center;
    overflow: hidden;
}

.hero-glow {
    position: absolute;
    top: 0%;
    left: 50%;
    transform: translateX(-50%);
    width: 700px;
    height: 380px;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.22) 0%, rgba(139, 92, 246, 0.12) 50%, transparent 80%);
    filter: blur(60px);
    z-index: -1;
    pointer-events: none;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.5rem 1.25rem;
    background: rgba(30, 41, 59, 0.85);
    border: 1px solid rgba(96, 165, 250, 0.35);
    color: #93c5fd;
    border-radius: 9999px;
    font-size: clamp(0.95rem, 0.9rem + 0.25vw, 1.05rem);
    font-weight: 600;
    margin-bottom: 1.75rem;
    backdrop-filter: blur(8px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    animation: badgeFloat 4s ease-in-out infinite;
}

@keyframes badgeFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-4px); }
}

.hero-badge .sparkle {
    display: inline-block;
    animation: sparkleSpin 3s linear infinite;
}

@keyframes sparkleSpin {
    0% { transform: rotate(0deg) scale(1); }
    50% { transform: rotate(180deg) scale(1.15); }
    100% { transform: rotate(360deg) scale(1); }
}

.hero-title {
    font-size: clamp(2.5rem, 2rem + 2.5vw, 4rem);
    font-weight: 800;
    color: #ffffff;
    line-height: 1.15;
    margin-bottom: 1.75rem;
    letter-spacing: -0.035em;
    max-width: 960px;
    margin-left: auto;
    margin-right: auto;
}

.hero-title .text-gradient {
    background: linear-gradient(135deg, #60a5fa 0%, #a78bfa 50%, #38bdf8 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subtitle {
    font-size: clamp(1.2rem, 1.15rem + 0.4vw, 1.35rem);
    color: var(--text-muted);
    max-width: 50rem;
    margin: 0 auto 3rem;
    line-height: 1.7;
}

.hero-cta-group {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1.25rem;
    flex-wrap: wrap;
    margin-bottom: 3.5rem;
}

.btn-hero-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 1.05rem 2.2rem;
    font-size: 1.15rem;
    font-weight: 700;
    color: white;
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
    border-radius: 0.9rem;
    text-decoration: none;
    box-shadow: 0 4px 20px rgba(37, 99, 235, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-hero-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(37, 99, 235, 0.6);
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    color: white;
}

.btn-hero-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 1.05rem 2.2rem;
    font-size: 1.15rem;
    font-weight: 700;
    color: #ffffff;
    background: linear-gradient(135deg, #059669 0%, #047857 100%);
    border-radius: 0.9rem;
    text-decoration: none;
    border: 1px solid rgba(52, 211, 153, 0.4);
    box-shadow: 0 4px 20px rgba(16, 185, 129, 0.35);
    backdrop-filter: blur(8px);
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-hero-secondary i {
    color: #a7f3d0;
    transition: color 0.25s ease;
}

.btn-hero-secondary:hover {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    border-color: rgba(110, 231, 183, 0.65);
    box-shadow: 0 8px 30px rgba(16, 185, 129, 0.55);
    transform: translateY(-3px);
    color: #ffffff;
}

.btn-hero-secondary:hover i {
    color: #ffffff;
}

/* Hero Feature Pills */
.hero-pills {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1.15rem;
    flex-wrap: wrap;
    max-width: 1000px;
    margin: 0 auto;
}

.hero-pill-item {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    background: rgba(30, 41, 59, 0.55);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 0.6rem 1.15rem;
    border-radius: 9999px;
    font-size: clamp(0.98rem, 0.95rem + 0.2vw, 1.08rem);
    color: #cbd5e1;
    backdrop-filter: blur(6px);
}

.hero-pill-item i {
    color: var(--accent-emerald);
}

/* Sections Structure */
.section-wrapper {
    max-width: 1260px;
    margin: 0 auto;
    padding: 5rem 1.5rem;
}

.section-header {
    text-align: center;
    margin-bottom: 3.5rem;
}

.section-tag {
    display: inline-block;
    padding: 0.4rem 1rem;
    background: rgba(59, 130, 246, 0.12);
    border: 1px solid rgba(59, 130, 246, 0.3);
    color: #60a5fa;
    border-radius: 9999px;
    font-size: 0.88rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 1.25rem;
}

.section-tag.emerald {
    background: rgba(16, 185, 129, 0.12);
    border-color: rgba(16, 185, 129, 0.3);
    color: #34d399;
}

.section-tag.amber {
    background: rgba(245, 158, 11, 0.12);
    border-color: rgba(245, 158, 11, 0.3);
    color: #fbbf24;
}

.section-tag.purple {
    background: rgba(139, 92, 246, 0.12);
    border-color: rgba(139, 92, 246, 0.3);
    color: #c084fc;
}

.section-title {
    font-size: clamp(2.2rem, 1.8rem + 1vw, 2.9rem);
    font-weight: 800;
    text-align: center;
    margin-bottom: 1.25rem;
    color: var(--text-main);
    letter-spacing: -0.025em;
    line-height: 1.2;
}

.section-subtitle {
    text-align: center;
    color: var(--text-muted);
    max-width: 800px;
    margin: 0 auto;
    font-size: clamp(1.18rem, 1.12rem + 0.3vw, 1.32rem);
    line-height: 1.7;
}

/* Demos en Vivo - Modern Section */
.demos-section {
    background: linear-gradient(180deg, rgba(15, 23, 42, 0.6) 0%, rgba(22, 30, 49, 0.4) 100%);
    border-top: 1px solid var(--border-light);
    border-bottom: 1px solid var(--border-light);
    position: relative;
}

.demos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(440px, 1fr));
    gap: 2.5rem;
    align-items: stretch;
}

.demo-card-pro {
    background: rgba(26, 36, 56, 0.8);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-radius: 1.75rem;
    padding: 2.75rem 2.5rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: var(--shadow-md);
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
}

.demo-card-pro::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent, rgba(59, 130, 246, 0.8), transparent);
    opacity: 0;
    transition: opacity 0.3s;
}

.demo-card-pro.empleado::before {
    background: linear-gradient(90deg, transparent, #10b981, transparent);
}

.demo-card-pro.admin::before {
    background: linear-gradient(90deg, transparent, #f59e0b, transparent);
}

.demo-card-pro:hover {
    transform: translateY(-8px);
    border-color: rgba(96, 165, 250, 0.4);
    box-shadow: var(--shadow-lg), 0 0 30px rgba(59, 130, 246, 0.15);
}

.demo-card-pro.empleado:hover {
    border-color: rgba(16, 185, 129, 0.45);
    box-shadow: var(--shadow-lg), var(--shadow-glow-emerald);
}

.demo-card-pro.admin:hover {
    border-color: rgba(245, 158, 11, 0.45);
    box-shadow: var(--shadow-lg), var(--shadow-glow-amber);
}

.demo-card-pro:hover::before {
    opacity: 1;
}

.demo-card-header {
    display: flex;
    align-items: flex-start;
    gap: 1.25rem;
    margin-bottom: 1.5rem;
}

.demo-icon-wrap {
    width: 64px;
    height: 64px;
    border-radius: 1.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.85rem;
    flex-shrink: 0;
}

.demo-icon-wrap.empleado {
    background: rgba(16, 185, 129, 0.15);
    color: #34d399;
    border: 1px solid rgba(16, 185, 129, 0.3);
}

.demo-icon-wrap.admin {
    background: rgba(245, 158, 11, 0.15);
    color: #fbbf24;
    border: 1px solid rgba(245, 158, 11, 0.3);
}

.demo-card-header h3 {
    font-size: clamp(1.6rem, 1.45rem + 0.4vw, 1.85rem);
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 0.3rem;
}

.demo-role-badge {
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.demo-role-badge.empleado {
    color: #34d399;
}

.demo-role-badge.admin {
    color: #fbbf24;
}

/* Texto de descripción dentro de la tarjeta: TAMAÑO ADAPTATIVO GENEROSO */
.demo-card-desc {
    color: var(--text-body);
    font-size: clamp(1.18rem, 1.12rem + 0.3vw, 1.28rem);
    line-height: 1.7;
    margin-bottom: 1.75rem;
}

/* Aviso / Recomendación de Pantalla Ordenador */
.desktop-recommendation-box {
    background: rgba(245, 158, 11, 0.12);
    border: 1px solid rgba(245, 158, 11, 0.35);
    border-radius: 1rem;
    padding: 1.1rem 1.25rem;
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 2rem;
    font-size: clamp(1.08rem, 1.02rem + 0.25vw, 1.18rem);
    color: #fef3c7;
    line-height: 1.6;
}

.desktop-recommendation-box i {
    color: #f59e0b;
    font-size: 1.45rem;
    margin-top: 2px;
    flex-shrink: 0;
}

.desktop-recommendation-box strong {
    color: #fbbf24;
    font-weight: 700;
}

/* Píldora de dispositivo óptimo */
.device-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    background: rgba(16, 185, 129, 0.12);
    border: 1px solid rgba(16, 185, 129, 0.3);
    border-radius: 9999px;
    padding: 0.5rem 1.1rem;
    font-size: 0.95rem;
    color: #6ee7b7;
    font-weight: 600;
    margin-bottom: 1.75rem;
    width: fit-content;
}

.demo-features-list {
    list-style: none;
    padding: 0;
    margin: 0 0 2.25rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    gap: 0.9rem;
}

.demo-features-list li {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    font-size: clamp(1.1rem, 1.05rem + 0.25vw, 1.22rem);
    color: #f1f5f9;
}

.demo-features-list li i {
    font-size: 1.05rem;
    flex-shrink: 0;
}

.demo-card-pro.empleado .demo-features-list li i {
    color: #34d399;
}

.demo-card-pro.admin .demo-features-list li i {
    color: #fbbf24;
}

.btn-demo-action {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 1.1rem 1.6rem;
    border-radius: 0.9rem;
    font-weight: 700;
    font-size: 1.15rem;
    text-decoration: none;
    color: white;
    transition: all 0.25s ease;
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.btn-demo-action.empleado {
    background: linear-gradient(135deg, #059669 0%, #047857 100%);
    box-shadow: 0 4px 15px rgba(5, 150, 105, 0.35);
}

.btn-demo-action.empleado:hover {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    box-shadow: 0 8px 25px rgba(16, 185, 129, 0.5);
    transform: translateY(-2px);
}

.btn-demo-action.admin {
    background: linear-gradient(135deg, #d97706 0%, #b45309 100%);
    box-shadow: 0 4px 15px rgba(217, 119, 6, 0.35);
}

.btn-demo-action.admin:hover {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    box-shadow: 0 8px 25px rgba(245, 158, 11, 0.5);
    transform: translateY(-2px);
}

.btn-demo-action i {
    transition: transform 0.2s ease;
}

.btn-demo-action:hover i {
    transform: translateX(4px);
}

/* Features Grid (Bento style) */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 2rem;
}

.feature-card {
    background: var(--card-bg);
    border: 1px solid var(--border-light);
    border-radius: 1.5rem;
    padding: 2.5rem 2.25rem;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    flex-direction: column;
}

.feature-card:hover {
    transform: translateY(-6px);
    border-color: rgba(96, 165, 250, 0.4);
    box-shadow: var(--shadow-lg), 0 0 25px rgba(59, 130, 246, 0.12);
    background: rgba(30, 41, 59, 0.9);
}

.feature-icon-badge {
    width: 56px;
    height: 56px;
    border-radius: 1rem;
    background: rgba(59, 130, 246, 0.15);
    border: 1px solid rgba(59, 130, 246, 0.3);
    color: #60a5fa;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.55rem;
    margin-bottom: 1.5rem;
}

.feature-icon-badge.emerald {
    background: rgba(16, 185, 129, 0.15);
    border-color: rgba(16, 185, 129, 0.3);
    color: #34d399;
}

.feature-icon-badge.purple {
    background: rgba(139, 92, 246, 0.15);
    border-color: rgba(139, 92, 246, 0.3);
    color: #c084fc;
}

.feature-icon-badge.amber {
    background: rgba(245, 158, 11, 0.15);
    border-color: rgba(245, 158, 11, 0.3);
    color: #fbbf24;
}

.feature-title {
    font-size: clamp(1.4rem, 1.3rem + 0.3vw, 1.6rem);
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 0.85rem;
}

/* Descripción de características en tarjetas */
.feature-desc {
    color: var(--text-body);
    font-size: clamp(1.15rem, 1.1rem + 0.25vw, 1.25rem);
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.feature-checklist {
    list-style: none;
    padding: 0;
    margin: auto 0 0;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.feature-checklist li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: clamp(1.05rem, 1rem + 0.2vw, 1.16rem);
    color: #f1f5f9;
}

.feature-checklist li i {
    color: #34d399;
    font-size: 0.95rem;
}

/* ==========================================================================
   SECCIÓN NORMATIVA, COMPARATIVA LEGAL & RRHH
   ========================================================================== */
.normativa-section {
    background: linear-gradient(180deg, rgba(15, 23, 42, 0.7) 0%, rgba(26, 36, 56, 0.4) 100%);
    border-top: 1px solid var(--border-light);
    border-bottom: 1px solid var(--border-light);
    position: relative;
}

/* Comparativa 2 Columnas */
.law-compare-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2.25rem;
    margin-bottom: 4rem;
}

.law-compare-card {
    background: rgba(22, 30, 49, 0.85);
    border: 1px solid var(--border-light);
    border-radius: 1.6rem;
    padding: 2.5rem;
    backdrop-filter: blur(12px);
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
}

.law-compare-card.current {
    border-color: rgba(59, 130, 246, 0.35);
}

.law-compare-card.current::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #3b82f6, #60a5fa);
}

.law-compare-card.new-draft {
    border-color: rgba(245, 158, 11, 0.4);
    background: rgba(30, 37, 54, 0.9);
}

.law-compare-card.new-draft::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #f59e0b, #ef4444);
}

.law-card-header {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    margin-bottom: 1.5rem;
}

.law-card-icon {
    width: 54px;
    height: 54px;
    border-radius: 1.1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.55rem;
}

.law-card-icon.blue {
    background: rgba(59, 130, 246, 0.15);
    color: #60a5fa;
    border: 1px solid rgba(59, 130, 246, 0.3);
}

.law-card-icon.amber {
    background: rgba(245, 158, 11, 0.15);
    color: #fbbf24;
    border: 1px solid rgba(245, 158, 11, 0.3);
}

.law-card-title {
    font-size: clamp(1.45rem, 1.35rem + 0.3vw, 1.65rem);
    font-weight: 800;
    color: #ffffff;
}

.law-card-badge {
    font-size: 0.82rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    display: inline-block;
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    margin-bottom: 0.3rem;
}

.law-card-badge.blue {
    background: rgba(59, 130, 246, 0.15);
    color: #93c5fd;
}

.law-card-badge.amber {
    background: rgba(245, 158, 11, 0.15);
    color: #fde68a;
}

.law-points-list {
    list-style: none;
    padding: 0;
    margin: 1.75rem 0 0;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.law-points-list li {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    font-size: clamp(1.12rem, 1.08rem + 0.25vw, 1.24rem);
    color: var(--text-body);
    line-height: 1.65;
}

.law-points-list li i {
    margin-top: 4px;
    font-size: 1.1rem;
    flex-shrink: 0;
}

/* Cuadrante de Cumplimiento SRClock */
.compliance-quadrant-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.75rem;
    margin-bottom: 4.5rem;
}

.compliance-box {
    background: rgba(18, 26, 43, 0.85);
    border: 1px solid rgba(16, 185, 129, 0.3);
    border-radius: 1.4rem;
    padding: 2rem 1.75rem;
    transition: all 0.3s ease;
}

.compliance-box:hover {
    transform: translateY(-5px);
    border-color: rgba(16, 185, 129, 0.6);
    box-shadow: 0 10px 25px -5px rgba(16, 185, 129, 0.2);
}

.compliance-badge-status {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(16, 185, 129, 0.15);
    color: #34d399;
    font-size: 0.85rem;
    font-weight: 700;
    padding: 0.35rem 0.8rem;
    border-radius: 9999px;
    margin-bottom: 1.25rem;
}

.compliance-box h4 {
    font-size: clamp(1.25rem, 1.2rem + 0.25vw, 1.4rem);
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 0.75rem;
}

.compliance-box p {
    font-size: clamp(1.12rem, 1.06rem + 0.25vw, 1.22rem);
    color: var(--text-muted);
    line-height: 1.65;
}

/* Por qué gestionar RRHH con SRClock */
.why-rrhh-banner {
    background: linear-gradient(135deg, rgba(30, 41, 59, 0.85) 0%, rgba(22, 30, 49, 0.98) 100%);
    border: 1px solid rgba(96, 165, 250, 0.3);
    border-radius: 1.85rem;
    padding: 3.5rem 3rem;
    box-shadow: var(--shadow-md);
}

.why-rrhh-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
    margin-top: 2.5rem;
}

.why-rrhh-item {
    display: flex;
    align-items: flex-start;
    gap: 1.4rem;
}

.why-rrhh-icon {
    width: 56px;
    height: 56px;
    border-radius: 1.1rem;
    background: rgba(59, 130, 246, 0.15);
    border: 1px solid rgba(59, 130, 246, 0.3);
    color: #60a5fa;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.55rem;
    flex-shrink: 0;
}

.why-rrhh-item h4 {
    font-size: clamp(1.25rem, 1.2rem + 0.25vw, 1.38rem);
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 0.5rem;
}

.why-rrhh-item p {
    font-size: clamp(1.12rem, 1.06rem + 0.25vw, 1.22rem);
    color: var(--text-muted);
    line-height: 1.65;
}

/* Descargas / Apps Section */
.downloads-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.75rem;
}

.download-card {
    background: var(--card-bg);
    border: 1px solid var(--border-light);
    border-radius: 1.35rem;
    padding: 2rem 1.75rem;
    display: flex;
    flex-direction: column;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.download-card:hover {
    transform: translateY(-5px);
    border-color: var(--border-hover);
    box-shadow: var(--shadow-md), 0 0 20px rgba(59, 130, 246, 0.1);
    background: rgba(30, 41, 59, 0.9);
}

.download-icon {
    font-size: 2.5rem;
    margin-bottom: 1.25rem;
    display: inline-block;
}

.download-title {
    font-size: 1.3rem;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 0.5rem;
}

.download-subtitle {
    color: var(--text-muted);
    font-size: clamp(1.08rem, 1.02rem + 0.2vw, 1.18rem);
    line-height: 1.6;
    margin-bottom: 1.75rem;
    flex-grow: 1;
}

.btn-download {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    width: 100%;
    padding: 0.85rem 1.25rem;
    border-radius: 0.85rem;
    font-weight: 600;
    font-size: 1.02rem;
    text-decoration: none;
    color: white;
    background: #1e293b;
    border: 1px solid rgba(255, 255, 255, 0.15);
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-download:hover {
    background: #2563eb;
    border-color: #3b82f6;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
}

.btn-download.btn-emerald {
    background: rgba(16, 185, 129, 0.15);
    border-color: rgba(16, 185, 129, 0.3);
    color: #34d399;
}

.btn-download.btn-emerald:hover {
    background: #059669;
    border-color: #10b981;
    color: white;
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
}

/* CTA Final Banner */
.cta-final-box {
    background: linear-gradient(135deg, #1e3a8a 0%, #1e1b4b 100%);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 2rem;
    padding: 4.5rem 2.5rem;
    text-align: center;
    box-shadow: var(--shadow-lg), 0 0 50px rgba(30, 58, 138, 0.4);
    position: relative;
    overflow: hidden;
}

.cta-final-box h2 {
    font-size: clamp(2.2rem, 1.8rem + 1vw, 2.8rem);
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 1.25rem;
    letter-spacing: -0.025em;
}

.cta-final-box p {
    color: #cbd5e1;
    font-size: clamp(1.2rem, 1.15rem + 0.3vw, 1.32rem);
    max-width: 650px;
    margin: 0 auto 2.75rem;
    line-height: 1.7;
}

/* ==========================================================================
   SCROLL REVEAL & ANIMATIONS (Despliegue suave al hacer scroll)
   ========================================================================== */
.reveal {
    opacity: 0;
    transform: translateY(35px);
    transition: opacity 0.75s cubic-bezier(0.16, 1, 0.3, 1), transform 0.75s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: opacity, transform;
}

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

.reveal-scale {
    opacity: 0;
    transform: scale(0.93) translateY(25px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: opacity, transform;
}

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

.reveal-left {
    opacity: 0;
    transform: translateX(-40px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: opacity, transform;
}

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

.reveal-right {
    opacity: 0;
    transform: translateX(40px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: opacity, transform;
}

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

/* Retardos escalonados */
.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }

/* Pricing Section (Compatibilidad precios.php) */
.pricing-section {
    padding: 5rem 1.5rem;
    max-width: 1200px;
    margin: 0 auto;
}

.pricing-header {
    text-align: center;
    margin-bottom: 4rem;
}

.pricing-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-top: 2rem;
}

.toggle-switch {
    width: 3.5rem;
    height: 1.75rem;
    background: #334155;
    border-radius: 9999px;
    padding: 2px;
    cursor: pointer;
    transition: background 0.3s;
    position: relative;
    border: 1.5px solid #475569;
}

.toggle-switch.active {
    background: var(--primary-blue);
}

.toggle-dot {
    width: 1.5rem;
    height: 1.5rem;
    background: white;
    border-radius: 50%;
    transition: transform 0.3s;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

.toggle-switch.active .toggle-dot {
    transform: translateX(1.75rem);
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.75rem;
    align-items: stretch;
}

.pricing-card {
    background: var(--card-bg);
    border: 1px solid var(--border-light);
    border-radius: 1.25rem;
    padding: 2.25rem 1.75rem;
    transition: transform 0.3s, box-shadow 0.3s;
    display: flex;
    flex-direction: column;
}

.pricing-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.pricing-card.featured {
    background: #1e293b;
    border: 2px solid var(--primary-light);
    position: relative;
    box-shadow: 0 0 25px rgba(96, 165, 250, 0.15);
}

.pricing-card.featured::before {
    content: "RECOMENDADO";
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary-blue);
    color: white;
    padding: 0.2rem 0.75rem;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 700;
}

.plan-name {
    font-size: 1.25rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
    color: var(--primary-light);
}

.plan-price {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    color: var(--text-main);
}

.plan-price span {
    font-size: 1rem;
    color: var(--text-muted);
    font-weight: 400;
}

.plan-features {
    list-style: none;
    padding: 0;
    margin: 0 0 1.75rem;
    flex-grow: 1;
}

.plan-features li {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    margin-bottom: 0.85rem;
    font-size: 1rem;
    color: var(--text-body);
}

.plan-features li i {
    color: #10b981;
    font-size: 0.9rem;
}

.btn-plan {
    width: 100%;
    padding: 0.85rem;
    border-radius: 0.85rem;
    font-weight: 600;
    font-size: 1.05rem;
    text-align: center;
    text-decoration: none;
    transition: all 0.3s;
}

.btn-primary-landing {
    background: var(--primary-blue);
    color: white;
}

.btn-primary-landing:hover {
    background: var(--primary-dark);
}

.btn-outline-landing {
    border: 1px solid var(--border-light);
    color: var(--text-main);
}

.btn-outline-landing:hover {
    background: rgba(255, 255, 255, 0.05);
}

/* Footer */
.footer {
    background: #080c14;
    border-top: 1px solid var(--border-light);
    padding: 3.5rem 1.5rem 2.5rem;
    color: var(--text-dim);
    font-size: 0.95rem;
}

/* Responsive */
@media (max-width: 960px) {
    .demos-grid {
        grid-template-columns: 1fr;
    }
    .law-compare-container {
        grid-template-columns: 1fr;
    }
}

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

    .nav-mobile-header {
        display: block;
    }

    .nav-mobile-header img {
        width: 48px !important;
        height: 48px !important;
        max-width: 48px !important;
        max-height: 48px !important;
        object-fit: contain;
        margin: 0 auto 0.5rem auto;
        display: block;
    }

    .landing-nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 85%;
        max-width: 320px;
        height: 100vh;
        background: var(--nav-mobile-bg);
        backdrop-filter: blur(16px);
        -webkit-backdrop-filter: blur(16px);
        flex-direction: column;
        justify-content: flex-start;
        align-items: stretch;
        gap: 0.5rem;
        padding: 0 1.5rem 2.5rem;
        transition: right 0.4s cubic-bezier(0.16, 1, 0.3, 1);
        box-shadow: -10px 0 40px rgba(0, 0, 0, 0.5);
        z-index: 1150;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
    }

    .landing-nav.open {
        right: 0;
    }

    .landing-nav a {
        padding: 0.9rem 1.25rem;
        width: 100%;
        font-size: 1.05rem;
        font-weight: 600;
        color: var(--text-main);
        display: flex;
        align-items: center;
        border-radius: 0.75rem;
        background: rgba(255, 255, 255, 0.03);
    }

    .landing-nav a:hover,
    .landing-nav a.active {
        background: rgba(59, 130, 246, 0.15);
        color: var(--primary-light);
    }

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

    .landing-nav .btn-primary-landing {
        margin-top: 1rem;
        width: 100%;
        justify-content: center;
        padding: 0.95rem !important;
    }

    .section-wrapper {
        padding: 4rem 1.25rem;
    }
    
    .why-rrhh-banner {
        padding: 2.25rem 1.5rem;
    }
    
    .law-compare-card {
        padding: 2rem 1.5rem;
    }

    .demo-card-pro {
        padding: 2.25rem 1.5rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .reveal,
    .reveal-scale,
    .reveal-left,
    .reveal-right {
        opacity: 1 !important;
        transform: none !important;
        transition: none !important;
    }
    .hero-badge,
    .hero-badge .sparkle {
        animation: none !important;
    }
}