/* Variables */
:root {
    --primary-blue: #20597F;
    --primary-green: #28A745;
    --accent-gold: #F4D03F;
    --dark-blue: #1A4A6B;
    --light-blue: #E8F4F8;
    --white: #FFFFFF;
    --gray-light: #F8F9FA;
    --gray-medium: #6C757D;
    --gray-dark: #343A40;
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-hover: 0 8px 15px rgba(0, 0, 0, 0.2);
    --transition: all 0.3s ease;
    --border-radius: 8px;
    --background-primary: #FFFFFF;
    --text-primary: #343A40;
    --card-bg: #F8F9FA;
}

/* Variables para modo oscuro */
[data-theme="dark"] {
    --primary-blue: #3498db;
    --primary-green: #2ecc71;
    --secondary-blue: #2980b9;
    --accent-orange: #e67e22;
    --text-primary: #ecf0f1;
    --text-secondary: #bdc3c7;
    --background-primary: #2c3e50;
    --background-secondary: #34495e;
    --card-bg: #34495e;
    --border-color: #4a5f7a;
    --white: #ecf0f1;
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
    --bg-color: #1a1a1a;
    --text-color: #e0e0e0;
    --header-bg: rgba(26, 26, 26, 0.95);
}

[data-theme="dark"] body {
    background-color: var(--background-primary);
    color: var(--text-primary);
}

[data-theme="dark"] .header {
    background: rgba(44, 62, 80, 0.95);
}

[data-theme="dark"] .nav-menu a {
    color: var(--text-primary);
}

[data-theme="dark"] .nav-menu a::after {
    background: var(--primary-blue);
}

[data-theme="dark"] .hero {
    background: var(--background-primary);
}

[data-theme="dark"] .section {
    background: var(--background-primary);
}

[data-theme="dark"] .card {
    background: var(--card-bg);
    border-color: var(--border-color);
}

[data-theme="dark"] .functionality-item {
    background: var(--card-bg);
}

[data-theme="dark"] .plan-card {
    background: var(--card-bg);
    border-color: var(--border-color);
}

[data-theme="dark"] .plan-header h3 {
    color: var(--text-primary);
}

[data-theme="dark"] .plan-period {
    color: var(--text-secondary);
}

[data-theme="dark"] .exclusivity-note {
    background: var(--card-bg);
}

[data-theme="dark"] .note-content h4 {
    color: var(--text-primary);
}

[data-theme="dark"] .note-content p {
    color: var(--text-secondary);
}

[data-theme="dark"] .pricing {
    background: var(--background-primary);
}

[data-theme="dark"] .pricing-card {
    background: var(--card-bg);
    color: var(--text-primary);
}

[data-theme="dark"] .pricing-header h3 {
    color: var(--text-primary);
}

[data-theme="dark"] .nav-menu a {
    color: var(--text-primary);
}

[data-theme="dark"] .nav-menu a:hover {
    color: var(--primary-blue);
}

[data-theme="dark"] .hero-subtitle {
    color: var(--text-secondary);
}

[data-theme="dark"] .hero-description {
    color: var(--text-secondary);
}

[data-theme="dark"] .btn-secondary {
    color: var(--text-primary);
    border-color: var(--text-primary);
}

[data-theme="dark"] .btn-secondary:hover {
    background: var(--text-primary);
    color: var(--background-primary);
}

[data-theme="dark"] .feature-card {
    background: var(--card-bg);
    border-color: var(--border-color);
}

[data-theme="dark"] .feature-card h3 {
    color: var(--text-primary);
}

[data-theme="dark"] .feature-card p {
    color: var(--text-secondary);
}

[data-theme="dark"] .section-title {
    color: var(--text-primary);
}

[data-theme="dark"] .section-subtitle {
    color: var(--text-secondary);
}

[data-theme="dark"] .hero-title {
    color: var(--text-primary);
}

[data-theme="dark"] .hero-title .highlight {
    color: #C44434;
}

[data-theme="dark"] .pricing-features li {
    color: var(--text-secondary);
}

[data-theme="dark"] .contact {
    background: var(--background-primary);
}

[data-theme="dark"] .contact-form {
    background: var(--card-bg);
}

[data-theme="dark"] .form-group label {
    color: var(--text-primary);
}

[data-theme="dark"] .form-group input,
[data-theme="dark"] .form-group textarea {
    background: var(--background-secondary);
    border-color: var(--border-color);
    color: var(--text-primary);
}

[data-theme="dark"] .form-group input::placeholder,
[data-theme="dark"] .form-group textarea::placeholder {
    color: var(--text-secondary);
}

[data-theme="dark"] .footer {
    background: var(--background-secondary);
}

[data-theme="dark"] .footer-content h4 {
    color: var(--text-primary);
}

[data-theme="dark"] .footer-content p,
[data-theme="dark"] .footer-content a {
    color: var(--text-secondary);
}

[data-theme="dark"] .footer-bottom {
    border-color: var(--border-color);
    color: var(--text-secondary);
}

/* Botón de modo oscuro */
.theme-toggle {
    background: var(--primary-blue);
    color: var(--white);
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    cursor: pointer;
    font-size: 16px;
    transition: all 0.3s ease;
    box-shadow: var(--shadow);
    margin-left: 1rem;
}

.theme-toggle:hover {
    transform: scale(1.1);
    background: var(--dark-blue);
}

/* Reset y configuración base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #FFFFFF;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    transition: all 0.3s ease;
    border-bottom: 1px solid rgba(32, 89, 127, 0.1);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 70px;
}

.nav-logo .logo {
    height: 35px;
    width: auto;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-menu a {
    text-decoration: none;
    color: #20597F;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-menu a:hover {
    color: var(--primary-blue);
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-blue);
    transition: width 0.3s ease;
}

.nav-menu a:hover::after {
    width: 100%;
}

/* CTA Button */
.cta-button {
    display: inline-block;
    background: var(--primary-blue);
    color: white;
    padding: 15px 30px;
    border-radius: var(--border-radius);
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    box-shadow: var(--shadow);
    position: relative;
    overflow: hidden;
}

.cta-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--dark-blue);
    transition: left 0.3s ease;
    z-index: -1;
}

.cta-button:hover::before {
    left: 0;
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(32, 89, 127, 0.4);
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: #20597F;
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    background: linear-gradient(135deg, #FFFFFF 0%, #f8f9fa 100%);
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    opacity: 0.1;
}

/* Advanced Neural Network Animation - Optimized for SVG Compatibility */
.neural-network {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 0;
    background: 
        radial-gradient(circle at 15% 25%, rgba(32, 89, 127, 0.15) 2px, transparent 2px),
        radial-gradient(circle at 85% 75%, rgba(40, 167, 69, 0.12) 1px, transparent 1px),
        radial-gradient(circle at 65% 15%, rgba(244, 208, 63, 0.1) 1px, transparent 1px),
        radial-gradient(circle at 25% 85%, rgba(32, 89, 127, 0.08) 1px, transparent 1px),
        radial-gradient(circle at 45% 45%, rgba(40, 167, 69, 0.06) 2px, transparent 2px),
        radial-gradient(circle at 75% 35%, rgba(244, 208, 63, 0.08) 1px, transparent 1px);
    background-size: 120px 120px, 160px 160px, 90px 90px, 140px 140px, 180px 180px, 110px 110px;
    animation: neuralNetworkFlow 30s ease-in-out infinite;
    pointer-events: none;
}

.neural-network::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        linear-gradient(45deg, transparent 49%, rgba(32, 89, 127, 0.02) 49.5%, rgba(32, 89, 127, 0.02) 50.5%, transparent 51%),
        linear-gradient(-45deg, transparent 49%, rgba(40, 167, 69, 0.015) 49.5%, rgba(40, 167, 69, 0.015) 50.5%, transparent 51%);
    background-size: 100px 100px, 120px 120px;
    animation: neuralGrid 45s linear infinite;
    pointer-events: none;
}

.neural-network::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(ellipse at 20% 30%, rgba(32, 89, 127, 0.04) 0%, transparent 60%),
        radial-gradient(ellipse at 80% 70%, rgba(40, 167, 69, 0.03) 0%, transparent 60%),
        radial-gradient(ellipse at 60% 20%, rgba(244, 208, 63, 0.025) 0%, transparent 60%);
    animation: neuralPulse 35s ease-in-out infinite;
    pointer-events: none;
}

