:root {
    --primary-color: #28a745;
    --secondary-color: #6c757d;
    --accent-color: #ffc107;
    --text-dark: #212529;
    --text-muted: #6c757d;
}

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

.navbar-dark {
    background-color: #212529 !important;
}

.navbar-brand {
    font-size: 1.5rem;
    color: var(--primary-color) !important;
    padding: 0.5rem 0;
    display: flex;
    align-items: center;
}

.navbar-dark .navbar-nav .nav-link {
    color: rgba(255, 255, 255, 0.9);
    transition: color 0.3s ease;
}

.navbar-dark .navbar-nav .nav-link:hover {
    color: rgba(255, 255, 255, 1);
}

.navbar-dark .navbar-nav .dropdown-menu {
    background-color: #343a40;
    border-color: #495057;
}

.navbar-dark .navbar-nav .dropdown-item {
    color: rgba(255, 255, 255, 0.9);
}

.navbar-dark .navbar-nav .dropdown-item:hover {
    background-color: #495057;
    color: rgba(255, 255, 255, 1);
}

.navbar-dark .navbar-nav .dropdown-item.disabled {
    color: rgba(255, 255, 255, 0.5);
}

.logo-img {
    height: 50px;
    width: auto;
    max-height: 50px;
    object-fit: contain;
}

.hero-section {
    background-image: url('/img/bg.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    min-height: 90vh;
    display: flex;
    align-items: center;
    position: relative;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.3);
    z-index: 0;
}

.hero-section > .container {
    position: relative;
    z-index: 1;
}

.hero-section h1,
.hero-section .h1,
.hero-section .display-4 {
    color: #ffffff;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero-section p,
.hero-section .lead {
    color: rgba(255, 255, 255, 0.95);
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

.hero-section .btn-primary {
    text-shadow: none;
}

.hero-section .btn-outline-secondary {
    border-color: rgba(255, 255, 255, 0.5);
    color: rgba(255, 255, 255, 0.9);
}

.hero-section .btn-outline-secondary:hover:not(.disabled) {
    background-color: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.8);
    color: #ffffff;
}

.hero-image {
    max-width: 100%;
    height: auto;
    animation: fadeInUp 1s ease-out;
}

.hero-image-placeholder {
    min-height: 400px;
    background: linear-gradient(135deg, rgba(40, 167, 69, 0.1) 0%, rgba(40, 167, 69, 0.2) 100%);
    border-radius: 20px;
    padding: 2rem;
}

.hero-image-placeholder svg {
    opacity: 0.3;
    animation: fadeInUp 1s ease-out;
}

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

.features-section {
    background-color: #f8f9fa;
}

.feature-card {
    background: white;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.feature-icon {
    color: var(--primary-color);
}

.download-card {
    background: white;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
    border: 2px solid #e9ecef;
}

.download-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.download-card.opacity-50 {
    opacity: 0.6;
}

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

.btn-primary:hover {
    background-color: #218838;
    border-color: #1e7e34;
}

.btn-success {
    background-color: #3DDC84;
    border-color: #3DDC84;
}

.btn-success:hover {
    background-color: #32c973;
    border-color: #2ebf6a;
}

footer {
    border-top: 1px solid #dee2e6;
}

.whatsapp-float {
    position: fixed;
    width: 225px;
    height: 225px;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-decoration: none;
    background-color: transparent;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.5);
    text-decoration: none;
}

.whatsapp-icon {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 50%;
}

@media (max-width: 768px) {
    .hero-section {
        text-align: center;
        background-attachment: scroll;
    }
    
    .hero-image {
        margin-top: 2rem;
    }
    
    .logo-img {
        height: 40px;
        max-height: 40px;
    }
    
    .navbar-brand {
        padding: 0.25rem 0;
    }
    
    .hero-section .hero-image-placeholder {
        background: rgba(255, 255, 255, 0.1);
    }
    
    .hero-section .hero-image-placeholder svg {
        fill: rgba(255, 255, 255, 0.8);
    }
    
    .whatsapp-float {
        width: 188px;
        height: 188px;
        bottom: 15px;
        right: 15px;
    }
}
