/* Non-Critical CSS - Below the fold styles */

/* Feature Cards */
.feature-card {
    background: white;
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
}

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

/* Pricing Cards */
.pricing-card {
    background: white;
    border-radius: 20px;
    padding: 40px 30px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    position: relative;
    overflow: hidden;
}

.pricing-card.featured {
    border: 3px solid var(--primary-color);
    transform: scale(1.05);
}

.pricing-card.featured::before {
    content: 'MÁS POPULAR';
    position: absolute;
    top: 20px;
    right: -30px;
    background: var(--primary-color);
    color: white;
    padding: 5px 40px;
    font-size: 12px;
    font-weight: 700;
    transform: rotate(45deg);
}

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

/* Sections */
.section-padding {
    padding: 80px 0;
}

.stats-section {
    background: var(--light-gray);
}

/* Testimonials */
.testimonial-card {
    background: white;
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

/* Integration Logos */
.integration-logo {
    width: 120px;
    height: 80px;
    background: white;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.integration-logo:hover {
    transform: scale(1.05);
}

/* Code Preview */
.code-preview {
    background: #1a1a1a;
    color: #fff;
    border-radius: 10px;
    padding: 20px;
    font-family: 'Courier New', monospace;
    font-size: 14px;
    position: relative;
}

.code-preview::before {
    content: '● ● ●';
    position: absolute;
    top: 10px;
    left: 15px;
    color: #ff6b6b;
    font-size: 20px;
}

/* Hero Section Background Pattern */
.hero-section::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 1000"><polygon fill="%23ffffff08" points="0,0 1000,300 1000,1000 0,700"/></svg>');
}

/* WhatsApp Float Button Styles */
.whatsapp-float {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: #25d366;
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    text-decoration: none;
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
    transition: transform 0.3s ease;
    z-index: 1000;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    color: white;
}

.whatsapp-float:focus {
    color: white;
}

/* Load Web Fonts when CSS is loaded */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;600;700;800&display=swap');

/* Apply fonts when loaded */
body {
    font-family: 'Inter', system-ui, -apple-system, sans-serif !important;
}

/* Additional optimizations for better performance */
* {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Reduce layout shifts */
img {
    height: auto;
    max-width: 100%;
}

/* Optimize animations for performance */
.animate-on-scroll {
    will-change: opacity, transform;
}

.animate-on-scroll.animated {
    will-change: auto;
}

/* GPU acceleration for hover effects */
.feature-card,
.pricing-card,
.integration-logo,
.btn-primary-custom,
.whatsapp-float {
    transform: translateZ(0);
    backface-visibility: hidden;
}