.neural-node {
    position: absolute;
    width: 8px;
    height: 8px;
    background: radial-gradient(circle, rgba(32, 89, 127, 0.6) 0%, rgba(32, 89, 127, 0.4) 50%, rgba(32, 89, 127, 0.2) 80%, transparent 100%);
    border-radius: 50%;
    animation: neuralNodePulse 5s ease-in-out infinite;
    box-shadow: 
        0 0 8px rgba(32, 89, 127, 0.4),
        0 0 16px rgba(32, 89, 127, 0.2);
    border: 1px solid rgba(32, 89, 127, 0.3);
    pointer-events: none;
}

.neural-node.active {
    animation: neuralNodeActive 1.5s ease-in-out infinite;
    background: radial-gradient(circle, var(--primary-green) 0%, rgba(40, 167, 69, 0.9) 50%, rgba(40, 167, 69, 0.6) 80%, transparent 100%);
    box-shadow: 
        0 0 35px rgba(40, 167, 69, 1),
        0 0 70px rgba(40, 167, 69, 0.7),
        0 0 105px rgba(40, 167, 69, 0.4),
        inset 0 0 12px rgba(255, 255, 255, 0.6);
    border: 2px solid rgba(40, 167, 69, 0.9);
}

.neural-connection {
    position: absolute;
    height: 2px;
    background: linear-gradient(90deg, 
        rgba(32, 89, 127, 0.3) 0%, 
        rgba(40, 167, 69, 0.25) 30%, 
        rgba(244, 208, 63, 0.2) 50%, 
        rgba(40, 167, 69, 0.25) 70%, 
        rgba(32, 89, 127, 0.2) 100%);
    transform-origin: left center;
    animation: neuralConnectionFlow 8s ease-in-out infinite;
    border-radius: 1px;
    box-shadow: 
        0 0 4px rgba(32, 89, 127, 0.2),
        0 0 8px rgba(40, 167, 69, 0.15);
    pointer-events: none;
}

.neural-connection::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
        transparent 0%, 
        rgba(255, 255, 255, 0.8) 50%, 
        transparent 100%);
    animation: neuralSignal 3s ease-in-out infinite;
    border-radius: 1px;
}

.neural-synapses {
    position: absolute;
    width: 8px;
    height: 8px;
    background: radial-gradient(circle, rgba(244, 208, 63, 1) 0%, rgba(244, 208, 63, 0.8) 40%, rgba(255, 255, 255, 0.6) 60%, transparent 100%);
    border-radius: 50%;
    animation: synapseFire 1s ease-in-out infinite;
    box-shadow: 
        0 0 20px rgba(244, 208, 63, 0.9),
        0 0 40px rgba(244, 208, 63, 0.6),
        0 0 60px rgba(244, 208, 63, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.8);
}

.neural-wave {
    position: absolute;
    width: 100px;
    height: 100px;
    border: 2px solid rgba(32, 89, 127, 0.6);
    border-radius: 50%;
    animation: brainWave 3s ease-out infinite;
    pointer-events: none;
}

.neural-wave:nth-child(2n) {
    animation-delay: 1s;
    border-color: rgba(40, 167, 69, 0.6);
}

.neural-wave:nth-child(3n) {
    animation-delay: 2s;
    border-color: rgba(244, 208, 63, 0.6);
}

@keyframes neuralNetworkFlow {
    0%, 100% { 
        transform: translate(0, 0) scale(1);
        background-position: 0% 0%, 100% 100%, 50% 0%, 0% 100%, 25% 75%;
    }
    25% { 
        transform: translate(5px, -8px) scale(1.02);
        background-position: 10% 5%, 90% 95%, 60% 10%, 10% 90%, 35% 65%;
    }
    50% { 
        transform: translate(-3px, 6px) scale(0.98);
        background-position: -5% 10%, 105% 85%, 45% 20%, -5% 80%, 15% 85%;
    }
    75% { 
        transform: translate(8px, 3px) scale(1.01);
        background-position: 15% -5%, 85% 105%, 65% -10%, 15% 110%, 45% 55%;
    }
}

@keyframes neuralGrid {
    0% { transform: translate(0, 0) rotate(0deg); }
    100% { transform: translate(60px, 60px) rotate(360deg); }
}

@keyframes neuralPulse {
    0%, 100% { 
        opacity: 0.3;
        transform: scale(1) rotate(0deg);
    }
    50% { 
        opacity: 0.7;
        transform: scale(1.1) rotate(180deg);
    }
}

@keyframes neuralNodePulse {
    0%, 100% {
        transform: scale(1);
        opacity: 0.4;
    }
    50% {
        transform: scale(1.1);
        opacity: 0.6;
        box-shadow: 
            0 0 10px rgba(32, 89, 127, 0.5),
            0 0 20px rgba(32, 89, 127, 0.3);
    }
}

@keyframes neuralNodeActive {
    0%, 100% {
        transform: scale(1);
        opacity: 0.5;
    }
    50% {
        transform: scale(1.2);
        opacity: 0.7;
        box-shadow: 
            0 0 12px rgba(40, 167, 69, 0.6),
            0 0 24px rgba(40, 167, 69, 0.4);
    }
}

@keyframes neuralConnectionFlow {
    0%, 100% { 
        opacity: 0.4;
        transform: scaleX(1) scaleY(1);
    }
    50% { 
        opacity: 0.8;
        transform: scaleX(1.1) scaleY(1.5);
    }
}

@keyframes neuralSignal {
    0% { 
        transform: translateX(-100%);
        opacity: 0;
    }
    50% { 
        opacity: 1;
    }
    100% { 
        transform: translateX(100%);
        opacity: 0;
    }
}

@keyframes synapseFire {
    0%, 100% {
        transform: scale(1);
        opacity: 0.9;
    }
    25% {
        transform: scale(1.8);
        opacity: 1;
        box-shadow: 
            0 0 30px rgba(244, 208, 63, 1),
            0 0 60px rgba(244, 208, 63, 0.8),
            0 0 90px rgba(244, 208, 63, 0.4);
    }
    50% {
        transform: scale(2.2);
        opacity: 1;
        box-shadow: 
            0 0 40px rgba(255, 255, 255, 1),
            0 0 80px rgba(244, 208, 63, 0.9),
            0 0 120px rgba(244, 208, 63, 0.5);
    }
    75% {
        transform: scale(1.5);
        opacity: 0.95;
    }
}

@keyframes brainWave {
    0% {
        transform: scale(0.5);
        opacity: 0.8;
    }
    50% {
        transform: scale(1.5);
        opacity: 0.4;
    }
    100% {
        transform: scale(2.5);
        opacity: 0;
    }
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    color: #20597F;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero-title .highlight {
    color: #C44434;
    position: relative;
}

.hero-subtitle {
    font-size: 1.3rem;
    color: #666;
    margin-bottom: 15px;
    font-weight: 500;
}

.hero-description {
    font-size: 1.1rem;
    color: #777;
    margin-bottom: 30px;
    line-height: 1.6;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.btn-primary, .btn-secondary {
    padding: 15px 30px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
    font-size: 1rem;
}

.btn-primary {
    background: #20597F;
    color: white;
    box-shadow: 0 6px 20px rgba(32, 89, 127, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(32, 89, 127, 0.4);
}

.btn-secondary {
    background: transparent;
    color: #20597F;
    border: 2px solid #20597F;
}

.btn-secondary:hover {
    background: #20597F;
    color: white;
    transform: translateY(-2px);
}

/* Dashboard Preview */
.dashboard-preview {
    background: var(--primary-blue);
    border-radius: 15px;
    padding: 30px;
    color: white;
    box-shadow: var(--shadow-hover);
    position: relative;
    overflow: hidden;
    perspective: 1000px;
}

.dashboard-preview::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(32, 89, 127, 0.15) 0%, transparent 70%);
    animation: rotate 20s linear infinite;
}

.dashboard-screen {
    background: white;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transform: rotateY(-10deg) rotateX(5deg);
    transition: transform 0.3s ease;
}

