/* Reusable Components */

/* Buttons */
.btn-primary {
    background: var(--color-white);
    color: var(--color-black);
    padding: 16px 32px;
    border-radius: var(--radius-sm);
    font-family: var(--font-display);
    font-size: 18px;
    font-weight: 700;
    transition: all var(--transition-smooth);
    cursor: pointer;
    border: none;
    display: inline-block;
    text-align: center;
    text-decoration: none;

    /* Branco reluzente e piscante */
    box-shadow:
        0 0 20px rgba(255, 255, 255, 0.8),
        0 0 40px rgba(255, 255, 255, 0.6),
        0 0 60px rgba(255, 255, 255, 0.4);
    animation: ctaPulse 2s ease-in-out infinite;
}

@keyframes ctaPulse {
    0%, 100% {
        transform: scale(1);
        box-shadow:
            0 0 20px rgba(255, 255, 255, 0.8),
            0 0 40px rgba(255, 255, 255, 0.6),
            0 0 60px rgba(255, 255, 255, 0.4);
    }
    50% {
        transform: scale(1.05);
        box-shadow:
            0 0 30px rgba(255, 255, 255, 1),
            0 0 60px rgba(255, 255, 255, 0.8),
            0 0 90px rgba(255, 255, 255, 0.6);
    }
}

.btn-primary:hover {
    transform: scale(1.08);
    box-shadow:
        0 0 35px rgba(255, 255, 255, 1),
        0 0 70px rgba(255, 255, 255, 0.8),
        0 10px 30px rgba(255, 255, 255, 0.5);
    animation: none;
}

.btn-primary:active {
    transform: scale(0.98);
}

.btn-gradient {
    background: var(--gradient-primary);
    color: var(--color-white);
    padding: 18px 36px;
    border-radius: var(--radius-md);
    font-family: var(--font-display);
    font-size: 18px;
    font-weight: 700;
    box-shadow: var(--shadow-orange);
    transition: all var(--transition-smooth);
    cursor: pointer;
    border: none;
    display: inline-block;
    text-decoration: none;
    animation: ctaPulse 2s ease-in-out infinite;
}

.btn-gradient:hover {
    filter: brightness(1.1);
    transform: scale(1.05) translateY(-2px);
    box-shadow: var(--shadow-orange-lg);
    animation: none;
}

.btn-curiosity {
    background: var(--color-green);
    color: var(--color-white);
    padding: 18px 36px;
    border-radius: var(--radius-md);
    font-family: var(--font-display);
    font-size: 18px;
    font-weight: 700;
    box-shadow: 0 8px 30px rgba(16, 185, 129, 0.4);
    transition: all var(--transition-smooth);
    cursor: pointer;
    border: none;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    animation: ctaPulse 2s ease-in-out infinite;
}

.btn-curiosity:hover {
    background: #059669;
    transform: scale(1.05) translateY(-2px);
    box-shadow: 0 12px 40px rgba(16, 185, 129, 0.6);
    animation: none;
}

.btn-icon {
    width: 20px;
    height: 20px;
}

/* Cards */
.card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-lg);
    padding: var(--spacing-xl);
    transition: all var(--transition-smooth);
}

.card:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.stat-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-lg);
    padding: var(--spacing-xl);
    transition: all var(--transition-smooth);
    text-align: center;
}

.stat-card:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--color-orange);
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.stat-card-alert {
    border-color: rgba(220, 38, 38, 0.3);
}

.stat-card-alert:hover {
    border-color: var(--color-red);
}

