body {
    background-color: #0d121c;
    color: #d1d5db;
}

.header-bg {
    background-color: #1a202c;
}

.btn-primary {
    background-color: #3b82f6;
    color: white;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background-color: #2563eb;
    transform: translateY(-1px);
}

.btn-secondary {
    background-color: #374151;
    color: white;
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background-color: #1f2937;
    transform: translateY(-1px);
}

.feature-card {
    background-color: #1a202c;
    border: 1px solid #2d3748;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

.feature-card ul {
    background-color: #0d121c;
    border-radius: 0.5rem;
    padding: 1rem;
    list-style: none;
}

.feature-card ul li {
    display: flex;
    align-items: center;
    margin-bottom: 0.5rem;
}

.feature-card ul li:last-child {
    margin-bottom: 0;
}

.feature-card ul li i {
    margin-right: 0.5rem;
    flex-shrink: 0;
}

.text-accent {
    color: #6366f1;
}

.text-light-grey {
    color: #9ca3af;
}

.screenshot-img {
    border: 2px solid #2d3748;
    transition: all 0.3s ease;
    border-radius: 12px;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.3);
}

.screenshot-img:hover {
    border-color: #6366f1;
    transform: scale(1.02);
    box-shadow: 0 20px 40px -10px rgba(99, 102, 241, 0.3);
    cursor: pointer;
}

/* Mobile Navigation Styles */
.mobile-menu {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: rgba(13, 18, 28, 0.98);
    backdrop-filter: blur(10px);
    z-index: 1000;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 2rem;
}

.mobile-menu.show {
    display: flex;
    animation: slideIn 0.3s ease-in-out;
}

.mobile-menu a {
    color: #d1d5db;
    font-size: 1.5rem;
    font-weight: 600;
    text-decoration: none;
    padding: 1rem 2rem;
    border-radius: 0.5rem;
    transition: all 0.3s ease;
}

.mobile-menu a:hover {
    color: #6366f1;
    background-color: rgba(99, 102, 241, 0.1);
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 0.5rem;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background-color: #d1d5db;
    margin: 3px 0;
    transition: 0.3s;
    border-radius: 2px;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(-45deg) translate(-5px, 6px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(45deg) translate(-5px, -6px);
}

/* Modal Lightbox Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(5px);
}

.modal.show {
    display: flex;
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.3s ease-in-out;
}

.modal-content {
    max-width: 95%;
    max-height: 95%;
    border-radius: 12px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    animation: scaleIn 0.3s ease-in-out;
}

.modal-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 12px;
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 30px;
    color: white;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    z-index: 2001;
    transition: color 0.3s ease;
}

.modal-close:hover {
    color: #6366f1;
}

.modal-caption {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    color: white;
    background-color: rgba(0, 0, 0, 0.7);
    padding: 10px 20px;
    border-radius: 25px;
    text-align: center;
    backdrop-filter: blur(10px);
    max-width: 90%;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.8);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Screenshot section responsive styles */
.screenshot-section {
    padding: 2rem 0;
}

.screenshot-row {
    margin-bottom: 3rem;
}

.screenshot-row:last-child {
    margin-bottom: 0;
}

.screenshot-content {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.screenshot-text {
    flex: 1;
}

.screenshot-image {
    flex: 1;
}

/* Mobile Responsive Styles */
@media (max-width: 768px) {
    .hamburger {
        display: flex !important;
    }

    .desktop-nav {
        display: none !important;
    }

    .hero-title {
        font-size: 2.5rem !important;
        line-height: 1.1;
    }

    .hero-subtitle {
        font-size: 1rem !important;
    }

    .screenshot-section {
        padding: 2rem 0;
    }

    .screenshot-content {
        flex-direction: column;
        gap: 1.5rem;
    }

    .screenshot-content.flex-row-reverse {
        flex-direction: column;
    }

    .screenshot-row {
        margin-bottom: 2rem;
    }

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

    .screenshot-text h4 {
        font-size: 1.5rem;
    }

    .screenshot-text p {
        font-size: 0.9rem;
    }

    .screenshot-text .text-6xl {
        font-size: 3rem;
    }

    .modal-close {
        font-size: 30px;
        top: 15px;
        right: 20px;
    }

    .modal-caption {
        font-size: 0.9rem;
        padding: 8px 16px;
        bottom: 15px;
    }

    .footer-grid {
        grid-template-columns: 1fr !important;
        gap: 2rem !important;
        text-align: center;
    }

    .btn-group {
        flex-direction: column;
        width: 100%;
    }

    .btn-group button,
    .btn-group a {
        width: 100%;
        justify-content: center;
    }
}

/* Tablet Responsive Styles */
@media (min-width: 769px) and (max-width: 1024px) {
    .screenshot-content {
        gap: 2rem;
    }

    .screenshot-text h4 {
        font-size: 2rem;
    }

    .hero-title {
        font-size: 3.5rem !important;
    }
}

/* Small Mobile Devices */
@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem !important;
    }

    .screenshot-text .text-6xl {
        font-size: 2.5rem;
    }

    .screenshot-text h4 {
        font-size: 1.25rem;
    }

    .modal-content {
        max-width: 98%;
        max-height: 98%;
    }

    .tag-group {
        justify-content: center;
    }

    .tag-group span {
        font-size: 0.75rem;
        padding: 0.5rem 0.75rem;
    }
}