.dashboard-screen:hover {
    transform: rotateY(-5deg) rotateX(2deg);
}

/* Estilos para el nuevo dashboard comprehensivo */
.comprehensive-dashboard {
    display: flex;
    justify-content: center;
    align-items: center;
    perspective: 1000px;
    position: relative;
    z-index: 10;
}

.comprehensive-preview {
    width: 100%;
    max-width: 600px;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 25px 70px rgba(0, 0, 0, 0.15);
    transform: rotateY(-4deg) rotateX(1.5deg);
    transition: all 0.4s ease;
    filter: drop-shadow(0 10px 20px rgba(32, 89, 127, 0.2));
    transform-style: preserve-3d;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    will-change: transform;
}

.comprehensive-preview:hover {
    transform: rotateY(-2deg) rotateX(0.5deg) scale(1.01);
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.2);
    filter: drop-shadow(0 15px 30px rgba(32, 89, 127, 0.3));
    transform-style: preserve-3d;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
}

/* Responsive para la imagen comprehensiva */
@media (max-width: 768px) {
    .comprehensive-preview {
        max-width: 350px;
        transform: rotateY(-2deg) rotateX(1deg);
        transform-style: preserve-3d;
        backface-visibility: hidden;
        -webkit-backface-visibility: hidden;
    }
    
    .comprehensive-preview:hover {
        transform: rotateY(-1deg) rotateX(0.5deg) scale(1.005);
        transform-style: preserve-3d;
        backface-visibility: hidden;
        -webkit-backface-visibility: hidden;
    }
}

@media (max-width: 480px) {
    .comprehensive-preview {
        max-width: 280px;
        transform: none;
        border-radius: 10px;
    }
    
    .comprehensive-preview:hover {
        transform: scale(1.02);
    }
}

.screen-header {
    background: #20597F;
    padding: 15px 20px;
    display: flex;
    align-items: center;
}

.screen-dots {
    display: flex;
    gap: 8px;
}

.screen-dots span {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
}

.screen-dots span:first-child {
    background: #ff5f56;
}

.screen-dots span:nth-child(2) {
    background: #ffbd2e;
}

.screen-dots span:last-child {
    background: #27ca3f;
}

.screen-content {
    padding: 30px;
    height: 300px;
    display: flex;
    gap: 20px;
}

.chart-container {
    flex: 1;
    display: flex;
    align-items: end;
    gap: 10px;
    height: 150px;
}

.chart-bar {
    flex: 1;
    background: #20597F;
    border-radius: 4px 4px 0 0;
    animation: chartGrow 2s ease-out;
}

@keyframes chartGrow {
    from { height: 0; }
    to { height: var(--height); }
}

.map-visualization {
    flex: 1;
    position: relative;
    background: #f8f9fa;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
}

.map-point {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #ddd;
    position: relative;
    animation: pulse 2s infinite;
}

.map-point.active {
    background: #C44434;
}

@keyframes pulse {
    0%, 100% { 
        opacity: 0.5;
        transform: scale(1);
    }
    50% { 
        opacity: 0.9;
        transform: scale(1.1);
    }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}

/* Impact Counter */
.impact-counter {
    background: var(--light-blue);
    padding: 80px 0;
    position: relative;
    overflow: hidden;
    color: white;
}

.counter-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 50px;
    text-align: center;
}

.counter-item {
    text-align: center;
    padding: 30px;
    background: white;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.counter-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.counter-icon {
    font-size: 3rem;
    color: var(--primary-blue);
    margin-bottom: 20px;
    transition: var(--transition);
}

.animated-icon {
    animation: bounce 2s ease-in-out infinite;
}

.counter-item:hover .animated-icon {
    animation: pulse 1s ease-in-out infinite;
    color: var(--primary-green);
}

.counter-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-blue);
    margin-bottom: 10px;
}

.counter-label {
    font-size: 1.1rem;
    color: var(--gray-medium);
    font-weight: 500;
    line-height: 1.4;
}

/* About Platform */
.about-platform {
    padding: 100px 0;
    background: #f8f9fa;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-text h2 {
    font-size: 2.5rem;
    color: #20597F;
    margin-bottom: 20px;
    font-weight: 700;
}

.about-description {
    font-size: 1.2rem;
    color: #666;
    margin-bottom: 30px;
    line-height: 1.6;
}

.ai-features h3 {
    color: #C44434;
    margin-bottom: 20px;
    font-size: 1.3rem;
}

.ai-features ul {
    list-style: none;
}

.ai-features li {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
    font-size: 1.1rem;
    color: #555;
}

.ai-features i {
    color: #20597F;
    font-size: 1.2rem;
}

.lia-highlight {
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--dark-blue) 100%);
    color: white;
    padding: 20px;
    border-radius: 15px;
    margin-top: 25px;
    text-align: center;
    box-shadow: var(--shadow-hover);
    position: relative;
    overflow: hidden;
}

.lia-highlight::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(255,255,255,0.1), transparent);
    transform: rotate(45deg);
    animation: shine 3s infinite;
}

@keyframes shine {
    0% { transform: translateX(-100%) translateY(-100%) rotate(45deg); }
    50% { transform: translateX(100%) translateY(100%) rotate(45deg); }
    100% { transform: translateX(-100%) translateY(-100%) rotate(45deg); }
}

.lia-highlight p {
    margin: 0;
    font-size: 1.1rem;
    font-weight: 600;
    position: relative;
    z-index: 1;
}

/* Platform Mockup */
.platform-mockup {
    position: relative;
    perspective: 1000px;
}

.mockup-screen {
    background: white;
    border-radius: 15px;
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.15);
    overflow: hidden;
    transform: rotateY(10deg) rotateX(-5deg);
    transition: transform 0.3s ease;
}

.mockup-screen:hover {
    transform: rotateY(5deg) rotateX(-2deg);
}

.mockup-header {
    background: #20597F;
    color: white;
    padding: 20px;
    text-align: center;
    font-weight: 600;
}

.mockup-content {
    display: flex;
    height: 300px;
}

.mockup-sidebar {
    width: 200px;
    background: #f8f9fa;
    padding: 20px;
    border-right: 1px solid #eee;
}

.sidebar-item {
    padding: 10px 15px;
    margin-bottom: 5px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    color: #666;
}

.sidebar-item.active {
    background: #20597F;
    color: white;
}

.mockup-main {
    flex: 1;
    padding: 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.widget {
    background: #f8f9fa;
    border-radius: 10px;
    padding: 15px;
}

.widget-title {
    font-weight: 600;
    color: #20597F;
    margin-bottom: 10px;
}

.widget-chart {
    height: 80px;
    background: linear-gradient(45deg, #20597F, #C44434);
    border-radius: 5px;
    opacity: 0.7;
}

.widget-map {
    height: 80px;
    background: #ddd;
    border-radius: 5px;
    position: relative;
}

.widget-map::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 10px;
    height: 10px;
    background: #C44434;
    border-radius: 50%;
    transform: translate(-50%, -50%);
}

/* Features */
.features {
    padding: 100px 0;
    background: white;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    color: #20597F;
    margin-bottom: 60px;
    font-weight: 700;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.feature-card {
    background: white;
    padding: 30px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 1px solid #f0f0f0;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(32, 89, 127, 0.15);
}

.feature-icon {
    width: 80px;
    height: 80px;
    background: #20597F;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: white;
    font-size: 2rem;
}

.feature-card h3 {
    color: #20597F;
    margin-bottom: 15px;
    font-size: 1.3rem;
    font-weight: 600;
}

.feature-card p {
    color: #666;
    line-height: 1.6;
}

/* Functionalities */
.functionalities {
    padding: 80px 0;
    background: white;
}

.functionality-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.functionality-item {
    text-align: center;
    padding: 40px 30px;
    background: var(--gray-light);
    border-radius: var(--border-radius);
    transition: var(--transition);
    border: 2px solid transparent;
}

.functionality-item:hover {
    transform: translateY(-5px);
    border-color: var(--primary-blue);
    box-shadow: var(--shadow-hover);
}

.functionality-item.featured {
    background: white;
    border: 2px solid var(--primary-blue);
    box-shadow: var(--shadow);
}

.functionality-item.featured:hover {
    border-color: var(--dark-blue);
    box-shadow: var(--shadow-hover);
}

.functionality-icon {
    width: 80px;
    height: 80px;
    background: var(--primary-blue);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    transition: var(--transition);
}

.functionality-icon i {
    font-size: 2rem;
    color: white;
}

.functionality-item:hover .functionality-icon {
    background: var(--dark-blue);
    transform: scale(1.1);
}

.functionality-preview {
    width: 100%;
    height: 150px;
    margin: 0 auto 20px;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
}

.module-preview {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.functionality-item:hover .module-preview {
    transform: scale(1.05);
}

.functionality-item h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: var(--gray-dark);
}

.functionality-item p {
    color: var(--gray-medium);
    line-height: 1.6;
}

/* Plans Section */
.plans {
    padding: 80px 0;
    background: var(--gray-light);
}

.plans-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    margin-top: 50px;
}

.plan-card {
    background: white;
    border-radius: 15px;
    padding: 35px 25px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.plan-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--primary-blue);
}