/* Discovery Items */
.discovery-item {
    background: linear-gradient(135deg,
        rgba(255, 159, 0, 0.05) 0%,
        rgba(255, 183, 0, 0.1) 100%
    );
    border: 2px solid rgba(255, 159, 0, 0.3);
    border-radius: var(--radius-lg);
    padding: var(--spacing-xl);
    transition: all var(--transition-smooth);
    position: relative;
    overflow: hidden;
    box-shadow:
        0 8px 24px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.discovery-item.visible:hover {
    background: linear-gradient(135deg,
        rgba(255, 159, 0, 0.1) 0%,
        rgba(255, 183, 0, 0.15) 100%
    );
    border-color: rgba(255, 159, 0, 0.8);
    transform: translateY(-8px) scale(1.02);
    box-shadow:
        0 12px 32px rgba(0, 0, 0, 0.4),
        0 0 40px rgba(255, 159, 0, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.discovery-item.blurred {
    filter: blur(4px);
    opacity: 0.6;
}

.discovery-item.blurred .discovery-icon,
.discovery-item.blurred h3,
.discovery-item.blurred p {
    filter: blur(8px);
    opacity: 0.3;
}

.blur-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(2px);
    z-index: var(--z-dropdown);
    transition: opacity var(--transition-base);
}

.lock-icon {
    width: 100px;
    height: 100px;
    margin-bottom: var(--spacing-md);
    animation: lockPulse 2s infinite;
    filter: drop-shadow(0 0 20px rgba(255, 159, 0, 0.8))
            drop-shadow(0 0 40px rgba(255, 159, 0, 0.6));
}

.unlock-text {
    color: var(--color-white);
    font-family: var(--font-display);
    font-size: 16px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    text-shadow: 0 0 10px rgba(255, 159, 0, 0.6);
}

.discovery-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto var(--spacing-md);
}

.discovery-icon svg {
    width: 100%;
    height: 100%;
}

/* Reason Cards */
.reason-card {
    background: rgba(255, 255, 255, 0.03);
    border: 2px solid transparent;
    background-image:
        linear-gradient(#0A0A0A, #0A0A0A),
        var(--gradient-primary);
    background-origin: border-box;
    background-clip: padding-box, border-box;
    border-radius: var(--radius-lg);
    padding: var(--spacing-xl) var(--spacing-lg);
    position: relative;
    transition: all var(--transition-smooth);
}

.reason-card:hover {
    animation: glow 2s infinite;
}

.reason-number {
    font-family: var(--font-display);
    font-size: 72px;
    color: var(--color-orange);
    opacity: 0.2;
    font-weight: 800;
    position: absolute;
    top: 16px;
    right: 24px;
    line-height: 1;
}

/* CTA Container */
.cta-container {
    text-align: center;
    margin-top: var(--spacing-2xl);
}

/* Trust Badges */
.trust-badges {
    display: flex;
    justify-content: center;
    gap: var(--spacing-xl);
    margin-top: var(--spacing-2xl);
    flex-wrap: wrap;
}

.badge {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--spacing-sm);
}

.badge-icon {
    width: 48px;
    height: 48px;
}

.badge span {
    font-family: var(--font-display);
    font-size: 14px;
    font-weight: 600;
    color: var(--color-light-gray);
}

/* Animations */
@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.05);
        opacity: 0.8;
    }
}

@keyframes glow {
    0%, 100% {
        box-shadow: 0 0 10px rgba(255, 159, 0, 0.5);
    }
    50% {
        box-shadow: 0 0 20px rgba(255, 159, 0, 0.8),
                    0 0 30px rgba(255, 159, 0, 0.6);
    }
}

@keyframes pulse-ring {
    0% {
        transform: scale(1);
        opacity: 1;
    }
    100% {
        transform: scale(2.5);
        opacity: 0;
    }
}

@keyframes lockPulse {
    0%, 100% {
        transform: scale(1);
        filter: drop-shadow(0 0 20px rgba(255, 159, 0, 0.8))
                drop-shadow(0 0 40px rgba(255, 159, 0, 0.6));
    }
    50% {
        transform: scale(1.1);
        filter: drop-shadow(0 0 30px rgba(255, 159, 0, 1))
                drop-shadow(0 0 60px rgba(255, 159, 0, 0.8))
                drop-shadow(0 0 90px rgba(255, 159, 0, 0.6));
    }
}
