:root {
    --primary: #8A6AFB;
    --primary-dark: #7259d4;
    --secondary: #7259d4;
    --dark: #7259d4;
    --light: rgb(255, 255, 255);
    --gray: #6b7280;
    --white: #ffffff;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'DM Sans', sans-serif;
    color: var(--dark);
    line-height: 1.6;
    background-color: var(--light);
    overflow-x: hidden;
    transform: none;
}

/* Loading indicator */
.page-loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--white);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.3s ease-out, visibility 0.3s ease-out;
}

.page-loader.loaded {
    opacity: 0;
    visibility: hidden;
}

.spinner {
    width: 40px;
    height: 40px;
    border: 4px solid rgba(138, 106, 251, 0.3);
    border-radius: 50%;
    border-top-color: var(--primary);
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

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

/* Modern Navbar Styles */
.navbar-modern { 
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.07) !important;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.navbar-modern.scrolled { 
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.15) !important;
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    border-bottom-color: rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.navbar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
    position: relative;
}

.navbar-brand .logo {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.navbar-brand .logo img {
    height: 45px;
    width: auto;
    transition: all 0.3s ease;
}

.navbar-nav {
    display: flex;
    align-items: center;
}

.nav-menu {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 40px;
    align-items: center;
}

.nav-item {
    position: relative;
}

.nav-link {
    text-decoration: none;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
    font-size: 16px;
    padding: 12px 0;
    position: relative;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 8px;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    transform: scaleX(0);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 1px;
}

.nav-link:hover {
    color: rgba(255, 255, 255, 1);
    text-shadow: 0 2px 8px rgba(255, 255, 255, 0.3);
}

.nav-link:hover::after {
    transform: scaleX(1);
}

.nav-btn {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white !important;
    padding: 14px 28px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 15px;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 6px 20px rgba(138, 106, 251, 0.4);
    border: 2px solid transparent;
    text-shadow: none;
}

.nav-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(138, 106, 251, 0.5);
    border-color: rgba(255, 255, 255, 0.2);
}

/* Mobile Toggle Button */
.mobile-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    gap: 5px;
    padding: 0;
}

.mobile-toggle:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: scale(1.05);
}

.toggle-line {
    width: 24px;
    height: 2px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 1px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    transform-origin: center;
}

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

.mobile-toggle.active .toggle-line:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}

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

/* Mobile Navigation */
.mobile-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transform: translateY(-100%);
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.mobile-nav.active {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
}

.mobile-nav-content {
    padding: 30px 0;
}

.mobile-menu {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0;
}

.mobile-item {
    text-align: center;
}

.mobile-link {
    display: block;
    padding: 18px 30px;
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    font-weight: 500;
    font-size: 18px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.mobile-link:hover {
    background: rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 1);
    transform: translateX(10px);
}

.mobile-btn {
    display: inline-block;
    margin: 20px auto 10px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white !important;
    padding: 16px 32px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 16px;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 8px 25px rgba(138, 106, 251, 0.4);
    text-shadow: none;
}

.mobile-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 35px rgba(138, 106, 251, 0.5);
}

/* Mobile Overlay */
.mobile-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.mobile-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* Responsive Navbar Styles */
@media (max-width: 1024px) {
    .nav-menu {
        gap: 30px;
    }
}

@media (max-width: 768px) {
    .navbar-nav {
        display: none;
    }
    
    .mobile-toggle {
        display: flex;
    }
    
    .navbar-content {
        padding: 15px 0;
    }
    
    .navbar-brand .logo img {
        height: 40px;
    }
}

@media (max-width: 480px) {
    .mobile-nav-content {
        padding: 20px 0;
    }
    
    .mobile-link {
        padding: 15px 20px;
        font-size: 16px;
    }
    
    .mobile-btn {
        padding: 14px 28px;
        font-size: 15px;
        margin: 15px auto 5px;
    }

    .feature-image {
        margin: 0 auto 15px;
        padding: 0 10px;
    }

    .feature-image img {
        max-height: none;
        width: 100%;
        height: auto;
        object-fit: contain;
    }
    
    /* Feature cards for very small screens */
    .feature-grid {
        padding: 0 15px;
        gap: 20px;
        max-width: 100%;
    }
    
    .feature-card {
        padding: 25px 15px;
    }
    
    .feature-visual {
        height: 100px;
        margin-bottom: 15px;
    }
    
    .mini-card {
        min-width: 120px;
        padding: 12px;
    }
    
    .mini-card-icon {
        width: 35px;
        height: 35px;
        font-size: 18px;
    }
    
    .donut-chart {
        width: 70px;
        height: 70px;
    }
    
    .donut-center {
        width: 45px;
        height: 45px;
    }
    
    .gauge-container {
        width: 90px;
        height: 90px;
    }
    
    .gauge {
        width: 70px;
        height: 35px;
    }
    
    .chart-container {
        width: 100px;
        height: 70px;
    }
    
    .sync-indicator {
        width: 50px;
        height: 50px;
    }
    
    .sync-circle {
        width: 40px;
        height: 40px;
    }
    
    .feature-card h3 {
        font-size: 18px;
        margin-bottom: 10px;
    }
    
    .feature-card p {
        font-size: 14px;
        line-height: 1.5;
    }
}

.btn {
    display: inline-block;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: var(--white);
    padding: 14px 28px;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: none;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    box-shadow: 0 6px 20px rgba(138, 106, 251, 0.3);
}

.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: left 0.6s ease;
}

.btn:hover::before {
    left: 100%;
}

.btn:hover {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary));
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 15px 35px rgba(138, 106, 251, 0.5);
}

.btn-secondary {
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
    box-shadow: 0 4px 15px rgba(138, 106, 251, 0.2);
}

.btn-secondary:hover {
    background: var(--primary);
    color: var(--white);
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 12px 30px rgba(138, 106, 251, 0.4);
}