.plan-card.exclusive::before {
    background: var(--primary-blue);
}

.plan-card.professional::before {
    background: var(--primary-blue);
}

.plan-card.shared::before {
    background: var(--primary-green);
}

.plan-card.basic::before {
    background: var(--gray-medium);
}

.plan-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
}

.plan-badge {
    background: var(--accent-gold);
    color: var(--gray-dark);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 15px;
    display: inline-block;
}

.plan-header h3 {
    font-size: 1.6rem;
    margin-bottom: 10px;
    color: var(--gray-dark);
}

.plan-price {
    font-size: 3rem;
    font-weight: 900;
    color: var(--primary-blue);
    margin-bottom: 5px;
    display: flex;
    align-items: baseline;
    gap: 0.5rem;
    justify-content: center;
}

.plan-price .currency {
    font-size: 2rem;
    color: var(--primary-blue);
    font-weight: 900;
}

.plan-price .period {
    font-size: 1.2rem;
    color: var(--primary-blue);
    font-weight: 700;
}

.plan-period {
    color: var(--gray-medium);
    margin-bottom: 25px;
    font-size: 0.9rem;
}

/* Popup de éxito */
.success-popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10000;
    backdrop-filter: blur(5px);
    animation: fadeIn 0.3s ease;
}

.success-popup {
    background: white;
    border-radius: 20px;
    max-width: 500px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    animation: slideUp 0.4s ease;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
}

.success-popup-content {
    padding: 40px 30px;
    text-align: center;
}

.success-animation {
    margin-bottom: 30px;
}

.success-checkmark {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: block;
    stroke-width: 2;
    stroke: #4CAF50;
    stroke-miterlimit: 10;
    margin: 0 auto 20px;
    box-shadow: inset 0px 0px 0px #4CAF50;
    animation: fill 0.4s ease-in-out 0.4s forwards, scale 0.3s ease-in-out 0.9s both;
    position: relative;
}

.success-checkmark .check-icon {
    width: 80px;
    height: 80px;
    position: relative;
    border-radius: 50%;
    box-sizing: border-box;
    border: 2px solid #4CAF50;
}

.success-checkmark .check-icon::before {
    top: 3px;
    left: -2px;
    width: 30px;
    transform-origin: 100% 50%;
    border-radius: 100px 0 0 100px;
}

.success-checkmark .check-icon::after {
    top: 0;
    left: 30px;
    width: 60px;
    transform-origin: 0 50%;
    border-radius: 0 100px 100px 0;
    animation: rotate-circle 4.25s ease-in;
}

.success-checkmark .check-icon::before,
.success-checkmark .check-icon::after {
    content: '';
    height: 100px;
    position: absolute;
    background: white;
    transform: rotate(-45deg);
}

.success-checkmark .icon-line {
    height: 2px;
    background: #4CAF50;
    display: block;
    border-radius: 2px;
    position: absolute;
    z-index: 10;
}

.success-checkmark .icon-line.line-tip {
    top: 46px;
    left: 14px;
    width: 25px;
    transform: rotate(45deg);
    animation: icon-line-tip 0.75s;
}

.success-checkmark .icon-line.line-long {
    top: 38px;
    right: 8px;
    width: 47px;
    transform: rotate(-45deg);
    animation: icon-line-long 0.75s;
}

.success-checkmark .icon-circle {
    top: -2px;
    left: -2px;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    border: 2px solid #4CAF50;
    position: absolute;
    z-index: 10;
    animation: icon-circle 0.6s;
}

.success-checkmark .icon-fix {
    top: 8px;
    width: 5px;
    left: 26px;
    z-index: 1;
    height: 85px;
    position: absolute;
    transform: rotate(-45deg);
    background: white;
}

.success-popup h2 {
    color: #2c3e50;
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 15px;
    line-height: 1.3;
}

.success-message {
    color: #555;
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 30px;
}

.success-benefits {
    margin-bottom: 30px;
}

.benefit-item {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    margin-bottom: 15px;
    padding: 10px;
    background: #f8f9fa;
    border-radius: 10px;
    border-left: 4px solid #C44434;
}

.benefit-item i {
    color: #C44434;
    font-size: 1.2rem;
    margin-right: 15px;
    min-width: 20px;
}

.benefit-item span {
    color: #2c3e50;
    font-weight: 500;
}

