@media (max-width: 992px) {
    .benefits-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
/* Reset y variables */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #0668f3;
    --primary-gradient: linear-gradient(135deg, #0668f3 0%, #4a90e2 100%);
    --secondary-color: #00f27e;
    --secondary-gradient: linear-gradient(135deg, #00f27e 0%, #00d4aa 100%);
    --dark-color: #101937;
    --text-color: #333;
    --text-light: #666;
    --bg-color: #ffffff;
    --bg-light: #f8f9fa;
    --border-color: #e9ecef;
    --shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 20px 40px rgba(0, 0, 0, 0.12);
    --shadow-hover: 0 8px 30px rgba(0, 0, 0, 0.15);
    --border-radius: 16px;
    --border-radius-lg: 24px;
    --transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-fast: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

[data-theme="dark"] {
    --text-color: #ffffff;
    --text-light: #b0b0b0;
    --bg-color: #0a0a0a;
    --bg-light: #1a1a1a;
    --border-color: #333;
    --shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    --shadow-lg: 0 20px 40px rgba(0, 0, 0, 0.4);
    --shadow-hover: 0 8px 30px rgba(0, 0, 0, 0.5);
}

body {
    font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
        sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--bg-color);
    transition: var(--transition);
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.hero-content {
    padding-top: 15%;
}

/* Navegación mejorada */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(30px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    z-index: 1000;
    transition: var(--transition);
    box-shadow: var(--shadow);
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

[data-theme="dark"] .navbar {
    background: rgba(0, 0, 0, 0.95);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

[data-theme="dark"] .navbar.scrolled {
    background: rgba(0, 0, 0, 0.98);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.nav-container {
    padding: 0 20px;
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

.logo svg {
    height: 36px;
    width: auto;
    transition: var(--transition);
}

.logo:hover svg {
    transform: scale(1.05);
}

[data-theme="dark"] .logo .cls-2 {
    fill: #ffffff;
}

[data-theme="dark"] .logo .cls-1 {
    fill: #0668f3;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2.5rem;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-light);
    font-weight: 500;
    transition: var(--transition);
    position: relative;
    padding: 0.5rem 0;
}

.nav-links a::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-gradient);
    transition: var(--transition);
}

.nav-links a:hover {
    color: var(--primary-color);
}

.nav-links a:hover::after {
    width: 100%;
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--text-color);
    cursor: pointer;
    transition: var(--transition);
}

.mobile-menu-toggle:hover {
    color: var(--primary-color);
    transform: scale(1.1);
}

/* Botones mejorados */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: var(--border-radius);
    font-weight: 600;
    text-decoration: none !important;
    cursor: pointer;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.2),
        transparent
    );
    transition: var(--transition);
}

.btn:hover::before {
    left: 100%;
}

.btn-primary {
    background: var(--primary-gradient);
    color: white;
    box-shadow: var(--shadow);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}

.btn-outline {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-outline:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px);
}

