/* Reset e configurações base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: linear-gradient(135deg, #fffdf7 0%, #fbf7ee 50%, #f6efe1 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow-x: hidden;
    position: relative;
}

.container {
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
    position: relative;
    z-index: 2;
}

.content {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(20px);
    border-radius: 24px;
    padding: 60px 40px;
    text-align: center;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.08), 0 0 0 1px rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(214, 188, 124, 0.2);
    position: relative;
    overflow: hidden;
    z-index: 2;
}

.content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.8), transparent);
}

/* Header com logos */
.header {
    margin-bottom: 40px;
}

.logo-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.old-logo, .new-logo {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.logo-image {
    max-height: 80px;
    max-width: 200px;
    object-fit: contain;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.1));
    transition: transform 0.3s ease;
}

.logo-image:hover {
    transform: scale(1.05);
}

.sapattu-logo {
    max-height: 60px;
    max-width: 250px;
    position: relative;
    transition: transform 0.3s ease;
}

.sapattu-logo:hover {
    transform: scale(1.05);
}

/* Efeito de fogos na logo Sapattu */
.sapattu-logo::before {
    content: '🎉';
    position: absolute;
    top: -10px;
    right: -10px;
    font-size: 20px;
    opacity: 0;
    transform: scale(0);
    transition: all 0.3s ease;
    pointer-events: none;
    z-index: 10;
}

.sapattu-logo::after {
    content: '✨';
    position: absolute;
    bottom: -5px;
    left: -5px;
    font-size: 16px;
    opacity: 0;
    transform: scale(0);
    transition: all 0.3s ease 0.1s;
    pointer-events: none;
    z-index: 10;
}

.sapattu-logo:hover::before {
    opacity: 1;
    transform: scale(1) rotate(15deg);
    animation: sparkle 0.6s ease-in-out;
}

.sapattu-logo:hover::after {
    opacity: 1;
    transform: scale(1) rotate(-15deg);
    animation: sparkle 0.6s ease-in-out 0.2s;
}

@keyframes sparkle {
    0% { transform: scale(0) rotate(0deg); }
    50% { transform: scale(1.2) rotate(15deg); }
    100% { transform: scale(1) rotate(15deg); }
}

.arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

/* Mensagem principal */
.message {
    margin-bottom: 40px;
}

.title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #262626;
    margin-bottom: 16px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
}

.subtitle {
    font-size: 1.5rem;
    font-weight: 500;
    color: #5b4a2a;
    margin-bottom: 20px;
}

.subtitle {
    font-size: 1.2rem;
    font-weight: 400;
    color: #6b5a38;
    line-height: 1.6;
    max-width: 600px;
    margin: 0 auto 20px;
}

.confidence-message {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 0.95rem;
    color: #68d391;
    font-weight: 500;
    margin-top: 16px;
}

.confidence-message svg {
    color: #68d391;
}

/* Timer */
.timer-section {
    margin-bottom: 40px;
    padding: 25px;
    background: linear-gradient(135deg, rgba(255,255,255,0.8), rgba(252, 244, 222, 0.8));
    border-radius: 20px;
    border: 1px solid rgba(214, 188, 124, 0.25);
    position: relative;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
    box-shadow: 0 8px 25px rgba(214, 188, 124, 0.15);
}

.timer-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.timer-label {
    font-size: 1.1rem;
    color: #495057;
    margin: 0;
    font-weight: 500;
}

.timer {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

#countdown {
    font-size: 3.5rem;
    font-weight: 600;
    color: #a16207;
    text-shadow: 1px 1px 2px rgba(161, 98, 7, 0.25);
    animation: countdownPulse 1.5s infinite;
}

.seconds {
    font-size: 1.2rem;
    color: #6c757d;
    font-weight: 500;
}

@keyframes countdownPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

/* Botão de pausar */
.btn-pause {
    background: transparent;
    border: 2px solid #6c757d;
    color: #6c757d;
    padding: 6px 12px;
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 6px;
    min-width: 90px;
    justify-content: center;
}

