/* Custom CSS for C8X Landing Page */

/* Headings font family */
h1, h2, h3, h4, h5, h6,
.hero-title,
.section-title {
    font-family: 'Inter', system-ui, sans-serif;
}

/* 3D Perspective Effects */
.perspective-1000 {
    perspective: 1000px;
}

.rotate-x-6 {
    transform: rotateX(6deg);
}

.rotate-x-3 {
    transform: rotateX(3deg);
}

/* .shadow-inner {
    box-shadow: inset 0 2px 4px 0 rgba(0, 0, 0, 0.3);
}

/* Mobile Menu Animations */
.mobile-menu-enter {
    opacity: 0;
    transform: translateY(-10px);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.mobile-menu-enter-active {
    opacity: 1;
    transform: translateY(0);
}

.mobile-menu-exit {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.mobile-menu-exit-active {
    opacity: 0;
    transform: translateY(-10px);
}

/* Form Validation Styles */
.form-error {
    border-color: #ef4444 !important;
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.1) !important;
}

.form-success {
    border-color: #10b981 !important;
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.1) !important;
}

/* Notification Styles */
.notification-enter {
    opacity: 0;
    transform: translateX(100%);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.notification-enter-active {
    opacity: 1;
    transform: translateX(0);
}

.notification-exit {
    opacity: 1;
    transform: translateX(0);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.notification-exit-active {
    opacity: 0;
    transform: translateX(100%);
}

/* Security Verification Styles */
.security-verification {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    border: 2px solid #e2e8f0;
    transition: all 0.3s ease;
}

.dark .security-verification {
    background: linear-gradient(135deg, #1e293b 0%, #334155 100%);
    border-color: #475569;
}

.security-verification:focus-within {
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

/* Button Hover Effects */
.btn-primary {
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.btn-primary:hover::before {
    left: 100%;
}

/* Responsive Typography */
@media (max-width: 640px) {
    .hero-title {
        font-size: 2.5rem;
        line-height: 1.1;
    }
    
    .section-title {
        font-size: 2rem;
        line-height: 1.2;
    }
}

/* Loading States */
.loading {
    opacity: 0.6;
    pointer-events: none;
}

.loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    margin: -10px 0 0 -10px;
    border: 2px solid #f3f3f3;
    border-top: 2px solid #3498db;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Focus Styles for Accessibility */
button:focus,
input:focus,
textarea:focus,
select:focus {
    outline: 2px solid #3b82f6;
    outline-offset: 2px;
}

/* Print Styles */
@media print {
    .no-print {
        display: none !important;
    }
}

/* Botão com borda preta e hover verde */
.integration-button {
  border: 1px solid #000000 !important;
  transition: all 0.3s ease;
}

.integration-button:hover {
  background-color: #dcfce7 !important; /* Verde claro */
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* Modo escuro */
.dark .integration-button {
  border: 2px solid #ffffff !important;
}

.dark .integration-button:hover {
  background-color: #166534 !important; /* Verde escuro para modo escuro */
}

/* Carrossel de Depoimentos */
.testimonials-carousel {
    position: relative;
}

.testimonials-container {
    position: relative;
}

.testimonials-track {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.testimonial-slide {
    min-height: 300px;
    display: flex;
    align-items: center;
}

/* Botões de navegação */
.testimonials-carousel button {
    opacity: 0.7;
}

.testimonials-carousel button:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

/* Indicadores de página */
.testimonial-dot {
    cursor: pointer;
}

.testimonial-dot.active {
    background-color: #000000 !important;
}

.dark .testimonial-dot.active {
    background-color: #ffffff !important;
}

/* Auto-play com pausa no hover */
.testimonials-carousel.auto-play .testimonials-track {
    animation: auto-scroll 8s infinite;
}

.testimonials-carousel:hover .testimonials-track {
    animation-play-state: paused;
}

@keyframes auto-scroll {
    0%, 20% {
        transform: translateX(0%);
    }
    25%, 45% {
        transform: translateX(-100%);
    }
    50%, 70% {
        transform: translateX(-100%);
    }
    75%, 95% {
        transform: translateX(0%);
    }
    100% {
        transform: translateX(0%);
    }
}

/* Responsividade */
@media (max-width: 768px) {
    .testimonials-carousel button {
        display: none;
    }
    
    .testimonials-carousel.auto-play .testimonials-track {
        animation: auto-scroll-mobile 10s infinite;
    }
}

@keyframes auto-scroll-mobile {
    0%, 30% {
        transform: translateX(0%);
    }
    35%, 65% {
        transform: translateX(-100%);
    }
    70%, 100% {
        transform: translateX(0%);
    }
}

/* Efeito de fade nas bordas para suavizar a transição */
.testimonials-container::before,
.testimonials-container::after {
    content: '';
    position: absolute;
    top: 0;
    width: 50px;
    height: 100%;
    z-index: 5;
    pointer-events: none;
}

.testimonials-container::before {
    left: 0;
    background: linear-gradient(to right, rgba(255, 255, 255, 1), transparent);
}

.dark .testimonials-container::before {
    background: linear-gradient(to right, rgba(17, 24, 39, 1), transparent);
}

.testimonials-container::after {
    right: 0;
    background: linear-gradient(to left, rgba(255, 255, 255, 1), transparent);
}

.dark .testimonials-container::after {
    background: linear-gradient(to left, rgba(17, 24, 39, 1), transparent);
}