/* Reset and Base Styles */
:root {
    --color-bg-deep: #0a0510;
    --color-bg-secondary: #1a0b26;
    --color-primary: #8a2be2; /* BlueViolet */
    --color-primary-dark: #4b0082; /* Indigo */
    --color-accent: #d4af37; /* Metallic Gold */
    --color-accent-hover: #f1cf59;
    --color-text: #f0e6fa;
    --color-text-muted: #b09abf;
    --color-whatsapp: #25d366;
    --color-whatsapp-hover: #128c7e;
    
    --glass-bg: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(212, 175, 55, 0.2);
    --glass-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.5);
    
    --font-heading: 'Cinzel', serif;
    --font-body: 'Montserrat', sans-serif;
}

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

body {
    font-family: var(--font-body);
    background-color: var(--color-bg-deep);
    background-image: 
        radial-gradient(circle at 15% 50%, rgba(75, 0, 130, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 85% 30%, rgba(138, 43, 226, 0.1) 0%, transparent 50%);
    color: var(--color-text);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4 {
    font-family: var(--font-heading);
    color: var(--color-accent);
    font-weight: 700;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

/* Glassmorphism Utility */
.glass {
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    box-shadow: var(--glass-shadow);
}

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

.text-center {
    text-center;
}

/* Header */
header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(10, 5, 16, 0.85);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(212, 175, 55, 0.1);
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.8rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    text-shadow: 0 0 10px rgba(212, 175, 55, 0.3);
}

/* Buttons */
.btn-primary, .btn-secondary, .btn-outline, .btn-service {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 28px;
    border-radius: 30px;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-primary {
    background: linear-gradient(135deg, var(--color-whatsapp), var(--color-whatsapp-hover));
    color: #fff;
    border: none;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.6);
}

.btn-secondary {
    background: linear-gradient(135deg, var(--color-primary), var(--color-primary-dark));
    color: #fff;
    border: 1px solid var(--color-accent);
}

.btn-secondary:hover {
    background: linear-gradient(135deg, var(--color-primary-dark), var(--color-primary));
    transform: translateY(-2px);
    box-shadow: 0 0 20px rgba(138, 43, 226, 0.5);
}

.btn-outline {
    background: transparent;
    border: 1px solid var(--color-whatsapp);
    color: var(--color-whatsapp);
    padding: 8px 20px;
    font-size: 0.9rem;
}

.btn-outline:hover {
    background: rgba(37, 211, 102, 0.1);
    color: #fff;
    border-color: #fff;
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 120px 20px 60px;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: url('https://images.unsplash.com/photo-1518531933037-91b2f5f229cc?q=80&w=1920&auto=format&fit=crop') center/cover no-repeat;
    opacity: 0.15;
    z-index: 0;
}

.hero-overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(to bottom, transparent, var(--color-bg-deep));
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
}

.badge {
    display: inline-block;
    padding: 6px 16px;
    background: rgba(212, 175, 55, 0.1);
    border: 1px solid var(--color-accent);
    color: var(--color-accent);
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 20px;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.hero-title {
    font-size: 3.5rem;
    line-height: 1.2;
    margin-bottom: 25px;
    text-shadow: 0 0 20px rgba(212, 175, 55, 0.4);
}

.hero-subtitle {
    font-size: 1.15rem;
    color: var(--color-text-muted);
    margin-bottom: 40px;
}

/* Why Us Section */
.why-us {
    padding: 100px 0;
    position: relative;
    background-color: var(--color-bg-secondary);
}

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

.section-title h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.section-title p {
    color: var(--color-text-muted);
    max-width: 600px;
    margin: 0 auto;
}

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

.feature-card {
    padding: 40px 30px;
    text-align: center;
    transition: transform 0.3s ease;
}

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

.icon-wrapper {
    width: 80px;
    height: 80px;
    margin: 0 auto 25px;
    background: linear-gradient(135deg, rgba(138, 43, 226, 0.2), rgba(212, 175, 55, 0.1));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--color-accent);
    border: 1px solid var(--glass-border);
}

.feature-card h3 {
    font-size: 1.4rem;
    margin-bottom: 15px;
}

.feature-card p {
    color: var(--color-text-muted);
    font-size: 0.95rem;
}

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

/* Services Section */
.services {
    padding: 100px 0;
    position: relative;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 35px;
}

.service-card {
    padding: 40px;
    display: flex;
    flex-direction: column;
    height: 100%;
    transition: all 0.4s ease;
}

.service-card:hover {
    border-color: var(--color-accent);
    box-shadow: 0 10px 40px rgba(138, 43, 226, 0.2);
}

.service-icon {
    font-size: 2.5rem;
    color: var(--color-accent);
    margin-bottom: 25px;
}

.service-card h3 {
    font-size: 1.6rem;
    margin-bottom: 20px;
    min-height: 60px;
}

.service-card p {
    color: var(--color-text-muted);
    margin-bottom: 30px;
    flex-grow: 1;
}

.btn-service {
    align-self: flex-start;
    background: transparent;
    border: 1px solid var(--color-primary);
    color: var(--color-text);
    padding: 10px 20px;
    font-size: 0.9rem;
}

.btn-service:hover {
    background: var(--color-primary);
    border-color: var(--color-primary);
}

/* Final CTA */
.final-cta {
    padding: 100px 20px;
    background: linear-gradient(rgba(10, 5, 16, 0.9), rgba(10, 5, 16, 0.9)), url('https://images.unsplash.com/photo-1603513361110-3882a176ebc1?q=80&w=1920&auto=format&fit=crop') center/cover fixed;
    text-align: center;
}

.final-cta h2 {
    font-size: 3rem;
    margin-bottom: 20px;
    text-shadow: 0 0 30px rgba(212, 175, 55, 0.5);
}

.final-cta p {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto 40px;
}

/* Floating WhatsApp */
.floating-wa {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: var(--color-whatsapp);
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 35px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
    z-index: 9999;
    animation: pulse 2s infinite;
}

.floating-wa:hover {
    background-color: var(--color-whatsapp-hover);
    transform: scale(1.1);
}

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7); }
    70% { box-shadow: 0 0 0 15px rgba(37, 211, 102, 0); }
    100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

.pulse {
    animation: pulse 2s infinite;
}

/* Footer */
footer {
    background: #05020a;
    padding: 60px 20px 20px;
    border-top: 1px solid rgba(212, 175, 55, 0.1);
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.footer-info h3 {
    font-size: 1.8rem;
    margin-bottom: 15px;
}

.footer-info p {
    color: var(--color-text-muted);
    margin-bottom: 10px;
}

.disclaimer {
    font-size: 0.85rem;
    opacity: 0.7;
    margin-top: 20px;
}

.footer-copyright {
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.05);
    font-size: 0.85rem;
    color: rgba(255,255,255,0.4);
}

.sinergia-link {
    display: inline-block;
    margin-top: 10px;
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.2);
    text-decoration: none;
    transition: color 0.3s ease;
}

.sinergia-link:hover {
    color: rgba(255, 255, 255, 0.6);
}

/* Responsive */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.2rem;
    }
    
    .section-title h2 {
        font-size: 2rem;
    }
    
    .hero {
        padding-top: 150px;
    }
    
    .floating-wa {
        bottom: 20px;
        right: 20px;
        width: 55px;
        height: 55px;
        font-size: 30px;
    }

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