.btn-free {
    background: linear-gradient(135deg, #22c55e, #16a34a);
    box-shadow: 0 6px 20px rgba(34, 197, 94, 0.3);
}

.btn-free:hover {
    background: linear-gradient(135deg, #16a34a, #15803d);
    box-shadow: 0 15px 35px rgba(34, 197, 94, 0.5);
}

.btn-lg {
    padding: 16px 32px;
    font-size: 18px;
}

/* Hero section */
.hero {  
    background-image: url('../images/fondo.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 120px 0 100px;
    position: relative;
    overflow: hidden;
    transform: none;
}

.hero-content {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.hero-text {
    max-width: 800px;
    margin: 0 auto;
}

.hero h1 {
    font-size: 54px;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
    color: var(--dark);
}

.hero p {
    font-size: 16px;
    color: rgba(71, 71, 71, 0.9);
    margin-bottom: 40px;
    max-width: 750px; 
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-top: 40px;
}

.hero-buttons .btn {
    min-width: 180px;
    text-align: center;
}

.hero-buttons .btn-free {
    background-color: var(--secondary);
    color: var(--white);
}

.hero-buttons .btn-secondary {
    background-color: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
}

.hero-buttons .btn-free:hover {
    background-color: rgb(151, 78, 255);
}

.hero-buttons .btn-secondary:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

/* Features section */
.features {
    padding: 100px 0;
    background-color: white;
    position: relative;
}

.features .container {
    position: relative;
    z-index: 1;
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
}

.section-title h2 {
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--dark);
}

.section-title p {
    font-size: 20px;
    color: var(--gray);
    max-width: 600px;
    margin: 0 auto;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.feature-card:nth-child(1) {
    grid-column: 1 / 5;
}

.feature-card:nth-child(2) {
    grid-column: 5 / 9;
}

.feature-card:nth-child(3) {
    grid-column: 9 / 13;
}

.feature-card:nth-child(4) {
    grid-column: 1 / 7;
}

.feature-card:nth-child(5) {
    grid-column: 7 / 13;
}

.feature-card {
    text-align: center;
    padding: 30px 20px;
    background-color: var(--white);
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.05);
    cursor: pointer;
    opacity: 0;
    transform: translateY(30px);
    animation: slideInUp 0.6s ease-out forwards;
}

.feature-card:nth-child(1) { animation-delay: 0.1s; }
.feature-card:nth-child(2) { animation-delay: 0.2s; }
.feature-card:nth-child(3) { animation-delay: 0.3s; }
.feature-card:nth-child(4) { animation-delay: 0.4s; }
.feature-card:nth-child(5) { animation-delay: 0.5s; }

@keyframes slideInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(138, 106, 251, 0.1), transparent);
    transition: left 0.6s ease;
}

.feature-card:hover::before {
    left: 100%;
}

.feature-card:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: 0 20px 40px rgba(138, 106, 251, 0.2);
    border-color: rgba(138, 106, 251, 0.3);
}

.feature-card:hover .feature-visual {
    transform: scale(1.1);
}

.feature-visual {
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    position: relative;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Dashboard Cards Visual */
.dashboard-cards {
    display: flex;
    gap: 8px;
    align-items: center;
}

.mini-card {
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    border-radius: 16px;
    padding: 16px;
    box-shadow: 0 4px 20px rgba(138, 106, 251, 0.1);
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 140px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    animation: float 3s ease-in-out infinite;
    border: 1px solid rgba(138, 106, 251, 0.1);
    position: relative;
    overflow: hidden;
}

.mini-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #8A6AFB, #3B82F6);
    border-radius: 16px 16px 0 0;
}

.feature-card:hover .mini-card {
    transform: translateY(-8px) scale(1.05);
    box-shadow: 0 12px 30px rgba(138, 106, 251, 0.2);
    animation: none;
    border-color: rgba(138, 106, 251, 0.3);
}

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

.mini-card-icon {
    font-size: 22px;
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #8A6AFB, #3B82F6);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(138, 106, 251, 0.3);
    position: relative;
}

