/* Reset e configurações básicas */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: #0A0E1A;
    color: #F0F0F0;
    line-height: 1.6;
    overflow-x: hidden;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: all 0.3s ease;
}

.header.scrolled {
    background: rgba(10, 14, 26, 0.9);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0, 242, 255, 0.1);
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    background: linear-gradient(135deg, #00F2FF, #8A2BE2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-link {
    color: #F0F0F0;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
}

.nav-link:hover {
    color: #00F2FF;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #00F2FF, #8A2BE2);
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

/* Hamburger Menu */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.bar {
    width: 25px;
    height: 3px;
    background-color: #F0F0F0;
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.particles {
    position: absolute;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(circle at 20% 80%, rgba(0, 242, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(138, 43, 226, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(0, 242, 255, 0.05) 0%, transparent 50%);
    animation: float 20s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(180deg); }
}

.hero-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.gradient-text {
    background: linear-gradient(135deg, #00F2FF, #8A2BE2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-button {
    display: inline-block;
    padding: 1rem 2rem;
    background: linear-gradient(135deg, #00F2FF, #8A2BE2);
    color: #0A0E1A;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(0, 242, 255, 0.3);
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(0, 242, 255, 0.4);
}

/* Section Titles */
.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 3rem;
    background: linear-gradient(135deg, #00F2FF, #8A2BE2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Soluções Section */
.solucoes {
    padding: 6rem 0;
    background: linear-gradient(180deg, #0A0E1A 0%, #0F1420 100%);
}

.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(0, 242, 255, 0.1);
    border-radius: 20px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 242, 255, 0.1), transparent);
    transition: left 0.5s ease;
}

.card:hover::before {
    left: 100%;
}

.card:hover {
    transform: translateY(-10px);
    border-color: #00F2FF;
    box-shadow: 0 20px 40px rgba(0, 242, 255, 0.2);
}

.card-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 1.5rem;
    color: #00F2FF;
    transition: all 0.3s ease;
}

.card:hover .card-icon {
    transform: scale(1.1);
    color: #8A2BE2;
}

.card-icon svg {
    width: 100%;
    height: 100%;
}

.card-title {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #F0F0F0;
}

.card-description {
    color: rgba(240, 240, 240, 0.8);
    line-height: 1.6;
}

/* Processo Section */
.processo {
    padding: 6rem 0;
    background: linear-gradient(180deg, #0A0E1A 0%, #0F1420 100%);
}

.processo-subtitle {
    font-size: 1.2rem;
    text-align: center;
    margin-bottom: 4rem;
    color: rgba(240, 240, 240, 0.9);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.timeline {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
}

.timeline-item {
    display: flex;
    margin-bottom: 4rem;
    position: relative;
    align-items: center;
}

.timeline-item:nth-child(odd) {
    flex-direction: row;
}

.timeline-item:nth-child(even) {
    flex-direction: row-reverse;
}

/* Linha conectando os cards - saindo da lateral direita */
.timeline-item:not(:last-child)::after {
    content: '';
    position: absolute;
    width: 3px;
    height: calc(100% + 4rem);
    background: linear-gradient(180deg, #00F2FF, #8A2BE2);
    z-index: 1;
}

/* Para items ímpares (à esquerda) - linha sai da direita */
.timeline-item:nth-child(odd):not(:last-child)::after {
    right: calc(50% - 40px);
    top: 50%;
    transform: translateX(50%);
    border-radius: 0 0 20px 0;
}

/* Para items pares (à direita) - linha sai da esquerda */
.timeline-item:nth-child(even):not(:last-child)::after {
    left: calc(50% - 40px);
    top: 50%;
    transform: translateX(-50%);
    border-radius: 0 0 0 20px;
}

/* Linha horizontal conectando o ícone ao próximo */
.timeline-item:not(:last-child)::before {
    content: '';
    position: absolute;
    height: 3px;
    background: linear-gradient(90deg, #00F2FF, #8A2BE2);
    z-index: 1;
    top: calc(100% + 2rem);
}

/* Para items ímpares - linha horizontal da direita para o centro */
.timeline-item:nth-child(odd):not(:last-child)::before {
    right: 50%;
    width: calc(50% - 40px);
    border-radius: 0 20px 20px 0;
}

/* Para items pares - linha horizontal da esquerda para o centro */
.timeline-item:nth-child(even):not(:last-child)::before {
    left: 50%;
    width: calc(50% - 40px);
    border-radius: 20px 0 0 20px;
}

.timeline-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #00F2FF, #8A2BE2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #0A0E1A;
    position: relative;
    z-index: 3;
    flex-shrink: 0;
    box-shadow: 0 10px 30px rgba(0, 242, 255, 0.3);
}

.timeline-icon svg {
    width: 40px;
    height: 40px;
}

.timeline-content {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(0, 242, 255, 0.1);
    border-radius: 20px;
    padding: 2rem;
    margin: 0 2rem;
    backdrop-filter: blur(10px);
    flex: 1;
    max-width: 400px;
    transition: all 0.3s ease;
    position: relative;
    z-index: 2;
}

.timeline-content:hover {
    transform: translateY(-5px);
    border-color: #00F2FF;
    box-shadow: 0 20px 40px rgba(0, 242, 255, 0.2);
}

.timeline-title {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #F0F0F0;
}

.timeline-description {
    color: rgba(240, 240, 240, 0.8);
    line-height: 1.6;
    margin-bottom: 1rem;
}

.timeline-duration {
    display: inline-block;
    background: linear-gradient(135deg, #8A2BE2, #00F2FF);
    color: #0A0E1A;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
}

/* Estatísticas Section */
.estatisticas {
    padding: 6rem 0;
    background: linear-gradient(180deg, #0A0E1A 0%, #0F1420 100%);
}

.estatisticas-subtitle {
    font-size: 1.2rem;
    text-align: center;
    margin-bottom: 4rem;
    color: rgba(240, 240, 240, 0.9);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.stat-item {
    text-align: center;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(0, 242, 255, 0.1);
    border-radius: 20px;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.stat-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 242, 255, 0.05), transparent);
    transition: left 0.5s ease;
}

.stat-item:hover::before {
    left: 100%;
}

.stat-item:hover {
    transform: translateY(-10px);
    border-color: #00F2FF;
    box-shadow: 0 20px 40px rgba(0, 242, 255, 0.2);
}

.stat-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 1.5rem;
    color: #00F2FF;
    transition: all 0.3s ease;
}

.stat-item:hover .stat-icon {
    transform: scale(1.1);
    color: #8A2BE2;
}

.stat-icon svg {
    width: 100%;
    height: 100%;
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    background: linear-gradient(135deg, #00F2FF, #8A2BE2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.5rem;
    line-height: 1;
}

.stat-label {
    font-size: 1.2rem;
    font-weight: 600;
    color: #F0F0F0;
    margin-bottom: 0.5rem;
}

.stat-description {
    font-size: 0.9rem;
    color: rgba(240, 240, 240, 0.7);
}

/* Depoimentos Section */
.depoimentos {
    padding: 6rem 0;
    background: linear-gradient(180deg, #0F1420 0%, #0A0E1A 100%);
}

.depoimentos-subtitle {
    font-size: 1.2rem;
    text-align: center;
    margin-bottom: 4rem;
    color: rgba(240, 240, 240, 0.9);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.testimonial-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(0, 242, 255, 0.1);
    border-radius: 20px;
    padding: 2rem;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

/* Badge para clientes reais */
.testimonial-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: linear-gradient(135deg, #00F2FF, #8A2BE2);
    color: #0A0E1A;
    padding: 0.4rem 0.8rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    z-index: 3;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 5px 15px rgba(0, 242, 255, 0.3);
}

/* Destaque extra para cards de clientes reais */
.testimonial-card.featured {
    border: 1px solid rgba(0, 242, 255, 0.3);
}

.testimonial-card.featured:hover {
    border-color: #00F2FF;
    box-shadow: 0 20px 50px rgba(0, 242, 255, 0.3);
}

.testimonial-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 242, 255, 0.05), transparent);
    transition: left 0.5s ease;
}

.testimonial-card:hover::before {
    left: 100%;
}

.testimonial-card:hover {
    transform: translateY(-10px);
    border-color: #00F2FF;
    box-shadow: 0 20px 40px rgba(0, 242, 255, 0.2);
}

.testimonial-content {
    position: relative;
    z-index: 2;
}

.quote-icon {
    width: 40px;
    height: 40px;
    color: #00F2FF;
    margin-bottom: 1.5rem;
}

.quote-icon svg {
    width: 100%;
    height: 100%;
}

.testimonial-text {
    font-size: 1.1rem;
    line-height: 1.7;
    color: rgba(240, 240, 240, 0.9);
    margin-bottom: 2rem;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.author-avatar {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #00F2FF, #8A2BE2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #0A0E1A;
    font-weight: 600;
    font-size: 1.1rem;
}

.author-name {
    font-size: 1.1rem;
    font-weight: 600;
    color: #F0F0F0;
    margin-bottom: 0.25rem;
}

.author-role {
    font-size: 0.9rem;
    color: rgba(240, 240, 240, 0.7);
}

.author-link {
    display: inline-block;
    margin-top: 0.5rem;
    font-size: 0.85rem;
    color: #00F2FF;
    text-decoration: none;
    transition: all 0.3s ease;
    border-bottom: 1px solid transparent;
}

.author-link:hover {
    color: #8A2BE2;
    border-bottom-color: #8A2BE2;
}

/* Sobre Section */
.sobre {
    padding: 6rem 0;
    background: #0A0E1A;
}

.sobre-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.sobre-description {
    font-size: 1.1rem;
    line-height: 1.8;
    color: rgba(240, 240, 240, 0.9);
}

.sobre-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.neural-network {
    position: relative;
    width: 300px;
    height: 300px;
}

.node {
    position: absolute;
    width: 20px;
    height: 20px;
    background: linear-gradient(135deg, #00F2FF, #8A2BE2);
    border-radius: 50%;
    animation: pulse 2s ease-in-out infinite;
}

.node-1 { top: 20%; left: 20%; animation-delay: 0s; }
.node-2 { top: 20%; right: 20%; animation-delay: 0.5s; }
.node-3 { bottom: 20%; left: 20%; animation-delay: 1s; }
.node-4 { bottom: 20%; right: 20%; animation-delay: 1.5s; }
.node-5 { top: 50%; left: 50%; transform: translate(-50%, -50%); animation-delay: 2s; }

.connection {
    position: absolute;
    height: 2px;
    background: linear-gradient(90deg, #00F2FF, #8A2BE2);
    opacity: 0.6;
    animation: flow 3s ease-in-out infinite;
}

.connection-1 {
    top: 30%;
    left: 30%;
    width: 40%;
    transform: rotate(45deg);
    animation-delay: 0s;
}

.connection-2 {
    top: 30%;
    right: 30%;
    width: 40%;
    transform: rotate(-45deg);
    animation-delay: 0.5s;
}

.connection-3 {
    bottom: 30%;
    left: 30%;
    width: 40%;
    transform: rotate(-45deg);
    animation-delay: 1s;
}

.connection-4 {
    bottom: 30%;
    right: 30%;
    width: 40%;
    transform: rotate(45deg);
    animation-delay: 1.5s;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.2); opacity: 0.7; }
}

@keyframes flow {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 1; }
}

/* Contato Section */
.contato {
    padding: 6rem 0;
    background: linear-gradient(180deg, #0F1420 0%, #0A0E1A 100%);
    text-align: center;
}

.contato-subtitle {
    font-size: 1.2rem;
    margin-bottom: 3rem;
    color: rgba(240, 240, 240, 0.9);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.whatsapp-button {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem 3rem;
    background: linear-gradient(135deg, #25D366, #128C7E);
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    box-shadow: 0 15px 40px rgba(37, 211, 102, 0.3);
}

.whatsapp-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 20px 50px rgba(37, 211, 102, 0.4);
}

.whatsapp-button svg {
    width: 24px;
    height: 24px;
}

/* Footer */
.footer {
    background: #0A0E1A;
    padding: 2rem 0;
    border-top: 1px solid rgba(0, 242, 255, 0.1);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-text {
    color: rgba(240, 240, 240, 0.7);
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-link {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #F0F0F0;
    transition: all 0.3s ease;
}

.social-link:hover {
    background: #00F2FF;
    color: #0A0E1A;
    transform: translateY(-3px);
}

.social-link svg {
    width: 20px;
    height: 20px;
}

/* Animações */
.animate-fade-up {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

.animate-fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Responsividade */
@media (max-width: 1200px) {
    .cards-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
}

@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: rgba(10, 14, 26, 0.95);
        backdrop-filter: blur(10px);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        padding: 2rem 0;
        border-top: 1px solid rgba(0, 242, 255, 0.1);
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-menu li {
        margin: 1rem 0;
    }
    
    .hamburger.active .bar:nth-child(2) {
        opacity: 0;
    }
    
    .hamburger.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }
    
    .hamburger.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .cards-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 1.5rem;
    }
    
    .timeline-item {
        flex-direction: row !important;
        padding-left: 80px;
    }
    
    /* Linha vertical conectando no mobile */
    .timeline-item:not(:last-child)::after {
        left: 30px;
        right: auto;
        width: 3px;
        height: calc(100% + 4rem);
        transform: none;
        border-radius: 0;
    }
    
    /* Remover linha horizontal no mobile */
    .timeline-item:not(:last-child)::before {
        display: none;
    }
    
    .timeline-icon {
        position: absolute;
        left: 0;
        width: 60px;
        height: 60px;
    }
    
    .timeline-icon svg {
        width: 30px;
        height: 30px;
    }
    
    .timeline-content {
        margin: 0;
        max-width: none;
    }
    
    .sobre-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .neural-network {
        width: 250px;
        height: 250px;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .whatsapp-button {
        padding: 1.2rem 2rem;
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .nav {
        padding: 1rem 1rem;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .cards-grid {
        grid-template-columns: 1fr;
    }
    
    .card {
        padding: 1.5rem;
    }
    
    .testimonial-badge {
        font-size: 0.7rem;
        padding: 0.3rem 0.6rem;
        top: 0.75rem;
        right: 0.75rem;
    }
    
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
    
    .testimonial-card {
        padding: 1.5rem;
    }
    
    .neural-network {
        width: 200px;
        height: 200px;
    }
    
    .node {
        width: 15px;
        height: 15px;
    }
}
