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

:root {
    --primary: #072e64;
    --secondary: #d4394b;
    --accent: #3182ce;
    --header: #030014;
    --light: #f7fafc;
    --dark: #2d3748;
    --gradient: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    line-height: 1.6;
    color: #2d3748;
    overflow-x: hidden;
}

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

/* Header */
header {
    background: var(--header);
    backdrop-filter: blur(10px);
    color: white;
    padding: 0.4rem 0;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: all 0.3s ease;
}

header.scrolled {
    box-shadow: 0 6px 30px rgba(0,0,0,0.2);
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

header .logo h1 {
    font-size: 1.8rem;
    font-weight: 700;
    background: linear-gradient(135deg, #fff 0%, #a0aec0 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

nav {
    display: flex;
    gap: 2.5rem;
}

nav a {
    color: white;
    text-decoration: none;
    transition: all 0.3s;
    font-weight: 500;
    position: relative;
    padding: 0.5rem 0;
}

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

nav a:hover::after,
nav a.active::after {
    width: 100%;
}

nav a:hover {
    color: var(--accent);
}

/* Hero Section */
.hero {
    position: relative;
    background: linear-gradient(135deg, rgba(26, 54, 93, 0.9) 0%, rgba(45, 55, 72, 0.9) 100%),
                url('data:image/svg+xml,%3Csvg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"%3E%3Cpath fill="%231a365d" fill-opacity="0.3" d="M0,96L48,112C96,128,192,160,288,160C384,160,480,128,576,122.7C672,117,768,139,864,138.7C960,139,1056,117,1152,106.7C1248,96,1344,96,1392,96L1440,96L1440,0L1392,0C1344,0,1248,0,1152,0C1056,0,960,0,864,0C768,0,672,0,576,0C480,0,384,0,288,0C192,0,96,0,48,0L0,0Z"%3E%3C/path%3E%3C/svg%3E');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: white;
    padding: 8rem 0;
    text-align: center;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 50%, rgba(102, 126, 234, 0.1) 0%, transparent 50%);
    animation: pulse 8s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 0.5; }
    50% { opacity: 0.8; }
}

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

.hero h2 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    font-weight: 800;
    animation: fadeInUp 1s ease;
    text-shadow: 2px 2px 20px rgba(0,0,0,0.3);
}

.hero p {
    font-size: 1.4rem;
    opacity: 0.95;
    margin-bottom: 2rem;
    animation: fadeInUp 1s ease 0.2s both;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    animation: fadeInUp 1s ease 0.4s both;
}

.btn {
    background: var(--secondary);
    color: white;
    padding: 1rem 2.5rem;
    border: none;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    text-decoration: none;
    display: inline-block;
    box-shadow: 0 4px 15px rgba(212, 57, 75, 0.3);
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(212, 57, 75, 0.4);
}

.btn-outline {
    background: transparent;
    border: 2px solid white;
    box-shadow: none;
}

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

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Slider Section */
.slider-section {
    padding: 5rem 0;
    background: var(--light);
}

.slider-section h2 {
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: var(--primary);
    text-align: center;
}

.slider-container {
    position: relative;
    overflow: hidden;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
}

.slider {
    display: flex;
    transition: transform 0.5s ease;
}

.slide {
    min-width: 100%;
    position: relative;
}

.slide img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    display: block;
}

.slide-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, transparent 100%);
    padding: 3rem 2rem;
    color: white;
}

.slide-content h3 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.slider-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255,255,255,0.9);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
    z-index: 10;
}

.slider-nav:hover {
    background: white;
    transform: translateY(-50%) scale(1.1);
}

.slider-nav.prev {
    left: 20px;
}

.slider-nav.next {
    right: 20px;
}

.slider-dots {
    text-align: center;
    padding: 1rem 0;
}

.dot {
    display: inline-block;
    width: 12px;
    height: 12px;
    background: #cbd5e0;
    border-radius: 50%;
    margin: 0 5px;
    cursor: pointer;
    transition: all 0.3s;
}

.dot.active {
    background: var(--secondary);
    width: 30px;
    border-radius: 6px;
}