.mini-card-icon::after {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(135deg, #8A6AFB, #3B82F6);
    border-radius: 14px;
    z-index: -1;
    opacity: 0.3;
    filter: blur(4px);
}

.mini-card-content {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.mini-card-amount {
    font-weight: 700;
    font-size: 16px;
    color: #1F2937;
    letter-spacing: -0.5px;
}

.mini-card-label {
    font-size: 12px;
    color: #6B7280;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Line Chart Visual */
.chart-container {
    width: 100%;
    height: 90px;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    border-radius: 16px;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(138, 106, 251, 0.1);
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.05);
}

.chart-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 30%, rgba(138, 106, 251, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(59, 130, 246, 0.1) 0%, transparent 50%);
    border-radius: 16px;
}

.line-chart {
    position: relative;
    width: 100%;
    height: 100%;
    padding: 20px;
}

.chart-line {
    position: absolute;
    top: 50%;
    left: 20px;
    right: 20px;
    height: 3px;
    background: linear-gradient(90deg, #8A6AFB 0%, #3B82F6 50%, #06B6D4 100%);
    border-radius: 2px;
    transform: scaleX(0);
    transform-origin: left;
    animation: drawLine 2s ease-out 0.5s forwards;
    box-shadow: 0 2px 8px rgba(138, 106, 251, 0.3);
}

.chart-point {
    position: absolute;
    top: 50%;
    right: 40px;
    width: 12px;
    height: 12px;
    background: linear-gradient(135deg, #3B82F6, #8A6AFB);
    border-radius: 50%;
    transform: translate(-50%, -50%) scale(0);
    animation: popIn 0.5s ease-out 2.5s forwards;
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.4);
    border: 3px solid white;
}

.chart-point::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 4px;
    height: 4px;
    background: white;
    border-radius: 50%;
    transform: translate(-50%, -50%);
}

.feature-card:hover .chart-line {
    animation: pulseLine 1s ease-in-out infinite;
}

.feature-card:hover .chart-point {
    animation: bounce 0.6s ease-in-out infinite;
}

@keyframes drawLine {
    to { transform: scaleX(1); }
}

@keyframes popIn {
    to { transform: translate(-50%, -50%) scale(1); }
}

@keyframes pulseLine {
    0%, 100% { opacity: 1; box-shadow: 0 2px 8px rgba(138, 106, 251, 0.3); }
    50% { opacity: 0.8; box-shadow: 0 4px 16px rgba(138, 106, 251, 0.5); }
}

@keyframes bounce {
    0%, 100% { transform: translate(-50%, -50%) scale(1); }
    50% { transform: translate(-50%, -50%) scale(1.3); }
}

/* Donut Chart Visual */
.donut-chart {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    position: relative;
    background: conic-gradient(#8A6AFB 0deg 0deg, #3B82F6 0deg 360deg);
    display: flex;
    align-items: center;
    justify-content: center;
    animation: fillDonut 2s ease-out 1s forwards;
    box-shadow: 0 8px 25px rgba(138, 106, 251, 0.2);
    border: 4px solid white;
}

.donut-chart::before {
    content: '';
    position: absolute;
    top: -4px;
    left: -4px;
    right: -4px;
    bottom: -4px;
    background: conic-gradient(#8A6AFB, #3B82F6, #06B6D4, #3B82F6);
    border-radius: 50%;
    z-index: -1;
    opacity: 0.3;
    filter: blur(8px);
}

.feature-card:hover .donut-chart {
    animation: rotateDonut 2s ease-in-out infinite;
    box-shadow: 0 12px 35px rgba(138, 106, 251, 0.3);
}

@keyframes fillDonut {
    to { background: conic-gradient(#8A6AFB 0deg 270deg, #3B82F6 270deg 360deg); }
}

@keyframes rotateDonut {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.donut-center {
    width: 55px;
    height: 55px;
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.1);
    border: 2px solid rgba(138, 106, 251, 0.1);
}

.donut-percentage {
    font-weight: 700;
    font-size: 16px;
    color: #1F2937;
    letter-spacing: -0.5px;
}

/* Gauge Visual */
.gauge-container {
    width: 100%;
    height: 90px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.gauge {
    width: 80px;
    height: 40px;
    border-radius: 40px 40px 0 0;
    background: linear-gradient(135deg, #f1f5f9 0%, #e2e8f0 100%);
    position: relative;
    overflow: hidden;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.1);
    border: 2px solid rgba(138, 106, 251, 0.1);
}

.gauge::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 30% 20%, rgba(138, 106, 251, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 70% 80%, rgba(59, 130, 246, 0.1) 0%, transparent 50%);
    border-radius: 40px 40px 0 0;
}

.gauge-fill {
    width: 0%;
    height: 100%;
    background: linear-gradient(90deg, #8A6AFB 0%, #3B82F6 50%, #06B6D4 100%);
    border-radius: 40px 40px 0 0;
    position: relative;
    animation: fillGauge 2s ease-out 1.5s forwards;
    box-shadow: 0 2px 8px rgba(138, 106, 251, 0.3);
}

.gauge-fill::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.3) 50%, transparent 100%);
    border-radius: 40px 40px 0 0;
}

.feature-card:hover .gauge-fill {
    animation: pulseGauge 1s ease-in-out infinite;
}

@keyframes fillGauge {
    to { width: 85%; }
}

@keyframes pulseGauge {
    0%, 100% { 
        opacity: 1; 
        box-shadow: 0 2px 8px rgba(138, 106, 251, 0.3);
    }
    50% { 
        opacity: 0.8; 
        box-shadow: 0 4px 16px rgba(138, 106, 251, 0.5);
    }
}

.gauge-lines {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: repeating-linear-gradient(
        90deg,
        transparent 0px,
        transparent 3px,
        rgba(255, 255, 255, 0.4) 3px,
        rgba(255, 255, 255, 0.4) 6px
    );
    border-radius: 40px 40px 0 0;
}

/* Score Gauge Visual */
.score-gauge {
    width: 100px;
    height: 50px;
    border-radius: 50px 50px 0 0;
    background: linear-gradient(135deg, #f1f5f9 0%, #e2e8f0 100%);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.1);
    border: 2px solid rgba(138, 106, 251, 0.1);
}

.score-gauge::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 30%, rgba(138, 106, 251, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(59, 130, 246, 0.1) 0%, transparent 50%);
    border-radius: 50px 50px 0 0;
}

.score-gauge-fill {
    position: absolute;
    top: 0;
    left: 0;
    width: 0%;
    height: 100%;
    background: linear-gradient(90deg, #8A6AFB 0%, #3B82F6 50%, #06B6D4 100%);
    border-radius: 50px 50px 0 0;
    animation: fillScoreGauge 2s ease-out 2s forwards;
    box-shadow: 0 2px 8px rgba(138, 106, 251, 0.3);
}

.score-gauge-fill::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.3) 50%, transparent 100%);
    border-radius: 50px 50px 0 0;
}

.feature-card:hover .score-gauge-fill {
    animation: pulseScoreGauge 1s ease-in-out infinite;
}

@keyframes fillScoreGauge {
    to { width: 92%; }
}

@keyframes pulseScoreGauge {
    0%, 100% { 
        opacity: 1; 
        box-shadow: 0 2px 8px rgba(138, 106, 251, 0.3);
    }
    50% { 
        opacity: 0.8; 
        box-shadow: 0 4px 16px rgba(138, 106, 251, 0.5);
    }
}

.score-number {
    font-weight: 800;
    font-size: 20px;
    color: #1F2937;
    z-index: 2;
    letter-spacing: -1px;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

/* Sync Indicator Visual */
.sync-indicator {
    width: 80px;
    height: 80px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.sync-circle {
    width: 50px;
    height: 50px;
    border: 4px solid transparent;
    border-top: 4px solid #8A6AFB;
    border-right: 4px solid #3B82F6;
    border-radius: 50%;
    position: relative;
    animation: spinCircle 2s linear infinite;
    box-shadow: 0 4px 12px rgba(138, 106, 251, 0.3);
}

.sync-circle::before {
    content: '';
    position: absolute;
    top: -4px;
    left: -4px;
    right: -4px;
    bottom: -4px;
    border: 2px solid transparent;
    border-top: 2px solid rgba(138, 106, 251, 0.3);
    border-radius: 50%;
    animation: spinCircle 3s linear infinite reverse;
}

.sync-lines {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 30px;
    height: 3px;
    background: linear-gradient(90deg, #8A6AFB, #3B82F6);
    transform: translate(-50%, -50%) rotate(45deg);
    animation: rotateLines 4s linear infinite;
    border-radius: 2px;
    box-shadow: 0 2px 8px rgba(138, 106, 251, 0.3);
}

.sync-lines::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, #8A6AFB, #3B82F6);
    border-radius: 2px;
    animation: pulseLines 2s ease-in-out infinite;
}

.feature-card:hover .sync-circle {
    animation: fastSpinCircle 0.8s linear infinite;
    box-shadow: 0 6px 20px rgba(138, 106, 251, 0.4);
}

.feature-card:hover .sync-lines {
    animation: fastRotate 0.3s linear infinite;
}

@keyframes spinCircle {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

@keyframes fastSpinCircle {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

@keyframes rotateLines {
    from { transform: translate(-50%, -50%) rotate(0deg); }
    to { transform: translate(-50%, -50%) rotate(360deg); }
}

@keyframes fastRotate {
    from { transform: translate(-50%, -50%) rotate(0deg); }
    to { transform: translate(-50%, -50%) rotate(360deg); }
}

@keyframes pulseLines {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.6; }
}

.feature-card h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 8px;
    color: #1F2937;
}

.feature-card p {
    font-size: 14px;
    color: #6B7280;
    line-height: 1.5;
}

/* Efecto de partículas flotantes */

.features::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(circle at 20% 20%, rgba(138, 106, 251, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(139, 92, 246, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 40% 60%, rgba(59, 130, 246, 0.1) 0%, transparent 50%);
    animation: floatParticles 20s ease-in-out infinite;
    pointer-events: none;
    z-index: 0;
    transform-origin: center;
    will-change: transform, opacity;
}

@keyframes floatParticles {
    0%, 100% { 
        transform: translateY(0px) scale(1); 
        opacity: 0.3;
    }
    50% { 
        transform: translateY(-15px) scale(1.05); 
        opacity: 0.6;
    }
}

/* Efecto de brillo en hover */
.feature-card::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.feature-card:hover::after {
    opacity: 1;
}

/* New Features Section Styles */
.features-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    max-width: 1200px;
    margin: 60px auto 0;
}

.feature-card-new {
    background: #f8f9fa;
    border-radius: 20px;
    padding: 40px 30px;
    text-align: center;
    position: relative;
    transition: all 0.3s ease;
    border: 1px solid #e9ecef;
}

.feature-card-new:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

/* Enhanced AOS animations for feature cards */
.feature-card-new[data-aos] {
    transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.feature-image[data-aos] {
    transition: all 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.btn-feature[data-aos] {
    transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* Staggered animation effect */
.feature-card-new:nth-child(1) {
    animation-delay: 0.1s;
}

.feature-card-new:nth-child(2) {
    animation-delay: 0.2s;
}

.feature-card-new:nth-child(3) {
    animation-delay: 0.3s;
}

.feature-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #8A6AFB, #3B82F6);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: white;
    font-size: 24px;
}

.feature-card-new h3 {
    font-size: 24px;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 16px;
}

.feature-card-new p {
    font-size: 16px;
    color: #666;
    line-height: 1.6;
    margin-bottom: 30px;
}

.feature-image {
    margin: 0 auto 30px;
    border-radius: 12px;
    overflow: hidden;
    max-width: 100%;
    width: 100%;
}

/* Desktop size reduction - 40% smaller */
@media (min-width: 1025px) {
    .feature-image {
        max-width: 60%;
        width: 60%;
    }
}

.feature-image img {
    width: 100%;
    height: auto;
    max-width: 100%;
    border-radius: 12px;
    transition: transform 0.3s ease;
    display: block;
    object-fit: cover;
}

.dashboard-img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    transition: transform 0.3s ease;
    max-width: 100%;
    display: block;
    object-fit: cover;
}

.dashboard-img:hover {
    transform: scale(1.02);
}


.btn-feature {
    display: inline-block;
    background: #8A6AFB;
    color: white;
    padding: 12px 24px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s ease;
}

.btn-feature:hover {
    background: #7c3aed;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(138, 106, 251, 0.3);
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .features-grid {
        grid-template-columns: 1fr;
        gap: 30px;
        padding: 0 20px;
    }

    .feature-card-new {
        padding: 30px 20px;
    }

    .feature-image {
        margin: 0 auto 20px;
        max-width: 100%;
    }

    .feature-image img {
        width: 100%;
        height: auto;
        max-height: none;
        object-fit: contain;
    }

    .dashboard-img {
        height: auto;
        max-height: 300px;
        object-fit: contain;
    }
}

/* Statistics section */
.stats {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 50%, #6366f1 100%);
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.stats::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 1000 100" fill="white" opacity="0.1"><polygon points="0,0 1000,0 1000,100 0,80"/></svg>') repeat-x;
    background-size: 1000px 100px;
    animation: wave 15s linear infinite;
}

@keyframes wave {
    0% { transform: translateX(0); }
    100% { transform: translateX(-1000px); }
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    text-align: center;
    position: relative;
    z-index: 2;
}

.stat-item {
    padding: 40px 20px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.stat-item::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.stat-item:hover::before {
    opacity: 1;
}

.stat-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    background: rgba(255, 255, 255, 0.15);
}

.stat-number {
    font-size: 56px;
    font-weight: 800;
    margin-bottom: 12px;
    display: block;
    background: linear-gradient(45deg, #ffffff, #f1f5f9);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    position: relative;
    z-index: 3;
}

.stat-label {
    font-size: 18px;
    opacity: 0.95;
    font-weight: 500;
    letter-spacing: 0.5px;
    position: relative;
    z-index: 3;
}

.stat-icon {
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    position: relative;
    z-index: 3;
    transition: all 0.3s ease;
}

.stat-icon i {
    font-size: 24px;
    color: rgba(255, 255, 255, 0.9);
    transition: all 0.3s ease;
}

.stat-item:hover .stat-icon {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.1);
}

.stat-item:hover .stat-icon i {
    color: rgba(255, 255, 255, 1);
    transform: scale(1.1);
}

/* Testimonials section */
.testimonials {
    padding: 100px 0;
    background: #ffffff;
    position: relative;
    overflow: hidden;
}

.testimonials-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 60px;
}

.testimonials-title h2 {
    font-size: 42px;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 12px;
}

.testimonials-title .highlight {
    color: var(--primary);
}

.testimonials-title p {
    font-size: 18px;
    color: #6b7280;
    margin: 0;
}

.testimonials-navigation {
    display: flex;
    gap: 12px;
}



.nav-btn:hover {
    background: var(--primary);
    color: white;
    transform: scale(1.1);
}

.nav-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.testimonials-carousel {
    position: relative;
    overflow: hidden;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(20px);
    padding: 30px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.testimonials-track {
    display: flex;
    transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    gap: 20px;
}

.testimonial-slide {
    min-width: 280px;
    max-width: 280px;
    flex-shrink: 0;
}

.testimonial-card {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(15px);
    padding: 20px;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.06);
    min-height: 280px;
    width: 100%;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.testimonial-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.1);
}

.testimonial-rating {
    display: flex;
    gap: 3px;
    margin-bottom: 15px;
    justify-content: center;
}

.testimonial-rating i {
    color: #fbbf24;
    font-size: 14px;
}

.testimonial-text {
    font-size: 14px;
    line-height: 1.5;
    color: #374151;
    margin-bottom: 20px;
    font-weight: 400;
    flex-grow: 1;
    text-align: center;
}

.testimonial-author {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    text-align: center;
}

.author-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
}

.author-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.author-info h4 {
    font-size: 14px;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 2px;
}

.author-info p {
    font-size: 12px;
    color: #6b7280;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.testimonials-dots {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 40px;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #6b7280;
    cursor: pointer;
    transition: all 0.3s ease;
}

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

.dot:hover {
    background: var(--primary);
    opacity: 0.8;
}

/* Responsive styles for testimonials */
@media (max-width: 1024px) {
    .testimonials-header {
        flex-direction: column;
        gap: 30px;
        text-align: center;
    }
}

@media (max-width: 768px) {
    .testimonials {
        padding: 80px 0;
    }
    
    .testimonials-title h2 {
        font-size: 32px;
    }
    
    .testimonials-carousel {
        padding: 25px 15px;
    }
    
    .testimonials-navigation {
        order: 2;
    }
    
    .nav-btn {
        width: 45px;
        height: 45px;
        font-size: 16px;
    }
    
    .testimonials-dots {
        margin-top: 25px;
    }
}

@media (max-width: 480px) {
    .testimonials-carousel {
        padding: 20px 10px;
    }
    
    .testimonial-slide {
        min-width: 260px;
        max-width: 260px;
    }
    
    .testimonial-card {
        min-height: 260px;
        padding: 18px;
    }
    
    .testimonial-text {
        font-size: 13px;
    }
    
    .author-info h4 {
        font-size: 13px;
    }
    
    .author-info p {
        font-size: 11px;
    }
}

/* How it works - Enhanced Timeline */
.how-it-works {
    padding: 100px 0;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    position: relative;
    overflow: hidden;
}

.how-it-works::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 20%, rgba(138, 106, 251, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(59, 130, 246, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

.timeline-container {
    max-width: 1000px;
    margin: 60px auto 0;
    position: relative;
    z-index: 2;
}

.timeline {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    position: relative;
    padding: 40px 0;
}

.timeline::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 5%;
    right: 5%;
    height: 4px;
    background: linear-gradient(90deg, 
        #e2e8f0 0%, 
        #8A6AFB 20%, 
        #3B82F6 50%, 
        #8A6AFB 80%, 
        #e2e8f0 100%);
    transform: translateY(-50%);
    z-index: 1;
    border-radius: 2px;
    box-shadow: 0 2px 8px rgba(138, 106, 251, 0.2);
}

.timeline-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
    z-index: 2;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    flex: 1;
    max-width: 200px;
}

.timeline-item:hover {
    transform: translateY(-8px);
}

.timeline-marker {
    position: relative;
    margin-bottom: 30px;
}

.marker-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    border: 4px solid #e2e8f0;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.marker-icon::before {
    content: '';
    position: absolute;
    top: -4px;
    left: -4px;
    right: -4px;
    bottom: -4px;
    background: linear-gradient(135deg, #8A6AFB, #3B82F6);
    border-radius: 50%;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.marker-icon i {
    font-size: 24px;
    color: #8A6AFB;
    transition: all 0.3s ease;
    z-index: 2;
}

.marker-number {
    position: absolute;
    top: -12px;
    right: -12px;
    width: 32px;
    height: 32px;
    background: linear-gradient(135deg, #8A6AFB, #3B82F6);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 700;
    border: 4px solid white;
    box-shadow: 0 4px 12px rgba(138, 106, 251, 0.4);
    transition: all 0.3s ease;
}

.timeline-item.active .marker-icon {
    border-color: #8A6AFB;
    background: linear-gradient(135deg, #8A6AFB, #3B82F6);
    box-shadow: 0 12px 35px rgba(138, 106, 251, 0.4);
    transform: scale(1.1);
}

.timeline-item.active .marker-icon::before {
    opacity: 0.3;
}

.timeline-item.active .marker-icon i {
    color: white;
    transform: scale(1.1);
}

.timeline-item.active .marker-number {
    background: linear-gradient(135deg, #3B82F6, #8A6AFB);
    transform: scale(1.2);
    box-shadow: 0 6px 20px rgba(59, 130, 246, 0.5);
}

.timeline-item:hover .marker-icon {
    border-color: #8A6AFB;
    transform: scale(1.15);
    box-shadow: 0 15px 40px rgba(138, 106, 251, 0.3);
}

.timeline-item:hover .marker-icon::before {
    opacity: 0.2;
}

.timeline-item:hover .marker-number {
    transform: scale(1.3);
}

.timeline-content {
    max-width: 180px;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    padding: 20px 15px;
    border-radius: 16px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.3);
    transition: all 0.3s ease;
}

.timeline-item:hover .timeline-content {
    background: rgba(255, 255, 255, 0.95);
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12);
}

.timeline-content h3 {
    font-size: 18px;
    font-weight: 700;
    color: #1F2937;
    margin-bottom: 8px;
    letter-spacing: -0.3px;
    transition: all 0.3s ease;
}

.timeline-content p {
    font-size: 14px;
    color: #6B7280;
    line-height: 1.5;
    margin: 0;
    font-weight: 500;
}

.timeline-item.active .timeline-content {
    background: linear-gradient(135deg, rgba(138, 106, 251, 0.1), rgba(59, 130, 246, 0.1));
    border-color: rgba(138, 106, 251, 0.3);
    box-shadow: 0 12px 30px rgba(138, 106, 251, 0.2);
}

.timeline-item.active .timeline-content h3 {
    color: #8A6AFB;
    font-weight: 800;
}

.timeline-item.active .timeline-content p {
    color: #4B5563;
    font-weight: 600;
}

/* Desktop-specific enhancements for How it Works */
@media (min-width: 1025px) {
    .how-it-works .section-title h2 {
        font-size: 48px;
        margin-bottom: 20px;
        background: linear-gradient(135deg, #1F2937 0%, #8A6AFB 100%);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        background-clip: text;
    }
    
    .how-it-works .section-title p {
        font-size: 22px;
        color: #6B7280;
        font-weight: 500;
    }
    
    .timeline-item {
        position: relative;
    }
    
    .timeline-item::after {
        content: '';
        position: absolute;
        top: 50%;
        left: 50%;
        width: 0;
        height: 0;
        background: radial-gradient(circle, rgba(138, 106, 251, 0.1) 0%, transparent 70%);
        border-radius: 50%;
        transform: translate(-50%, -50%);
        transition: all 0.6s ease;
        z-index: -1;
    }
    
    .timeline-item:hover::after {
        width: 200px;
        height: 200px;
    }
    
    .timeline-item.active::after {
        width: 250px;
        height: 250px;
        background: radial-gradient(circle, rgba(138, 106, 251, 0.15) 0%, transparent 70%);
    }
    
    /* Add subtle animation to the timeline line */
    .timeline::before {
        animation: timelineGlow 3s ease-in-out infinite;
    }
    
    @keyframes timelineGlow {
        0%, 100% { 
            box-shadow: 0 2px 8px rgba(138, 106, 251, 0.2);
        }
        50% { 
            box-shadow: 0 4px 16px rgba(138, 106, 251, 0.4);
        }
    }
    
    /* Enhanced step progression animation */
    .timeline-item {
        animation: fadeInUp 0.6s ease-out forwards;
        opacity: 0;
        transform: translateY(30px);
    }
    
    .timeline-item:nth-child(1) { animation-delay: 0.1s; }
    .timeline-item:nth-child(2) { animation-delay: 0.2s; }
    .timeline-item:nth-child(3) { animation-delay: 0.3s; }
    .timeline-item:nth-child(4) { animation-delay: 0.4s; }
    
    @keyframes fadeInUp {
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }
}


.price-caption {
    background: linear-gradient(135deg, #8A6AFB, #3B82F6);
    color: white;
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 20px;
    display: inline-block;
}





/* CTA Section */
.cta {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: var(--white);
    text-align: center;
}

.cta h2 {
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 20px;
}

.cta p {
    font-size: 20px;
    margin-bottom: 40px;
    opacity: 0.9;
}

.cta .btn {
    background-color: var(--white);
    color: var(--primary);
    font-size: 18px;
    padding: 16px 40px;
}

.cta .btn:hover {
    background-color: rgba(255, 255, 255, 0.9);
    transform: translateY(-2px);
}

/* Modern Footer */
.footer-modern {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 50%, #6366f1 100%);
    color: var(--white);
    padding: 60px 0 0;
    position: relative;
    overflow: hidden;
}

.footer-modern::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" fill="rgba(255, 255, 255, 0.03)"><circle cx="20" cy="20" r="2"/><circle cx="80" cy="20" r="2"/><circle cx="20" cy="80" r="2"/><circle cx="80" cy="80" r="2"/><circle cx="50" cy="50" r="1"/></svg>');
    background-size: 50px 50px;
    animation: footerFloat 30s infinite linear;
}

@keyframes footerFloat {
    0% { transform: translateX(0px) translateY(0px); }
    33% { transform: translateX(-5px) translateY(-10px); }
    66% { transform: translateX(5px) translateY(-5px); }
    100% { transform: translateX(0px) translateY(0px); }
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
    position: relative;
    z-index: 2;
}

.footer-column {
    text-align: left;
}

.footer-brand {
    max-width: 300px;
}

.footer-column h3 {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 25px;
    color: rgba(255, 255, 255, 0.95);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.footer-column p {
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 25px;
    line-height: 1.7;
    font-size: 16px;
}

.footer-column ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-column ul li {
    margin-bottom: 12px;
}

.footer-column ul li a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-size: 15px;
    display: inline-block;
    position: relative;
}

.footer-column ul li a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: rgba(255, 255, 255, 0.9);
    transition: width 0.3s ease;
}

.footer-column ul li a:hover {
    color: rgba(255, 255, 255, 1);
    transform: translateX(5px);
    text-shadow: 0 2px 8px rgba(255, 255, 255, 0.3);
}

.footer-column ul li a:hover::after {
    width: 100%;
}

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

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    color: rgba(255, 255, 255, 0.9);
    border-radius: 12px;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    font-size: 18px;
}

.social-links a:hover {
    background: rgba(255, 255, 255, 0.2);
    color: rgba(255, 255, 255, 1);
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    padding: 30px 0;
    position: relative;
    z-index: 2;
    margin-top: 40px;
}

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

.footer-bottom p {
    color: rgba(255, 255, 255, 0.8);
    margin: 0;
    font-size: 14px;
}

.footer-location {
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9) !important;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

/* Footer responsive */
@media (max-width: 768px) {
    .footer-modern {
        padding: 40px 0 0;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
    }
    
    .footer-brand {
        max-width: 100%;
    }
    
    .footer-bottom-content {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }
    
    .social-links {
        justify-content: center;
    }
}

/* Overlay */
.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(5px);
    z-index: 99;
    display: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.overlay.active {
    display: block;
    opacity: 1;
}

/* Prevent body scroll when mobile menu is open */
body.menu-open {
    overflow: hidden;
    position: fixed;
    width: 100%;
}

@media (max-width: 768px) {
    .header-content {
        padding: 15px 0;
    }

    .mobile-menu-toggle {
        display: flex !important;
    }
    
    nav ul {
        position: fixed;
        top: 0;
        right: -100%;
        width: 85%;
        max-width: 320px;
        height: 100vh;
        background: rgba(255, 255, 255, 0.95);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        border-left: 1px solid rgba(255, 255, 255, 0.3);
        flex-direction: column;
        align-items: flex-start;
        padding: 100px 30px 30px;
        transition: right 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
        box-shadow: -10px 0 30px rgba(0, 0, 0, 0.2);
        z-index: 100;
    }

    nav ul.active {
        right: 0;
    }
    
    nav li {
        margin: 20px 0;
        width: 100%;
    }

    nav li:last-child {
        margin-top: 30px;
    }

    nav li a {
        color: rgba(51, 51, 51, 0.9) !important;
        text-shadow: none !important;
        font-size: 18px;
        display: block;
        padding: 12px 0;
        border-bottom: 1px solid rgba(0, 0, 0, 0.1);
        transition: all 0.3s ease;
    }
    
    nav li a:hover {
        color: var(--primary) !important;
        text-shadow: none !important;
        padding-left: 10px;
    }
    
    nav li a.main-menu::after {
        display: none;
    }

    nav li a.btn {
        display: block;
        text-align: center;
        background: var(--primary) !important;
        color: var(--white) !important;
        border-radius: 25px;
        padding: 15px 20px !important;
        margin-top: 10px;
        border: none;
    }
    
    .hero-content {
        flex-direction: column;
    }
    
    .hero-buttons {
        flex-direction: column;
        width: 100%;
        max-width: 300px;
        margin: 30px auto 0;
    }
    
    .hero h1 {
        font-size: 32px;
    }
    
    .hero p {
        font-size: 16px;
    }
    
    .feature-grid {
        grid-template-columns: 1fr;
        gap: 25px;
        padding: 0 20px;
        max-width: 400px;
        margin: 0 auto;
    }
    
    .feature-card:nth-child(1),
    .feature-card:nth-child(2),
    .feature-card:nth-child(3),
    .feature-card:nth-child(4),
    .feature-card:nth-child(5) {
        grid-column: auto;
        width: 100%;
    }
    
    .feature-card {
        padding: 30px 20px;
        margin: 0;
        width: 100%;
        box-sizing: border-box;
    }
    
    .feature-visual {
        height: 120px;
        margin-bottom: 20px;
        display: flex;
        justify-content: center;
        align-items: center;
    }
    
    .mini-card {
        min-width: 140px;
        padding: 15px;
        margin: 0 5px;
    }
    
    .mini-card-icon {
        width: 40px;
        height: 40px;
        font-size: 20px;
    }
    
    .donut-chart {
        width: 80px;
        height: 80px;
    }
    
    .donut-center {
        width: 55px;
        height: 55px;
    }
    
    .gauge-container {
        width: 100px;
        height: 100px;
    }
    
    .gauge {
        width: 80px;
        height: 40px;
    }
    
    .chart-container {
        width: 120px;
        height: 80px;
    }
    
    .chart-line {
        height: 2px;
    }
    
    .chart-point {
        width: 8px;
        height: 8px;
    }
    
    .sync-indicator {
        width: 60px;
        height: 60px;
    }
    
    .sync-circle {
        width: 50px;
        height: 50px;
    }
    
    .feature-card h3 {
        font-size: 20px;
        margin-bottom: 12px;
    }
    
    .feature-card p {
        font-size: 15px;
        line-height: 1.6;
    }
    
    .score-gauge {
        width: 85px;
        height: 42px;
    }
    
    .gauge {
        width: 65px;
        height: 32px;
    }
    
    .sync-indicator {
        width: 70px;
        height: 70px;
    }
    
    .sync-circle {
        width: 45px;
        height: 45px;
    }

    .stats-grid {
        grid-template-columns: 1fr;
        gap: 25px;
        padding: 0 20px;
    }
    
    .stat-item {
        padding: 30px 20px;
        margin: 0 auto;
        max-width: 280px;
    }
    
    .stat-number {
        font-size: 42px;
    }
    
    .stat-label {
        font-size: 16px;
    }

    .testimonials-grid {
        grid-template-columns: 1fr;
        gap: 25px;
        padding: 0 10px;
    }
    
    .testimonial-card {
        padding: 35px 25px 30px;
        margin: 0 auto;
        max-width: 400px;
    }
    
    .testimonial-text {
        font-size: 16px;
        line-height: 1.6;
    }
    
    .author-avatar {
        width: 60px;
        height: 60px;
    }
    
    .author-info h4 {
        font-size: 18px;
    }
    
    .author-info p {
        font-size: 14px;
    }

    .steps {
        grid-template-columns: 1fr;
    }

    
    .footer-content {
        flex-direction: column;
        gap: 30px;
    }

    .section-title h2 {
        font-size: 28px;
    }

    .section-title p {
        font-size: 16px;
    }

    
}

/* Hero Image */
.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 40px 0;
    background-color: var(--light);
    }

    .hero-image-content {
    width: 80%;
    max-width: 800px;
    height: auto;
    border-radius: 20px;
    transition: transform 0.3s ease;
}

.hero-image-content:hover {
    transform: translateY(-10px);
}

/* Tablet responsive styles */
@media (min-width: 769px) and (max-width: 1024px) {
    .feature-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
        padding: 0 30px;
    }
    
    .feature-card:nth-child(1),
    .feature-card:nth-child(2),
    .feature-card:nth-child(3),
    .feature-card:nth-child(4),
    .feature-card:nth-child(5) {
        grid-column: auto;
        width: 100%;
    }
    
    .feature-card {
        padding: 25px 20px;
    }
    
    .feature-visual {
        height: 110px;
        margin-bottom: 18px;
    }
    
    .feature-card h3 {
        font-size: 19px;
        margin-bottom: 10px;
    }
    
    .feature-card p {
        font-size: 14px;
        line-height: 1.5;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
    
    .stat-item {
        padding: 35px 25px;
    }
    
    .stat-number {
        font-size: 48px;
    }
    
    nav ul {
        gap: 20px;
    }
    
    nav li {
        margin-left: 20px;
    }
    
    .testimonials-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }
    
    .testimonial-card {
        padding: 40px 30px 35px;
        max-width: none;
    }
}

/* Large tablets and small desktops */
@media (min-width: 1025px) and (max-width: 1200px) {
    .stats-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 25px;
    }
    
    .stat-item {
        padding: 35px 15px;
    }
    
    .testimonials-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
    
    .testimonial-card {
        max-width: none;
    }
}

