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

:root {
    --primary-blue: #0086b7;
    --primary-green: #00a487;
    --accent-yellow: #ffff00;
    --accent-orange: #ff6132;
    --light-green: #48bd8d;
    --lighter-green: #a8eb9b;
    --light-blue: #00ace4;
    --text-dark: #333;
    --text-light: #666;
    --bg-light: #f8f9fa;
    --white: #ffffff;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
}

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

/* Navbar */
.navbar {
    background: var(--white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 20px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo img {
    height: 50px;
    width: auto;
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-blue);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-menu a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

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

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

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

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #00ace4 0%, #0086b7 100%);
    color: var(--white);
    padding: 100px 0;
}

.hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.hero-content h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.hero-content p {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    opacity: 0.95;
}

.btn-primary {
    display: inline-block;
    background: var(--accent-orange);
    color: var(--white);
    border: none;
    padding: 15px 40px;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 97, 50, 0.3);
    text-decoration: none;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 97, 50, 0.4);
    color: var(--white);
}

.hero-image img {
    width: 100%;
    max-width: 400px;
    height: auto;
    filter: drop-shadow(0 10px 30px rgba(0, 0, 0, 0.2));
    animation: float 3s ease-in-out infinite;
}

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

/* Featured Product Section - Sistema Agro */
.featured-product {
    padding: 100px 0;
    background: linear-gradient(135deg, rgba(0, 164, 135, 0.05) 0%, rgba(72, 189, 141, 0.05) 100%);
    position: relative;
    overflow: hidden;
}

.featured-product::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(0, 164, 135, 0.1) 0%, transparent 70%);
    border-radius: 50%;
}