[data-theme="dark"] .btn-outline {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

[data-theme="dark"] .btn-outline:hover {
    background: var(--primary-color);
    color: white;
}

.btn-large {
    padding: 1rem 2rem;
    font-size: 1.1rem;
}

.btn-whatsapp {
    background: linear-gradient(135deg, #25d366 0%, #128c7e 100%);
    color: white;
}

a {
    text-decoration: none;
}

.btn-whatsapp:hover {
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 10px 30px rgba(37, 211, 102, 0.3);
}

.btn-phone {
    background: linear-gradient(135deg, #ff6b6b 0%, #ee5a52 100%);
    color: white;
}

.btn-phone:hover {
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 10px 30px rgba(255, 107, 107, 0.3);
}

.theme-toggle {
    background: none;
    border: none;
    color: var(--text-color);
    font-size: 1.2rem;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 50%;
    transition: var(--transition);
}

.theme-toggle:hover {
    background: rgba(0, 0, 0, 0.1);
    transform: rotate(180deg);
}

[data-theme="dark"] .theme-toggle:hover {
    background: rgba(255, 255, 255, 0.1);
}

/* Hero section mejorado */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

[data-theme="dark"] .hero {
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 100%);
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(
            circle at 20% 80%,
            rgba(6, 104, 243, 0.1) 0%,
            transparent 50%
        ),
        radial-gradient(
            circle at 80% 20%,
            rgba(0, 242, 126, 0.1) 0%,
            transparent 50%
        ),
        radial-gradient(
            circle at 40% 40%,
            rgba(255, 255, 255, 0.05) 0%,
            transparent 50%
        );
    animation: float 20s ease-in-out infinite;
}

[data-theme="dark"] .hero-bg {
    background: radial-gradient(
            circle at 20% 80%,
            rgba(6, 104, 243, 0.2) 0%,
            transparent 50%
        ),
        radial-gradient(
            circle at 80% 20%,
            rgba(0, 242, 126, 0.2) 0%,
            transparent 50%
        ),
        radial-gradient(
            circle at 40% 40%,
            rgba(255, 255, 255, 0.02) 0%,
            transparent 50%
        );
}

.hero-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 1s ease-out 0.5s forwards;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 2rem;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(6, 104, 243, 0.2);
    animation: slideInDown 0.8s ease-out 0.8s both;
}

[data-theme="dark"] .hero-badge {
    background: rgba(0, 0, 0, 0.8);
    border-color: rgba(6, 104, 243, 0.3);
}

.hero-logo {
    margin-bottom: 2rem;
    animation: fadeIn 1s ease-out 1s both;
}

.hero-logo svg {
    height: 80px;
    width: auto;
    filter: drop-shadow(0 4px 20px rgba(0, 0, 0, 0.1));
}

[data-theme="dark"] .hero-logo svg {
    filter: drop-shadow(0 4px 20px rgba(255, 255, 255, 0.1));
}

[data-theme="dark"] .hero-logo .cls-2 {
    fill: #ffffff;
}

[data-theme="dark"] .hero-logo .cls-1 {
    fill: #0668f3;
}

/* .hero-subtitle {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: fadeInUp 1s ease-out 1.2s both;
}

.hero-subtitle .highlight {
    background: var(--secondary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
} */

.hero-subtitle {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: #0668f3;
    animation: fadeInUp 1s ease-out 1.2s both;
}

.hero-subtitle .highlight {
    background: linear-gradient(90deg, #00ff6a, #00ff6a);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

[data-theme="dark"] .hero-subtitle .highlight {
    background: var(--secondary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    color: white;
    background-clip: text;
}

.hero-description {
    font-size: 1.25rem;
    color: var(--text-light);
    margin-bottom: 3rem;
    line-height: 1.8;
    animation: fadeInUp 1s ease-out 1.4s both;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeInUp 1s ease-out 1.6s both;
}

/* Secciones mejoradas */
.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-header p {
    font-size: 1.1rem;
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

.section-footer {
    text-align: center;
    margin-top: 3rem;
}

.section-footer p {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 2rem;
}

/* Problemas mejorados */
.problems {
    padding: 6rem 0;
    background: var(--bg-light);
}

[data-theme="dark"] .problems {
    background: var(--bg-light);
}

.problems-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.problem-card {
    background: var(--bg-color);
    padding: 2.5rem;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 1px solid var(--border-color);
    position: relative;
    overflow: hidden;
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.problem-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--primary-gradient);
    transform: scaleX(0);
    transition: var(--transition);
}

.problem-card:hover::before {
    transform: scaleX(1);
}

[data-theme="dark"] .problem-card {
    background: var(--bg-color);
    border-color: var(--border-color);
}

.problem-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
}

.problem-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: white;
    margin-bottom: 1.5rem;
    background: var(--primary-gradient);
    transition: var(--transition);
}

.problem-card:hover .problem-icon {
    transform: scale(1.1) rotate(5deg);
}

.problem-icon.red {
    background: linear-gradient(135deg, #ff6b6b 0%, #ee5a52 100%);
}

.problem-icon.blue {
    background: linear-gradient(135deg, #4ecdc4 0%, #44a08d 100%);
}

.problem-icon.orange {
    background: linear-gradient(135deg, #ffa726 0%, #ff7043 100%);
}

.problem-icon.purple {
    background: linear-gradient(135deg, #ab47bc 0%, #8e24aa 100%);
}

.problem-icon.green {
    background: linear-gradient(135deg, #66bb6a 0%, #43a047 100%);
}

.problem-icon.cyan {
    background: linear-gradient(135deg, #26c6da 0%, #00acc1 100%);
}

.problem-card h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-color);
}

.problem-card p {
    color: var(--text-light);
    line-height: 1.6;
}

/* Proceso mejorado */
.process {
    padding: 6rem 0;
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 3rem;
    margin-top: 3rem;
}

.step {
    text-align: center;
    padding: 2rem;
    border-radius: var(--border-radius-lg);
    transition: var(--transition);
    position: relative;
    background: var(--bg-color);
    box-shadow: var(--shadow);
    border: 1px solid var(--border-color);
}

.step::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--primary-gradient);
    border-radius: var(--border-radius-lg);
    opacity: 0;
    transition: var(--transition);
    z-index: -1;
}

.step:hover::before {
    opacity: 0.05;
}

.step-number {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--primary-gradient);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 auto 1.5rem;
    position: relative;
    transition: var(--transition);
}

.step:hover .step-number {
    transform: scale(1.1);
    box-shadow: 0 10px 30px rgba(6, 104, 243, 0.3);
}

.step-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: rgba(6, 104, 243, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--primary-color);
    margin: 0 auto 1.5rem;
    transition: var(--transition);
}

.step:hover .step-icon {
    background: var(--primary-color);
    color: white;
    transform: scale(1.1);
}

.step h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-color);
    transition: var(--transition);
}