.success-actions {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.btn-whatsapp-popup {
    background: linear-gradient(135deg, #25D366, #128C7E);
    color: white;
    padding: 15px 25px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: all 0.3s ease;
    font-size: 1rem;
}

.btn-whatsapp-popup:hover {
    background: linear-gradient(135deg, #128C7E, #25D366);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(37, 211, 102, 0.3);
}

.btn-close-popup {
    background: #f8f9fa;
    color: #6c757d;
    border: 2px solid #e9ecef;
    padding: 12px 25px;
    border-radius: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1rem;
}

.btn-close-popup:hover {
    background: #e9ecef;
    color: #495057;
    border-color: #dee2e6;
}

/* Animaciones */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(50px) scale(0.9);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes fill {
    100% {
        box-shadow: inset 0px 0px 0px 30px #4CAF50;
    }
}

@keyframes scale {
    0%, 100% {
        transform: none;
    }
    50% {
        transform: scale3d(1.1, 1.1, 1);
    }
}

@keyframes icon-line-tip {
    0% {
        width: 0;
        left: 1px;
        top: 19px;
    }
    54% {
        width: 0;
        left: 1px;
        top: 19px;
    }
    70% {
        width: 50px;
        left: -8px;
        top: 37px;
    }
    84% {
        width: 17px;
        left: 21px;
        top: 48px;
    }
    100% {
        width: 25px;
        left: 14px;
        top: 45px;
    }
}

@keyframes icon-line-long {
    0% {
        width: 0;
        right: 46px;
        top: 54px;
    }
    65% {
        width: 0;
        right: 46px;
        top: 54px;
    }
    84% {
        width: 55px;
        right: 0px;
        top: 35px;
    }
    100% {
        width: 47px;
        right: 8px;
        top: 38px;
    }
}

@keyframes icon-circle {
    0% {
        transform: scale(0);
    }
    25% {
        transform: scale(0.7);
    }
    50% {
        transform: scale(1);
    }
    75% {
        transform: scale(1.2);
    }
    100% {
        transform: scale(1);
    }
}

@keyframes rotate-circle {
    0% {
        transform: rotate(-45deg);
    }
    5% {
        transform: rotate(-45deg);
    }
    12% {
        transform: rotate(-405deg);
    }
    100% {
        transform: rotate(-405deg);
    }
}

/* Formulario deshabilitado */
.form-disabled {
    opacity: 0.6;
    pointer-events: none;
    position: relative;
}

.form-disabled::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.7);
    z-index: 10;
    border-radius: 20px;
}

/* Mensaje de formulario deshabilitado */
.form-disabled-message {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: white;
    padding: 30px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    z-index: 15;
    max-width: 400px;
    width: 90%;
}

.disabled-icon {
    margin-bottom: 20px;
}

.disabled-icon i {
    font-size: 3rem;
    color: #4CAF50;
}

.form-disabled-message h3 {
    color: #2c3e50;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 15px;
}

.form-disabled-message p {
    color: #666;
    font-size: 1rem;
    line-height: 1.5;
    margin-bottom: 25px;
}

.disabled-actions {
    display: flex;
    justify-content: center;
}

.disabled-actions .btn-whatsapp {
    background: linear-gradient(135deg, #25D366, #128C7E);
    color: white;
    padding: 12px 20px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.disabled-actions .btn-whatsapp:hover {
    background: linear-gradient(135deg, #128C7E, #25D366);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(37, 211, 102, 0.3);
}

/* Responsive */
@media (max-width: 768px) {
    .success-popup {
        width: 95%;
        margin: 20px;
    }
    
    .success-popup-content {
        padding: 30px 20px;
    }
    
    .success-popup h2 {
        font-size: 1.5rem;
    }
    
    .success-message {
        font-size: 1rem;
    }
    
    .benefit-item {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }
    
    .benefit-item i {
        margin-right: 0;
        margin-bottom: 5px;
    }
}

.plan-features {
    margin-bottom: 25px;
}

.feature {
    display: flex;
    align-items: center;
    margin-bottom: 12px;
    text-align: left;
    font-size: 0.9rem;
}

.feature i {
    color: var(--primary-blue);
    margin-right: 12px;
    font-size: 1rem;
    width: 16px;
}

.exclusivity-note {
    margin-top: 50px;
    background: white;
    border-radius: var(--border-radius);
    padding: 30px;
    box-shadow: var(--shadow);
}

.note-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
}

.note-content i {
    color: var(--primary-blue);
    font-size: 1.5rem;
    margin-top: 5px;
}

.note-content h4 {
    margin-bottom: 10px;
    color: var(--gray-dark);
}

.note-content p {
    color: var(--gray-medium);
    line-height: 1.6;
}

/* Pricing */
.pricing {
    padding: 100px 0;
    background: #f8f9fa;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 40px;
    margin-bottom: 60px;
}

.pricing-card {
    background: white;
    border-radius: 20px;
    padding: 40px;
    text-align: center;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
    position: relative;
    transition: transform 0.3s ease;
}

.pricing-card:hover {
    transform: translateY(-10px);
}

.pricing-card.exclusive {
    border: 3px solid #C44434;
    transform: scale(1.05);
}

.pricing-badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: #C44434;
    color: white;
    padding: 8px 20px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.9rem;
}

.pricing-header h3 {
    font-size: 1.8rem;
    color: #20597F;
    margin-bottom: 20px;
    font-weight: 700;
}

.pricing-icon {
    font-size: 3rem;
    color: #C44434;
    margin-bottom: 30px;
}

.pricing-features ul {
    list-style: none;
    text-align: left;
    margin-bottom: 30px;
}

.pricing-features li {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
    color: #555;
}

.pricing-features i {
    color: #27ca3f;
    font-size: 1.1rem;
}

.btn-pricing, .btn-pricing-secondary {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    width: 100%;
    background: var(--primary-blue);
    color: white;
    border: none;
    box-shadow: 0 4px 15px rgba(32, 89, 127, 0.3);
}

.btn-pricing:hover, .btn-pricing-secondary:hover {
    background: #1a4a6b;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(32, 89, 127, 0.4);
}

.pricing-note {
    background: white;
    border-radius: 15px;
    padding: 30px;
    border-left: 5px solid #C44434;
    text-align: center;
}

/* Comparativo de Planes */
.plans-comparison {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--gray-light) 0%, #ffffff 100%);
}

.comparison-table-wrapper {
    overflow-x: auto;
    margin-top: 40px;
    border-radius: 15px;
    box-shadow: var(--shadow-hover);
    background: white;
}

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

.comparison-table thead {
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--dark-blue) 100%);
    color: white;
}

.comparison-table th {
    padding: 20px 15px;
    text-align: center;
    font-weight: 600;
    border-right: 1px solid rgba(255, 255, 255, 0.2);
}

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

.feature-column {
    width: 25%;
    text-align: left !important;
    background: var(--dark-blue) !important;
}

.plan-column {
    width: 18.75%;
    font-size: 0.85rem;
    line-height: 1.3;
}

.comparison-table .plan-price {
    display: block;
    font-size: 0.85rem;
    opacity: 0.9;
    margin-top: 5px;
    font-weight: 500;
    color: white;
}

.basic-plan {
    background: linear-gradient(135deg, #e74c3c 0%, #c0392b 100%) !important;
}

.pro-plan {
    background: linear-gradient(135deg, #e67e22 0%, #d35400 100%) !important;
}

.standard-plan {
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--dark-blue) 100%) !important;
}