.new-badge {
    display: inline-block;
    background: linear-gradient(135deg, var(--accent-orange), #ff8c5a);
    color: var(--white);
    padding: 8px 20px;
    border-radius: 25px;
    font-weight: 700;
    font-size: 0.9rem;
    margin-bottom: 20px;
    box-shadow: 0 4px 15px rgba(255, 97, 50, 0.3);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

.featured-product h2 {
    font-size: 3rem;
    color: var(--primary-green);
    margin-bottom: 15px;
    text-align: center;
}

.featured-product .subtitle {
    font-size: 1.4rem;
    color: var(--text-light);
    text-align: center;
    margin-bottom: 60px;
}

.product-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
    margin-bottom: 50px;
}

.product-feature {
    background: var(--white);
    padding: 40px 30px;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.4s ease;
    border: 3px solid transparent;
}

.product-feature:hover {
    transform: translateY(-15px);
    box-shadow: 0 20px 50px rgba(0, 164, 135, 0.2);
    border-color: var(--primary-green);
}

.feature-icon-large {
    width: 100px;
    height: 100px;
    margin: 0 auto 25px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.4s ease;
}

.feature-icon-large.green {
    background: linear-gradient(135deg, rgba(0, 164, 135, 0.1), rgba(72, 189, 141, 0.1));
    color: var(--primary-green);
}

.product-feature:hover .feature-icon-large {
    transform: scale(1.15) rotate(10deg);
    background: linear-gradient(135deg, var(--primary-green), var(--light-green));
    color: var(--white);
}

.product-feature h3 {
    font-size: 1.6rem;
    color: var(--text-dark);
    margin-bottom: 15px;
}

.product-feature p {
    color: var(--text-light);
    line-height: 1.8;
    font-size: 1.05rem;
}

.cta-center {
    text-align: center;
}

.btn-large {
    padding: 18px 50px;
    font-size: 1.2rem;
}

/* Services Section - Otros servicios */
.services {
    padding: 80px 0;
    background: var(--white);
}

.services h2 {
    text-align: center;
    font-size: 2.5rem;
    color: var(--primary-blue);
    margin-bottom: 50px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 40px;
    max-width: 1100px;
    margin: 0 auto;
}

.service-card {
    background: var(--bg-light);
    padding: 45px 35px;
    border-radius: 15px;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
    background: var(--white);
    border-color: var(--primary-blue);
}

.service-icon {
    width: 90px;
    height: 90px;
    margin: 0 auto 25px;
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.service-icon.blue {
    background: linear-gradient(135deg, rgba(0, 134, 183, 0.1), rgba(0, 172, 228, 0.1));
    color: var(--primary-blue);
}

.service-icon.orange {
    background: linear-gradient(135deg, rgba(255, 97, 50, 0.1), rgba(255, 140, 90, 0.1));
    color: var(--accent-orange);
}

.service-card:hover .service-icon {
    transform: scale(1.1);
}

.service-card:hover .service-icon.blue {
    background: linear-gradient(135deg, var(--primary-blue), var(--light-blue));
    color: var(--white);
}

.service-card:hover .service-icon.orange {
    background: linear-gradient(135deg, var(--accent-orange), #ff8c5a);
    color: var(--white);
}

.service-card h3 {
    font-size: 1.5rem;
    color: var(--text-dark);
    margin-bottom: 15px;
}

.service-card > p {
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 20px;
}

.service-features {
    list-style: none;
    padding: 0;
    margin-top: 20px;
}

.service-features li {
    color: var(--text-light);
    padding: 8px 0;
    font-size: 1rem;
    line-height: 1.6;
}

/* About Section */
.about {
    padding: 80px 0;
    background: var(--bg-light);
}

.about-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.about h2 {
    font-size: 2.5rem;
    color: var(--primary-blue);
    margin-bottom: 30px;
}

.about p {
    font-size: 1.2rem;
    color: var(--text-light);
    margin-bottom: 20px;
    line-height: 1.8;
}

/* Contact Section */
.contact {
    padding: 80px 0;
    background: var(--white);
}

.contact h2 {
    text-align: center;
    font-size: 2.5rem;
    color: var(--primary-blue);
    margin-bottom: 50px;
}

.contact-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    max-width: 1000px;
    margin: 0 auto;
}

.contact-item {
    text-align: center;
    padding: 30px;
    background: var(--bg-light);
    border-radius: 10px;
    transition: all 0.3s ease;
}

.contact-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.contact-item h3 {
    color: var(--primary-green);
    margin-bottom: 10px;
    font-size: 1.3rem;
}

.contact-item p {
    color: var(--text-light);
    font-size: 1.1rem;
}

/* Footer */
footer {
    background: linear-gradient(135deg, #0086b7 0%, #00a487 100%);
    color: var(--white);
    padding: 40px 0;
}

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

.footer-logo {
    display: flex;
    align-items: center;
    gap: 15px;
}

.footer-logo img {
    height: 60px;
    width: auto;
    filter: brightness(0) invert(1);
}

.footer-logo p {
    font-size: 1.1rem;
    font-weight: 500;
}

.footer-copy p {
    opacity: 0.9;
}

/* Responsive */
@media (max-width: 768px) {
    .hero .container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .hero-content p {
        font-size: 1.1rem;
    }
    
    .hero-image {
        order: -1;
    }
    
    .hero-image img {
        max-width: 250px;
    }
    
    .nav-menu {
        gap: 1rem;
    }
    
    .featured-product h2 {
        font-size: 2rem;
    }
    
    .featured-product .subtitle {
        font-size: 1.1rem;
    }
    
    .services h2,
    .about h2,
    .contact h2 {
        font-size: 2rem;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .btn-large {
        padding: 15px 35px;
        font-size: 1.1rem;
    }
    
    .footer-content {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .nav-menu {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .logo-text {
        font-size: 1.2rem;
    }
    
    .hero {
        padding: 60px 0;
    }
    
    .whatsapp-float {
        width: 55px;
        height: 55px;
        bottom: 15px;
        right: 15px;
    }
}

/* WhatsApp Floating Button */
.whatsapp-float {
    position: fixed;
    width: 65px;
    height: 65px;
    bottom: 25px;
    right: 25px;
    background: linear-gradient(135deg, #25D366, #128C7E);
    color: var(--white);
    border-radius: 50%;
    text-align: center;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    z-index: 1000;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: whatsapp-pulse 2s infinite;
}

.whatsapp-float svg {
    width: 36px;
    height: 36px;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 30px rgba(37, 211, 102, 0.6);
    background: linear-gradient(135deg, #128C7E, #25D366);
}

@keyframes whatsapp-pulse {
    0%, 100% {
        box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    }
    50% {
        box-shadow: 0 4px 30px rgba(37, 211, 102, 0.7), 0 0 0 10px rgba(37, 211, 102, 0.1);
    }
}