.step:hover h3 {
    color: var(--primary-color);
}

[data-theme="dark"] .step:hover h3 {
    color: var(--primary-color);
}

.step p {
    color: var(--text-light);
    line-height: 1.6;
}

/* Beneficios mejorados */
.benefits {
    padding: 6rem 0;
    background: linear-gradient(
        135deg,
        rgba(6, 104, 243, 0.05) 0%,
        rgba(0, 242, 126, 0.05) 100%
    );
    position: relative;
    overflow: hidden;
}

[data-theme="dark"] .benefits {
    background: linear-gradient(
        135deg,
        rgba(6, 104, 243, 0.1) 0%,
        rgba(0, 242, 126, 0.1) 100%
    );
}

.benefits::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(
            circle at 20% 80%,
            rgba(6, 104, 243, 0.1) 0%,
            transparent 50%
        ),
        radial-gradient(
            circle at 80% 20%,
            rgba(0, 242, 126, 0.1) 0%,
            transparent 50%
        );
    animation: float 25s ease-in-out infinite reverse;
}

.benefits .section-header h2,
.benefits .section-header p {
    position: relative;
    z-index: 2;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
    position: relative;
    z-index: 2;
}

.benefit {
    background: var(--bg-color);
    padding: 2.5rem;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 1px solid var(--border-color);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.benefit::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--primary-gradient);
    opacity: 0;
    transition: var(--transition);
    z-index: -1;
}

.benefit:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
}

.benefit:hover::before {
    opacity: 0.05;
}

.benefit-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: var(--primary-gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: white;
    margin: 0 auto 1.5rem;
    transition: var(--transition);
    position: relative;
}

.benefit:hover .benefit-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 15px 40px rgba(6, 104, 243, 0.3);
}

.benefit h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-color);
}

.benefit p {
    color: var(--text-light);
    line-height: 1.6;
}

/* Testimonios mejorados */
.testimonials {
    padding: 6rem 0;
    background: var(--bg-light);
}

[data-theme="dark"] .testimonials {
    background: var(--bg-light);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.testimonial {
    background: var(--bg-color);
    padding: 2.5rem;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 1px solid var(--border-color);
    position: relative;
    overflow: hidden;
}

.testimonial::before {
    content: '"';
    position: absolute;
    top: 1rem;
    right: 2rem;
    font-size: 4rem;
    color: var(--primary-color);
    opacity: 0.1;
    font-family: serif;
}

[data-theme="dark"] .testimonial {
    background: var(--bg-color);
    border-color: var(--border-color);
}

.testimonial:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.stars {
    display: flex;
    gap: 0.25rem;
    margin-bottom: 1.5rem;
    color: #ffd700;
}

.testimonial p {
    font-size: 1.1rem;
    line-height: 1.7;
    color: var(--text-color);
    margin-bottom: 2rem;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.author-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--primary-gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 600;
    font-size: 1.2rem;
}

.author-info strong {
    display: block;
    font-weight: 600;
    color: var(--text-color);
}

.author-info span {
    color: var(--text-light);
    font-size: 0.9rem;
}

/* Contacto mejorado */
.contact {
    padding: 6rem 0;
    background: linear-gradient(
        135deg,
        rgba(6, 104, 243, 0.05) 0%,
        rgba(0, 242, 126, 0.05) 100%
    );
    position: relative;
    overflow: hidden;
}

.contact::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(
            circle at 30% 70%,
            rgba(6, 104, 243, 0.1) 0%,
            transparent 50%
        ),
        radial-gradient(
            circle at 70% 30%,
            rgba(0, 242, 126, 0.1) 0%,
            transparent 50%
        );
    animation: pulse 4s ease-in-out infinite;
}