/* Header Enhancements */
header {
    background-color: rgba(255, 255, 255, 0.07) !important;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1) !important;
    width: 100%;
    transition: all 0.3s ease;
} 

header.scrolled {
    background-color: rgba(114, 89, 212, 0.39) !important;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.15) !important;
}

.btn-start {
    background-color: transparent !important;
    color: var(--dark) !important; 
    border: 2px solid var(--primary) !important;
    width: auto !important;
    transition: all 0.3s ease;
} 

.btn-start:hover {
    background-color: var(--primary) !important;
    color: white !important;
    transform: translateY(-2px);
}

nav .main-menu {  
    color: var(--dark) !important;
    position: relative;
    transition: all 0.3s ease;
}

nav .main-menu:hover {
    color: var(--primary) !important;
}

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

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

.overlay.active {
    display: block;
}

/* FAQ Section */
.faq {
    padding: 100px 0;
    background-color: var(--white);
}

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

.faq-item {
    margin-bottom: 20px;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item:hover {
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.faq-question {
    padding: 24px 30px;
    background-color: var(--white);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
    font-size: 18px;
    color: var(--dark);
    transition: all 0.3s ease;
}

.faq-question:hover {
    background-color: var(--light);
}

.faq-question i {
    color: var(--primary);
    transition: transform 0.3s ease;
}

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

.faq-answer {
    padding: 0 30px;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
    background-color: var(--light);
}

.faq-item.active .faq-answer {
    padding: 24px 30px;
    max-height: 200px;
}

.faq-answer p {
    color: var(--gray);
    line-height: 1.6;
    margin: 0;
}

/* CTA Buttons */
.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-outline {
    background-color: transparent;
    color: var(--white);
    border: 2px solid var(--white);
}

.btn-outline:hover {
    background-color: var(--white);
    color: var(--primary);
    transform: translateY(-2px);
}

/* WhatsApp Floating Button */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 9999;
    transform: translateY(0px);
    animation: whatsappFloat 3s ease-in-out infinite;
}

.whatsapp-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background: #25D366;
    color: white;
    border-radius: 50%;
    text-decoration: none;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.whatsapp-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, #25D366, #128C7E);
    border-radius: 50%;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.whatsapp-btn:hover::before {
    opacity: 1;
}

.whatsapp-btn i {
    font-size: 28px;
    z-index: 2;
    position: relative;
    transition: transform 0.3s ease;
}

.whatsapp-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 8px 30px rgba(37, 211, 102, 0.6);
}

