:root {
    --diamond-color: #6dbdcf;
    --diamond-hover: #5aa8b9;
    
}

/* Estilos Base */
body {
    font-family: 'Poppins', sans-serif;
}

.text-diamond {
    color: var(--diamond-color);
}

.hover\:text-diamond:hover {
    color: var(--diamond-hover);
}

/* Animações */
.fade-in {
    animation: fadeIn 2s ease-in-out;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* Background de Diamantes */
.diamond-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
}

.falling-diamond {
    position: absolute;
    width: 30px;
    height: 30px;
    background-image: url('../assets/DIAMANTE.png');
    background-size: contain;
    background-repeat: no-repeat;
    opacity: 0.3;
}

@keyframes fallAndRotate {
    0% {
        transform: translateY(-10vh) rotate(0deg);
        opacity: 0;
    }
    10% {
        opacity: 0.3;
    }
    100% {
        transform: translateY(110vh) rotate(360deg);
        opacity: 0;
    }
}

/* Responsividade */
@media (max-width: 768px) {
    .container {
        padding-left: 1rem;
        padding-right: 1rem;
    }
    
    .text-diamond {
        text-align: center;
    }
    
    .grid {
        grid-template-columns: 1fr;
    }
    
    .space-x-12 > * + * {
        margin-left: 0;
        margin-top: 1rem;
    }
}


/* Formulários e Botões */
input, select, textarea {
    width: 100%;
    max-width: 100%;
    margin-bottom: 1rem;
}

button {
    margin: 0.5rem;
    white-space: nowrap;
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    justify-content: center;
    align-items: center;
}

.modal-content {
    width: 90%;
    max-width: 500px;
    margin: 1rem;
    padding: 1.5rem;
    background: white;
    border-radius: 8px;
}

/* Tipografia Responsiva */
p {
    font-size: 16px;
    line-height: 1.6;
}

@media (max-width: 640px) {
    p {
        font-size: 14px;
    }
} 

/* Logo visibility helper: subtle white glow for dark backgrounds */
.logo-white-shadow {
    /* stronger white glow for better contrast on dark backgrounds */
    filter: drop-shadow(0 3px 10px rgba(255,255,255,0.28)) drop-shadow(0 10px 28px rgba(255,255,255,0.12));
    transition: filter 160ms ease-in-out;
}
.logo-white-shadow:hover {
    filter: drop-shadow(0 4px 12px rgba(255,255,255,0.36)) drop-shadow(0 12px 32px rgba(255,255,255,0.16));
}

/* ===== TEMA LIGHT ===== */
.light-theme {
    background-color: #f8fafc !important;
    color: #1e293b !important;
    transition: background-color 0.3s ease, color 0.3s ease;
}

/* Header no tema light */
.light-theme .container.mx-auto.flex.justify-between.items-center {
    background-color: rgba(255, 255, 255, 0.95) !important;
    backdrop-filter: blur(12px);
    border-bottom: 1px solid #e2e8f0 !important;
}

.light-theme .nav-link {
    color: #475569 !important;
    text-shadow: none !important;
    font-weight: 500 !important;
}

.light-theme .nav-link:hover {
    color: #0ea5e9 !important;
}

.light-theme .cta-button {
    background: linear-gradient(135deg, #0ea5e9, #0284c7) !important;
    color: white !important;
    box-shadow: 0 4px 14px 0 rgba(14, 165, 233, 0.3) !important;
}

.light-theme .cta-button:hover {
    background: linear-gradient(135deg, #0284c7, #0369a1) !important;
    box-shadow: 0 6px 20px 0 rgba(14, 165, 233, 0.4) !important;
    transform: translateY(-1px) !important;
}

/* Cards e seções no tema light */
.light-theme .bg-gray-800 {
    background-color: #ffffff !important;
    border-color: #e2e8f0 !important;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06) !important;
}

.light-theme .bg-gray-900 {
    background-color: #f1f5f9 !important;
}

.light-theme .text-white {
    color: #1e293b !important;
}

.light-theme .text-gray-300 {
    color: #64748b !important;
}

.light-theme .text-gray-400 {
    color: #94a3b8 !important;
}

.light-theme .text-gray-500 {
    color: #64748b !important;
}

/* Hero sections no tema light */
.light-theme .tech-hero {
    background: linear-gradient(135deg, #f1f5f9 0%, #e2e8f0 100%) !important;
}

.light-theme .text-shadow-light {
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1) !important;
}

/* Cores específicas do site no tema light */
.light-theme .text-cyan-400 {
    color: #0ea5e9 !important;
}

.light-theme .text-cyan-200 {
    color: #7dd3fc !important;
}

.light-theme .bg-custom-cyan {
    background-color: #0ea5e9 !important;
}

/* Formulários no tema light */
.light-theme input,
.light-theme select,
.light-theme textarea {
    background-color: #ffffff !important;
    border-color: #cbd5e1 !important;
    color: #1e293b !important;
}

.light-theme input:focus,
.light-theme select:focus,
.light-theme textarea:focus {
    border-color: #0ea5e9 !important;
    box-shadow: 0 0 0 3px rgba(14, 165, 233, 0.1) !important;
}

.light-theme input::placeholder,
.light-theme textarea::placeholder {
    color: #94a3b8 !important;
}

/* Footer no tema light */
.light-theme footer {
    background-color: #e2e8f0 !important;
    color: #64748b !important;
}

/* Mobile menu no tema light */
.light-theme #mobile-menu {
    background-color: rgba(255, 255, 255, 0.98) !important;
    border-top: 1px solid #e2e8f0 !important;
}

.light-theme #mobile-menu .nav-link {
    color: #475569 !important;
}

.light-theme #mobile-menu .nav-link:hover {
    background-color: rgba(14, 165, 233, 0.1) !important;
}


/* Produtos no tema light */
.light-theme .product-card {
    background-color: #ffffff !important;
    border-color: #e2e8f0 !important;
}

.light-theme .product-card:hover {
    box-shadow: 0 10px 25px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05) !important;
    transform: translateY(-2px) !important;
}

/* Carrinho no tema light */
.light-theme .cart-item {
    background-color: #ffffff !important;
    border-color: #e2e8f0 !important;
}

/* Botões no tema light */
.light-theme .bg-cyan-500 {
    background-color: #0ea5e9 !important;
}

.light-theme .bg-cyan-500:hover {
    background-color: #0284c7 !important;
}

/* Links no tema light */
.light-theme a {
    color: #0ea5e9 !important;
}

.light-theme a:hover {
    color: #0284c7 !important;
}

/* Ícones no tema light */
.light-theme .text-gray-300 {
    color: #64748b !important;
}

.light-theme .text-gray-300:hover {
    color: #475569 !important;
}

/* Categorias e cards especiais no tema light */
.light-theme .category-card-3d-inner {
    background-color: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
}

.light-theme .category-card-3d-inner:hover {
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04) !important;
    transform: translateY(-4px) !important;
}

/* Pillar cards no tema light */
.light-theme .pillar-card {
    background-color: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
}

.light-theme .pillar-card:hover {
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04) !important;
    transform: translateY(-4px) !important;
}

/* Backgrounds especiais no tema light */
.light-theme .hero-background {
    background: linear-gradient(135deg, #f1f5f9 0%, #e2e8f0 50%, #cbd5e1 100%) !important;
}

.light-theme .hero-suporte-bg {
    background: linear-gradient(135deg, #f1f5f9 0%, #e2e8f0 100%) !important;
}

/* Transições suaves para mudança de tema */
* {
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease;
}