[data-theme="dark"] .contact::before {
    background: radial-gradient(
            circle at 30% 70%,
            rgba(6, 104, 243, 0.2) 0%,
            transparent 50%
        ),
        radial-gradient(
            circle at 70% 30%,
            rgba(0, 242, 126, 0.2) 0%,
            transparent 50%
        );
}

.contact-methods {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.contact-card {
    background: var(--bg-color);
    padding: 2.5rem;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 1px solid var(--border-color);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.contact-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--primary-gradient);
    transform: scaleX(0);
    transition: var(--transition);
}

.contact-card:hover::before {
    transform: scaleX(1);
}

[data-theme="dark"] .contact-card {
    background: var(--bg-color);
    border-color: var(--border-color);
}

.contact-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
}

.contact-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: white;
    margin: 0 auto 1.5rem;
    transition: var(--transition);
    background: var(--primary-gradient);
}

.contact-card:hover .contact-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 15px 40px rgba(6, 104, 243, 0.3);
}

/* Centrar y alinear los botones dentro de las cards de contacto */
.contact-card .btn {
    display: block;
    margin: 2rem auto 0 auto;
    min-width: 200px;
    text-align: center;
}

.contact-icon.whatsapp {
    background: linear-gradient(135deg, #25d366 0%, #128c7e 100%);
}

.contact-icon.phone {
    background: linear-gradient(135deg, #ff6b6b 0%, #ee5a52 100%);
}

.contact-card h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-color);
}

.contact-card p {
    color: var(--text-light);
    line-height: 1.6;
}

/* Footer mejorado */
.footer {
    background: linear-gradient(135deg, var(--dark-color) 0%, #1a1a2e 100%);
    color: white;
    padding: 4rem 0 2rem;
    position: relative;
    overflow: hidden;
}

[data-theme="dark"] .footer {
    background: linear-gradient(135deg, #000000 0%, #1a1a2e 100%);
}

.footer::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(
            circle at 20% 80%,
            rgba(6, 104, 243, 0.2) 0%,
            transparent 50%
        ),
        radial-gradient(
            circle at 80% 20%,
            rgba(0, 242, 126, 0.2) 0%,
            transparent 50%
        );
    animation: gradient-shift 10s ease-in-out infinite;
}

.footer-content {
    text-align: center;
    position: relative;
    z-index: 2;
}

.footer-logo svg {
    height: 50px;
    width: auto;
    margin-bottom: 1rem;
}

[data-theme="dark"] .footer-logo .cls-2 {
    fill: #ffffff;
}

[data-theme="dark"] .footer-logo .cls-1 {
    fill: #0668f3;
}

/* Asegurar que los logos mantengan sus colores originales en tema claro */
.logo .cls-1 {
    fill: #0668f3;
}

.logo .cls-2 {
    fill: #101937;
}

.hero-logo .cls-1 {
    fill: #0668f3;
}

.hero-logo .cls-2 {
    fill: #101937;
}

.footer-logo .cls-1 {
    fill: #0668f3;
}

.footer-logo .cls-2 {
    fill: #101937;
}

.footer-tagline {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 2rem;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.6);
}

.footer-links {
    display: flex;
    gap: 2rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    transition: var(--transition);
}

.footer-links a:hover {
    color: white;
}

/* Animaciones mejoradas */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes float {
    0%,
    100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-20px);
    }
}

@keyframes pulse {
    0%,
    100% {
        opacity: 0.5;
    }
    50% {
        opacity: 1;
    }
}

@keyframes gradient-shift {
    0%,
    100% {
        transform: translateX(0px);
    }
    50% {
        transform: translateX(20px);
    }
}

@keyframes dot-pulse {
    0%,
    100% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.2);
        opacity: 0.8;
    }
}

.dot-animation {
    animation: dot-pulse 2s ease-in-out infinite;
}