.whatsapp-btn:hover i {
    transform: scale(1.1);
}


/* WhatsApp Animations */
@keyframes whatsappFloat {
    0% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-8px);
    }
    100% {
        transform: translateY(0px);
    }
}

.whatsapp-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 8px 30px rgba(37, 211, 102, 0.6);
}

.whatsapp-btn:hover i {
    transform: scale(1.1);
}


/* Mobile responsive for WhatsApp button */
@media (max-width: 768px) {
    .whatsapp-float {
        bottom: 20px;
        right: 20px;
    }
    
    .whatsapp-btn {
        width: 55px;
        height: 55px;
    }
    
    .whatsapp-btn i {
        font-size: 24px;
    }
    
}

@media (max-width: 480px) {
    .whatsapp-float {
        bottom: 15px;
        right: 15px;
    }
    
    .whatsapp-btn {
        width: 50px;
        height: 50px;
    }
    
    .whatsapp-btn i {
        font-size: 22px;
    }
    
}

/* Additional mobile styles */
@media (max-width: 768px) {
    .hero-image-content {  
        width: 95%;
    }

    .feature-image {
        margin: 0 auto 15px;
    }

    .feature-image img {
        max-height: none;
        object-fit: contain;
    }
    nav .main-menu {
        color: var(--dark) !important;
    }

    .btn-start {
        width: 100% !important;
    }
    .faq-question {
        padding: 20px;
        font-size: 16px;
    }

    .faq-answer {
        padding: 0 20px;
    }

    .faq-item.active .faq-answer {
        padding: 20px;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .cta-buttons .btn {
        width: 100%;
        max-width: 300px;
    }
    /* How it works mobile - Enhanced Timeline */
    .timeline {
        flex-direction: column;
        gap: 30px;
        padding: 20px 0;
    }
    
    .timeline::before {
        display: none;
    }
    
    .timeline-item {
        flex-direction: row;
        text-align: left;
        gap: 20px;
        padding: 25px 20px;
        background: rgba(255, 255, 255, 0.9);
        backdrop-filter: blur(10px);
        border-radius: 16px;
        box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
        border: 1px solid rgba(255, 255, 255, 0.3);
        width: 100%;
        max-width: none;
        transition: all 0.3s ease;
    }
    
    .timeline-item:hover {
        transform: translateY(-3px);
        box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
    }
    
    .timeline-marker {
        margin-bottom: 0;
        flex-shrink: 0;
    }
    
    .marker-icon {
        width: 60px;
        height: 60px;
        border: 3px solid #e2e8f0;
    }
    
    .marker-icon i {
        font-size: 20px;
    }
    
    .marker-number {
        width: 28px;
        height: 28px;
        font-size: 12px;
        top: -8px;
        right: -8px;
        border: 3px solid white;
    }
    
    .timeline-content {
        max-width: none;
        flex: 1;
        background: transparent;
        padding: 0;
        box-shadow: none;
        border: none;
    }
    
    .timeline-content h3 {
        font-size: 18px;
        margin-bottom: 6px;
        font-weight: 700;
    }
    
    .timeline-content p {
        font-size: 14px;
        line-height: 1.5;
        font-weight: 500;
    }
    
    .timeline-item.active .timeline-content {
        background: transparent;
        border: none;
        box-shadow: none;
    }
    
    .timeline-item.active .timeline-content h3 {
        color: #8A6AFB;
    }
}

.cta .btn {
    background-color: var(--white);
    color: var(--primary);
    font-size: 18px;
    padding: 16px 40px;
}