* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif; background: linear-gradient(135deg, #000000 0%, #0e0e0e 50%, #000000 100%); background-attachment: fixed; background-repeat: no-repeat; background-size: cover; color: #FFFFFF; line-height: 1.6; }

/* Partículas em background */
#particles { position: fixed; inset: 0; z-index: -1; pointer-events: none; }

.section { min-height: auto; display: flex; align-items: center; justify-content: center; padding: 84px 28px; position: relative; }
/* Herói permanece amplo */
#hero.section { min-height: 100vh; padding: 110px 48px 48px; }
.container { max-width: 1200px; width: 100%; margin: 0 auto; padding: 0 28px; }

h1 { font-size: clamp(2.5rem, 5vw, 4rem); font-weight: 700; line-height: 1.2; margin-bottom: 1.25rem; }
h2 { font-size: clamp(2rem, 4vw, 3rem); font-weight: 600; line-height: 1.3; margin-bottom: 1.5rem; }
h3 { font-size: clamp(1.5rem, 3vw, 2rem); font-weight: 600; margin-bottom: 1rem; }
.highlight { 
    color: #00E0FF; 
    font-weight: bold !important; 
    text-shadow: 0 0 1px #00E0FF, 0 0 2px rgba(0, 224, 255, 0.8) !important;
    letter-spacing: 0.5px !important;
    -webkit-text-stroke: 0.5px #00E0FF;
}
.highlight-red { 
    color: #FF4444; 
    font-weight: bold !important; 
}
.text-secondary { color: #ffffff; }
.btn { background: linear-gradient(135deg, #00E0FF, #2BE8C7); color: #000000; border: none; padding: 16px 28px; font-size: 1.05rem; font-weight: 600; border-radius: 50px; cursor: pointer; transition: all 0.3s ease; text-decoration: none; display: inline-flex; align-items: center; gap: 10px; box-shadow: 0 10px 30px rgba(0, 224, 255, 0.3); }
.btn:hover { transform: translateY(-3px); box-shadow: 0 15px 40px rgba(0, 224, 255, 0.5); filter: brightness(1.1); }
.btn-large { padding: 22px 40px; font-size: 1.2rem; }
.hero { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.hero-content { animation: fadeInLeft 1s ease-out; }
.hero-form { background: rgba(255, 255, 255, 0.05); padding: 36px; border-radius: 20px; border: 1px solid rgba(0, 224, 255, 0.2); backdrop-filter: blur(10px); animation: fadeInRight 1s ease-out; }
.form-group { margin-bottom: 16px; }
.form-group label { display: block; margin-bottom: 8px; color: #ffffff; font-weight: 500; }
.form-group input { width: 100%; padding: 14px 18px; background: rgba(255, 255, 255, 0.1); border: 1px solid rgba(0, 224, 255, 0.3); border-radius: 10px; color: #FFFFFF; font-size: 1rem; transition: all 0.3s ease; }
.form-group input:focus { outline: none; border-color: #00E0FF; box-shadow: 0 0 20px rgba(0, 224, 255, 0.3); transform: scale(1.02); }
.form-group input::placeholder { color: rgba(255, 255, 255, 0.6); }
.feature-card { background: rgba(255, 255, 255, 0.05); padding: 24px; border-radius: 15px; border: 1px solid rgba(0, 224, 255, 0.2); margin-bottom: 16px; display: flex; align-items: center; text-align: left; transition: all 0.3s ease; cursor: pointer; }
.feature-card:hover { transform: translateX(10px); background: rgba(0, 224, 255, 0.1); border-color: #00E0FF; }
.problem-card:hover { transform: translateX(10px); background: rgba(255, 68, 68, 0.1) !important; border-color: #FF4444 !important; }

/* Nova seção de problemas - Lista limpa e moderna */
.problems-list {
    max-width: 800px;
    margin: 0 auto;
    text-align: left;
}

.problem-item {
    display: flex;
    align-items: flex-start;
    gap: 25px;
    padding: 25px 0;
    border-bottom: 1px solid rgba(255, 68, 68, 0.2);
    transition: all 0.3s ease;
}

.problem-item:last-child {
    border-bottom: none;
}

.problem-item:hover {
    transform: translateX(15px);
    padding-left: 20px;
}

.problem-icon {
    width: 40px;
    height: 40px;
    flex-shrink: 0;
    margin-top: 5px;
    filter: brightness(0) saturate(100%) invert(27%) sepia(51%) saturate(2878%) hue-rotate(346deg) brightness(104%) contrast(97%);
}

.problem-text {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.problem-text strong {
    color: #FF4444;
    font-size: 1.3rem;
    font-weight: 600;
    line-height: 1.3;
}

.problem-text span {
    color: #ffffff;
    font-size: 1rem;
    line-height: 1.5;
    opacity: 0.8;
}

.benefit-card { background: rgba(255, 255, 255, 0.05); padding: 28px 20px; border-radius: 15px; border: 1px solid rgba(0, 224, 255, 0.2); transition: all 0.3s ease; cursor: pointer; margin-bottom: 1.5rem; }
.benefit-card:hover { transform: translateY(-8px); background: rgba(0, 224, 255, 0.1); border-color: #00E0FF; box-shadow: 0 20px 40px rgba(0, 224, 255, 0.2); }
.benefits-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; margin-top: 2.75rem; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 36px; margin-top: 40px; }
.step { text-align: center; position: relative; transition: all 0.3s ease; cursor: pointer; }
.step:hover { transform: translateY(-8px); }
.step-number { width: 72px; height: 72px; background: linear-gradient(135deg, #00E0FF, #2BE8C7); color: #000000; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1.75rem; font-weight: bold; margin: 0 auto 16px; box-shadow: 0 10px 30px rgba(0, 224, 255, 0.3); transition: all 0.3s ease; }
.step:hover .step-number { transform: scale(1.08); box-shadow: 0 15px 40px rgba(0, 224, 255, 0.4); }
.faq-item { background: rgba(255, 255, 255, 0.05); border: 1px solid rgba(0, 224, 255, 0.2); border-radius: 10px; margin-bottom: 16px; overflow: hidden; }
.faq-question { padding: 20px; cursor: pointer; display: flex; justify-content: space-between; align-items: center; transition: all 0.3s ease; }
.faq-question:hover { background: rgba(0, 224, 255, 0.1); }
.faq-answer { padding: 0 20px; max-height: 0; overflow: hidden; transition: all 0.3s ease; }
.faq-answer.active { padding: 20px; max-height: 220px; }
.faq-icon { transition: transform 0.3s ease; }
.faq-icon.active { transform: rotate(180deg); }
.whatsapp-icon { width: 24px; height: 24px; fill: currentColor; }
.whatsapp-icon path { fill: currentColor; }
.dot-indicator { width: 12px; height: 12px; background: #00E0FF; border-radius: 50%; margin-right: 16px; flex-shrink: 0; }
.dot-indicator.red { background: #FF4444; }
.fade-in { opacity: 0; transform: translateY(24px); transition: all 0.6s ease; }
.fade-in.visible { opacity: 1; transform: translateY(0); }
.final-cta { background: radial-gradient(circle at center, rgba(0, 224, 255, 0.2), rgba(0, 0, 0, 0.9) 70%), linear-gradient(45deg, rgba(0, 224, 255, 0.1), rgba(43, 232, 199, 0.1)); text-align: center; position: relative; overflow: hidden; min-height: 50vh; padding: 56px; }
/* Grids responsivos */
.themes-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 3rem; max-width: 1000px; margin-left: auto; margin-right: auto; padding: 0 20px; }
.plans-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; margin-top: 3rem; padding: 0 20px; }
#plans h2 { margin-bottom: 4rem !important; }
.demo-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 40px; max-width: 800px; margin: 0 auto; padding: 0 20px; }
.features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 25px; margin-top: 3rem; padding: 0 20px; }
.cta-buttons { display: flex; gap: 20px; justify-content: center; flex-wrap: wrap; }
.hero-buttons { display: flex; gap: 15px; flex-wrap: wrap; justify-content: center; }

/* Ajustes para evitar cards colados */
.plans-grid .benefit-card {
    margin-bottom: 0;
    display: flex;
    flex-direction: column;
}
.plan-footer {
    margin-top: auto;
    display: flex;
    justify-content: center;
}
.plan-highlight {
    /* transform: scale(1.1); */
    z-index: 10;
}

/* Estilo para os cards da nova seção de soluções/benefícios */
#solution-benefits .benefit-card {
    aspect-ratio: 1 / 1; /* Mantém o card quadrado */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 2rem; /* Aumenta o padding interno */
}

.themes-grid .benefit-card { margin-bottom: 0; }
.demo-grid .benefit-card { margin-bottom: 0; }
.features-grid .benefit-card { margin-bottom: 0; }

/* Theme cards - Caixas únicas e diferentes */
.theme-card { 
    padding: 30px 20px; 
    text-align: center;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(0, 224, 255, 0.5);
    border-radius: 15px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.theme-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.04);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
}

.theme-icon {
    margin-bottom: 20px; 
    display: flex;
    justify-content: center;
    align-items: center;
}

.theme-icon-svg {
    width: 50px;
    height: 50px;
    stroke: #00E0FF;
    stroke-width: 1.5;
}

.theme-card h4 { 
    font-size: 1.5rem; 
    margin-bottom: 15px; 
    color: #00E0FF;
    font-weight: 600;
}

.theme-card p { 
    font-size: 1.1rem; 
    color: #ffffff; 
    line-height: 1.5;
    opacity: 0.9;
}

/* Carrossel de temas com CSS Marquee */
@keyframes marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

#themes .section {
    padding-left: 0;
    padding-right: 0;
}

.marquee {
    width: 100%;
    overflow: hidden;
    position: relative;
    padding: 10px 0;
}

.marquee-wrapper {
    display: flex;
    width: fit-content;
    animation: marquee 40s linear infinite;
}

.marquee:hover .marquee-wrapper {
    animation-play-state: paused;
}

.marquee-slide {
    flex-shrink: 0;
    width: 270px;
    padding: 0 10px;
}

.theme-list-details {
    text-align: center;
    margin-top: 2rem;
    padding: 0 28px;
}

.theme-list-details .theme-list-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px 20px;
    max-width: 800px;
    margin: 0 auto;
    text-align: left;
}

.theme-list-details .theme-list-grid p {
    display: flex;
    align-items: center;
    font-size: 1.1rem;
    color: #ffffff;
}

.theme-list-details .dot {
    display: inline-block;
    width: 10px;
    height: 10px;
    background-color: #00E0FF;
    border-radius: 50%;
    margin-right: 12px;
    flex-shrink: 0;
}

.theme-list-details .theme-list-more {
    margin-top: 1.5rem;
    margin-bottom: -2rem; /* Ajuste para aproximar a próxima seção */
    font-size: 1.2rem;
    font-weight: 500;
    color: #ffffff;
    text-align: center;
}

@media (max-width: 1024px) {
    .features-grid { grid-template-columns: repeat(2, 1fr); }
    
    .theme-icon-svg {
        width: 45px;
        height: 45px;
    }
    
    .theme-card h4 {
        font-size: 1.4rem;
    }
}

@media (max-width: 768px) { 
    .hero { grid-template-columns: 1fr; text-align: center; gap: 30px; } 
    .hero-form { display: block; margin-top: 2rem; padding: 25px; } 
    .benefits-grid { grid-template-columns: 1fr 1fr; }
    #solution-benefits .benefits-grid { grid-template-columns: 1fr 1fr !important; }
    .steps { grid-template-columns: 1fr; } 
    .section { padding: 56px 20px; }
    
    .theme-icon-svg {
        width: 40px;
        height: 40px;
    }
    .theme-card h4 { font-size: 1.3rem; }
    .theme-card p { font-size: 1rem; }
    
    .plans-grid { grid-template-columns: 1fr; gap: 30px; padding: 0 15px; }
    /* No hover effect on mobile for plans */
    .plans-grid .benefit-card:hover {
        transform: none;
        box-shadow: none;
    }
    .demo-grid { grid-template-columns: 1fr; gap: 25px; padding: 0 15px; }
    .features-grid { grid-template-columns: 1fr 1fr; gap: 25px; padding: 0 15px; }
    .problems-list { padding: 0 15px; }
    .problem-item { gap: 20px; padding: 20px 0; }
    .problem-icon { width: 35px; height: 35px; }
    .cta-buttons { flex-direction: column; align-items: center; }
    .cta-buttons .btn { width: 100%; max-width: 300px; }
    .hero-buttons { flex-direction: column; align-items: center; }
    .hero-buttons .btn { width: 100%; max-width: 280px; }

    .theme-list-details .theme-list-grid {
        grid-template-columns: 1fr 1fr;
        max-width: 500px;
    }

}

@media (max-width: 480px) { 
    .benefits-grid { grid-template-columns: 1fr; }
    #solution-benefits .benefits-grid { grid-template-columns: 1fr !important; }
    
    .theme-icon-svg {
        width: 35px;
        height: 35px;
    }
    .theme-card h4 { font-size: 1.2rem; }
    .theme-card p { font-size: 0.9rem; }
    
    .plans-grid { padding: 0 10px; gap: 30px; }
    .demo-grid { padding: 0 10px; }
    .features-grid { grid-template-columns: 1fr; gap: 20px; padding: 0 10px; }
    .problems-list { padding: 0 10px; }
    .problem-item { gap: 15px; padding: 18px 0; }
    .problem-icon { width: 30px; height: 30px; }
    .problem-text strong { font-size: 1.2rem; }
    .theme-card { padding: 15px; }
    .section { padding: 40px 15px; }
    .benefit-card { padding: 20px 15px; }
    h1 { font-size: 2.6rem; }
    h2 { font-size: 1.8rem; }
    .btn { padding: 14px 20px; font-size: 1rem; }
    .btn-large { padding: 18px 25px; font-size: 1.1rem; }
}
.benefit-card .emoji { height: 48px !important; width: 48px !important; }

/* Animações locais */
@keyframes fadeInLeft { from { opacity: 0; transform: translateX(-20px); } to { opacity: 1; transform: translateX(0); } }
@keyframes fadeInRight { from { opacity: 0; transform: translateX(20px); } to { opacity: 1; transform: translateX(0); } }
.hero-content { animation: fadeInLeft 0.8s ease-out; }
.hero-form { animation: fadeInRight 0.8s ease-out; }
@keyframes pulseSoft { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.03); } }
.animate-pulse { animation: pulseSoft 2s ease-in-out infinite; }

img[src=""], img:not([src]) { display: none !important; }

/* Acessibilidade: skip-link */
.skip-link { position: absolute; left: -9999px; top: auto; width: 1px; height: 1px; overflow: hidden; }
.skip-link:focus { position: fixed; left: 16px; top: 16px; width: auto; height: auto; padding: 10px 14px; background: #00E0FF; color: #000; border-radius: 6px; z-index: 1000; }

/* Botão flutuante WhatsApp */
.floating-whatsapp { position: fixed; right: 20px; bottom: 20px; width: 56px; height: 56px; border-radius: 50%; background: linear-gradient(135deg, #00E0FF, #2BE8C7); color: #000; display: flex; align-items: center; justify-content: center; box-shadow: 0 10px 30px rgba(0, 224, 255, 0.35); transition: transform .2s ease, box-shadow .2s ease; z-index: 900; }
.floating-whatsapp:hover { transform: translateY(-3px); box-shadow: 0 15px 40px rgba(0,224,255,.5); }

/* Botão voltar ao topo */
.back-to-top { position: fixed; right: 20px; bottom: 90px; width: 40px; height: 40px; border-radius: 8px; border: none; background: rgba(255,255,255,0.12); color: #fff; cursor: pointer; display: none; align-items: center; justify-content: center; backdrop-filter: blur(6px); box-shadow: 0 6px 18px rgba(0,0,0,.3); transition: opacity .2s ease, transform .2s ease; z-index: 900; }
.back-to-top.visible { display: flex; }
.back-to-top:hover { transform: translateY(-3px); }
.back-to-top:focus { outline: 2px solid #00E0FF; outline-offset: 2px; }

/* Melhorias de foco gerais */
.btn:focus, a:focus { outline: 2px solid #00E0FF; outline-offset: 2px; }

/* Estilos para a seção NFC invertida */
.hero-inverted { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
#nfc-how-it-works .hero-image-container {
    transform: translateX(-15%) scale(1.5); /* Volta ao original para desktop */
}
.hero-inverted .hero-image-container { order: 1; }
.hero-inverted .hero-content { order: 2; }

/* Controle de visibilidade das imagens NFC */
.desktop-img { 
    display: block; 
    max-width: 100%;
    border-radius: 20px;
}
.mobile-img { 
    display: none; 
}

@media (max-width: 768px) { 
    .hero-inverted { grid-template-columns: 1fr; text-align: center; } 
    .hero-inverted .hero-image-container { 
        order: 2; 
        margin-top: 2rem;
        transform: none !important; /* Remove o transform do desktop */
    }
    .hero-inverted .hero-content { order: 1; }
    
    /* Esconde a imagem de desktop e mostra a de mobile */
    .hero-inverted .desktop-img { display: none; }
    .hero-inverted .mobile-img { 
        display: block; 
        width: 100%; 
        height: auto;
    }

    /* Remove padding da seção e do container para a imagem ocupar a tela toda */
    #nfc-how-it-works.section {
        padding-left: 0;
        padding-right: 0;
    }
    #nfc-how-it-works .container {
        padding-left: 0;
        padding-right: 0;
    }
    /* Adiciona padding de volta apenas ao conteúdo de texto */
    #nfc-how-it-works .hero-content {
        padding: 0 20px;
    }
}

/* Estilos para o Slider de vCards */
#vcard-slider .swiper {
    width: 100%;
    padding-top: 50px;
    padding-bottom: 50px;
    overflow: hidden; /* Garante que os slides não vazem */
}

#vcard-slider .swiper-slide {
    background-position: center;
    background-size: cover;
    width: 300px;
    height: auto;
}

#vcard-slider .swiper-slide img {
    display: block;
    width: 100%;
    border-radius: 20px;
}