/* Responsive mejorado */
@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: fixed;
        top: 100%;
        left: 0;
        width: 100%;
        background: var(--bg-color);
        flex-direction: column;
        padding: 2rem;
        box-shadow: var(--shadow);
        border-top: 1px solid var(--border-color);
        z-index: 999;
    }

    .nav-links.active {
        display: flex;
    }

    .mobile-menu-toggle {
        display: block;
    }

    .hero-subtitle {
        font-size: 2.5rem;
    }

    .hero-description {
        font-size: 1.1rem;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .section-header h2 {
        font-size: 2rem;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }

    .problems-grid,
    .testimonials-grid,
    .benefits-grid,
    .contact-methods {
        grid-template-columns: 1fr;
    }

    .process-steps {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .hero-content {
        padding-top: 20%;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 15px;
    }

    .hero-content {
        padding: 0 1rem;
        padding-top: 20%;
    }

    .hero-logo svg {
        height: 60px;
    }

    .section-header h2 {
        font-size: 1.8rem;
    }

    .btn-large {
        padding: 0.875rem 1.5rem;
        font-size: 1rem;
    }
}

/* Scroll suave */
html {
    scroll-behavior: smooth;
}

/* Fade-in animation for sections */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1),
        transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}
.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Estados de carga */
.loading {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s ease-out forwards;
}

/* Partículas */
.particle {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    animation: float 6s ease-in-out infinite;
}

.particle.accent {
    background: radial-gradient(circle, rgba(255, 255, 255, 0.3), transparent);
}

[data-theme="dark"] .particle.accent {
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1), transparent);
}

/* Notificaciones */
.notification {
    position: fixed;
    border-radius: 2px;
    top: 20px;
    right: 20px;
    padding: 1rem 1.5rem;
    border-radius: var(--border-radius);
    text-shadow: 0 2px 8px rgba(6, 104, 243, 0.08);
    color: white;
    font-weight: 500;
    z-index: 10000;
    transform: translateX(100%);
    left: 0;
    transition: transform 0.3s ease;
    max-width: 300px;
    box-shadow: var(--shadow-lg);
}

.notification-success {
    background: linear-gradient(135deg, #00f27e 0%, #00d4aa 100%);
}

.notification-error {
    background: linear-gradient(135deg, #ff6b6b 0%, #ee5a52 100%);
}

.notification-info {
    background: linear-gradient(135deg, #0668f3 0%, #4a90e2 100%);
}

/* --- EFECTOS VISUALES ADICIONALES --- */
.btn {
    box-shadow: 0 0 0 rgba(6, 104, 243, 0);
}
.btn:hover {
    box-shadow: 0 0 16px 2px rgba(6, 104, 243, 0.18),
        0 4px 24px rgba(0, 0, 0, 0.08);
}

.problem-card {
    opacity: 0;
    transform: translateX(-40px);
    transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1),
        transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}
.problem-card.visible {
    opacity: 1;
    transform: translateX(0);
}

.benefit {
    opacity: 0;
    transform: translateX(40px);
    transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1),
        transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}
.benefit.visible {
    opacity: 1;
    transform: translateX(0);
}

.fade-in-left {
    opacity: 0;
    transform: translateX(-40px);
    transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1),
        transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}
.fade-in-left.visible {
    opacity: 1;
    transform: translateX(0);
}
.fade-in-right {
    opacity: 0;
    transform: translateX(40px);
    transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1),
        transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}
.fade-in-right.visible {
    opacity: 1;
    transform: translateX(0);
}

/* Navbar scrolled solo azul en dark, claro mantiene fondo blanco */
.navbar.scrolled {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    border-bottom: none;
}
[data-theme="dark"] .navbar.scrolled {
    background: rgba(0, 0, 0, 0.98);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    border-bottom: none;
}

/* Efectos de hover mejorados */
.problem-card:hover,
.benefit:hover,
.testimonial:hover,
.contact-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: var(--shadow-hover);
}

/* Efectos de scroll */
.scroll-indicator {
    position: fixed;
    top: 0;
    left: 0;
    width: 0%;
    height: 4px;
    background: var(--primary-gradient);
    z-index: 2000;
    transition: width 0.3s ease;
    pointer-events: none;
}

[data-theme="dark"] .scroll-indicator {
    background: linear-gradient(90deg, #00f27e 0%, #0668f3 100%);
}

/* Mejoras para el modo oscuro */
[data-theme="dark"] {
    --scrollbar-thumb: #333;
    --scrollbar-track: #1a1a1a;
}

/* Scrollbar personalizada */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg-light);
}

::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--secondary-color);
}

/* Efectos de focus mejorados */
*:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

/* Mejoras de accesibilidad */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Efectos de carga */
.skeleton {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: loading 1.5s infinite;
}

@keyframes loading {
    0% {
        background-position: 200% 0;
    }
    100% {
        background-position: -200% 0;
    }
}