/* Stats Section */
.stats-section {
    background: var(--gradient);
    color: white;
    padding: 4rem 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 3rem;
    text-align: center;
}

.stat-item {
    animation: fadeInUp 1s ease;
}

.stat-number {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
    display: block;
}

.stat-label {
    font-size: 1.1rem;
    opacity: 0.9;
}

/* Features Section */
.features-section {
    padding: 5rem 0;
}

.features-section h2 {
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: var(--primary);
    text-align: center;
}

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

.feature-card {
    background: white;
    padding: 2.5rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    transition: all 0.3s;
    border: 2px solid transparent;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
    border-color: var(--accent);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    display: block;
}

.feature-card h3 {
    color: var(--primary);
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.feature-card p {
    color: #4a5568;
    line-height: 1.8;
}

/* Products Grid */
.products-section {
    padding: 5rem 0;
    background: var(--light);
}

.products-section h2 {
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: var(--primary);
    text-align: center;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
}

.product-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.product-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--gradient);
    opacity: 0;
    transition: opacity 0.4s;
    z-index: 1;
    pointer-events: none;
}

.product-card:hover::before {
    opacity: 0.1;
}

.product-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 50px rgba(0,0,0,0.15);
}

.product-card img {
    width: 100%;
    height: 280px;
    object-fit: cover;
    cursor: pointer;
    transition: transform 0.4s;
}

.product-card:hover img {
    transform: scale(1.1);
}

.product-card .content {
    padding: 2rem;
    position: relative;
    z-index: 2;
}

.product-card h3 {
    color: var(--primary);
    margin-bottom: 0.8rem;
    font-size: 1.5rem;
}

.product-card p {
    color: #4a5568;
    line-height: 1.6;
}

/* Testimonials */
.testimonials-section {
    padding: 5rem 0;
    background: white;
}

.testimonials-section h2 {
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: var(--primary);
    text-align: center;
}

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

.testimonial-card {
    background: var(--light);
    padding: 2rem;
    border-radius: 15px;
    position: relative;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.testimonial-card::before {
    content: '"';
    font-size: 5rem;
    color: var(--accent);
    opacity: 0.2;
    position: absolute;
    top: -10px;
    left: 20px;
    font-family: Georgia, serif;
}

.testimonial-text {
    margin-bottom: 1.5rem;
    font-style: italic;
    color: #4a5568;
    line-height: 1.8;
}

.testimonial-author {
    font-weight: 600;
    color: var(--primary);
}

.testimonial-company {
    font-size: 0.9rem;
    color: #718096;
}

/* Contact Section */
.contact-section {
    padding: 5rem 0;
    background: var(--light);
}

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

.contact-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

.contact-card {
    background: white;
    padding: 2.5rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    text-align: center;
    transition: all 0.3s;
}

.contact-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.12);
}

.contact-card h3 {
    color: var(--primary);
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.contact-form {
    max-width: 700px;
    margin: 3rem auto;
    background: white;
    padding: 3rem;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
}

.contact-form h3 {
    text-align: center;
    margin-bottom: 2rem;
    color: var(--primary);
    font-size: 1.8rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--dark);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    border: 2px solid #e2e8f0;
    border-radius: 10px;
    font-size: 1rem;
    transition: all 0.3s;
    font-family: inherit;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(49, 130, 206, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 150px;
}

.success-message {
    background: #48bb78;
    color: white;
    padding: 1rem;
    border-radius: 10px;
    margin-bottom: 1.5rem;
    text-align: center;
}

/* Footer */
footer {
    background: var(--primary);
    color: white;
    padding: 4rem 0 1.5rem;
    margin-top: 5rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-section h3 {
    margin-bottom: 1.5rem;
    font-size: 1.3rem;
}

.footer-section p {
    margin-bottom: 0.8rem;
    opacity: 0.9;
    line-height: 1.8;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.1);
    opacity: 0.8;
}

/* About Content */
.about-content {
    max-width: 900px;
    margin: 0 auto;
    padding: 2rem;
    background: white;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.08);
    font-size: 1.15rem;
    line-height: 1.9;
    color: #4a5568;
}