/* Language Selector Styles */
.language-selector {
    position: relative;
    display: inline-block;
}

.language-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    background: #2a2a2a;
    border: 1px solid #444;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    z-index: 1000;
    min-width: 140px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.2s ease-in-out;
}

.language-dropdown.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.language-option {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 16px;
    cursor: pointer;
    transition: background-color 0.2s ease;
    color: #ccc;
}

.language-option:hover {
    background-color: #3a3a3a;
    color: white;
}

.language-option:first-child {
    border-radius: 8px 8px 0 0;
}

.language-option:last-child {
    border-radius: 0 0 8px 8px;
}

.language-option span:first-child {
    font-size: 16px;
}

/* Animation for chevron rotation */
.language-selector button i.bi-chevron-down {
    transition: transform 0.2s ease;
}

.language-selector button:hover i.bi-chevron-down,
.language-dropdown.show ~ button i.bi-chevron-down {
    transform: rotate(180deg);
}


        /* --- Cookie Consent Modal Styles --- */
        .cookie-modal-overlay {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-color: rgba(0, 0, 0, 0.7); /* Fundo escuro semitransparente */
            display: flex;
            align-items: center;
            justify-content: center;
            z-index: 1000; /* Garante que fique acima de tudo, exceto talvez outros modals críticos */
            /* Inicie oculto, o JS mostrará se necessário */
            opacity: 0;
            visibility: hidden;
            transition: opacity 0.3s ease, visibility 0.3s ease;
        }

        .cookie-modal-overlay.show {
            opacity: 1;
            visibility: visible;
        }

        .cookie-modal-content {
            background-color: #1a202c; /* Fundo escuro para o modal */
            color: white;
            padding: 2rem;
            border-radius: 8px;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
            max-width: 450px; /* Largura máxima do modal */
            text-align: center;
            transform: translateY(20px); /* Começa um pouco abaixo */
            transition: transform 0.3s ease;
        }

        .cookie-modal-overlay.show .cookie-modal-content {
            transform: translateY(0); /* Desliza para a posição final */
        }

        .cookie-modal-content p {
            margin-bottom: 1.5rem;
            line-height: 1.6;
        }

        .cookie-modal-content a {
            color: var(--accent);
            text-decoration: underline;
            margin-left: 0.3rem;
        }

        .cookie-modal-content button {
            background-color: var(--accent);
            color: white;
            border: none;
            padding: 0.8rem 1.8rem;
            border-radius: 9999px; /* Botão totalmente arredondado */
            cursor: pointer;
            font-weight: bold;
            transition: background-color 0.3s ease;
        }

        .cookie-modal-content button:hover {
            background-color: #0056b3;
        }