.premium-plan {
    background: linear-gradient(135deg, var(--primary-green) 0%, #27ae60 100%) !important;
}

.comparison-table tbody tr {
    border-bottom: 1px solid #eee;
    transition: background-color 0.3s ease;
}

.comparison-table tbody tr:hover {
    background-color: #f8f9fa;
}

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

.comparison-table td {
    padding: 15px;
    text-align: center;
    vertical-align: middle;
    border-right: 1px solid #eee;
}

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

.feature-name {
    text-align: left !important;
    font-weight: 600;
    color: var(--gray-dark);
    background-color: #f8f9fa !important;
    border-right: 2px solid var(--primary-blue) !important;
}

.feature-value {
    font-weight: 500;
}

.feature-value.yes {
    color: var(--primary-green);
    font-weight: 600;
}

.feature-value.no {
    color: #e74c3c;
    font-weight: 600;
}

.feature-value.limited {
    color: var(--primary-blue);
    font-weight: 600;
}

.feature-detail {
    font-size: 0.75rem;
    opacity: 0.8;
    font-weight: 400;
    display: block;
    margin-top: 2px;
}

/* Responsive para tabla comparativa */
@media (max-width: 768px) {
    .plans-comparison {
        padding: 60px 0;
    }
    
    .comparison-table-wrapper {
        margin: 20px -20px 0;
        border-radius: 0;
    }
    
    .comparison-table {
        font-size: 0.8rem;
        min-width: 600px;
    }
    
    .comparison-table th,
    .comparison-table td {
        padding: 10px 8px;
    }
    
    .plan-column {
        font-size: 0.75rem;
    }
    
    .plan-price {
        font-size: 0.7rem;
    }
    
    .feature-detail {
        font-size: 0.7rem;
    }
}

/* Modo oscuro para tabla comparativa */
[data-theme="dark"] .plans-comparison {
    background: linear-gradient(135deg, var(--background-secondary) 0%, var(--background-primary) 100%);
}

[data-theme="dark"] .comparison-table-wrapper {
    background: var(--card-bg);
}

[data-theme="dark"] .comparison-table tbody tr:hover {
    background-color: rgba(255, 255, 255, 0.05);
}

[data-theme="dark"] .comparison-table td {
    border-right-color: rgba(255, 255, 255, 0.1);
    color: var(--text-primary);
}

[data-theme="dark"] .comparison-table tbody tr {
    border-bottom-color: rgba(255, 255, 255, 0.1);
}

[data-theme="dark"] .feature-name {
    background-color: var(--background-secondary) !important;
    color: var(--text-primary);
    border-right-color: var(--primary-blue) !important;
    color: #666;
    font-style: italic;
    margin-top: 30px;
}

.note-content h4 {
    color: #C44434;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
}

.note-content ul {
    margin: 15px 0;
    padding-left: 20px;
}

.recommendation {
    background: #f0f8ff;
    padding: 15px;
    border-radius: 8px;
    margin-top: 15px;
    border-left: 3px solid #20597F;
}

/* Emotional Section */
.emotional-section {
    padding: 100px 0;
    background: #20597F;
    color: white;
    text-align: center;
}

.emotional-content h2 {
    font-size: 2.5rem;
    margin-bottom: 40px;
    font-weight: 700;
}

.emotional-text {
    max-width: 800px;
    margin: 0 auto;
    font-size: 1.3rem;
    line-height: 1.8;
}

.emotional-text p {
    margin-bottom: 20px;
}

.brand-highlight {
    color: #C44434;
    font-weight: 700;
}



/* About Us */
.about-us {
    padding: 100px 0;
    background: #f8f9fa;
    text-align: center;
}

.about-us-content {
    max-width: 800px;
    margin: 0 auto;
}

.about-us h2 {
    font-size: 2.5rem;
    color: #20597F;
    margin-bottom: 30px;
    font-weight: 700;
}

.about-us-description {
    font-size: 1.2rem;
    color: #666;
    margin-bottom: 20px;
    line-height: 1.6;
}

.about-us p {
    font-size: 1.1rem;
    color: #555;
    margin-bottom: 20px;
    line-height: 1.6;
}

.about-us-mission {
    font-size: 1.3rem;
    color: #C44434;
    margin-top: 30px;
}

/* Contact */
.contact {
    padding: 80px 0 40px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.contact-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 60px;
    align-items: start;
}

.contact-form {
    background: #f8f9fa;
    padding: 30px;
    border-radius: 20px;
    position: relative;
    max-width: 700px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin-bottom: 20px;
}

.form-group {
    margin-bottom: 20px;
    position: relative;
}

.form-group.full-width {
    grid-column: 1 / -1;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: #20597F;
    font-weight: 600;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    font-family: 'Poppins', sans-serif;
    font-size: 0.95rem;
    transition: border-color 0.3s ease;
    box-sizing: border-box;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #20597F;
}

/* Responsive para formulario */
@media (max-width: 768px) {
    .form-row {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    
    .contact-form {
        max-width: 100%;
        margin: 0 15px;
    }
}

.form-group input:invalid,
.form-group select:invalid {
    border-color: #e74c3c;
}

.form-group input:valid,
.form-group select:valid {
    border-color: #27ae60;
}

/* Field errors */
.field-error {
    display: block;
    color: #e74c3c;
    font-size: 14px;
    margin-top: 5px;
    min-height: 20px;
}

/* Character counter */
.char-counter {
    display: block;
    text-align: right;
    font-size: 11px;
    color: #666;
    margin-top: 4px;
}

/* Checkbox styles */
.checkbox-group {
    margin-bottom: 16px;
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 13px;
    line-height: 1.5;
    cursor: pointer;
    color: #2c3e50;
    margin-bottom: 8px;
}

.checkbox-label input[type="checkbox"] {
    display: none;
}

.checkmark {
    width: 20px;
    height: 20px;
    border: 2px solid #3498db;
    border-radius: 4px;
    position: relative;
    flex-shrink: 0;
    margin-top: 3px;
    transition: all 0.3s ease;
    background-color: #ffffff;
    cursor: pointer;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    display: inline-block !important;
    visibility: visible !important;
    opacity: 1 !important;
}

.checkbox-label:hover .checkmark {
    border-color: #2980b9;
    box-shadow: 0 2px 8px rgba(52, 152, 219, 0.3);
}

.checkbox-label input[type="checkbox"]:checked + .checkmark {
    background-color: #3498db;
    border-color: #3498db;
}

.checkbox-label input[type="checkbox"]:checked + .checkmark::after {
    content: '';
    position: absolute;
    left: 6px;
    top: 2px;
    width: 6px;
    height: 10px;
    border: solid white;
    border-width: 0 3px 3px 0;
    transform: rotate(45deg);
    display: block;
}

.checkbox-label a {
    color: #20597F;
    text-decoration: none;
}

.checkbox-label a:hover {
    text-decoration: underline;
}

/* Submit button */
.btn-submit {
    background: #20597F;
    color: white;
    padding: 15px 30px;
    border: none;
    border-radius: 30px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    position: relative;
    overflow: hidden;
}

.btn-submit:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(32, 89, 127, 0.3);
}

.btn-submit:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

.btn-loading {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

/* Success message */
.form-success {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: #f8f9fa;
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 40px;
    z-index: 10;
}

.success-icon {
    font-size: 60px;
    color: #27ae60;
    margin-bottom: 20px;
}

.form-success h3 {
    color: #20597F;
    margin-bottom: 15px;
    font-size: 24px;
}

.form-success p {
    color: #666;
    margin-bottom: 30px;
    line-height: 1.6;
}

.success-actions {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    justify-content: center;
}

.btn-whatsapp {
    background: #25d366;
    color: white;
    padding: 12px 24px;
    border-radius: 8px;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-whatsapp:hover {
    background: #128c7e;
    transform: translateY(-2px);
}

.btn-new-request {
    background: #20597F;
    color: white;
    padding: 12px 24px;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-new-request:hover {
    background: #1a4a6b;
    transform: translateY(-2px);
}

.contact-info2 {
    display: flex;
    flex-direction: column;
    gap: 3px;
    margin-top: 1px;
    text-align: center;
 
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 30px;
    margin-top: 1px;
    text-align: center;
 
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 25px;
    background: #f8f9fa;
    border-radius: 15px;
}

.contact-icon {
    width: 60px;
    height: 60px;
    background: #20597F;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
}

.contact-icono {
    width: 60px;
    height: 60px;
    background: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
}

.contact-details h4 {
    color: #20597F;
    margin-bottom: 5px;
    font-size: 1.2rem;
}

.contact-details p {
    color: #666;
    font-size: 1rem;
}

/* FAQ */
.faq {
    padding: 100px 0;
    background: #f8f9fa;
}

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

.faq-item {
    background: white;
    border-radius: 15px;
    margin-bottom: 20px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.faq-question {
    padding: 25px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: white;
    transition: background 0.3s ease;
}

.faq-question:hover {
    background: #f8f9fa;
}

.faq-question h3 {
    color: #20597F;
    font-size: 1.2rem;
    font-weight: 600;
}

.faq-question i {
    color: #C44434;
    transition: transform 0.3s ease;
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

.faq-answer {
    padding: 0 25px;
    max-height: 0;
    overflow: hidden;
    transition: all 0.4s ease;
    opacity: 0;
}

.faq-item.active .faq-answer {
    padding: 0 25px 25px;
    max-height: 500px;
    opacity: 1;
}

.faq-answer p {
    color: #666;
    line-height: 1.6;
}

/* Testimonials Section */
.testimonials {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--light-blue) 0%, var(--white) 100%);
    position: relative;
    overflow: hidden;
}

[data-theme="dark"] .testimonials {
    background: linear-gradient(135deg, var(--background-secondary) 0%, var(--background-primary) 100%);
}

[data-theme="dark"] .testimonials-slider {
    background: linear-gradient(135deg, var(--card-bg) 0%, var(--background-secondary) 100%);
}

.testimonials::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="testimonial-pattern" x="0" y="0" width="20" height="20" patternUnits="userSpaceOnUse"><circle cx="2" cy="2" r="1" fill="%2320597F" opacity="0.2"/></pattern></defs><rect width="100" height="100" fill="url(%23testimonial-pattern)"/></svg>') repeat;
    pointer-events: none;
}

.testimonials .section-title {
    text-align: center;
    color: var(--primary-blue);
    margin-bottom: 15px;
    font-size: 2.5rem;
    font-weight: 700;
}

[data-theme="dark"] .testimonials .section-title {
    color: var(--primary-blue);
}

.testimonials .section-subtitle {
    text-align: center;
    color: var(--gray-medium);
    margin-bottom: 60px;
    font-size: 1.2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

[data-theme="dark"] .testimonials .section-subtitle {
    color: var(--text-secondary);
}

.testimonials-slider {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
    padding: 40px 20px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    overflow: visible;
    height: 400px;
    z-index: 1;
}

.testimonials-container {
    position: relative;
    overflow: visible;
    border-radius: var(--border-radius);
    z-index: 2;
    height: 100%;
}

.testimonial-slide {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    opacity: 0;
    visibility: hidden;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.6s ease, visibility 0.6s ease;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: calc(100% - 40px);
    padding: 20px;
    box-sizing: border-box;
    z-index: 3;
}

.testimonial-slide.active {
    opacity: 1 !important;
    visibility: visible !important;
    z-index: 4;
    display: grid !important;
}

.testimonial-card {
    background: var(--white);
    border-radius: var(--border-radius);
    padding: 30px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

[data-theme="dark"] .testimonial-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
}

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: 15px;
    left: 20px;
    font-size: 4rem;
    color: var(--primary-blue);
    opacity: 0.1;
    font-family: serif;
    line-height: 1;
}

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

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

.testimonial-text {
    margin-bottom: 25px;
}

.testimonial-text p {
    font-size: 1.1rem;
    line-height: 1.6;
    color: var(--gray-dark);
    font-style: italic;
    margin: 0;
}

[data-theme="dark"] .testimonial-text p {
    color: var(--text-primary);
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 15px;
}

.author-photo {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: 3px solid var(--primary-blue);
    object-fit: cover;
    flex-shrink: 0;
}

.author-info h4 {
    margin: 0 0 5px 0;
    color: var(--primary-blue);
    font-size: 1.1rem;
    font-weight: 600;
}

[data-theme="dark"] .author-info h4 {
    color: var(--primary-blue);
}

.author-info span {
    color: var(--gray-medium);
    font-size: 0.9rem;
    display: block;
}

[data-theme="dark"] .author-info span {
    color: var(--text-secondary);
}

.testimonials-navigation {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 10px;
}

.nav-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 2px solid var(--primary-blue);
    background: transparent;
    cursor: pointer;
    transition: var(--transition);
    padding: 0;
}

.nav-dot:hover,
.nav-dot.active {
    background: var(--primary-blue);
    transform: scale(1.2);
}

/* Responsive Design */
@media (max-width: 768px) {
    .testimonials {
        padding: 60px 0;
    }
    
    .testimonials .section-title {
        font-size: 2rem;
    }
    
    .testimonials-slider {
        height: 500px;
    }
    
    .testimonial-slide {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .testimonial-card {
        padding: 25px;
    }
    
    .testimonial-text p {
        font-size: 1rem;
    }
    
    .author-photo {
        width: 50px;
        height: 50px;
    }
    
    .author-info h4 {
        font-size: 1rem;
    }
    
    .author-info span {
        font-size: 0.85rem;
    }
}

@media (max-width: 480px) {
    .testimonials {
        padding: 40px 0;
    }
    
    .testimonials .section-title {
        font-size: 1.8rem;
    }
    
    .testimonials .section-subtitle {
        font-size: 1rem;
        margin-bottom: 40px;
    }
    
    .testimonials-slider {
        height: 550px;
    }
    
    .testimonial-card {
        padding: 20px;
    }
    
    .testimonial-card::before {
        font-size: 3rem;
        top: 10px;
        left: 15px;
    }
}

/* Footer */
.footer {
    background: #20597F;
    color: white;
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-logo-img {
    height: 40px;
    margin-bottom: 20px;
}

.footer-logo p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
}

.footer-links h4,
.footer-legal h4,
.footer-social h4 {
    margin-bottom: 20px;
    font-size: 1.2rem;
}

.footer-links ul,
.footer-legal ul {
    list-style: none;
}

.footer-links li,
.footer-legal li {
    margin-bottom: 10px;
}

.footer-links a,
.footer-legal a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover,
.footer-legal a:hover {
    color: #C44434;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: #C44434;
    transform: translateY(-2px);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.6);
}



/* Modales */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.5);
    animation: fadeIn 0.3s ease;
}