.btn-pause:hover {
    background: #6c757d;
    color: white;
    transform: translateY(-1px);
}

.btn-pause.paused {
    background: #dc3545;
    border-color: #dc3545;
    color: white;
}

.btn-pause.paused:hover {
    background: #c82333;
    border-color: #bd2130;
}

/* Botões */
.actions {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 40px;
}

.btn-primary, .btn-secondary {
    padding: 16px 32px;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    min-width: 200px;
}

.btn-primary {
    background: linear-gradient(135deg, #0a0a0a, #262626);
    color: white;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.4);
}

.btn-link {
    background: transparent;
    color: #9ca3af;
    border: none;
    text-decoration: underline;
    font-size: 0.95rem;
    padding: 12px 20px;
    min-width: auto;
}

.btn-link:hover {
    color: #6b7280;
    text-decoration: none;
    transform: none;
}

/* Informações adicionais */
.info {
    display: flex;
    flex-direction: column;
    gap: 16px;
    align-items: center;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #6c757d;
    font-size: 0.95rem;
}

.info-item svg {
    color: #28a745;
}

/* Seção de suporte */
.support {
    margin-top: 40px;
    padding: 30px;
    background: linear-gradient(135deg, #fbf7ee, #f4ead3);
    border-radius: 16px;
    border: 2px solid rgba(214, 188, 124, 0.35);
}

.support-content h3 {
    font-size: 1.3rem;
    font-weight: 600;
    color: #000;
    margin-bottom: 10px;
}

.support-content p {
    color: #6c757d;
    margin-bottom: 20px;
    font-size: 1rem;
}

.whatsapp-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #25d366;
    color: white;
    padding: 12px 24px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.3);
}

.whatsapp-btn:hover {
    background: #128c7e;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(37, 211, 102, 0.4);
    color: white;
    text-decoration: none;
}

/* Seção de FAQ */
.faq-section {
    margin-top: 40px;
    padding: 30px;
    background: linear-gradient(135deg, #fffdf7, #fbf7ee);
    border-radius: 20px;
    border: 1px solid rgba(214, 188, 124, 0.25);
    box-shadow: 0 8px 25px rgba(214, 188, 124, 0.12);
}

.faq-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 30px;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.faq-item {
    margin-bottom: 15px;
    border: 1px solid rgba(148, 163, 184, 0.2);
    border-radius: 12px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.5);
    transition: all 0.3s ease;
}

.faq-item:hover {
    border-color: rgba(59, 130, 246, 0.3);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.1);
}

.faq-item:last-child {
    margin-bottom: 0;
}

.faq-question {
    width: 100%;
    background: transparent;
    border: none;
    padding: 20px;
    font-size: 1.1rem;
    font-weight: 600;
    color: #334155;
    text-align: left;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
}

.faq-question:hover {
    background: rgba(59, 130, 246, 0.05);
    color: #1e40af;
}

.faq-question.active {
    background: rgba(59, 130, 246, 0.1);
    color: #1e40af;
}

.faq-icon {
    transition: transform 0.3s ease;
    color: #64748b;
}

.faq-question.active .faq-icon {
    transform: rotate(180deg);
    color: #1e40af;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
    background: rgba(248, 250, 252, 0.8);
}

.faq-answer.active {
    max-height: 200px;
    padding: 0 20px 20px 20px;
}

.faq-answer p {
    font-size: 0.95rem;
    color: #64748b;
    line-height: 1.6;
    margin: 0;
}