/* Responsive */
@media (max-width: 768px) {
    header .container {
        flex-direction: column;
        gap: 1rem;
    }
    
    nav {
        gap: 0.9rem;
        flex-wrap: nowrap;
        justify-content: center;
        font-size: 0.82rem;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        padding-bottom: 2px;
    }
    
    .hero h2 {
        font-size: 2.2rem;
    }
    
    .hero p {
        font-size: 1.1rem;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .slide img {
        height: 300px;
    }

    .stat-number {
        font-size: 2.5rem;
    }

    .products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }

    .product-card img {
        height: 160px;
    }

    .product-card .content {
        padding: 0.7rem;
    }

    .product-card .content h3 {
        font-size: 0.82rem;
    }

    .features-grid,
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
}

/* Scroll animations */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Floating Buttons */
.floating-whatsapp {
    position: fixed;
    bottom: 2rem;
    left: 2rem;
    z-index: 9999;
    display: flex;
    align-items: center;
    gap: 0.6rem;
    background: #25d366;
    color: white;
    text-decoration: none;
    padding: 0.75rem 1.2rem;
    border-radius: 50px;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.45);
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.floating-whatsapp:hover {
    background: #1ebe5d;
    box-shadow: 0 6px 28px rgba(37, 211, 102, 0.6);
    transform: translateY(-3px);
    color: white;
    text-decoration: none;
}

.floating-whatsapp svg {
    width: 22px;
    height: 22px;
    flex-shrink: 0;
}

.scroll-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    z-index: 9999;
    width: 48px;
    height: 48px;
    background: var(--primary);
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(0,0,0,0.25);
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s ease;
}

.scroll-to-top.visible {
    opacity: 1;
    pointer-events: auto;
}

.scroll-to-top:hover {
    background: var(--secondary);
    transform: translateY(-3px);
    box-shadow: 0 6px 28px rgba(0,0,0,0.3);
}

.scroll-to-top svg {
    width: 22px;
    height: 22px;
}

@media (max-width: 768px) {
    .floating-whatsapp span {
        display: none;
    }
    .floating-whatsapp {
        padding: 0.75rem;
        border-radius: 50%;
    }
}

/* Lightbox */
.lightbox-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.92);
    z-index: 9999;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}
.lightbox-overlay.active {
    display: flex;
}
.lightbox-img {
    max-width: 92vw;
    max-height: 82vh;
    object-fit: contain;
    border-radius: 6px;
    box-shadow: 0 8px 40px rgba(0,0,0,0.6);
    user-select: none;
}
.lightbox-caption {
    color: rgba(255,255,255,0.85);
    margin-top: 1rem;
    font-size: 0.95rem;
    text-align: center;
    max-width: 80vw;
}
.lightbox-counter {
    color: rgba(255,255,255,0.45);
    font-size: 0.8rem;
    margin-top: 0.3rem;
}
.lightbox-close {
    position: fixed;
    top: 1.2rem;
    right: 1.5rem;
    color: white;
    font-size: 2.2rem;
    cursor: pointer;
    line-height: 1;
    opacity: 0.8;
    background: none;
    border: none;
    padding: 0.2rem 0.5rem;
    transition: opacity 0.2s;
}
.lightbox-close:hover { opacity: 1; }
.lightbox-btn {
    position: fixed;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255,255,255,0.12);
    border: none;
    color: white;
    font-size: 2rem;
    padding: 0.8rem 1.1rem;
    cursor: pointer;
    border-radius: 6px;
    transition: background 0.2s;
    line-height: 1;
}
.lightbox-btn:hover { background: rgba(255,255,255,0.25); }
.lightbox-prev { left: 1rem; }
.lightbox-next { right: 1rem; }
@media (max-width: 768px) {
    .lightbox-btn { padding: 0.5rem 0.7rem; font-size: 1.5rem; }
    .lightbox-prev { left: 0.3rem; }
    .lightbox-next { right: 0.3rem; }
}