.modal-content {
    background-color: #fefefe;
    margin: 5% auto;
    padding: 0;
    border: none;
    border-radius: 12px;
    width: 90%;
    max-width: 600px;
    max-height: 80vh;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    animation: slideIn 0.3s ease;
}

.modal-content h2 {
    background: linear-gradient(135deg, #3498db, #2980b9);
    color: white;
    margin: 0;
    padding: 20px;
    font-size: 1.5rem;
    text-align: center;
}

.modal-body {
    padding: 20px;
    max-height: 60vh;
    overflow-y: auto;
    line-height: 1.6;
}

.modal-body h3 {
    color: #2c3e50;
    margin-top: 20px;
    margin-bottom: 10px;
    font-size: 1.1rem;
}

.modal-body p {
    color: #555;
    margin-bottom: 15px;
    text-align: justify;
}

.close {
    color: white;
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    padding: 0 10px;
    line-height: 1;
}

.close:hover,
.close:focus {
    opacity: 0.7;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

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

/* Responsive para modales */
@media (max-width: 768px) {
    .modal-content {
        width: 95%;
        margin: 10% auto;
        max-height: 85vh;
    }
    
    .modal-body {
        max-height: 65vh;
        padding: 15px;
    }
    
    .modal-content h2 {
        font-size: 1.3rem;
        padding: 15px;
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }
    
    .nav-menu {
        display: none;
    }
    
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 40px;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .about-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .pricing-grid {
        grid-template-columns: 1fr;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .counter-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .counter-grid {
        grid-template-columns: 1fr;
    }
    
    .hero-buttons {
        flex-direction: column;
    }
    
    .btn-primary, .btn-secondary {
        text-align: center;
        justify-content: center;
    }
}

/* Nuevos estilos para badges de planes */
.exclusivity-badge, .advantage-badge {
    background: linear-gradient(135deg, var(--primary-blue), var(--primary-green));
    color: white;
    padding: 8px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    margin: 8px 0;
    text-align: center;
    box-shadow: 0 2px 8px rgba(32, 89, 127, 0.3);
}

.advantage-badge {
    background: linear-gradient(135deg, var(--primary-green), #27ae60);
}

.ideal-for {
    margin-top: 20px;
    padding: 15px;
    background: rgba(32, 89, 127, 0.1);
    border-radius: 10px;
    border-left: 4px solid var(--primary-blue);
}

.ideal-for p {
    margin: 0;
    font-size: 0.9rem;
    line-height: 1.5;
    color: var(--text-secondary);
}

[data-theme="dark"] .ideal-for {
    background: rgba(255, 255, 255, 0.1);
    border-left-color: var(--primary-green);
}

[data-theme="dark"] .ideal-for p {
    color: var(--text-primary);
}

/* Estilos para modales de planes */
.plan-modal {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
    animation: fadeIn 0.3s ease;
}

.plan-modal-content {
    background-color: var(--background-primary);
    margin: 2% auto;
    padding: 0;
    border-radius: 15px;
    width: 90%;
    max-width: 900px;
    max-height: 90vh;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: slideIn 0.3s ease;
    position: relative;
    display: flex;
    flex-direction: column;
}

.plan-modal-close {
    position: absolute;
    top: 15px;
    right: 25px;
    color: var(--text-secondary);
    font-size: 35px;
    font-weight: bold;
    cursor: pointer;
    z-index: 10001;
    transition: color 0.3s ease;
}

.plan-modal-close:hover {
    color: var(--primary-blue);
}

.modal-plan-header {
    background: linear-gradient(135deg, var(--primary-blue), var(--primary-green));
    color: white;
    padding: 30px;
    border-radius: 15px 15px 0 0;
    text-align: center;
}

.modal-plan-header h2 {
    margin: 0 0 10px 0;
    font-size: 2rem;
    font-weight: 700;
}

.modal-plan-price {
    font-size: 3rem;
    font-weight: 800;
    margin: 15px 0;
}

.modal-plan-price .currency {
    font-size: 1.5rem;
    vertical-align: top;
}

.modal-plan-price .period {
    font-size: 1.2rem;
    font-weight: 400;
    opacity: 0.9;
}

.modal-plan-badges {
    display: flex;
    gap: 10px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 15px;
}

.modal-badge {
    background: rgba(255, 255, 255, 0.2);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
}

.modal-plan-body {
    padding: 30px;
    overflow-y: auto;
    flex: 1;
    max-height: calc(90vh - 300px);
    background-color: var(--background-primary) !important;
}

.modal-plan-body::-webkit-scrollbar {
    width: 6px;
}

.modal-plan-body::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.1);
    border-radius: 3px;
}

.modal-plan-body::-webkit-scrollbar-thumb {
    background: var(--primary-blue);
    border-radius: 3px;
    opacity: 0.7;
}

.modal-plan-body::-webkit-scrollbar-thumb:hover {
    background: var(--primary-green);
}

.modal-features-section {
    margin-bottom: 30px;
    background-color: var(--background-primary) !important;
    padding: 20px;
    border-radius: 10px;
}

.modal-features-section h3 {
    color: var(--primary-blue);
    font-size: 1.3rem;
    margin-bottom: 15px;
    border-bottom: 2px solid var(--primary-blue);
    padding-bottom: 8px;
}

.modal-features-list {
    list-style: none;
    padding: 0;
}

.modal-features-list li {
    padding: 12px 0;
    border-bottom: 1px solid rgba(32, 89, 127, 0.15);
    display: flex;
    align-items: flex-start;
    gap: 12px;
    background: rgba(255, 255, 255, 0.8);
    margin-bottom: 2px;
    border-radius: 5px;
    padding-left: 10px;
    padding-right: 10px;
}

.modal-features-list li:last-child {
    border-bottom: none;
}

.modal-features-list i {
    color: var(--primary-green);
    margin-top: 2px;
    font-size: 1.1rem;
}

.modal-ideal-section {
    background: linear-gradient(135deg, rgba(32, 89, 127, 0.1), rgba(46, 204, 113, 0.1));
    padding: 20px;
    border-radius: 10px;
    margin-top: 20px;
}

.modal-ideal-section h3 {
    color: var(--primary-blue);
    margin-bottom: 10px;
}

.modal-cta-section {
    text-align: center;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 2px solid rgba(32, 89, 127, 0.1);
}

.modal-cta-button {
    background: linear-gradient(135deg, var(--primary-blue), var(--primary-green));
    color: white;
    padding: 15px 40px;
    border: none;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.modal-cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(32, 89, 127, 0.3);
}

/* Tema oscuro para modales */
[data-theme="dark"] .plan-modal-content {
    background-color: var(--card-bg);
    color: var(--text-primary);
}

[data-theme="dark"] .modal-plan-body {
    background-color: var(--card-bg);
}

[data-theme="dark"] .modal-features-section {
    background-color: var(--card-bg);
}

[data-theme="dark"] .modal-features-list li {
    border-bottom-color: rgba(255, 255, 255, 0.15);
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-primary);
}

[data-theme="dark"] .modal-ideal-section {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(46, 204, 113, 0.1));
}