/* Aviso no rodapé */
.footer-notice {
    margin-top: 30px;
    padding: 20px;
    background: linear-gradient(135deg, #fdf3cf, #f7e39b);
    border-radius: 16px;
    border: 1px solid rgba(214, 188, 124, 0.35);
    box-shadow: 0 4px 15px rgba(214, 188, 124, 0.2);
}

.footer-notice p {
    color: #92400e;
    font-size: 0.95rem;
    font-weight: 500;
    margin: 0;
    line-height: 1.5;
}

/* Background decoration */
.bg-decoration {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
}

.circle {
    position: absolute;
    border-radius: 50%;
    background: radial-gradient(circle at 30% 30%, rgba(255,255,255,0.55), rgba(242, 212, 140, 0.9) 35%, rgba(201, 163, 78, 0.9) 70%);
    box-shadow: inset -20px -20px 40px rgba(0,0,0,0.05), 0 10px 30px rgba(201, 163, 78, 0.25);
    opacity: 0.9;
    mix-blend-mode: multiply;
    animation: float 10s ease-in-out infinite;
}

.circle-1 {
    width: 200px;
    height: 200px;
    top: 10%;
    left: 10%;
    animation-delay: 0s;
}

.circle-2 {
    width: 150px;
    height: 150px;
    top: 60%;
    right: 10%;
    animation-delay: 2s;
}

.circle-3 {
    width: 100px;
    height: 100px;
    bottom: 20%;
    left: 20%;
    animation-delay: 4s;
}

@keyframes float {
    0% { transform: translate3d(0, 0, 0) scale(1); }
    25% { transform: translate3d(12px, -18px, 0) scale(1.02); }
    50% { transform: translate3d(-8px, -36px, 0) scale(1.03); }
    75% { transform: translate3d(6px, -18px, 0) scale(1.01); }
    100% { transform: translate3d(0, 0, 0) scale(1); }
}

/* Responsividade */
@media (max-width: 768px) {
    .content {
        padding: 40px 20px;
    }
    
    .logo-container {
        gap: 20px;
    }
    
    .aflora-logo, .sapattu-logo {
        font-size: 2.5rem;
    }
    
    .title {
        font-size: 2rem;
    }
    
    .subtitle {
        font-size: 1.2rem;
    }
    
    .actions {
        flex-direction: column;
        align-items: center;
    }
    
    .btn-primary, .btn-secondary {
        width: 100%;
        max-width: 300px;
    }
    
    #countdown {
        font-size: 3rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 10px;
    }
    
    .content {
        padding: 30px 15px;
    }
    
    .aflora-logo, .sapattu-logo {
        font-size: 2rem;
    }
    
    .title {
        font-size: 1.8rem;
    }
    
    .timer-section {
        padding: 20px;
    }
    
    #countdown {
        font-size: 2.5rem;
    }
}

/* Animações de entrada */
.content {
    animation: slideInUp 0.8s ease-out;
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Animações de transição */
.fade-transition {
    transition: all 0.8s ease-in-out;
}

.fade-out {
    opacity: 0;
    transform: translateY(-20px) scale(0.95);
}

/* Melhorias de responsividade para o timer */
@media (max-width: 768px) {
    .timer-section {
        max-width: 350px;
        padding: 20px;
    }
    
    .timer-header {
        flex-direction: column;
        gap: 15px;
        align-items: center;
        margin-bottom: 15px;
    }
    
    .timer-label {
        text-align: center;
    }
    
    #countdown {
        font-size: 3rem;
    }
    
    .btn-pause {
        font-size: 0.8rem;
        padding: 6px 10px;
        min-width: 80px;
    }
    
    .actions {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }
    
    .btn-link {
        order: 2;
    }
    
    .faq-section {
        padding: 20px;
        margin-top: 30px;
    }
    
    .faq-title {
        font-size: 1.3rem;
        margin-bottom: 25px;
    }
    
    .faq-question {
        font-size: 1rem;
    }
    
    .faq-answer {
        font-size: 0.9rem;
    }
    
    .faq-question {
        padding: 15px;
        font-size: 1rem;
    }
    
    .faq-answer.active {
        max-height: 300px;
        padding: 0 15px 15px 15px;
    }
}

/* Estados de loading */
.loading {
    opacity: 0.7;
    pointer-events: none;
}

.loading .btn-primary {
    background: #6c757d;
    cursor: not-allowed;
}