[data-theme="dark"] .modal-cta-section {
    border-top-color: rgba(255, 255, 255, 0.1);
}

/* Responsive para modales de planes */
@media (max-width: 768px) {
    .plan-modal-content {
        width: 95%;
        margin: 5% auto;
    }
    
    .modal-plan-header {
        padding: 20px;
    }
    
    .modal-plan-header h2 {
        font-size: 1.5rem;
    }
    
    .modal-plan-price {
        font-size: 2.5rem;
    }
    
    .modal-plan-body {
        padding: 20px;
    }
    
    .modal-plan-badges {
        flex-direction: column;
        align-items: center;
    }
}

/* Estilos para el Widget de WhatsApp */
.whatsapp-widget {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
    font-family: 'Poppins', sans-serif;
}

/* Botón flotante */
.whatsapp-float {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #25d366, #128c7e);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.whatsapp-float:hover {
    transform: scale(1.05) translateY(-5px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.4);
}

.whatsapp-float:active {
    transform: scale(0.95);
}

.whatsapp-float i {
    font-size: 30px;
    color: white;
}

/* Notificación */
.notification-badge {
    position: absolute;
    top: -5px;
    right: -5px;
    background-color: #FF4B4B;
    color: white;
    font-size: 12px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {transform: translateY(0);}
    40% {transform: translateY(-5px);}
    60% {transform: translateY(-3px);}
}

/* Panel de contactos */
.whatsapp-contacts {
    position: absolute;
    bottom: 75px;
    right: 0;
    width: 320px;
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.2);
    overflow: hidden;
    display: none;
    transform-origin: bottom right;
    animation: scaleUp 0.3s forwards;
}

.whatsapp-contacts.active {
    display: block;
}

@keyframes scaleUp {
    from {transform: scale(0.8); opacity: 0;}
    to {transform: scale(1); opacity: 1;}
}

/* Encabezado del panel */
.contacts-header {
    background-color: var(--primary-green);
    padding: 15px;
    color: white;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.header-content {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.header-icon {
    background-color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.header-icon i {
    font-size: 24px;
    color: var(--primary-green);
}

.header-text h3 {
    margin: 0 0 5px 0;
    font-size: 16px;
    font-weight: 600;
}

.header-text p {
    margin: 0;
    font-size: 12px;
    opacity: 0.9;
}

.close-btn {
    background: transparent;
    border: none;
    color: white;
    font-size: 18px;
    cursor: pointer;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    transition: background-color 0.2s;
}

.close-btn:hover {
    background-color: rgba(255, 255, 255, 0.2);
}

/* Contenido del panel */
.contacts-content {
    max-height: 300px;
    overflow-y: auto;
}

.contacts-list {
    padding: 10px 0;
}

/* Estilos para cada contacto */
.contact-item {
    display: flex;
    align-items: center;
    padding: 10px 15px;
    cursor: pointer;
    transition: background-color 0.2s;
}

.contact-item:hover {
    background-color: #f5f5f5;
}

.contact-avatar {
    position: relative;
    margin-right: 12px;
}

.contact-avatar img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
}

.status-indicator {
    position: absolute;
    bottom: 2px;
    right: 2px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 2px solid white;
}

.status-indicator.online {
    background-color: #25D366;
}

.contact-info {
    flex: 1;
}

.contact-info2 {
    flex: 1;
}

.contact-name {
    font-weight: 500;
    font-size: 14px;
    color: #333;
}

.contact-role {
    font-size: 12px;
    color: #666;
    margin-top: 3px;
}

.contact-action {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #25d366, #128c7e);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s;
}

.contact-action i {
    font-size: 20px;
    color: white;
}

.contact-item:hover .contact-action {
    transform: scale(1.1);
}

/* Modal para desktop */
.whatsapp-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s, visibility 0.3s;
}

.whatsapp-modal.active {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    background-color: white;
    border-radius: 10px;
    width: 90%;
    max-width: 400px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    transform: translateY(20px);
    transition: transform 0.3s;
    overflow: hidden;
}

.whatsapp-modal.active .modal-content {
    transform: translateY(0);
}

.modal-header {
    background-color: var(--primary-green);
    color: white;
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-header h3 {
    margin: 0;
    font-size: 18px;
}

.modal-close {
    background: transparent;
    border: none;
    color: white;
    font-size: 18px;
    cursor: pointer;
    padding: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background-color 0.2s;
}

.modal-close:hover {
    background-color: rgba(255, 255, 255, 0.2);
}

.modal-body {
    padding: 20px;
}

.agent-info {
    text-align: center;
}

.agent-avatar {
    margin-bottom: 15px;
}

.agent-avatar img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--primary-green);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.agent-name {
    font-size: 20px;
    font-weight: 600;
    color: #333;
    margin-bottom: 5px;
}

.agent-area {
    font-size: 16px;
    color: var(--primary-green);
    font-weight: 500;
    margin-bottom: 20px;
}

.agent-phone {
    margin-bottom: 15px;
    padding: 15px;
    background-color: #f8f9fa;
    border-radius: 8px;
    border-left: 4px solid var(--primary-green);
}

.phone-label {
    display: block;
    font-size: 14px;
    color: #666;
    margin-bottom: 5px;
    font-weight: 500;
}

.phone-number {
    display: block;
    font-size: 24px;
    font-weight: 700;
    color: #333;
    letter-spacing: 1px;
}

.agent-instruction {
    font-size: 14px;
    color: #666;
    line-height: 1.5;
    margin: 0;
}

/* Estilos responsivos */
@media (max-width: 768px) {
    .whatsapp-float {
        width: 50px;
        height: 50px;
    }
    
    .whatsapp-float i {
        font-size: 24px;
    }
    
    .whatsapp-contacts {
        width: 280px;
    }
    
    .header-icon {
        width: 35px;
        height: 35px;
    }
    
    .header-icon i {
        font-size: 20px;
    }
    
    .header-text h3 {
        font-size: 14px;
    }
    
    .header-text p {
        font-size: 11px;
    }
    
    .contact-avatar img {
        width: 40px;
        height: 40px;
    }
    
    .contact-action {
        width: 35px;
        height: 35px;
    }
    
    .contact-action i {
        font-size: 18px;
    }
}

@media (max-width: 480px) {
    .whatsapp-contacts {
        width: 260px;
        right: 0;
    }
    
    .contact-name {
        font-size: 13px;
    }
    
    .contact-role {
        font-size: 11px;
    }
}